Struct aws_sdk_s3control::operation::put_storage_lens_configuration::builders::PutStorageLensConfigurationFluentBuilder
source · pub struct PutStorageLensConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to PutStorageLensConfiguration.
This operation is not supported by directory buckets.
Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Working 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:PutStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.
Implementations§
source§impl PutStorageLensConfigurationFluentBuilder
impl PutStorageLensConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &PutStorageLensConfigurationInputBuilder
pub fn as_input(&self) -> &PutStorageLensConfigurationInputBuilder
Access the PutStorageLensConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<PutStorageLensConfigurationOutput, SdkError<PutStorageLensConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<PutStorageLensConfigurationOutput, SdkError<PutStorageLensConfigurationError, 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<PutStorageLensConfigurationOutput, PutStorageLensConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<PutStorageLensConfigurationOutput, PutStorageLensConfigurationError, 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 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 S3 Storage Lens configuration.
sourcepub fn get_config_id(&self) -> &Option<String>
pub fn get_config_id(&self) -> &Option<String>
The ID of the 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.
sourcepub fn storage_lens_configuration(self, input: StorageLensConfiguration) -> Self
pub fn storage_lens_configuration(self, input: StorageLensConfiguration) -> Self
The S3 Storage Lens configuration.
sourcepub fn set_storage_lens_configuration(
self,
input: Option<StorageLensConfiguration>
) -> Self
pub fn set_storage_lens_configuration( self, input: Option<StorageLensConfiguration> ) -> Self
The S3 Storage Lens configuration.
sourcepub fn get_storage_lens_configuration(
&self
) -> &Option<StorageLensConfiguration>
pub fn get_storage_lens_configuration( &self ) -> &Option<StorageLensConfiguration>
The S3 Storage Lens configuration.
Appends an item to Tags.
To override the contents of this collection use set_tags.
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
The tag set of the S3 Storage Lens configuration.
You can set up to a maximum of 50 tags.
Trait Implementations§
source§impl Clone for PutStorageLensConfigurationFluentBuilder
impl Clone for PutStorageLensConfigurationFluentBuilder
source§fn clone(&self) -> PutStorageLensConfigurationFluentBuilder
fn clone(&self) -> PutStorageLensConfigurationFluentBuilder
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 PutStorageLensConfigurationFluentBuilder
impl !RefUnwindSafe for PutStorageLensConfigurationFluentBuilder
impl Send for PutStorageLensConfigurationFluentBuilder
impl Sync for PutStorageLensConfigurationFluentBuilder
impl Unpin for PutStorageLensConfigurationFluentBuilder
impl !UnwindSafe for PutStorageLensConfigurationFluentBuilder
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