amazonka-sdb-1.6.0: Amazon SimpleDB 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.SDB.ListDomains

Contents

Description

The ListDomains operation lists all domains associated with the Access Key ID. It returns domain names up to the limit set by MaxNumberOfDomains . A NextToken is returned if there are more than MaxNumberOfDomains domains. Calling ListDomains successive times with the NextToken provided by the operation returns up to MaxNumberOfDomains more domain names with each successive operation call.

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:

  • ldMaxNumberOfDomains - The maximum number of domain names you want returned. The range is 1 to 100. The default setting is 100.
  • ldNextToken - A string informing Amazon SimpleDB where to start the next list of domain names.

data ListDomains Source #

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 # 
ToHeaders ListDomains Source # 

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains Source # 
ToQuery ListDomains Source # 
type Rep ListDomains Source # 
type Rep ListDomains = D1 * (MetaData "ListDomains" "Network.AWS.SDB.ListDomains" "amazonka-sdb-1.6.0-6x74E0cJoCbDno9GVfcx0R" False) (C1 * (MetaCons "ListDomains'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldMaxNumberOfDomains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListDomains Source # 

Request Lenses

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

The maximum number of domain names you want returned. The range is 1 to 100. The default setting is 100.

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

A string informing Amazon SimpleDB where to start the next list of domain names.

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 #

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.SDB.ListDomains" "amazonka-sdb-1.6.0-6x74E0cJoCbDno9GVfcx0R" False) (C1 * (MetaCons "ListDomainsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsDomainNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrsDomainNames :: Lens' ListDomainsResponse [Text] Source #

A list of domain names that match the expression.

ldrsResponseStatus :: Lens' ListDomainsResponse Int Source #

  • - | The response status code.