pub struct ListStorageLensConfigurations { /* private fields */ }
Expand description
Fluent builder constructing a request to ListStorageLensConfigurations
.
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 ListStorageLensConfigurations
impl ListStorageLensConfigurations
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListStorageLensConfigurations, AwsResponseRetryClassifier>, SdkError<ListStorageLensConfigurationsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListStorageLensConfigurations, AwsResponseRetryClassifier>, SdkError<ListStorageLensConfigurationsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListStorageLensConfigurationsOutput, SdkError<ListStorageLensConfigurationsError>>
pub async fn send(
self
) -> Result<ListStorageLensConfigurationsOutput, SdkError<ListStorageLensConfigurationsError>>
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 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 Stream
.
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 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.
Trait Implementations§
source§impl Clone for ListStorageLensConfigurations
impl Clone for ListStorageLensConfigurations
source§fn clone(&self) -> ListStorageLensConfigurations
fn clone(&self) -> ListStorageLensConfigurations
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more