pub struct PutBucketIntelligentTieringConfiguration { /* private fields */ }
Expand description
Fluent builder constructing a request to PutBucketIntelligentTieringConfiguration
.
Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
Operations related to PutBucketIntelligentTieringConfiguration
include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access or Deep Archive Access tier.
Special Errors
-
HTTP 400 Bad Request Error
-
Code: InvalidArgument
-
Cause: Invalid Argument
-
-
HTTP 400 Bad Request Error
-
Code: TooManyConfigurations
-
Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit.
-
-
HTTP 403 Forbidden Error
-
Code: AccessDenied
-
Cause: You are not the owner of the specified bucket, or you do not have the
s3:PutIntelligentTieringConfiguration
bucket permission to set the configuration on the bucket.
-
Implementations
sourceimpl PutBucketIntelligentTieringConfiguration
impl PutBucketIntelligentTieringConfiguration
sourcepub async fn send(
self
) -> Result<PutBucketIntelligentTieringConfigurationOutput, SdkError<PutBucketIntelligentTieringConfigurationError>>
pub async fn send(
self
) -> Result<PutBucketIntelligentTieringConfigurationOutput, SdkError<PutBucketIntelligentTieringConfigurationError>>
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 bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID used to identify the S3 Intelligent-Tiering configuration.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID used to identify the S3 Intelligent-Tiering configuration.
sourcepub fn intelligent_tiering_configuration(
self,
input: IntelligentTieringConfiguration
) -> Self
pub fn intelligent_tiering_configuration(
self,
input: IntelligentTieringConfiguration
) -> Self
Container for S3 Intelligent-Tiering configuration.
sourcepub fn set_intelligent_tiering_configuration(
self,
input: Option<IntelligentTieringConfiguration>
) -> Self
pub fn set_intelligent_tiering_configuration(
self,
input: Option<IntelligentTieringConfiguration>
) -> Self
Container for S3 Intelligent-Tiering configuration.
Trait Implementations
sourceimpl Clone for PutBucketIntelligentTieringConfiguration
impl Clone for PutBucketIntelligentTieringConfiguration
sourcefn clone(&self) -> PutBucketIntelligentTieringConfiguration
fn clone(&self) -> PutBucketIntelligentTieringConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for PutBucketIntelligentTieringConfiguration
impl Send for PutBucketIntelligentTieringConfiguration
impl Sync for PutBucketIntelligentTieringConfiguration
impl Unpin for PutBucketIntelligentTieringConfiguration
impl !UnwindSafe for PutBucketIntelligentTieringConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more