Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists all the domains in the Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: ListDomains
- listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
- listDomains_nextToken :: Lens' ListDomains (Maybe Text)
- data ListDomainsResponse = ListDomainsResponse' {
- domainSummaries :: Maybe [DomainSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_domainSummaries :: Lens' ListDomainsResponse (Maybe [DomainSummary])
- listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
- 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:maxResults:ListDomains'
, listDomains_maxResults
- The maximum number of domains to list per API call.
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.
Request Lenses
listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #
The maximum number of domains to list per API call.
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.
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:domainSummaries:ListDomainsResponse'
, listDomainsResponse_domainSummaries
- A list containing details about each domain in the Amazon Web Services
account.
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:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
Response Lenses
listDomainsResponse_domainSummaries :: Lens' ListDomainsResponse (Maybe [DomainSummary]) Source #
A list containing details about each domain in the Amazon Web Services account.
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_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.