aws_sdk_autoscaling/client/
exit_standby.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 [`ExitStandby`](crate::operation::exit_standby::builders::ExitStandbyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_ids(impl Into<String>)`](crate::operation::exit_standby::builders::ExitStandbyFluentBuilder::instance_ids) / [`set_instance_ids(Option<Vec::<String>>)`](crate::operation::exit_standby::builders::ExitStandbyFluentBuilder::set_instance_ids):<br>required: **false**<br><p>The IDs of the instances. You can specify up to 20 instances.</p><br>
7    ///   - [`auto_scaling_group_name(impl Into<String>)`](crate::operation::exit_standby::builders::ExitStandbyFluentBuilder::auto_scaling_group_name) / [`set_auto_scaling_group_name(Option<String>)`](crate::operation::exit_standby::builders::ExitStandbyFluentBuilder::set_auto_scaling_group_name):<br>required: **true**<br><p>The name of the Auto Scaling group.</p><br>
8    /// - On success, responds with [`ExitStandbyOutput`](crate::operation::exit_standby::ExitStandbyOutput) with field(s):
9    ///   - [`activities(Option<Vec::<Activity>>)`](crate::operation::exit_standby::ExitStandbyOutput::activities): <p>The activities related to moving instances out of <code>Standby</code> mode.</p>
10    /// - On failure, responds with [`SdkError<ExitStandbyError>`](crate::operation::exit_standby::ExitStandbyError)
11    pub fn exit_standby(&self) -> crate::operation::exit_standby::builders::ExitStandbyFluentBuilder {
12        crate::operation::exit_standby::builders::ExitStandbyFluentBuilder::new(self.handle.clone())
13    }
14}