aws_sdk_appstream/client/
describe_fleets.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 [`DescribeFleets`](crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`names(impl Into<String>)`](crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder::names) / [`set_names(Option<Vec::<String>>)`](crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder::set_names):<br>required: **false**<br><p>The names of the fleets to describe.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder::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 [`DescribeFleetsOutput`](crate::operation::describe_fleets::DescribeFleetsOutput) with field(s):
9    ///   - [`fleets(Option<Vec::<Fleet>>)`](crate::operation::describe_fleets::DescribeFleetsOutput::fleets): <p>Information about the fleets.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::describe_fleets::DescribeFleetsOutput::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<DescribeFleetsError>`](crate::operation::describe_fleets::DescribeFleetsError)
12    pub fn describe_fleets(&self) -> crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder {
13        crate::operation::describe_fleets::builders::DescribeFleetsFluentBuilder::new(self.handle.clone())
14    }
15}