// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopDurableExecution`](crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - [`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>
/// - On success, responds with [`StopDurableExecutionOutput`](crate::operation::stop_durable_execution::StopDurableExecutionOutput) with field(s):
/// - [`stop_timestamp(DateTime)`](crate::operation::stop_durable_execution::StopDurableExecutionOutput::stop_timestamp): <p>The timestamp when the execution was stopped (ISO 8601 format).</p>
/// - On failure, responds with [`SdkError<StopDurableExecutionError>`](crate::operation::stop_durable_execution::StopDurableExecutionError)
pub fn stop_durable_execution(&self) -> crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder {
crate::operation::stop_durable_execution::builders::StopDurableExecutionFluentBuilder::new(self.handle.clone())
}
}