// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListJournalKinesisStreamsForLedger`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`ledger_name(impl Into<String>)`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::ledger_name) / [`set_ledger_name(Option<String>)`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::set_ledger_name):<br>required: **true**<br><p>The name of the ledger.</p><br>
/// - [`max_results(i32)`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single <code>ListJournalKinesisStreamsForLedger</code> request. (The actual number of results returned might be fewer.)</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token, indicating that you want to retrieve the next page of results. If you received a value for <code>NextToken</code> in the response from a previous <code>ListJournalKinesisStreamsForLedger</code> call, you should use that value as input here.</p><br>
/// - On success, responds with [`ListJournalKinesisStreamsForLedgerOutput`](crate::operation::list_journal_kinesis_streams_for_ledger::ListJournalKinesisStreamsForLedgerOutput) with field(s):
/// - [`streams(Option<Vec::<JournalKinesisStreamDescription>>)`](crate::operation::list_journal_kinesis_streams_for_ledger::ListJournalKinesisStreamsForLedgerOutput::streams): <p>The QLDB journal streams that are currently associated with the given ledger.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_journal_kinesis_streams_for_ledger::ListJournalKinesisStreamsForLedgerOutput::next_token): <ul> <li> <p>If <code>NextToken</code> is empty, the last page of results has been processed and there are no more results to be retrieved.</p></li> <li> <p>If <code>NextToken</code> is <i>not</i> empty, more results are available. To retrieve the next page of results, use the value of <code>NextToken</code> in a subsequent <code>ListJournalKinesisStreamsForLedger</code> call.</p></li> </ul>
/// - On failure, responds with [`SdkError<ListJournalKinesisStreamsForLedgerError>`](crate::operation::list_journal_kinesis_streams_for_ledger::ListJournalKinesisStreamsForLedgerError)
pub fn list_journal_kinesis_streams_for_ledger(
&self,
) -> crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder {
crate::operation::list_journal_kinesis_streams_for_ledger::builders::ListJournalKinesisStreamsForLedgerFluentBuilder::new(self.handle.clone())
}
}