aws_sdk_cloudformation/client/delete_stack_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 [`DeleteStackSet`](crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`stack_set_name(impl Into<String>)`](crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder::stack_set_name) / [`set_stack_set_name(Option<String>)`](crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder::set_stack_set_name):<br>required: **true**<br><p>The name or unique ID of the stack set that you're deleting. You can obtain this value by running <code>ListStackSets</code>.</p><br>
7 /// - [`call_as(CallAs)`](crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder::call_as) / [`set_call_as(Option<CallAs>)`](crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder::set_call_as):<br>required: **false**<br><p>\[Service-managed permissions\] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.</p> <p>By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with self-managed permissions.</p> <ul> <li> <p>If you are signed in to the management account, specify <code>SELF</code>.</p></li> <li> <p>If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.</p> <p>Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register a delegated administrator</a> in the <i>CloudFormation User Guide</i>.</p></li> </ul><br>
8 /// - On success, responds with [`DeleteStackSetOutput`](crate::operation::delete_stack_set::DeleteStackSetOutput)
9 /// - On failure, responds with [`SdkError<DeleteStackSetError>`](crate::operation::delete_stack_set::DeleteStackSetError)
10 pub fn delete_stack_set(&self) -> crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder {
11 crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder::new(self.handle.clone())
12 }
13}