1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteStackSet`](crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteStackSetOutput`](crate::operation::delete_stack_set::DeleteStackSetOutput)
    /// - On failure, responds with [`SdkError<DeleteStackSetError>`](crate::operation::delete_stack_set::DeleteStackSetError)
    pub fn delete_stack_set(&self) -> crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder {
        crate::operation::delete_stack_set::builders::DeleteStackSetFluentBuilder::new(self.handle.clone())
    }
}