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 |
Lists the engagements to a contact's contact channels.
This operation returns paginated results.
Synopsis
- data ListPagesByContact = ListPagesByContact' {}
- newListPagesByContact :: Text -> ListPagesByContact
- listPagesByContact_nextToken :: Lens' ListPagesByContact (Maybe Text)
- listPagesByContact_maxResults :: Lens' ListPagesByContact (Maybe Natural)
- listPagesByContact_contactId :: Lens' ListPagesByContact Text
- data ListPagesByContactResponse = ListPagesByContactResponse' {}
- newListPagesByContactResponse :: Int -> ListPagesByContactResponse
- listPagesByContactResponse_nextToken :: Lens' ListPagesByContactResponse (Maybe Text)
- listPagesByContactResponse_httpStatus :: Lens' ListPagesByContactResponse Int
- listPagesByContactResponse_pages :: Lens' ListPagesByContactResponse [Page]
Creating a Request
data ListPagesByContact Source #
See: newListPagesByContact
smart constructor.
Instances
newListPagesByContact Source #
Create a value of ListPagesByContact
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:nextToken:ListPagesByContact'
, listPagesByContact_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListPagesByContact'
, listPagesByContact_maxResults
- The maximum number of engagements to contact channels to list per page
of results.
$sel:contactId:ListPagesByContact'
, listPagesByContact_contactId
- The Amazon Resource Name (ARN) of the contact you are retrieving
engagements for.
Request Lenses
listPagesByContact_nextToken :: Lens' ListPagesByContact (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPagesByContact_maxResults :: Lens' ListPagesByContact (Maybe Natural) Source #
The maximum number of engagements to contact channels to list per page of results.
listPagesByContact_contactId :: Lens' ListPagesByContact Text Source #
The Amazon Resource Name (ARN) of the contact you are retrieving engagements for.
Destructuring the Response
data ListPagesByContactResponse Source #
See: newListPagesByContactResponse
smart constructor.
Instances
newListPagesByContactResponse Source #
Create a value of ListPagesByContactResponse
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:nextToken:ListPagesByContact'
, listPagesByContactResponse_nextToken
- The pagination token to continue to the next page of results.
$sel:httpStatus:ListPagesByContactResponse'
, listPagesByContactResponse_httpStatus
- The response's http status code.
$sel:pages:ListPagesByContactResponse'
, listPagesByContactResponse_pages
- The list of engagements to a contact's contact channel.
Response Lenses
listPagesByContactResponse_nextToken :: Lens' ListPagesByContactResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPagesByContactResponse_httpStatus :: Lens' ListPagesByContactResponse Int Source #
The response's http status code.
listPagesByContactResponse_pages :: Lens' ListPagesByContactResponse [Page] Source #
The list of engagements to a contact's contact channel.