aws_sdk_appstream/client/
list_associated_stacks.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 [`ListAssociatedStacks`](crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`fleet_name(impl Into<String>)`](crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder::fleet_name) / [`set_fleet_name(Option<String>)`](crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder::set_fleet_name):<br>required: **true**<br><p>The name of the fleet.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p><br>
8    /// - On success, responds with [`ListAssociatedStacksOutput`](crate::operation::list_associated_stacks::ListAssociatedStacksOutput) with field(s):
9    ///   - [`names(Option<Vec::<String>>)`](crate::operation::list_associated_stacks::ListAssociatedStacksOutput::names): <p>The name of the stack.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::list_associated_stacks::ListAssociatedStacksOutput::next_token): <p>The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
11    /// - On failure, responds with [`SdkError<ListAssociatedStacksError>`](crate::operation::list_associated_stacks::ListAssociatedStacksError)
12    pub fn list_associated_stacks(&self) -> crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder {
13        crate::operation::list_associated_stacks::builders::ListAssociatedStacksFluentBuilder::new(self.handle.clone())
14    }
15}