1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopAutomationExecution`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`automation_execution_id(impl Into<String>)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::automation_execution_id) / [`set_automation_execution_id(Option<String>)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::set_automation_execution_id):<br>required: **true**<br><p>The execution ID of the Automation to stop.</p><br>
    ///   - [`r#type(StopType)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::type) / [`set_type(Option<StopType>)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::set_type):<br>required: **false**<br><p>The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.</p><br>
    /// - On success, responds with [`StopAutomationExecutionOutput`](crate::operation::stop_automation_execution::StopAutomationExecutionOutput)
    /// - On failure, responds with [`SdkError<StopAutomationExecutionError>`](crate::operation::stop_automation_execution::StopAutomationExecutionError)
    pub fn stop_automation_execution(&self) -> crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder {
        crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::new(self.handle.clone())
    }
}