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 |
This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.
This operation returns paginated results.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: ListDomains
- listDomains_marker :: Lens' ListDomains (Maybe Text)
- listDomains_maxItems :: Lens' ListDomains (Maybe Int)
- data ListDomainsResponse = ListDomainsResponse' {
- nextPageMarker :: Maybe Text
- httpStatus :: Int
- domains :: [DomainSummary]
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_nextPageMarker :: Lens' ListDomainsResponse (Maybe Text)
- listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
- listDomainsResponse_domains :: Lens' ListDomainsResponse [DomainSummary]
Creating a Request
data ListDomains Source #
The ListDomains request includes the following elements.
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:marker:ListDomains'
, listDomains_marker
- For an initial request for a list of domains, omit this element. If the
number of domains that are associated with the current AWS account is
greater than the value that you specified for MaxItems
, you can use
Marker
to return additional domains. Get the value of NextPageMarker
from the previous response, and submit another request that includes the
value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value specified in the previous request.
$sel:maxItems:ListDomains'
, listDomains_maxItems
- Number of domains to be returned.
Default: 20
Request Lenses
listDomains_marker :: Lens' ListDomains (Maybe Text) Source #
For an initial request for a list of domains, omit this element. If the
number of domains that are associated with the current AWS account is
greater than the value that you specified for MaxItems
, you can use
Marker
to return additional domains. Get the value of NextPageMarker
from the previous response, and submit another request that includes the
value of NextPageMarker
in the Marker
element.
Constraints: The marker must match the value specified in the previous request.
listDomains_maxItems :: Lens' ListDomains (Maybe Int) Source #
Number of domains to be returned.
Default: 20
Destructuring the Response
data ListDomainsResponse Source #
The ListDomains response includes the following elements.
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:nextPageMarker:ListDomainsResponse'
, listDomainsResponse_nextPageMarker
- If there are more domains than you specified for MaxItems
in the
request, submit another request and include the value of
NextPageMarker
in the value of Marker
.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
$sel:domains:ListDomainsResponse'
, listDomainsResponse_domains
- A summary of domains.
Response Lenses
listDomainsResponse_nextPageMarker :: Lens' ListDomainsResponse (Maybe Text) Source #
If there are more domains than you specified for MaxItems
in the
request, submit another request and include the value of
NextPageMarker
in the value of Marker
.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.
listDomainsResponse_domains :: Lens' ListDomainsResponse [DomainSummary] Source #
A summary of domains.