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 |
Lists all the domains in the Amazon Web Services account.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: ListDomains
- listDomains_nextToken :: Lens' ListDomains (Maybe Text)
- listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
- data ListDomainsResponse = ListDomainsResponse' {
- nextToken :: Maybe Text
- domainSummaries :: Maybe [DomainSummary]
- httpStatus :: Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
- listDomainsResponse_domainSummaries :: Lens' ListDomainsResponse (Maybe [DomainSummary])
- listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
Creating a Request
data ListDomains Source #
See: newListDomains
smart constructor.
ListDomains' | |
|
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:nextToken:ListDomains'
, listDomains_nextToken
- If NextToken
is returned, there are more results available. The value
of NextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours.
$sel:maxResults:ListDomains'
, listDomains_maxResults
- The maximum number of results that are returned per call. You can use
NextToken
to obtain further pages of results. The default is 100; the
maximum allowed page size is also 100.
Request Lenses
listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #
If NextToken
is returned, there are more results available. The value
of NextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours.
listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #
The maximum number of results that are returned per call. You can use
NextToken
to obtain further pages of results. The default is 100; the
maximum allowed page size is also 100.
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:nextToken:ListDomains'
, listDomainsResponse_nextToken
- If NextToken
is returned, there are more results available. The value
of NextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours.
$sel:domainSummaries:ListDomainsResponse'
, listDomainsResponse_domainSummaries
- A list containing details about each domain in the Amazon Web Services
account.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
Response Lenses
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #
If NextToken
is returned, there are more results available. The value
of NextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours.
listDomainsResponse_domainSummaries :: Lens' ListDomainsResponse (Maybe [DomainSummary]) Source #
A list containing details about each domain in the Amazon Web Services account.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.