amazonka-route53-domains-1.6.1: Amazon Route 53 Domains 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.Route53Domains.ListDomains

Contents

Description

This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

listDomains :: ListDomains Source #

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

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

  • ldMarker - For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current AWS account is greater than the value that you specified for MaxItems , you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element. Constraints: The marker must match the value specified in the previous request.
  • ldMaxItems - Number of domains to be returned. Default: 20

data ListDomains Source #

The ListDomains request includes the following elements.

See: listDomains smart constructor.

Instances
Eq ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Data ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Methods

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

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

toConstr :: ListDomains -> Constr #

dataTypeOf :: ListDomains -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Show ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Generic ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Associated Types

type Rep ListDomains :: Type -> Type #

Hashable ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

ToJSON ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

AWSPager ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

AWSRequest ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Associated Types

type Rs ListDomains :: Type #

ToHeaders ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

ToQuery ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

NFData ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Methods

rnf :: ListDomains -> () #

type Rep ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

type Rep ListDomains = D1 (MetaData "ListDomains" "Network.AWS.Route53Domains.ListDomains" "amazonka-route53-domains-1.6.1-1AoNz7bHDzI3lZpMthxnFZ" False) (C1 (MetaCons "ListDomains'" PrefixI True) (S1 (MetaSel (Just "_ldMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))
type Rs ListDomains Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Request Lenses

ldMarker :: Lens' ListDomains (Maybe Text) Source #

For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current AWS account is greater than the value that you specified for MaxItems , you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element. Constraints: The marker must match the value specified in the previous request.

ldMaxItems :: Lens' ListDomains (Maybe Int) Source #

Number of domains to be returned. Default: 20

Destructuring the Response

listDomainsResponse Source #

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

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

  • ldrsNextPageMarker - If there are more domains than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker .
  • ldrsResponseStatus - -- | The response status code.
  • ldrsDomains - A summary of domains.

data ListDomainsResponse Source #

The ListDomains response includes the following elements.

See: listDomainsResponse smart constructor.

Instances
Eq ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Data ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Methods

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

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

toConstr :: ListDomainsResponse -> Constr #

dataTypeOf :: ListDomainsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Show ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Generic ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Associated Types

type Rep ListDomainsResponse :: Type -> Type #

NFData ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ListDomains

type Rep ListDomainsResponse = D1 (MetaData "ListDomainsResponse" "Network.AWS.Route53Domains.ListDomains" "amazonka-route53-domains-1.6.1-1AoNz7bHDzI3lZpMthxnFZ" False) (C1 (MetaCons "ListDomainsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrsNextPageMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_ldrsDomains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [DomainSummary]))))

Response Lenses

ldrsNextPageMarker :: Lens' ListDomainsResponse (Maybe Text) Source #

If there are more domains than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker .

ldrsResponseStatus :: Lens' ListDomainsResponse Int Source #

  • - | The response status code.