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 #

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 # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Data ListDomains # 
Instance details

Defined in Network.AWS.SDB.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 # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Show ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Generic ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Associated Types

type Rep ListDomains :: * -> * #

Hashable ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

AWSPager ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

AWSRequest ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Associated Types

type Rs ListDomains :: * #

ToHeaders ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

ToQuery ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

NFData ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Methods

rnf :: ListDomains -> () #

type Rep ListDomains # 
Instance details

Defined in Network.AWS.SDB.ListDomains

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

Defined in Network.AWS.SDB.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 # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Data ListDomainsResponse # 
Instance details

Defined in Network.AWS.SDB.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 # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Show ListDomainsResponse # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Generic ListDomainsResponse # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Associated Types

type Rep ListDomainsResponse :: * -> * #

NFData ListDomainsResponse # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse # 
Instance details

Defined in Network.AWS.SDB.ListDomains

type Rep ListDomainsResponse = D1 (MetaData "ListDomainsResponse" "Network.AWS.SDB.ListDomains" "amazonka-sdb-1.6.0-GFMW1qDiM3KBRcqbKnU7Mn" False) (C1 (MetaCons "ListDomainsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrsDomainNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.