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 contact channels that occurred by engaging a contact.
This operation returns paginated results.
Synopsis
- data ListPagesByEngagement = ListPagesByEngagement' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- engagementId :: Text
- newListPagesByEngagement :: Text -> ListPagesByEngagement
- listPagesByEngagement_nextToken :: Lens' ListPagesByEngagement (Maybe Text)
- listPagesByEngagement_maxResults :: Lens' ListPagesByEngagement (Maybe Natural)
- 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.
ListPagesByEngagement' | |
|
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:nextToken:ListPagesByEngagement'
, listPagesByEngagement_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListPagesByEngagement'
, listPagesByEngagement_maxResults
- The maximum number of engagements to contact channels to list per page
of results.
$sel:engagementId:ListPagesByEngagement'
, listPagesByEngagement_engagementId
- The Amazon Resource Name (ARN) of the engagement.
Request Lenses
listPagesByEngagement_nextToken :: Lens' ListPagesByEngagement (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPagesByEngagement_maxResults :: Lens' ListPagesByEngagement (Maybe Natural) Source #
The maximum number of engagements to contact channels to list per 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.
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:
$sel:nextToken: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.