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 |
Returns an array of journal export job descriptions for a specified ledger.
This action returns a maximum of MaxResults
items, and is paginated so
that you can retrieve all the items by calling
ListJournalS3ExportsForLedger
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 ListJournalS3ExportsForLedger = ListJournalS3ExportsForLedger' {}
- newListJournalS3ExportsForLedger :: Text -> ListJournalS3ExportsForLedger
- listJournalS3ExportsForLedger_nextToken :: Lens' ListJournalS3ExportsForLedger (Maybe Text)
- listJournalS3ExportsForLedger_maxResults :: Lens' ListJournalS3ExportsForLedger (Maybe Natural)
- listJournalS3ExportsForLedger_name :: Lens' ListJournalS3ExportsForLedger Text
- data ListJournalS3ExportsForLedgerResponse = ListJournalS3ExportsForLedgerResponse' {}
- newListJournalS3ExportsForLedgerResponse :: Int -> ListJournalS3ExportsForLedgerResponse
- listJournalS3ExportsForLedgerResponse_journalS3Exports :: Lens' ListJournalS3ExportsForLedgerResponse (Maybe [JournalS3ExportDescription])
- listJournalS3ExportsForLedgerResponse_nextToken :: Lens' ListJournalS3ExportsForLedgerResponse (Maybe Text)
- listJournalS3ExportsForLedgerResponse_httpStatus :: Lens' ListJournalS3ExportsForLedgerResponse Int
Creating a Request
data ListJournalS3ExportsForLedger Source #
See: newListJournalS3ExportsForLedger
smart constructor.
ListJournalS3ExportsForLedger' | |
|
Instances
newListJournalS3ExportsForLedger Source #
Create a value of ListJournalS3ExportsForLedger
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:ListJournalS3ExportsForLedger'
, listJournalS3ExportsForLedger_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 ListJournalS3ExportsForLedger
call, then you should use
that value as input here.
$sel:maxResults:ListJournalS3ExportsForLedger'
, listJournalS3ExportsForLedger_maxResults
- The maximum number of results to return in a single
ListJournalS3ExportsForLedger
request. (The actual number of results
returned might be fewer.)
$sel:name:ListJournalS3ExportsForLedger'
, listJournalS3ExportsForLedger_name
- The name of the ledger.
Request Lenses
listJournalS3ExportsForLedger_nextToken :: Lens' ListJournalS3ExportsForLedger (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 ListJournalS3ExportsForLedger
call, then you should use
that value as input here.
listJournalS3ExportsForLedger_maxResults :: Lens' ListJournalS3ExportsForLedger (Maybe Natural) Source #
The maximum number of results to return in a single
ListJournalS3ExportsForLedger
request. (The actual number of results
returned might be fewer.)
listJournalS3ExportsForLedger_name :: Lens' ListJournalS3ExportsForLedger Text Source #
The name of the ledger.
Destructuring the Response
data ListJournalS3ExportsForLedgerResponse Source #
See: newListJournalS3ExportsForLedgerResponse
smart constructor.
ListJournalS3ExportsForLedgerResponse' | |
|
Instances
newListJournalS3ExportsForLedgerResponse Source #
Create a value of ListJournalS3ExportsForLedgerResponse
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:ListJournalS3ExportsForLedgerResponse'
, listJournalS3ExportsForLedgerResponse_journalS3Exports
- The array of journal export job descriptions that are associated with
the specified ledger.
$sel:nextToken:ListJournalS3ExportsForLedger'
, listJournalS3ExportsForLedgerResponse_nextToken
- - If NextToken
is empty, then the last page of results has been
processed and there are no more results to be retrieved.
- If
NextToken
is not empty, then there are more results available. To retrieve the next page of results, use the value ofNextToken
in a subsequentListJournalS3ExportsForLedger
call.
$sel:httpStatus:ListJournalS3ExportsForLedgerResponse'
, listJournalS3ExportsForLedgerResponse_httpStatus
- The response's http status code.
Response Lenses
listJournalS3ExportsForLedgerResponse_journalS3Exports :: Lens' ListJournalS3ExportsForLedgerResponse (Maybe [JournalS3ExportDescription]) Source #
The array of journal export job descriptions that are associated with the specified ledger.
listJournalS3ExportsForLedgerResponse_nextToken :: Lens' ListJournalS3ExportsForLedgerResponse (Maybe Text) Source #
- If
NextToken
is empty, then the last page of results has been processed and there are no more results to be retrieved. - If
NextToken
is not empty, then there are more results available. To retrieve the next page of results, use the value ofNextToken
in a subsequentListJournalS3ExportsForLedger
call.
listJournalS3ExportsForLedgerResponse_httpStatus :: Lens' ListJournalS3ExportsForLedgerResponse Int Source #
The response's http status code.