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 cases domains in the Amazon Web Services account. Each list item is a condensed summary object of the domain.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: ListDomains
- listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
- listDomains_nextToken :: Lens' ListDomains (Maybe Text)
- data ListDomainsResponse = ListDomainsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- domains :: [DomainSummary]
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
- listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
- listDomainsResponse_domains :: Lens' ListDomainsResponse [DomainSummary]
Creating a Request
data ListDomains Source #
See: newListDomains
smart constructor.
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 results to return per page.
ListDomains
, listDomains_nextToken
- The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
Request Lenses
listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #
The maximum number of results to return per page.
listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
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:
ListDomains
, listDomainsResponse_nextToken
- The token for the next set of results. This is null if there are no more
results to return.
$sel:httpStatus:ListDomainsResponse'
, listDomainsResponse_httpStatus
- The response's http status code.
$sel:domains:ListDomainsResponse'
, listDomainsResponse_domains
- The Cases domain.
Response Lenses
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #
The token for the next set of results. This is null if there are no more results to return.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.
listDomainsResponse_domains :: Lens' ListDomainsResponse [DomainSummary] Source #
The Cases domain.