1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeStackResource`](crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_name(impl Into<String>)`](crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder::set_stack_name): <p>The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:</p>  <ul>   <li> <p>Running stacks: You can specify either the stack's name or its unique stack ID.</p> </li>   <li> <p>Deleted stacks: You must specify the unique stack ID.</p> </li>  </ul>  <p>Default: There is no default value.</p>
    ///   - [`logical_resource_id(impl Into<String>)`](crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder::logical_resource_id) / [`set_logical_resource_id(Option<String>)`](crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder::set_logical_resource_id): <p>The logical name of the resource as specified in the template.</p>  <p>Default: There is no default value.</p>
    /// - On success, responds with [`DescribeStackResourceOutput`](crate::operation::describe_stack_resource::DescribeStackResourceOutput) with field(s):
    ///   - [`stack_resource_detail(Option<StackResourceDetail>)`](crate::operation::describe_stack_resource::DescribeStackResourceOutput::stack_resource_detail): <p>A <code>StackResourceDetail</code> structure containing the description of the specified resource in the specified stack.</p>
    /// - On failure, responds with [`SdkError<DescribeStackResourceError>`](crate::operation::describe_stack_resource::DescribeStackResourceError)
    pub fn describe_stack_resource(
        &self,
    ) -> crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder
    {
        crate::operation::describe_stack_resource::builders::DescribeStackResourceFluentBuilder::new(
            self.handle.clone(),
        )
    }
}