| Copyright | (c) 2013-2015 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.
See: AWS API Reference for ListDomains.
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
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:
data ListDomains Source
See: listDomains smart constructor.
Instances
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
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:
data ListDomainsResponse Source
See: listDomainsResponse smart constructor.
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.
ldrsResponseStatus :: Lens' ListDomainsResponse Int Source
The response status code.