1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListS3Buckets`](crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl ::std::convert::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): <p>Reserved for future use.</p>
    /// - On success, responds with [`ListS3BucketsOutput`](crate::operation::list_s3_buckets::ListS3BucketsOutput) with field(s):
    ///   - [`buckets(Option<Vec<S3BucketInfo>>)`](crate::operation::list_s3_buckets::ListS3BucketsOutput::buckets): <p>The list of S3 buckets.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_s3_buckets::ListS3BucketsOutput::next_token): <p>Reserved for future use.</p>
    /// - On failure, responds with [`SdkError<ListS3BucketsError>`](crate::operation::list_s3_buckets::ListS3BucketsError)
    pub fn list_s3_buckets(
        &self,
    ) -> crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder {
        crate::operation::list_s3_buckets::builders::ListS3BucketsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}