Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: ListDomains
- listDomains_maxNumberOfDomains :: Lens' ListDomains (Maybe Int)
- listDomains_nextToken :: Lens' ListDomains (Maybe Text)
- data ListDomainsResponse = ListDomainsResponse' {
- domainNames :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_domainNames :: Lens' ListDomainsResponse (Maybe [Text])
- listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
- listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
Creating a Request
data ListDomains Source #
See: newListDomains
smart constructor.
Instances
newListDomains :: ListDomains Source #
Create a value of ListDomains
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxNumberOfDomains:ListDomains'
, listDomains_maxNumberOfDomains
- The maximum number of domain names you want returned. The range is 1 to
100. The default setting is 100.
$sel:nextToken:ListDomains'
, listDomains_nextToken
- A string informing Amazon SimpleDB where to start the next list of
domain names.
Request Lenses
listDomains_maxNumberOfDomains :: 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.
listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #
A string informing Amazon SimpleDB where to start the next list of domain names.
Destructuring the Response
data ListDomainsResponse Source #
See: newListDomainsResponse
smart constructor.
ListDomainsResponse' | |
|
Instances
newListDomainsResponse Source #
Create a value of ListDomainsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainNames:ListDomainsResponse'
, listDomainsResponse_domainNames
- A list of domain names that match the expression.
$sel:nextToken:ListDomains'
, listDomainsResponse_nextToken
- An opaque token indicating that there are more domains than the
specified MaxNumberOfDomains
still available.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
Response Lenses
listDomainsResponse_domainNames :: Lens' ListDomainsResponse (Maybe [Text]) Source #
A list of domain names that match the expression.
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #
An opaque token indicating that there are more domains than the
specified MaxNumberOfDomains
still available.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.