aws_sdk_cloudformation/client/
delete_change_set.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 [`DeleteChangeSet`](crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`change_set_name(impl Into<String>)`](crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder::change_set_name) / [`set_change_set_name(Option<String>)`](crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder::set_change_set_name):<br>required: **true**<br><p>The name or Amazon Resource Name (ARN) of the change set that you want to delete.</p><br>
7    ///   - [`stack_name(impl Into<String>)`](crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder::set_stack_name):<br>required: **false**<br><p>If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's associated with it.</p><br>
8    /// - On success, responds with [`DeleteChangeSetOutput`](crate::operation::delete_change_set::DeleteChangeSetOutput)
9    /// - On failure, responds with [`SdkError<DeleteChangeSetError>`](crate::operation::delete_change_set::DeleteChangeSetError)
10    pub fn delete_change_set(&self) -> crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder {
11        crate::operation::delete_change_set::builders::DeleteChangeSetFluentBuilder::new(self.handle.clone())
12    }
13}