1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListTransactionEvents`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`transaction_hash(impl Into<String>)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::transaction_hash) / [`set_transaction_hash(Option<String>)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::set_transaction_hash):<br>required: **true**<br><p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p><br>
    ///   - [`network(QueryNetwork)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::network) / [`set_network(Option<QueryNetwork>)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::set_network):<br>required: **true**<br><p>The blockchain network where the transaction events occurred.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token that indicates the next set of results to retrieve.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of transaction events to list.</p> <note>   <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p>   <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p>  </note><br>
    /// - On success, responds with [`ListTransactionEventsOutput`](crate::operation::list_transaction_events::ListTransactionEventsOutput) with field(s):
    ///   - [`events(Vec::<TransactionEvent>)`](crate::operation::list_transaction_events::ListTransactionEventsOutput::events): <p>An array of <code>TransactionEvent</code> objects. Each object contains details about the transaction events.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_transaction_events::ListTransactionEventsOutput::next_token): <p>The pagination token that indicates the next set of results to retrieve.</p>
    /// - On failure, responds with [`SdkError<ListTransactionEventsError>`](crate::operation::list_transaction_events::ListTransactionEventsError)
    pub fn list_transaction_events(&self) -> crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder {
        crate::operation::list_transaction_events::builders::ListTransactionEventsFluentBuilder::new(self.handle.clone())
    }
}