Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
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.
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
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 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 #
MaxNumberOfDomains
ldrsResponseStatus :: Lens' ListDomainsResponse Int Source #
- - | The response status code.