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 |
Gets the domain names for an AWS account.
This operation returns paginated results.
Synopsis
- data GetDomainNames = GetDomainNames' {}
- newGetDomainNames :: GetDomainNames
- getDomainNames_nextToken :: Lens' GetDomainNames (Maybe Text)
- getDomainNames_maxResults :: Lens' GetDomainNames (Maybe Text)
- data GetDomainNamesResponse = GetDomainNamesResponse' {
- items :: Maybe [DomainName]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetDomainNamesResponse :: Int -> GetDomainNamesResponse
- getDomainNamesResponse_items :: Lens' GetDomainNamesResponse (Maybe [DomainName])
- getDomainNamesResponse_nextToken :: Lens' GetDomainNamesResponse (Maybe Text)
- getDomainNamesResponse_httpStatus :: Lens' GetDomainNamesResponse Int
Creating a Request
data GetDomainNames Source #
See: newGetDomainNames
smart constructor.
Instances
newGetDomainNames :: GetDomainNames Source #
Create a value of GetDomainNames
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:GetDomainNames'
, getDomainNames_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:maxResults:GetDomainNames'
, getDomainNames_maxResults
- The maximum number of elements to be returned for this resource.
Request Lenses
getDomainNames_nextToken :: Lens' GetDomainNames (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getDomainNames_maxResults :: Lens' GetDomainNames (Maybe Text) Source #
The maximum number of elements to be returned for this resource.
Destructuring the Response
data GetDomainNamesResponse Source #
See: newGetDomainNamesResponse
smart constructor.
GetDomainNamesResponse' | |
|
Instances
newGetDomainNamesResponse Source #
Create a value of GetDomainNamesResponse
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:items:GetDomainNamesResponse'
, getDomainNamesResponse_items
- The elements from this collection.
$sel:nextToken:GetDomainNames'
, getDomainNamesResponse_nextToken
- The next page of elements from this collection. Not valid for the last
element of the collection.
$sel:httpStatus:GetDomainNamesResponse'
, getDomainNamesResponse_httpStatus
- The response's http status code.
Response Lenses
getDomainNamesResponse_items :: Lens' GetDomainNamesResponse (Maybe [DomainName]) Source #
The elements from this collection.
getDomainNamesResponse_nextToken :: Lens' GetDomainNamesResponse (Maybe Text) Source #
The next page of elements from this collection. Not valid for the last element of the collection.
getDomainNamesResponse_httpStatus :: Lens' GetDomainNamesResponse Int Source #
The response's http status code.