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.ListInstances

Contents

Description

Lists summary information about the instances that you registered by using a specified service.

This operation returns paginated results.

Synopsis

Creating a Request

listInstances Source #

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

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

  • liNextToken - For the first ListInstances request, omit this value. If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • liMaxResults - The maximum number of instances that you want Amazon Route 53 to return in the response to a ListInstances request. If you don't specify a value for MaxResults , Route 53 returns up to 100 instances.
  • liServiceId - The ID of the service that you want to list instances for.

data ListInstances Source #

See: listInstances smart constructor.

Instances
Eq ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Data ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Methods

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

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

toConstr :: ListInstances -> Constr #

dataTypeOf :: ListInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Show ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Generic ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Associated Types

type Rep ListInstances :: Type -> Type #

Hashable ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

ToJSON ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

AWSPager ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

AWSRequest ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Associated Types

type Rs ListInstances :: Type #

ToHeaders ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

ToPath ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

ToQuery ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

NFData ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Methods

rnf :: ListInstances -> () #

type Rep ListInstances Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

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

Defined in Network.AWS.Route53AutoNaming.ListInstances

Request Lenses

liNextToken :: Lens' ListInstances (Maybe Text) Source #

For the first ListInstances request, omit this value. If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

liMaxResults :: Lens' ListInstances (Maybe Natural) Source #

The maximum number of instances that you want Amazon Route 53 to return in the response to a ListInstances request. If you don't specify a value for MaxResults , Route 53 returns up to 100 instances.

liServiceId :: Lens' ListInstances Text Source #

The ID of the service that you want to list instances for.

Destructuring the Response

listInstancesResponse Source #

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

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

  • lirsNextToken - If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • lirsInstances - Summary information about the instances that are associated with the specified service.
  • lirsResponseStatus - -- | The response status code.

data ListInstancesResponse Source #

See: listInstancesResponse smart constructor.

Instances
Eq ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Data ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Methods

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

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

toConstr :: ListInstancesResponse -> Constr #

dataTypeOf :: ListInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Show ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Generic ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Associated Types

type Rep ListInstancesResponse :: Type -> Type #

NFData ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

Methods

rnf :: ListInstancesResponse -> () #

type Rep ListInstancesResponse Source # 
Instance details

Defined in Network.AWS.Route53AutoNaming.ListInstances

type Rep ListInstancesResponse = D1 (MetaData "ListInstancesResponse" "Network.AWS.Route53AutoNaming.ListInstances" "amazonka-route53-autonaming-1.6.1-6b8id7oIY1vC1CYd7O7Vs3" False) (C1 (MetaCons "ListInstancesResponse'" PrefixI True) (S1 (MetaSel (Just "_lirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lirsInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceSummary])) :*: S1 (MetaSel (Just "_lirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lirsNextToken :: Lens' ListInstancesResponse (Maybe Text) Source #

If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

lirsInstances :: Lens' ListInstancesResponse [InstanceSummary] Source #

Summary information about the instances that are associated with the specified service.

lirsResponseStatus :: Lens' ListInstancesResponse Int Source #

  • - | The response status code.