| 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.SageMaker.ListDomains
Description
Lists the domains.
This operation returns paginated results.
Synopsis
- data ListDomains = ListDomains' {}
 - newListDomains :: ListDomains
 - listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
 - listDomains_nextToken :: Lens' ListDomains (Maybe Text)
 - data ListDomainsResponse = ListDomainsResponse' {
- domains :: Maybe [DomainDetails]
 - nextToken :: Maybe Text
 - httpStatus :: Int
 
 - newListDomainsResponse :: Int -> ListDomainsResponse
 - listDomainsResponse_domains :: Lens' ListDomainsResponse (Maybe [DomainDetails])
 - 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 - Returns a list up to a specified limit.
ListDomains, listDomains_nextToken - If the previous response was truncated, you will receive this token. Use
 it in your next request to receive the next set of results.
Request Lenses
listDomains_maxResults :: Lens' ListDomains (Maybe Natural) Source #
Returns a list up to a specified limit.
listDomains_nextToken :: Lens' ListDomains (Maybe Text) Source #
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
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:domains:ListDomainsResponse', listDomainsResponse_domains - The list of domains.
ListDomains, listDomainsResponse_nextToken - If the previous response was truncated, you will receive this token. Use
 it in your next request to receive the next set of results.
$sel:httpStatus:ListDomainsResponse', listDomainsResponse_httpStatus - The response's http status code.
Response Lenses
listDomainsResponse_domains :: Lens' ListDomainsResponse (Maybe [DomainDetails]) Source #
The list of domains.
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text) Source #
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int Source #
The response's http status code.