1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListStackResources`](crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_name(impl Into<String>)`](crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder::set_stack_name):<br>required: **true**<br><p>The name or the unique stack ID that is 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><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>A string that identifies the next page of stack resources that you want to retrieve.</p><br>
    /// - On success, responds with [`ListStackResourcesOutput`](crate::operation::list_stack_resources::ListStackResourcesOutput) with field(s):
    ///   - [`stack_resource_summaries(Option<Vec::<StackResourceSummary>>)`](crate::operation::list_stack_resources::ListStackResourcesOutput::stack_resource_summaries): <p>A list of <code>StackResourceSummary</code> structures.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_stack_resources::ListStackResourcesOutput::next_token): <p>If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.</p>
    /// - On failure, responds with [`SdkError<ListStackResourcesError>`](crate::operation::list_stack_resources::ListStackResourcesError)
    pub fn list_stack_resources(&self) -> crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder {
        crate::operation::list_stack_resources::builders::ListStackResourcesFluentBuilder::new(self.handle.clone())
    }
}