| 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 |
Amazonka.CustomerProfiles.ListDomains
Description
Returns a list of all the domains for an AWS account that have been created.
Synopsis
- data ListDomains = ListDomains' {}
- newListDomains :: ListDomains
- listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
- listDomains_nextToken :: Lens' ListDomains (Maybe Text)
- data ListDomainsResponse = ListDomainsResponse' {
- items :: Maybe [ListDomainItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDomainsResponse :: Int -> ListDomainsResponse
- listDomainsResponse_items :: Lens' ListDomainsResponse (Maybe [ListDomainItem])
- listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
- listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
Creating a Request
data ListDomains Source #
See: newListDomains smart constructor.
Constructors
| 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:maxResults:ListDomains', listDomains_maxResults - The maximum number of objects returned per page.
ListDomains, listDomains_nextToken - The pagination token from the previous ListDomain API call.
Request Lenses
listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #
The maximum number of objects returned per page.
listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #
The pagination token from the previous ListDomain API call.
Destructuring the Response
data ListDomainsResponse Source #
See: newListDomainsResponse smart constructor.
Constructors
| ListDomainsResponse' | |
Fields
| |
Instances
newListDomainsResponse Source #
Arguments
| :: Int | |
| -> ListDomainsResponse |
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:items:ListDomainsResponse', listDomainsResponse_items - The list of ListDomains instances.
ListDomains, listDomainsResponse_nextToken - The pagination token from the previous ListDomains API call.
$sel:httpStatus:ListDomainsResponse', listDomainsResponse_httpStatus - The response's http status code.
Response Lenses
listDomainsResponse_items :: Lens' ListDomainsResponse (Maybe [ListDomainItem]) Source #
The list of ListDomains instances.
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #
The pagination token from the previous ListDomains API call.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.