// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListJournalRecords`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`agent_space_id(impl Into<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier for the agent space containing the execution<br>
/// - [`execution_id(impl Into<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::execution_id) / [`set_execution_id(Option<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::set_execution_id):<br>required: **true**<br>The unique identifier of the execution whose journal records to retrieve<br>
/// - [`limit(i32)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::set_limit):<br>required: **false**<br>Maximum number of records to return in a single response (1-100, default: 100)<br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::set_next_token):<br>required: **false**<br>Token for retrieving the next page of results<br>
/// - [`record_type(impl Into<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::record_type) / [`set_record_type(Option<String>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::set_record_type):<br>required: **false**<br>Filter records by type (empty string returns all types)<br>
/// - [`order(OrderType)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::order) / [`set_order(Option<OrderType>)`](crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::set_order):<br>required: **false**<br>Sort order for the records based on timestamp (default: DESC)<br>
/// - On success, responds with [`ListJournalRecordsOutput`](crate::operation::list_journal_records::ListJournalRecordsOutput) with field(s):
/// - [`records(Vec::<JournalRecord>)`](crate::operation::list_journal_records::ListJournalRecordsOutput::records): List of journal records matching the request criteria
/// - [`next_token(Option<String>)`](crate::operation::list_journal_records::ListJournalRecordsOutput::next_token): Token for retrieving the next page of results, if more results are available
/// - On failure, responds with [`SdkError<ListJournalRecordsError>`](crate::operation::list_journal_records::ListJournalRecordsError)
pub fn list_journal_records(&self) -> crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder {
crate::operation::list_journal_records::builders::ListJournalRecordsFluentBuilder::new(self.handle.clone())
}
}