// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDirectoryBuckets`](crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`continuation_token(impl Into<String>)`](crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder::continuation_token) / [`set_continuation_token(Option<String>)`](crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder::set_continuation_token):<br>required: **false**<br><p><code>ContinuationToken</code> indicates to Amazon S3 that the list is being continued on this bucket with a token. <code>ContinuationToken</code> is obfuscated and is not a real key. You can use this <code>ContinuationToken</code> for pagination of the list results.</p><br>
/// - [`max_directory_buckets(i32)`](crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder::max_directory_buckets) / [`set_max_directory_buckets(Option<i32>)`](crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder::set_max_directory_buckets):<br>required: **false**<br><p>Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.</p><br>
/// - On success, responds with [`ListDirectoryBucketsOutput`](crate::operation::list_directory_buckets::ListDirectoryBucketsOutput) with field(s):
/// - [`buckets(Option<Vec::<Bucket>>)`](crate::operation::list_directory_buckets::ListDirectoryBucketsOutput::buckets): <p>The list of buckets owned by the requester.</p>
/// - [`continuation_token(Option<String>)`](crate::operation::list_directory_buckets::ListDirectoryBucketsOutput::continuation_token): <p>If <code>ContinuationToken</code> was sent with the request, it is included in the response. You can use the returned <code>ContinuationToken</code> for pagination of the list response.</p>
/// - On failure, responds with [`SdkError<ListDirectoryBucketsError>`](crate::operation::list_directory_buckets::ListDirectoryBucketsError)
pub fn list_directory_buckets(&self) -> crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder {
crate::operation::list_directory_buckets::builders::ListDirectoryBucketsFluentBuilder::new(self.handle.clone())
}
}