amazonka-sdb-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Data ListDomains Source # 
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 Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Show ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Generic ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Associated Types

type Rep ListDomains :: Type -> Type #

Hashable ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

AWSPager ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

AWSRequest ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Associated Types

type Rs ListDomains :: Type #

ToHeaders ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Methods

toHeaders :: ListDomains -> [Header] #

ToPath ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

ToQuery ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

NFData ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Methods

rnf :: ListDomains -> () #

type Rep ListDomains Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

type Rep ListDomains = D1 (MetaData "ListDomains" "Network.AWS.SDB.ListDomains" "amazonka-sdb-1.6.1-DqICC6HvLZkBMo1L4m3WLm" 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 Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

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

Defined in Network.AWS.SDB.ListDomains

Data ListDomainsResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Show ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Generic ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Associated Types

type Rep ListDomainsResponse :: Type -> Type #

NFData ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

Methods

rnf :: ListDomainsResponse -> () #

type Rep ListDomainsResponse Source # 
Instance details

Defined in Network.AWS.SDB.ListDomains

type Rep ListDomainsResponse = D1 (MetaData "ListDomainsResponse" "Network.AWS.SDB.ListDomains" "amazonka-sdb-1.6.1-DqICC6HvLZkBMo1L4m3WLm" 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] Source #

A list of domain names that match the expression.

ldrsResponseStatus :: Lens' ListDomainsResponse Int Source #

  • - | The response status code.