Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.SDB.ListDomains
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.
- listDomains :: ListDomains
- data ListDomains
- ldMaxNumberOfDomains :: Lens' ListDomains (Maybe Int)
- ldNextToken :: Lens' ListDomains (Maybe Text)
- listDomainsResponse :: Int -> ListDomainsResponse
- data ListDomainsResponse
- ldrsDomainNames :: Lens' ListDomainsResponse [Text]
- ldrsNextToken :: Lens' ListDomainsResponse (Maybe Text)
- ldrsResponseStatus :: Lens' ListDomainsResponse Int
Creating a Request
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.
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
Arguments
:: Int | |
-> 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:
ldrsDomainNames
- A list of domain names that match the expression.ldrsNextToken
-MaxNumberOfDomains
ldrsResponseStatus
- -- | The response status code.
data ListDomainsResponse #
See: listDomainsResponse
smart constructor.
Response Lenses
ldrsDomainNames :: Lens' ListDomainsResponse [Text] #
A list of domain names that match the expression.
ldrsNextToken :: Lens' ListDomainsResponse (Maybe Text) #
MaxNumberOfDomains
ldrsResponseStatus :: Lens' ListDomainsResponse Int #
- - | The response status code.