| 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.ListPagesByEngagement
Description
Lists the engagements to contact channels that occurred by engaging a contact.
This operation returns paginated results.
Synopsis
- data ListPagesByEngagement = ListPagesByEngagement' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- engagementId :: Text
- newListPagesByEngagement :: Text -> ListPagesByEngagement
- listPagesByEngagement_maxResults :: Lens' ListPagesByEngagement (Maybe Natural)
- listPagesByEngagement_nextToken :: Lens' ListPagesByEngagement (Maybe Text)
- listPagesByEngagement_engagementId :: Lens' ListPagesByEngagement Text
- data ListPagesByEngagementResponse = ListPagesByEngagementResponse' {}
- newListPagesByEngagementResponse :: Int -> ListPagesByEngagementResponse
- listPagesByEngagementResponse_nextToken :: Lens' ListPagesByEngagementResponse (Maybe Text)
- listPagesByEngagementResponse_httpStatus :: Lens' ListPagesByEngagementResponse Int
- listPagesByEngagementResponse_pages :: Lens' ListPagesByEngagementResponse [Page]
Creating a Request
data ListPagesByEngagement Source #
See: newListPagesByEngagement smart constructor.
Constructors
| ListPagesByEngagement' | |
Fields
| |
Instances
newListPagesByEngagement Source #
Create a value of ListPagesByEngagement 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:ListPagesByEngagement', listPagesByEngagement_maxResults - The maximum number of engagements to contact channels to list per page
of results.
ListPagesByEngagement, listPagesByEngagement_nextToken - The pagination token to continue to the next page of results.
$sel:engagementId:ListPagesByEngagement', listPagesByEngagement_engagementId - The Amazon Resource Name (ARN) of the engagement.
Request Lenses
listPagesByEngagement_maxResults :: Lens' ListPagesByEngagement (Maybe Natural) Source #
The maximum number of engagements to contact channels to list per page of results.
listPagesByEngagement_nextToken :: Lens' ListPagesByEngagement (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPagesByEngagement_engagementId :: Lens' ListPagesByEngagement Text Source #
The Amazon Resource Name (ARN) of the engagement.
Destructuring the Response
data ListPagesByEngagementResponse Source #
See: newListPagesByEngagementResponse smart constructor.
Constructors
| ListPagesByEngagementResponse' | |
Instances
newListPagesByEngagementResponse Source #
Create a value of ListPagesByEngagementResponse 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:
ListPagesByEngagement, listPagesByEngagementResponse_nextToken - The pagination token to continue to the next page of results.
$sel:httpStatus:ListPagesByEngagementResponse', listPagesByEngagementResponse_httpStatus - The response's http status code.
$sel:pages:ListPagesByEngagementResponse', listPagesByEngagementResponse_pages - The list of engagements to contact channels.
Response Lenses
listPagesByEngagementResponse_nextToken :: Lens' ListPagesByEngagementResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPagesByEngagementResponse_httpStatus :: Lens' ListPagesByEngagementResponse Int Source #
The response's http status code.
listPagesByEngagementResponse_pages :: Lens' ListPagesByEngagementResponse [Page] Source #
The list of engagements to contact channels.