Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a list of objects associated with a profile of a given ProfileObjectType.
Synopsis
- data ListProfileObjects = ListProfileObjects' {}
- newListProfileObjects :: Text -> Text -> Text -> ListProfileObjects
- listProfileObjects_objectFilter :: Lens' ListProfileObjects (Maybe ObjectFilter)
- listProfileObjects_nextToken :: Lens' ListProfileObjects (Maybe Text)
- listProfileObjects_maxResults :: Lens' ListProfileObjects (Maybe Natural)
- 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.
ListProfileObjects' | |
|
Instances
newListProfileObjects Source #
:: 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: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 and _case.
$sel:nextToken:ListProfileObjects'
, listProfileObjects_nextToken
- The pagination token from the previous call to ListProfileObjects.
$sel:maxResults:ListProfileObjects'
, listProfileObjects_maxResults
- The maximum number of objects returned per page.
$sel:domainName:ListProfileObjects'
, listProfileObjects_domainName
- The unique name of the domain.
$sel:objectTypeName:ListProfileObjects'
, listProfileObjects_objectTypeName
- The name of the profile object type.
$sel:profileId:ListProfileObjects'
, listProfileObjects_profileId
- The unique identifier of a customer profile.
Request Lenses
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 and _case.
listProfileObjects_nextToken :: Lens' ListProfileObjects (Maybe Text) Source #
The pagination token from the previous call to ListProfileObjects.
listProfileObjects_maxResults :: Lens' ListProfileObjects (Maybe Natural) Source #
The maximum number of objects returned per page.
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.
ListProfileObjectsResponse' | |
|
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.
$sel:nextToken: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.