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 |
This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.
This operation returns paginated results.
- listDomains :: ListDomains
- data ListDomains
- ldMarker :: Lens' ListDomains (Maybe Text)
- ldMaxItems :: Lens' ListDomains (Maybe Int)
- listDomainsResponse :: Int -> ListDomainsResponse
- data ListDomainsResponse
- ldrsNextPageMarker :: Lens' ListDomainsResponse (Maybe Text)
- ldrsResponseStatus :: Lens' ListDomainsResponse Int
- ldrsDomains :: Lens' ListDomainsResponse [DomainSummary]
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:
ldMarker
- 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 forMaxItems
, you can useMarker
to return additional domains. Get the value ofNextPageMarker
from the previous response, and submit another request that includes the value ofNextPageMarker
in theMarker
element. Constraints: The marker must match the value specified in the previous request.ldMaxItems
- Number of domains to be returned. Default: 20
data ListDomains Source #
The ListDomains request includes the following elements.
See: listDomains
smart constructor.
Request Lenses
ldMarker :: 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.
ldMaxItems :: Lens' ListDomains (Maybe Int) Source #
Number of domains to be returned. Default: 20
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:
ldrsNextPageMarker
- If there are more domains than you specified forMaxItems
in the request, submit another request and include the value ofNextPageMarker
in the value ofMarker
.ldrsResponseStatus
- -- | The response status code.ldrsDomains
- A summary of domains.
data ListDomainsResponse Source #
The ListDomains response includes the following elements.
See: listDomainsResponse
smart constructor.
Response Lenses
ldrsNextPageMarker :: 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
.
ldrsResponseStatus :: Lens' ListDomainsResponse Int Source #
- - | The response status code.
ldrsDomains :: Lens' ListDomainsResponse [DomainSummary] Source #
A summary of domains.