pub struct PutBucketIntelligentTieringConfigurationFluentBuilder { /* 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.

PutBucketIntelligentTieringConfiguration has the following 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

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§

§

impl PutBucketIntelligentTieringConfigurationFluentBuilder

pub fn as_input(&self) -> &PutBucketIntelligentTieringConfigurationInputBuilder

Access the PutBucketIntelligentTieringConfiguration as a reference.

pub async fn send( self ) -> Result<PutBucketIntelligentTieringConfigurationOutput, SdkError<PutBucketIntelligentTieringConfigurationError, Response<SdkBody>>>

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.

pub async fn customize( self ) -> Result<CustomizableOperation<PutBucketIntelligentTieringConfigurationOutput, PutBucketIntelligentTieringConfigurationError, PutBucketIntelligentTieringConfigurationFluentBuilder>, SdkError<PutBucketIntelligentTieringConfigurationError>>

Consumes this builder, creating a customizable operation that can be modified before being sent.

pub fn bucket( self, input: impl Into<String> ) -> PutBucketIntelligentTieringConfigurationFluentBuilder

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

pub fn set_bucket( self, input: Option<String> ) -> PutBucketIntelligentTieringConfigurationFluentBuilder

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

pub fn get_bucket(&self) -> &Option<String>

The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.

pub fn id( self, input: impl Into<String> ) -> PutBucketIntelligentTieringConfigurationFluentBuilder

The ID used to identify the S3 Intelligent-Tiering configuration.

pub fn set_id( self, input: Option<String> ) -> PutBucketIntelligentTieringConfigurationFluentBuilder

The ID used to identify the S3 Intelligent-Tiering configuration.

pub fn get_id(&self) -> &Option<String>

The ID used to identify the S3 Intelligent-Tiering configuration.

pub fn intelligent_tiering_configuration( self, input: IntelligentTieringConfiguration ) -> PutBucketIntelligentTieringConfigurationFluentBuilder

Container for S3 Intelligent-Tiering configuration.

pub fn set_intelligent_tiering_configuration( self, input: Option<IntelligentTieringConfiguration> ) -> PutBucketIntelligentTieringConfigurationFluentBuilder

Container for S3 Intelligent-Tiering configuration.

pub fn get_intelligent_tiering_configuration( &self ) -> &Option<IntelligentTieringConfiguration>

Container for S3 Intelligent-Tiering configuration.

Trait Implementations§

§

impl Clone for PutBucketIntelligentTieringConfigurationFluentBuilder

§

fn clone(&self) -> PutBucketIntelligentTieringConfigurationFluentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PutBucketIntelligentTieringConfigurationFluentBuilder

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32 ) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more