aws_sdk_amplifybackend/client/list_s3_buckets.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 [`ListS3Buckets`](crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`next_token(impl Into<String>)`](crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder::set_next_token):<br>required: **false**<br><p>Reserved for future use.</p><br>
7 /// - On success, responds with [`ListS3BucketsOutput`](crate::operation::list_s3_buckets::ListS3BucketsOutput) with field(s):
8 /// - [`buckets(Option<Vec::<S3BucketInfo>>)`](crate::operation::list_s3_buckets::ListS3BucketsOutput::buckets): <p>The list of S3 buckets.</p>
9 /// - [`next_token(Option<String>)`](crate::operation::list_s3_buckets::ListS3BucketsOutput::next_token): <p>Reserved for future use.</p>
10 /// - On failure, responds with [`SdkError<ListS3BucketsError>`](crate::operation::list_s3_buckets::ListS3BucketsError)
11 pub fn list_s3_buckets(&self) -> crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder {
12 crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder::new(self.handle.clone())
13 }
14}