amazonka-route53-domains-1.4.4: Amazon Route 53 Domains SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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:

data ListDomains Source #

The ListDomains request includes the following elements.

See: listDomains smart constructor.

Instances

Eq ListDomains Source # 
Data ListDomains Source # 

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 # 
Show ListDomains Source # 
Generic ListDomains Source # 

Associated Types

type Rep ListDomains :: * -> * #

Hashable ListDomains Source # 
NFData ListDomains Source # 

Methods

rnf :: ListDomains -> () #

AWSPager ListDomains Source # 
AWSRequest ListDomains Source # 
ToPath ListDomains Source # 
ToHeaders ListDomains Source # 

Methods

toHeaders :: ListDomains -> [Header] #

ToQuery ListDomains Source # 
ToJSON ListDomains Source # 

Methods

toJSON :: ListDomains -> Value #

toEncoding :: ListDomains -> Encoding #

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

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.

Type: String

Default: None

Constraints: The marker must match the value specified in the previous request.

Required: No

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

Number of domains to be returned.

Type: Integer

Default: 20

Constraints: A numeral between 1 and 100.

Required: No

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:

data ListDomainsResponse Source #

The ListDomains response includes the following elements.

See: listDomainsResponse smart constructor.

Instances

Eq ListDomainsResponse Source # 
Data ListDomainsResponse Source # 

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 # 
Show ListDomainsResponse Source # 
Generic ListDomainsResponse Source # 
NFData ListDomainsResponse Source # 

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse Source # 
type Rep ListDomainsResponse = D1 (MetaData "ListDomainsResponse" "Network.AWS.Route53Domains.ListDomains" "amazonka-route53-domains-1.4.4-7gX3OlThZKiIFGIY11fL8" False) (C1 (MetaCons "ListDomainsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsNextPageMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_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.

Type: String

Parent: Operations

ldrsDomains :: Lens' ListDomainsResponse [DomainSummary] Source #

A summary of domains.

Type: Complex type containing a list of domain summaries.

Children: AutoRenew, DomainName, Expiry, TransferLock