aws_sdk_bcmdataexports/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 /// - [`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><p>The maximum number of objects that are returned for the request.</p><br>
8 /// - [`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><p>The token to retrieve the next set of results.</p><br>
9 /// - On success, responds with [`ListExportsOutput`](crate::operation::list_exports::ListExportsOutput) with field(s):
10 /// - [`exports(Option<Vec::<ExportReference>>)`](crate::operation::list_exports::ListExportsOutput::exports): <p>The details of the exports, including name and export status.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_exports::ListExportsOutput::next_token): <p>The token to retrieve the next set of results.</p>
12 /// - On failure, responds with [`SdkError<ListExportsError>`](crate::operation::list_exports::ListExportsError)
13 pub fn list_exports(&self) -> crate::operation::list_exports::builders::ListExportsFluentBuilder {
14 crate::operation::list_exports::builders::ListExportsFluentBuilder::new(self.handle.clone())
15 }
16}