| 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.ListProfileObjectTypes
Description
Lists all of the templates available within the service.
Synopsis
- data ListProfileObjectTypes = ListProfileObjectTypes' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- domainName :: Text
- newListProfileObjectTypes :: Text -> ListProfileObjectTypes
- listProfileObjectTypes_maxResults :: Lens' ListProfileObjectTypes (Maybe Natural)
- listProfileObjectTypes_nextToken :: Lens' ListProfileObjectTypes (Maybe Text)
- listProfileObjectTypes_domainName :: Lens' ListProfileObjectTypes Text
- data ListProfileObjectTypesResponse = ListProfileObjectTypesResponse' {}
- newListProfileObjectTypesResponse :: Int -> ListProfileObjectTypesResponse
- listProfileObjectTypesResponse_items :: Lens' ListProfileObjectTypesResponse (Maybe [ListProfileObjectTypeItem])
- listProfileObjectTypesResponse_nextToken :: Lens' ListProfileObjectTypesResponse (Maybe Text)
- listProfileObjectTypesResponse_httpStatus :: Lens' ListProfileObjectTypesResponse Int
Creating a Request
data ListProfileObjectTypes Source #
See: newListProfileObjectTypes smart constructor.
Constructors
| ListProfileObjectTypes' | |
Fields
| |
Instances
newListProfileObjectTypes Source #
Arguments
| :: Text | |
| -> ListProfileObjectTypes |
Create a value of ListProfileObjectTypes 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:ListProfileObjectTypes', listProfileObjectTypes_maxResults - The maximum number of objects returned per page.
ListProfileObjectTypes, listProfileObjectTypes_nextToken - Identifies the next page of results to return.
ListProfileObjectTypes, listProfileObjectTypes_domainName - The unique name of the domain.
Request Lenses
listProfileObjectTypes_maxResults :: Lens' ListProfileObjectTypes (Maybe Natural) Source #
The maximum number of objects returned per page.
listProfileObjectTypes_nextToken :: Lens' ListProfileObjectTypes (Maybe Text) Source #
Identifies the next page of results to return.
listProfileObjectTypes_domainName :: Lens' ListProfileObjectTypes Text Source #
The unique name of the domain.
Destructuring the Response
data ListProfileObjectTypesResponse Source #
See: newListProfileObjectTypesResponse smart constructor.
Constructors
| ListProfileObjectTypesResponse' | |
Fields
| |
Instances
newListProfileObjectTypesResponse Source #
Create a value of ListProfileObjectTypesResponse 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:ListProfileObjectTypesResponse', listProfileObjectTypesResponse_items - The list of ListProfileObjectTypes instances.
ListProfileObjectTypes, listProfileObjectTypesResponse_nextToken - Identifies the next page of results to return.
$sel:httpStatus:ListProfileObjectTypesResponse', listProfileObjectTypesResponse_httpStatus - The response's http status code.
Response Lenses
listProfileObjectTypesResponse_items :: Lens' ListProfileObjectTypesResponse (Maybe [ListProfileObjectTypeItem]) Source #
The list of ListProfileObjectTypes instances.
listProfileObjectTypesResponse_nextToken :: Lens' ListProfileObjectTypesResponse (Maybe Text) Source #
Identifies the next page of results to return.
listProfileObjectTypesResponse_httpStatus :: Lens' ListProfileObjectTypesResponse Int Source #
The response's http status code.