aws_sdk_simpledbv2/client/list_exports.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 [`ListExports`](crate::operation::list_exports::builders::ListExportsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_exports::builders::ListExportsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`domain_name(impl Into<String>)`](crate::operation::list_exports::builders::ListExportsFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::list_exports::builders::ListExportsFluentBuilder::set_domain_name):<br>required: **false**<br>The name of the domain to filter exports. If not provided, exports for all the domains will be listed.<br>
8 /// - [`max_results(i32)`](crate::operation::list_exports::builders::ListExportsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_exports::builders::ListExportsFluentBuilder::set_max_results):<br>required: **false**<br>The maximum number of exports to return in a single response.<br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_exports::builders::ListExportsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_exports::builders::ListExportsFluentBuilder::set_next_token):<br>required: **false**<br>A pagination token used to retrieve the next page of results. This token is obtained from the nextToken field in the previous ListExportsResponse. Leave empty for the first request.<br>
10 /// - On success, responds with [`ListExportsOutput`](crate::operation::list_exports::ListExportsOutput) with field(s):
11 /// - [`export_summaries(Vec::<ExportSummary>)`](crate::operation::list_exports::ListExportsOutput::export_summaries): List of export summaries containing export ARN, status, request timestamp, and associated domain name.
12 /// - [`next_token(Option<String>)`](crate::operation::list_exports::ListExportsOutput::next_token): A pagination token indicating that more results are available. To retrieve the next page of results, provide this token in a subsequent ListExports request. If null or empty, there are no more results to retrieve.
13 /// - On failure, responds with [`SdkError<ListExportsError>`](crate::operation::list_exports::ListExportsError)
14 pub fn list_exports(&self) -> crate::operation::list_exports::builders::ListExportsFluentBuilder {
15 crate::operation::list_exports::builders::ListExportsFluentBuilder::new(self.handle.clone())
16 }
17}