aws_sdk_lambda/client/
get_durable_execution_state.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetDurableExecutionState`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`durable_execution_arn(impl Into<String>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::durable_execution_arn) / [`set_durable_execution_arn(Option<String>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::set_durable_execution_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the durable execution.</p><br>
8    ///   - [`checkpoint_token(impl Into<String>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::checkpoint_token) / [`set_checkpoint_token(Option<String>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::set_checkpoint_token):<br>required: **true**<br><p>A checkpoint token that identifies the current state of the execution. This token is provided by the Lambda runtime and ensures that state retrieval is consistent with the current execution context.</p><br>
9    ///   - [`marker(impl Into<String>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::set_marker):<br>required: **false**<br><p>If <code>NextMarker</code> was returned from a previous request, use this value to retrieve the next page of operations. Each pagination token expires after 24 hours.</p><br>
10    ///   - [`max_items(i32)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of operations to return per call. You can use <code>Marker</code> to retrieve additional pages of results. The default is 100 and the maximum allowed is 1000. A value of 0 uses the default.</p><br>
11    /// - On success, responds with [`GetDurableExecutionStateOutput`](crate::operation::get_durable_execution_state::GetDurableExecutionStateOutput) with field(s):
12    ///   - [`operations(Vec::<Operation>)`](crate::operation::get_durable_execution_state::GetDurableExecutionStateOutput::operations): <p>An array of operations that represent the current state of the durable execution. Operations are ordered by their start sequence number in ascending order and include information needed for replay processing.</p>
13    ///   - [`next_marker(Option<String>)`](crate::operation::get_durable_execution_state::GetDurableExecutionStateOutput::next_marker): <p>If present, indicates that more operations are available. Use this value as the <code>Marker</code> parameter in a subsequent request to retrieve the next page of results.</p>
14    /// - On failure, responds with [`SdkError<GetDurableExecutionStateError>`](crate::operation::get_durable_execution_state::GetDurableExecutionStateError)
15    pub fn get_durable_execution_state(&self) -> crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder {
16        crate::operation::get_durable_execution_state::builders::GetDurableExecutionStateFluentBuilder::new(self.handle.clone())
17    }
18}