Struct aws_sdk_s3control::operation::list_storage_lens_configurations::builders::ListStorageLensConfigurationsFluentBuilder
source · pub struct ListStorageLensConfigurationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListStorageLensConfigurations
.
This operation is not supported by directory buckets.
Gets a list of Amazon S3 Storage Lens configurations. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.
To use this action, you must have permission to perform the s3:ListStorageLensConfigurations
action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.
Implementations§
source§impl ListStorageLensConfigurationsFluentBuilder
impl ListStorageLensConfigurationsFluentBuilder
sourcepub fn as_input(&self) -> &ListStorageLensConfigurationsInputBuilder
pub fn as_input(&self) -> &ListStorageLensConfigurationsInputBuilder
Access the ListStorageLensConfigurations as a reference.
sourcepub async fn send(
self
) -> Result<ListStorageLensConfigurationsOutput, SdkError<ListStorageLensConfigurationsError, HttpResponse>>
pub async fn send( self ) -> Result<ListStorageLensConfigurationsOutput, SdkError<ListStorageLensConfigurationsError, 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<ListStorageLensConfigurationsOutput, ListStorageLensConfigurationsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListStorageLensConfigurationsOutput, ListStorageLensConfigurationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListStorageLensConfigurationsPaginator
pub fn into_paginator(self) -> ListStorageLensConfigurationsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID of the requester.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID of the requester.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID of the requester.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token to request the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token to request the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token to request the next page of results.
Trait Implementations§
source§impl Clone for ListStorageLensConfigurationsFluentBuilder
impl Clone for ListStorageLensConfigurationsFluentBuilder
source§fn clone(&self) -> ListStorageLensConfigurationsFluentBuilder
fn clone(&self) -> ListStorageLensConfigurationsFluentBuilder
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 ListStorageLensConfigurationsFluentBuilder
impl !RefUnwindSafe for ListStorageLensConfigurationsFluentBuilder
impl Send for ListStorageLensConfigurationsFluentBuilder
impl Sync for ListStorageLensConfigurationsFluentBuilder
impl Unpin for ListStorageLensConfigurationsFluentBuilder
impl !UnwindSafe for ListStorageLensConfigurationsFluentBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more