amazonka-sdb-1.4.5: Amazon SimpleDB 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.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 #

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 #

See: listDomains smart constructor.

Instances

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

Associated Types

type Rep ListDomains :: * -> * #

Hashable ListDomains # 
NFData ListDomains # 

Methods

rnf :: ListDomains -> () #

AWSPager ListDomains # 
AWSRequest ListDomains # 
ToQuery ListDomains # 
ToPath ListDomains # 
ToHeaders ListDomains # 

Methods

toHeaders :: ListDomains -> [Header] #

type Rep ListDomains # 
type Rep ListDomains = D1 (MetaData "ListDomains" "Network.AWS.SDB.ListDomains" "amazonka-sdb-1.4.5-4DwFB7X1OAm5uM9dPezwOu" 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 # 

Request Lenses

ldMaxNumberOfDomains :: Lens' ListDomains (Maybe Int) #

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) #

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

Destructuring the Response

listDomainsResponse #

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 #

See: listDomainsResponse smart constructor.

Instances

Eq ListDomainsResponse # 
Data ListDomainsResponse # 

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

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse # 
type Rep ListDomainsResponse = D1 (MetaData "ListDomainsResponse" "Network.AWS.SDB.ListDomains" "amazonka-sdb-1.4.5-4DwFB7X1OAm5uM9dPezwOu" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

ldrsDomainNames :: Lens' ListDomainsResponse [Text] #

A list of domain names that match the expression.

ldrsResponseStatus :: Lens' ListDomainsResponse Int #

  • - | The response status code.