1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopExecution`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`execution_arn(impl Into<String>)`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder::execution_arn) / [`set_execution_arn(Option<String>)`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder::set_execution_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the execution to stop.</p><br>
    ///   - [`error(impl Into<String>)`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder::error) / [`set_error(Option<String>)`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder::set_error):<br>required: **false**<br><p>The error code of the failure.</p><br>
    ///   - [`cause(impl Into<String>)`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder::cause) / [`set_cause(Option<String>)`](crate::operation::stop_execution::builders::StopExecutionFluentBuilder::set_cause):<br>required: **false**<br><p>A more detailed explanation of the cause of the failure.</p><br>
    /// - On success, responds with [`StopExecutionOutput`](crate::operation::stop_execution::StopExecutionOutput) with field(s):
    ///   - [`stop_date(DateTime)`](crate::operation::stop_execution::StopExecutionOutput::stop_date): <p>The date the execution is stopped.</p>
    /// - On failure, responds with [`SdkError<StopExecutionError>`](crate::operation::stop_execution::StopExecutionError)
    pub fn stop_execution(&self) -> crate::operation::stop_execution::builders::StopExecutionFluentBuilder {
        crate::operation::stop_execution::builders::StopExecutionFluentBuilder::new(self.handle.clone())
    }
}