| 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.ListJournalKinesisStreamsForLedger
Description
Returns an array of all Amazon QLDB journal stream descriptors for a
given ledger. The output of each stream descriptor includes the same
details that are returned by DescribeJournalKinesisStream.
This action does not return any expired journal streams. For more information, see Expiration for terminal streams in the Amazon QLDB Developer Guide.
This action returns a maximum of MaxResults items. It is paginated so
that you can retrieve all the items by calling
ListJournalKinesisStreamsForLedger multiple times.
Synopsis
- data ListJournalKinesisStreamsForLedger = ListJournalKinesisStreamsForLedger' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- ledgerName :: Text
- newListJournalKinesisStreamsForLedger :: Text -> ListJournalKinesisStreamsForLedger
- listJournalKinesisStreamsForLedger_maxResults :: Lens' ListJournalKinesisStreamsForLedger (Maybe Natural)
- listJournalKinesisStreamsForLedger_nextToken :: Lens' ListJournalKinesisStreamsForLedger (Maybe Text)
- listJournalKinesisStreamsForLedger_ledgerName :: Lens' ListJournalKinesisStreamsForLedger Text
- data ListJournalKinesisStreamsForLedgerResponse = ListJournalKinesisStreamsForLedgerResponse' {}
- newListJournalKinesisStreamsForLedgerResponse :: Int -> ListJournalKinesisStreamsForLedgerResponse
- listJournalKinesisStreamsForLedgerResponse_nextToken :: Lens' ListJournalKinesisStreamsForLedgerResponse (Maybe Text)
- listJournalKinesisStreamsForLedgerResponse_streams :: Lens' ListJournalKinesisStreamsForLedgerResponse (Maybe [JournalKinesisStreamDescription])
- listJournalKinesisStreamsForLedgerResponse_httpStatus :: Lens' ListJournalKinesisStreamsForLedgerResponse Int
Creating a Request
data ListJournalKinesisStreamsForLedger Source #
See: newListJournalKinesisStreamsForLedger smart constructor.
Constructors
| ListJournalKinesisStreamsForLedger' | |
Fields
| |
Instances
newListJournalKinesisStreamsForLedger Source #
Create a value of ListJournalKinesisStreamsForLedger 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:ListJournalKinesisStreamsForLedger', listJournalKinesisStreamsForLedger_maxResults - The maximum number of results to return in a single
ListJournalKinesisStreamsForLedger request. (The actual number of
results returned might be fewer.)
ListJournalKinesisStreamsForLedger, listJournalKinesisStreamsForLedger_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 ListJournalKinesisStreamsForLedger call, you should use
that value as input here.
ListJournalKinesisStreamsForLedger, listJournalKinesisStreamsForLedger_ledgerName - The name of the ledger.
Request Lenses
listJournalKinesisStreamsForLedger_maxResults :: Lens' ListJournalKinesisStreamsForLedger (Maybe Natural) Source #
The maximum number of results to return in a single
ListJournalKinesisStreamsForLedger request. (The actual number of
results returned might be fewer.)
listJournalKinesisStreamsForLedger_nextToken :: Lens' ListJournalKinesisStreamsForLedger (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 ListJournalKinesisStreamsForLedger call, you should use
that value as input here.
listJournalKinesisStreamsForLedger_ledgerName :: Lens' ListJournalKinesisStreamsForLedger Text Source #
The name of the ledger.
Destructuring the Response
data ListJournalKinesisStreamsForLedgerResponse Source #
See: newListJournalKinesisStreamsForLedgerResponse smart constructor.
Constructors
| ListJournalKinesisStreamsForLedgerResponse' | |
Fields
| |
Instances
newListJournalKinesisStreamsForLedgerResponse Source #
Arguments
| :: Int | |
| -> ListJournalKinesisStreamsForLedgerResponse |
Create a value of ListJournalKinesisStreamsForLedgerResponse 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:
ListJournalKinesisStreamsForLedger, listJournalKinesisStreamsForLedgerResponse_nextToken - - If NextToken is empty, the last page of results has been processed
and there are no more results to be retrieved.
- If
NextTokenis not empty, more results are available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListJournalKinesisStreamsForLedgercall.
$sel:streams:ListJournalKinesisStreamsForLedgerResponse', listJournalKinesisStreamsForLedgerResponse_streams - The array of QLDB journal stream descriptors that are associated with
the given ledger.
$sel:httpStatus:ListJournalKinesisStreamsForLedgerResponse', listJournalKinesisStreamsForLedgerResponse_httpStatus - The response's http status code.
Response Lenses
listJournalKinesisStreamsForLedgerResponse_nextToken :: Lens' ListJournalKinesisStreamsForLedgerResponse (Maybe Text) Source #
- If
NextTokenis empty, the last page of results has been processed and there are no more results to be retrieved. - If
NextTokenis not empty, more results are available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListJournalKinesisStreamsForLedgercall.
listJournalKinesisStreamsForLedgerResponse_streams :: Lens' ListJournalKinesisStreamsForLedgerResponse (Maybe [JournalKinesisStreamDescription]) Source #
The array of QLDB journal stream descriptors that are associated with the given ledger.
listJournalKinesisStreamsForLedgerResponse_httpStatus :: Lens' ListJournalKinesisStreamsForLedgerResponse Int Source #
The response's http status code.