| 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.ListPageReceipts
Description
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_maxResults :: Lens' ListPageReceipts (Maybe Natural)
- listPageReceipts_nextToken :: Lens' ListPageReceipts (Maybe Text)
- 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.
Constructors
| ListPageReceipts' | |
Instances
Arguments
| :: Text | |
| -> ListPageReceipts |
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:maxResults:ListPageReceipts', listPageReceipts_maxResults - The maximum number of acknowledgements per page of results.
ListPageReceipts, listPageReceipts_nextToken - The pagination token to continue to the next page of results.
$sel:pageId:ListPageReceipts', listPageReceipts_pageId - The Amazon Resource Name (ARN) of the engagement to a specific contact
channel.
Request Lenses
listPageReceipts_maxResults :: Lens' ListPageReceipts (Maybe Natural) Source #
The maximum number of acknowledgements per page of results.
listPageReceipts_nextToken :: Lens' ListPageReceipts (Maybe Text) Source #
The pagination token to continue to the next 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.
Constructors
| ListPageReceiptsResponse' | |
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:
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.