amazonka-route53-autonaming-1.6.1: Amazon Route 53 Auto Naming SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Route53AutoNaming.GetInstance

Contents

Description

Gets information about a specified instance.

Synopsis

Creating a Request

getInstance Source #

Creates a value of GetInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • giServiceId - The ID of the service that the instance is associated with.
  • giInstanceId - The ID of the instance that you want to get information about.

data GetInstance Source #

See: getInstance smart constructor.

Instances
Eq GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Data GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetInstance -> c GetInstance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetInstance #

toConstr :: GetInstance -> Constr #

dataTypeOf :: GetInstance -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetInstance) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetInstance) #

gmapT :: (forall b. Data b => b -> b) -> GetInstance -> GetInstance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetInstance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetInstance -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetInstance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetInstance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetInstance -> m GetInstance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetInstance -> m GetInstance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetInstance -> m GetInstance #

Read GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Show GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Generic GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Associated Types

type Rep GetInstance :: Type -> Type #

Hashable GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

ToJSON GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

AWSRequest GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Associated Types

type Rs GetInstance :: Type #

ToHeaders GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Methods

toHeaders :: GetInstance -> [Header] #

ToPath GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

ToQuery GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

NFData GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Methods

rnf :: GetInstance -> () #

type Rep GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

type Rep GetInstance = D1 (MetaData "GetInstance" "Network.AWS.Route53AutoNaming.GetInstance" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "GetInstance'" PrefixI True) (S1 (MetaSel (Just "_giServiceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_giInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetInstance Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Request Lenses

giServiceId :: Lens' GetInstance Text Source #

The ID of the service that the instance is associated with.

giInstanceId :: Lens' GetInstance Text Source #

The ID of the instance that you want to get information about.

Destructuring the Response

getInstanceResponse Source #

Creates a value of GetInstanceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetInstanceResponse Source #

See: getInstanceResponse smart constructor.

Instances
Eq GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Data GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetInstanceResponse -> c GetInstanceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetInstanceResponse #

toConstr :: GetInstanceResponse -> Constr #

dataTypeOf :: GetInstanceResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetInstanceResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetInstanceResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetInstanceResponse -> GetInstanceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetInstanceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetInstanceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetInstanceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetInstanceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetInstanceResponse -> m GetInstanceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetInstanceResponse -> m GetInstanceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetInstanceResponse -> m GetInstanceResponse #

Read GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Show GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Generic GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Associated Types

type Rep GetInstanceResponse :: Type -> Type #

NFData GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

Methods

rnf :: GetInstanceResponse -> () #

type Rep GetInstanceResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.GetInstance

type Rep GetInstanceResponse = D1 (MetaData "GetInstanceResponse" "Network.AWS.Route53AutoNaming.GetInstance" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "GetInstanceResponse'" PrefixI True) (S1 (MetaSel (Just "_girsInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Instance)) :*: S1 (MetaSel (Just "_girsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

girsInstance :: Lens' GetInstanceResponse (Maybe Instance) Source #

A complex type that contains information about a specified instance.

girsResponseStatus :: Lens' GetInstanceResponse Int Source #

  • - | The response status code.