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

Contents

Description

Lists summary information about the namespaces that were created by the current AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

listNamespaces :: ListNamespaces Source #

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

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

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

data ListNamespaces Source #

See: listNamespaces smart constructor.

Instances

Eq ListNamespaces Source # 
Data ListNamespaces Source # 

Methods

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

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

toConstr :: ListNamespaces -> Constr #

dataTypeOf :: ListNamespaces -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListNamespaces Source # 
Show ListNamespaces Source # 
Generic ListNamespaces Source # 

Associated Types

type Rep ListNamespaces :: * -> * #

Hashable ListNamespaces Source # 
ToJSON ListNamespaces Source # 
NFData ListNamespaces Source # 

Methods

rnf :: ListNamespaces -> () #

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

Request Lenses

lnFilters :: Lens' ListNamespaces [NamespaceFilter] Source #

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

lnNextToken :: Lens' ListNamespaces (Maybe Text) Source #

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

lnMaxResults :: Lens' ListNamespaces (Maybe Natural) Source #

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

Destructuring the Response

listNamespacesResponse Source #

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

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

  • lnrsNamespaces - An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.
  • lnrsNextToken - If the response contains NextToken , submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.
  • lnrsResponseStatus - -- | The response status code.

data ListNamespacesResponse Source #

See: listNamespacesResponse smart constructor.

Instances

Eq ListNamespacesResponse Source # 
Data ListNamespacesResponse Source # 

Methods

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

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

toConstr :: ListNamespacesResponse -> Constr #

dataTypeOf :: ListNamespacesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListNamespacesResponse Source # 
Show ListNamespacesResponse Source # 
Generic ListNamespacesResponse Source # 
NFData ListNamespacesResponse Source # 

Methods

rnf :: ListNamespacesResponse -> () #

type Rep ListNamespacesResponse Source # 
type Rep ListNamespacesResponse = D1 * (MetaData "ListNamespacesResponse" "Network.AWS.Route53AutoNaming.ListNamespaces" "amazonka-route53-autonaming-1.6.0-4f8jSBk5IlzKqnGwUJVunt" False) (C1 * (MetaCons "ListNamespacesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lnrsNamespaces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [NamespaceSummary]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lnrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lnrsNamespaces :: Lens' ListNamespacesResponse [NamespaceSummary] Source #

An array that contains one NamespaceSummary object for each namespace that matches the specified filter criteria.

lnrsNextToken :: Lens' ListNamespacesResponse (Maybe Text) Source #

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

lnrsResponseStatus :: Lens' ListNamespacesResponse Int Source #

  • - | The response status code.