| 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.ListProfileObjects
Description
Returns a list of objects associated with a profile of a given ProfileObjectType.
Synopsis
- data ListProfileObjects = ListProfileObjects' {}
- newListProfileObjects :: Text -> Text -> Text -> ListProfileObjects
- listProfileObjects_maxResults :: Lens' ListProfileObjects (Maybe Natural)
- listProfileObjects_nextToken :: Lens' ListProfileObjects (Maybe Text)
- listProfileObjects_objectFilter :: Lens' ListProfileObjects (Maybe ObjectFilter)
- listProfileObjects_domainName :: Lens' ListProfileObjects Text
- listProfileObjects_objectTypeName :: Lens' ListProfileObjects Text
- listProfileObjects_profileId :: Lens' ListProfileObjects Text
- data ListProfileObjectsResponse = ListProfileObjectsResponse' {
- items :: Maybe [ListProfileObjectsItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListProfileObjectsResponse :: Int -> ListProfileObjectsResponse
- listProfileObjectsResponse_items :: Lens' ListProfileObjectsResponse (Maybe [ListProfileObjectsItem])
- listProfileObjectsResponse_nextToken :: Lens' ListProfileObjectsResponse (Maybe Text)
- listProfileObjectsResponse_httpStatus :: Lens' ListProfileObjectsResponse Int
Creating a Request
data ListProfileObjects Source #
See: newListProfileObjects smart constructor.
Constructors
| ListProfileObjects' | |
Fields
| |
Instances
newListProfileObjects Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ListProfileObjects |
Create a value of ListProfileObjects 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:ListProfileObjects', listProfileObjects_maxResults - The maximum number of objects returned per page.
ListProfileObjects, listProfileObjects_nextToken - The pagination token from the previous call to ListProfileObjects.
$sel:objectFilter:ListProfileObjects', listProfileObjects_objectFilter - Applies a filter to the response to include profile objects with the
specified index values. This filter is only supported for ObjectTypeName
_asset, _case and _order.
ListProfileObjects, listProfileObjects_domainName - The unique name of the domain.
ListProfileObjects, listProfileObjects_objectTypeName - The name of the profile object type.
ListProfileObjects, listProfileObjects_profileId - The unique identifier of a customer profile.
Request Lenses
listProfileObjects_maxResults :: Lens' ListProfileObjects (Maybe Natural) Source #
The maximum number of objects returned per page.
listProfileObjects_nextToken :: Lens' ListProfileObjects (Maybe Text) Source #
The pagination token from the previous call to ListProfileObjects.
listProfileObjects_objectFilter :: Lens' ListProfileObjects (Maybe ObjectFilter) Source #
Applies a filter to the response to include profile objects with the specified index values. This filter is only supported for ObjectTypeName _asset, _case and _order.
listProfileObjects_domainName :: Lens' ListProfileObjects Text Source #
The unique name of the domain.
listProfileObjects_objectTypeName :: Lens' ListProfileObjects Text Source #
The name of the profile object type.
listProfileObjects_profileId :: Lens' ListProfileObjects Text Source #
The unique identifier of a customer profile.
Destructuring the Response
data ListProfileObjectsResponse Source #
See: newListProfileObjectsResponse smart constructor.
Constructors
| ListProfileObjectsResponse' | |
Fields
| |
Instances
newListProfileObjectsResponse Source #
Create a value of ListProfileObjectsResponse 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:ListProfileObjectsResponse', listProfileObjectsResponse_items - The list of ListProfileObject instances.
ListProfileObjects, listProfileObjectsResponse_nextToken - The pagination token from the previous call to ListProfileObjects.
$sel:httpStatus:ListProfileObjectsResponse', listProfileObjectsResponse_httpStatus - The response's http status code.
Response Lenses
listProfileObjectsResponse_items :: Lens' ListProfileObjectsResponse (Maybe [ListProfileObjectsItem]) Source #
The list of ListProfileObject instances.
listProfileObjectsResponse_nextToken :: Lens' ListProfileObjectsResponse (Maybe Text) Source #
The pagination token from the previous call to ListProfileObjects.
listProfileObjectsResponse_httpStatus :: Lens' ListProfileObjectsResponse Int Source #
The response's http status code.