Struct aws_sdk_s3::types::Tiering
source · #[non_exhaustive]pub struct Tiering {
pub days: i32,
pub access_tier: IntelligentTieringAccessTier,
}
Expand description
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 additional operational overhead.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.days: i32
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
access_tier: IntelligentTieringAccessTier
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
Implementations§
source§impl Tiering
impl Tiering
sourcepub fn days(&self) -> i32
pub fn days(&self) -> i32
The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days).
sourcepub fn access_tier(&self) -> &IntelligentTieringAccessTier
pub fn access_tier(&self) -> &IntelligentTieringAccessTier
S3 Intelligent-Tiering access tier. See Storage class for automatically optimizing frequently and infrequently accessed objects for a list of access tiers in the S3 Intelligent-Tiering storage class.
Trait Implementations§
impl StructuralPartialEq for Tiering
Auto Trait Implementations§
impl Freeze for Tiering
impl RefUnwindSafe for Tiering
impl Send for Tiering
impl Sync for Tiering
impl Unpin for Tiering
impl UnwindSafe for Tiering
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)