pub struct ListBucketsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListBuckets
.
This operation is not supported by directory buckets.
Returns a list of all buckets owned by the authenticated sender of the request. To use this operation, you must have the s3:ListAllMyBuckets
permission.
For information about Amazon S3 buckets, see Creating, configuring, and working with Amazon S3 buckets.
Implementations§
source§impl ListBucketsFluentBuilder
impl ListBucketsFluentBuilder
sourcepub fn as_input(&self) -> &ListBucketsInputBuilder
pub fn as_input(&self) -> &ListBucketsInputBuilder
Access the ListBuckets as a reference.
sourcepub async fn send(
self,
) -> Result<ListBucketsOutput, SdkError<ListBucketsError, HttpResponse>>
pub async fn send( self, ) -> Result<ListBucketsOutput, SdkError<ListBucketsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<ListBucketsOutput, ListBucketsError, Self>
pub fn customize( self, ) -> CustomizableOperation<ListBucketsOutput, ListBucketsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Trait Implementations§
source§impl Clone for ListBucketsFluentBuilder
impl Clone for ListBucketsFluentBuilder
source§fn clone(&self) -> ListBucketsFluentBuilder
fn clone(&self) -> ListBucketsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListBucketsFluentBuilder
impl !RefUnwindSafe for ListBucketsFluentBuilder
impl Send for ListBucketsFluentBuilder
impl Sync for ListBucketsFluentBuilder
impl Unpin for ListBucketsFluentBuilder
impl !UnwindSafe for ListBucketsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)