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 |
Retrieves a list of domains associated to a specified fleet.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: Text -> ListDomains
- listDomains_nextToken :: Lens' ListDomains (Maybe Text)
- listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
- listDomains_fleetArn :: Lens' ListDomains Text
- data ListDomainsResponse = ListDomainsResponse' {
- nextToken :: Maybe Text
- domains :: Maybe [DomainSummary]
- httpStatus :: Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
- listDomainsResponse_domains :: Lens' ListDomainsResponse (Maybe [DomainSummary])
- listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
Creating a Request
data ListDomains Source #
See: newListDomains
smart constructor.
Instances
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
- The pagination token used to retrieve the next page of results for this
operation. If this value is null, it retrieves the first page.
$sel:maxResults:ListDomains'
, listDomains_maxResults
- The maximum number of results to be included in the next page.
$sel:fleetArn:ListDomains'
, listDomains_fleetArn
- The ARN of the fleet.
Request Lenses
listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #
The maximum number of results to be included in the next page.
listDomains_fleetArn :: Lens' ListDomains Text Source #
The ARN of the fleet.
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
- The pagination token used to retrieve the next page of results for this
operation. If there are no more pages, this value is null.
$sel:domains:ListDomainsResponse'
, listDomainsResponse_domains
- Information about the domains.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
Response Lenses
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
listDomainsResponse_domains :: Lens' ListDomainsResponse (Maybe [DomainSummary]) Source #
Information about the domains.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.