pub struct GetStorageLensConfiguration { /* private fields */ }
Expand description
Fluent builder constructing a request to GetStorageLensConfiguration
.
Gets the Amazon S3 Storage Lens configuration. For more information, 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:GetStorageLensConfiguration
action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.
Implementations§
source§impl GetStorageLensConfiguration
impl GetStorageLensConfiguration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetStorageLensConfiguration, AwsResponseRetryClassifier>, SdkError<GetStorageLensConfigurationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetStorageLensConfiguration, AwsResponseRetryClassifier>, SdkError<GetStorageLensConfigurationError>>
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<GetStorageLensConfigurationOutput, SdkError<GetStorageLensConfigurationError>>
pub async fn send(
self
) -> Result<GetStorageLensConfigurationOutput, SdkError<GetStorageLensConfigurationError>>
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 config_id(self, input: impl Into<String>) -> Self
pub fn config_id(self, input: impl Into<String>) -> Self
The ID of the Amazon S3 Storage Lens configuration.
sourcepub fn set_config_id(self, input: Option<String>) -> Self
pub fn set_config_id(self, input: Option<String>) -> Self
The ID of the Amazon S3 Storage Lens configuration.
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.
Trait Implementations§
source§impl Clone for GetStorageLensConfiguration
impl Clone for GetStorageLensConfiguration
source§fn clone(&self) -> GetStorageLensConfiguration
fn clone(&self) -> GetStorageLensConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more