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 all of the engagements to contact channels that have been acknowledged.
This operation returns paginated results.
Synopsis
- data ListPageReceipts = ListPageReceipts' {}
- newListPageReceipts :: Text -> ListPageReceipts
- listPageReceipts_nextToken :: Lens' ListPageReceipts (Maybe Text)
- listPageReceipts_maxResults :: Lens' ListPageReceipts (Maybe Natural)
- listPageReceipts_pageId :: Lens' ListPageReceipts Text
- data ListPageReceiptsResponse = ListPageReceiptsResponse' {}
- newListPageReceiptsResponse :: Int -> ListPageReceiptsResponse
- listPageReceiptsResponse_nextToken :: Lens' ListPageReceiptsResponse (Maybe Text)
- listPageReceiptsResponse_receipts :: Lens' ListPageReceiptsResponse (Maybe [Receipt])
- listPageReceiptsResponse_httpStatus :: Lens' ListPageReceiptsResponse Int
Creating a Request
data ListPageReceipts Source #
See: newListPageReceipts
smart constructor.
Instances
Create a value of ListPageReceipts
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:ListPageReceipts'
, listPageReceipts_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListPageReceipts'
, listPageReceipts_maxResults
- The maximum number of acknowledgements per page of results.
$sel:pageId:ListPageReceipts'
, listPageReceipts_pageId
- The Amazon Resource Name (ARN) of the engagement to a specific contact
channel.
Request Lenses
listPageReceipts_nextToken :: Lens' ListPageReceipts (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPageReceipts_maxResults :: Lens' ListPageReceipts (Maybe Natural) Source #
The maximum number of acknowledgements per page of results.
listPageReceipts_pageId :: Lens' ListPageReceipts Text Source #
The Amazon Resource Name (ARN) of the engagement to a specific contact channel.
Destructuring the Response
data ListPageReceiptsResponse Source #
See: newListPageReceiptsResponse
smart constructor.
Instances
newListPageReceiptsResponse Source #
Create a value of ListPageReceiptsResponse
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:ListPageReceipts'
, listPageReceiptsResponse_nextToken
- The pagination token to continue to the next page of results.
$sel:receipts:ListPageReceiptsResponse'
, listPageReceiptsResponse_receipts
- A list of each acknowledgement.
$sel:httpStatus:ListPageReceiptsResponse'
, listPageReceiptsResponse_httpStatus
- The response's http status code.
Response Lenses
listPageReceiptsResponse_nextToken :: Lens' ListPageReceiptsResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listPageReceiptsResponse_receipts :: Lens' ListPageReceiptsResponse (Maybe [Receipt]) Source #
A list of each acknowledgement.
listPageReceiptsResponse_httpStatus :: Lens' ListPageReceiptsResponse Int Source #
The response's http status code.