amazonka-sdb-1.3.6: Amazon SimpleDB SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for ListDomains.

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:

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:

Response Lenses

ldrsDomainNames :: Lens' ListDomainsResponse [Text] Source

A list of domain names that match the expression.

ldrsNextToken :: Lens' ListDomainsResponse (Maybe Text) Source

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