amazonka-sdb-0.3.4: Amazon SimpleDB SDK.

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.

http://docs.aws.amazon.com/AmazonSimpleDB/latest/DeveloperGuide/SDB_API_ListDomains.html

Synopsis

Request

Request constructor

listDomains :: ListDomains Source

ListDomains constructor.

The fields accessible through corresponding lenses are:

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.

Response

Response constructor

listDomainsResponse :: ListDomainsResponse Source

ListDomainsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

ldrDomainNames :: Lens' ListDomainsResponse [Text] Source

A list of domain names that match the expression.

ldrNextToken :: Lens' ListDomainsResponse (Maybe Text) Source

An opaque token indicating that there are more domains than the specified MaxNumberOfDomains still available.