aws_sdk_appstream/client/
describe_app_blocks.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 [`DescribeAppBlocks`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arns(impl Into<String>)`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::arns) / [`set_arns(Option<Vec::<String>>)`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::set_arns):<br>required: **false**<br><p>The ARNs of the app blocks.</p><br>
7    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token used to retrieve the next page of results for this operation.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum size of each page of results.</p><br>
9    /// - On success, responds with [`DescribeAppBlocksOutput`](crate::operation::describe_app_blocks::DescribeAppBlocksOutput) with field(s):
10    ///   - [`app_blocks(Option<Vec::<AppBlock>>)`](crate::operation::describe_app_blocks::DescribeAppBlocksOutput::app_blocks): <p>The app blocks in the list.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::describe_app_blocks::DescribeAppBlocksOutput::next_token): <p>The pagination token used to retrieve the next page of results for this operation.</p>
12    /// - On failure, responds with [`SdkError<DescribeAppBlocksError>`](crate::operation::describe_app_blocks::DescribeAppBlocksError)
13    pub fn describe_app_blocks(&self) -> crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder {
14        crate::operation::describe_app_blocks::builders::DescribeAppBlocksFluentBuilder::new(self.handle.clone())
15    }
16}