aws_sdk_opsworks/client/
stop_stack.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 [`StopStack`](crate::operation::stop_stack::builders::StopStackFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`stack_id(impl Into<String>)`](crate::operation::stop_stack::builders::StopStackFluentBuilder::stack_id) / [`set_stack_id(Option<String>)`](crate::operation::stop_stack::builders::StopStackFluentBuilder::set_stack_id):<br>required: **true**<br><p>The stack ID.</p><br>
7    /// - On success, responds with [`StopStackOutput`](crate::operation::stop_stack::StopStackOutput)
8    /// - On failure, responds with [`SdkError<StopStackError>`](crate::operation::stop_stack::StopStackError)
9    pub fn stop_stack(&self) -> crate::operation::stop_stack::builders::StopStackFluentBuilder {
10        crate::operation::stop_stack::builders::StopStackFluentBuilder::new(self.handle.clone())
11    }
12}