aws_sdk_appstream/client/list_export_image_tasks.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 [`ListExportImageTasks`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`filters(Filter)`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::set_filters):<br>required: **false**<br><p>Optional filters to apply when listing export image tasks. Filters help you narrow down the results based on specific criteria.</p><br>
7 /// - [`max_results(i32)`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of export image tasks to return in a single request. The valid range is 1-500, with a default of 50.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from a previous request. Use this to retrieve the next page of results when there are more tasks than the MaxResults limit.</p><br>
9 /// - On success, responds with [`ListExportImageTasksOutput`](crate::operation::list_export_image_tasks::ListExportImageTasksOutput) with field(s):
10 /// - [`export_image_tasks(Option<Vec::<ExportImageTask>>)`](crate::operation::list_export_image_tasks::ListExportImageTasksOutput::export_image_tasks): <p>The list of export image tasks that match the specified criteria.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_export_image_tasks::ListExportImageTasksOutput::next_token): <p>The pagination token to use for retrieving the next page of results. This field is only present when there are more results available.</p>
12 /// - On failure, responds with [`SdkError<ListExportImageTasksError>`](crate::operation::list_export_image_tasks::ListExportImageTasksError)
13 pub fn list_export_image_tasks(&self) -> crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder {
14 crate::operation::list_export_image_tasks::builders::ListExportImageTasksFluentBuilder::new(self.handle.clone())
15 }
16}