aws_sdk_lambda/client/stop_durable_execution.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 [`StopDurableExecution`](crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`durable_execution_arn(impl Into<String>)`](crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder::durable_execution_arn) / [`set_durable_execution_arn(Option<String>)`](crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder::set_durable_execution_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the durable execution.</p><br>
7 /// - [`error(ErrorObject)`](crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder::error) / [`set_error(Option<ErrorObject>)`](crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder::set_error):<br>required: **false**<br><p>Optional error details explaining why the execution is being stopped.</p><br>
8 /// - On success, responds with [`StopDurableExecutionOutput`](crate::operation::stop_durable_execution::StopDurableExecutionOutput) with field(s):
9 /// - [`stop_timestamp(DateTime)`](crate::operation::stop_durable_execution::StopDurableExecutionOutput::stop_timestamp): <p>The timestamp when the execution was stopped (ISO 8601 format).</p>
10 /// - On failure, responds with [`SdkError<StopDurableExecutionError>`](crate::operation::stop_durable_execution::StopDurableExecutionError)
11 pub fn stop_durable_execution(&self) -> crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder {
12 crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder::new(self.handle.clone())
13 }
14}