Struct aws_sdk_s3control::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationFluentBuilder
source · pub struct GetStorageLensConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetStorageLensConfiguration.
This operation is not supported by directory buckets.
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. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary 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 GetStorageLensConfigurationFluentBuilder
impl GetStorageLensConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &GetStorageLensConfigurationInputBuilder
pub fn as_input(&self) -> &GetStorageLensConfigurationInputBuilder
Access the GetStorageLensConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<GetStorageLensConfigurationOutput, SdkError<GetStorageLensConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<GetStorageLensConfigurationOutput, SdkError<GetStorageLensConfigurationError, 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<GetStorageLensConfigurationOutput, GetStorageLensConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<GetStorageLensConfigurationOutput, GetStorageLensConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_config_id(&self) -> &Option<String>
pub fn get_config_id(&self) -> &Option<String>
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.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID of the requester.
Trait Implementations§
source§impl Clone for GetStorageLensConfigurationFluentBuilder
impl Clone for GetStorageLensConfigurationFluentBuilder
source§fn clone(&self) -> GetStorageLensConfigurationFluentBuilder
fn clone(&self) -> GetStorageLensConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more