1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeStackInstance`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_set_name(impl Into<String>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::stack_set_name) / [`set_stack_set_name(Option<String>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::set_stack_set_name): <p>The name or the unique stack ID of the stack set that you want to get stack instance information for.</p>
    ///   - [`stack_instance_account(impl Into<String>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::stack_instance_account) / [`set_stack_instance_account(Option<String>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::set_stack_instance_account): <p>The ID of an Amazon Web Services account that's associated with this stack instance.</p>
    ///   - [`stack_instance_region(impl Into<String>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::stack_instance_region) / [`set_stack_instance_region(Option<String>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::set_stack_instance_region): <p>The name of a Region that's associated with this stack instance.</p>
    ///   - [`call_as(CallAs)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::call_as) / [`set_call_as(Option<CallAs>)`](crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::set_call_as): <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>
    /// - On success, responds with [`DescribeStackInstanceOutput`](crate::operation::describe_stack_instance::DescribeStackInstanceOutput) with field(s):
    ///   - [`stack_instance(Option<StackInstance>)`](crate::operation::describe_stack_instance::DescribeStackInstanceOutput::stack_instance): <p>The stack instance that matches the specified request parameters.</p>
    /// - On failure, responds with [`SdkError<DescribeStackInstanceError>`](crate::operation::describe_stack_instance::DescribeStackInstanceError)
    pub fn describe_stack_instance(
        &self,
    ) -> crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder
    {
        crate::operation::describe_stack_instance::builders::DescribeStackInstanceFluentBuilder::new(
            self.handle.clone(),
        )
    }
}