| 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.SSMContacts.ListPagesByContact
Description
Lists the engagements to a contact's contact channels.
This operation returns paginated results.
Synopsis
- data ListPagesByContact = ListPagesByContact' {}
- newListPagesByContact :: Text -> ListPagesByContact
- listPagesByContact_maxResults :: Lens' ListPagesByContact (Maybe Natural)
- listPagesByContact_nextToken :: Lens' ListPagesByContact (Maybe Text)
- 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.
Constructors
| ListPagesByContact' | |
Instances
newListPagesByContact Source #
Arguments
| :: Text | |
| -> ListPagesByContact |
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:maxResults:ListPagesByContact', listPagesByContact_maxResults - The maximum number of engagements to contact channels to list per page
of results.
ListPagesByContact, listPagesByContact_nextToken - The pagination token to continue to the next page of results.
ListPagesByContact, listPagesByContact_contactId - The Amazon Resource Name (ARN) of the contact you are retrieving
engagements for.
Request Lenses
listPagesByContact_maxResults :: Lens' ListPagesByContact (Maybe Natural) Source #
The maximum number of engagements to contact channels to list per page of results.
listPagesByContact_nextToken :: Lens' ListPagesByContact (Maybe Text) Source #
The pagination token to continue to the next 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.
Constructors
| ListPagesByContactResponse' | |
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:
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.