| 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.QLDB.ListJournalS3Exports
Description
Returns an array of journal export job descriptions for all ledgers that are associated with the current Amazon Web Services account and Region.
This action returns a maximum of MaxResults items, and is paginated so
that you can retrieve all the items by calling ListJournalS3Exports
multiple times.
This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.
Synopsis
- data ListJournalS3Exports = ListJournalS3Exports' {}
- newListJournalS3Exports :: ListJournalS3Exports
- listJournalS3Exports_maxResults :: Lens' ListJournalS3Exports (Maybe Natural)
- listJournalS3Exports_nextToken :: Lens' ListJournalS3Exports (Maybe Text)
- data ListJournalS3ExportsResponse = ListJournalS3ExportsResponse' {}
- newListJournalS3ExportsResponse :: Int -> ListJournalS3ExportsResponse
- listJournalS3ExportsResponse_journalS3Exports :: Lens' ListJournalS3ExportsResponse (Maybe [JournalS3ExportDescription])
- listJournalS3ExportsResponse_nextToken :: Lens' ListJournalS3ExportsResponse (Maybe Text)
- listJournalS3ExportsResponse_httpStatus :: Lens' ListJournalS3ExportsResponse Int
Creating a Request
data ListJournalS3Exports Source #
See: newListJournalS3Exports smart constructor.
Constructors
| ListJournalS3Exports' | |
Fields
| |
Instances
newListJournalS3Exports :: ListJournalS3Exports Source #
Create a value of ListJournalS3Exports 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:ListJournalS3Exports', listJournalS3Exports_maxResults - The maximum number of results to return in a single
ListJournalS3Exports request. (The actual number of results returned
might be fewer.)
ListJournalS3Exports, listJournalS3Exports_nextToken - A pagination token, indicating that you want to retrieve the next page
of results. If you received a value for NextToken in the response from
a previous ListJournalS3Exports call, then you should use that value
as input here.
Request Lenses
listJournalS3Exports_maxResults :: Lens' ListJournalS3Exports (Maybe Natural) Source #
The maximum number of results to return in a single
ListJournalS3Exports request. (The actual number of results returned
might be fewer.)
listJournalS3Exports_nextToken :: Lens' ListJournalS3Exports (Maybe Text) Source #
A pagination token, indicating that you want to retrieve the next page
of results. If you received a value for NextToken in the response from
a previous ListJournalS3Exports call, then you should use that value
as input here.
Destructuring the Response
data ListJournalS3ExportsResponse Source #
See: newListJournalS3ExportsResponse smart constructor.
Constructors
| ListJournalS3ExportsResponse' | |
Fields
| |
Instances
newListJournalS3ExportsResponse Source #
Create a value of ListJournalS3ExportsResponse 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:journalS3Exports:ListJournalS3ExportsResponse', listJournalS3ExportsResponse_journalS3Exports - The array of journal export job descriptions for all ledgers that are
associated with the current Amazon Web Services account and Region.
ListJournalS3Exports, listJournalS3ExportsResponse_nextToken - - If NextToken is empty, then the last page of results has been
processed and there are no more results to be retrieved.
- If
NextTokenis not empty, then there are more results available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListJournalS3Exportscall.
$sel:httpStatus:ListJournalS3ExportsResponse', listJournalS3ExportsResponse_httpStatus - The response's http status code.
Response Lenses
listJournalS3ExportsResponse_journalS3Exports :: Lens' ListJournalS3ExportsResponse (Maybe [JournalS3ExportDescription]) Source #
The array of journal export job descriptions for all ledgers that are associated with the current Amazon Web Services account and Region.
listJournalS3ExportsResponse_nextToken :: Lens' ListJournalS3ExportsResponse (Maybe Text) Source #
- If
NextTokenis empty, then the last page of results has been processed and there are no more results to be retrieved. - If
NextTokenis not empty, then there are more results available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListJournalS3Exportscall.
listJournalS3ExportsResponse_httpStatus :: Lens' ListJournalS3ExportsResponse Int Source #
The response's http status code.