amazonka-route53-autonaming-1.6.0: 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.ListServices

Contents

Description

Lists summary information for all the services that are associated with one or more specified namespaces.

This operation returns paginated results.

Synopsis

Creating a Request

listServices :: ListServices Source #

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

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

  • lsFilters - A complex type that contains specifications for the namespaces that you want to list services for. If you specify more than one filter, an operation must match all filters to be returned by ListServices .
  • lsNextToken - For the first ListServices request, omit this value. If the response contains NextToken , submit another ListServices request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • lsMaxResults - The maximum number of services that you want Amazon Route 53 to return in the response to a ListServices request. If you don't specify a value for MaxResults , Route 53 returns up to 100 services.

data ListServices Source #

See: listServices smart constructor.

Instances

Eq ListServices Source # 
Data ListServices Source # 

Methods

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

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

toConstr :: ListServices -> Constr #

dataTypeOf :: ListServices -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListServices Source # 
Show ListServices Source # 
Generic ListServices Source # 

Associated Types

type Rep ListServices :: * -> * #

Hashable ListServices Source # 
ToJSON ListServices Source # 
NFData ListServices Source # 

Methods

rnf :: ListServices -> () #

AWSPager ListServices Source # 
AWSRequest ListServices Source # 
ToHeaders ListServices Source # 
ToPath ListServices Source # 
ToQuery ListServices Source # 
type Rep ListServices Source # 
type Rep ListServices = D1 * (MetaData "ListServices" "Network.AWS.Route53AutoNaming.ListServices" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "ListServices'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ServiceFilter]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListServices Source # 

Request Lenses

lsFilters :: Lens' ListServices [ServiceFilter] Source #

A complex type that contains specifications for the namespaces that you want to list services for. If you specify more than one filter, an operation must match all filters to be returned by ListServices .

lsNextToken :: Lens' ListServices (Maybe Text) Source #

For the first ListServices request, omit this value. If the response contains NextToken , submit another ListServices request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

lsMaxResults :: Lens' ListServices (Maybe Natural) Source #

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

Destructuring the Response

listServicesResponse Source #

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

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

  • lsrsNextToken - If the response contains NextToken , submit another ListServices request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • lsrsServices - An array that contains one ServiceSummary object for each service that matches the specified filter criteria.
  • lsrsResponseStatus - -- | The response status code.

data ListServicesResponse Source #

See: listServicesResponse smart constructor.

Instances

Eq ListServicesResponse Source # 
Data ListServicesResponse Source # 

Methods

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

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

toConstr :: ListServicesResponse -> Constr #

dataTypeOf :: ListServicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListServicesResponse Source # 
Show ListServicesResponse Source # 
Generic ListServicesResponse Source # 
NFData ListServicesResponse Source # 

Methods

rnf :: ListServicesResponse -> () #

type Rep ListServicesResponse Source # 
type Rep ListServicesResponse = D1 * (MetaData "ListServicesResponse" "Network.AWS.Route53AutoNaming.ListServices" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "ListServicesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsrsServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ServiceSummary]))) (S1 * (MetaSel (Just Symbol "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lsrsNextToken :: Lens' ListServicesResponse (Maybe Text) Source #

If the response contains NextToken , submit another ListServices request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

lsrsServices :: Lens' ListServicesResponse [ServiceSummary] Source #

An array that contains one ServiceSummary object for each service that matches the specified filter criteria.

lsrsResponseStatus :: Lens' ListServicesResponse Int Source #

  • - | The response status code.