aws_sdk_autoscaling/client/
batch_delete_scheduled_action.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 [`BatchDeleteScheduledAction`](crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`auto_scaling_group_name(impl Into<String>)`](crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder::auto_scaling_group_name) / [`set_auto_scaling_group_name(Option<String>)`](crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder::set_auto_scaling_group_name):<br>required: **true**<br><p>The name of the Auto Scaling group.</p><br>
7    ///   - [`scheduled_action_names(impl Into<String>)`](crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder::scheduled_action_names) / [`set_scheduled_action_names(Option<Vec::<String>>)`](crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder::set_scheduled_action_names):<br>required: **true**<br><p>The names of the scheduled actions to delete. The maximum number allowed is 50.</p><br>
8    /// - On success, responds with [`BatchDeleteScheduledActionOutput`](crate::operation::batch_delete_scheduled_action::BatchDeleteScheduledActionOutput) with field(s):
9    ///   - [`failed_scheduled_actions(Option<Vec::<FailedScheduledUpdateGroupActionRequest>>)`](crate::operation::batch_delete_scheduled_action::BatchDeleteScheduledActionOutput::failed_scheduled_actions): <p>The names of the scheduled actions that could not be deleted, including an error message.</p>
10    /// - On failure, responds with [`SdkError<BatchDeleteScheduledActionError>`](crate::operation::batch_delete_scheduled_action::BatchDeleteScheduledActionError)
11    pub fn batch_delete_scheduled_action(
12        &self,
13    ) -> crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder {
14        crate::operation::batch_delete_scheduled_action::builders::BatchDeleteScheduledActionFluentBuilder::new(self.handle.clone())
15    }
16}