1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetExecutionHistory`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`execution_arn(impl Into<String>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::execution_arn) / [`set_execution_arn(Option<String>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::set_execution_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the execution.</p><br>
    ///   - [`max_results(i32)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p> <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p><br>
    ///   - [`reverse_order(bool)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::reverse_order) / [`set_reverse_order(Option<bool>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::set_reverse_order):<br>required: **false**<br><p>Lists events in descending order of their <code>timeStamp</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::set_next_token):<br>required: **false**<br><p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p><br>
    ///   - [`include_execution_data(bool)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::include_execution_data) / [`set_include_execution_data(Option<bool>)`](crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::set_include_execution_data):<br>required: **false**<br><p>You can select whether execution data (input or output of a history event) is returned. The default is <code>true</code>.</p><br>
    /// - On success, responds with [`GetExecutionHistoryOutput`](crate::operation::get_execution_history::GetExecutionHistoryOutput) with field(s):
    ///   - [`events(Vec::<HistoryEvent>)`](crate::operation::get_execution_history::GetExecutionHistoryOutput::events): <p>The list of events that occurred in the execution.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_execution_history::GetExecutionHistoryOutput::next_token): <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
    /// - On failure, responds with [`SdkError<GetExecutionHistoryError>`](crate::operation::get_execution_history::GetExecutionHistoryError)
    pub fn get_execution_history(&self) -> crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder {
        crate::operation::get_execution_history::builders::GetExecutionHistoryFluentBuilder::new(self.handle.clone())
    }
}