Struct aws_sdk_s3control::types::BucketLevel
source · #[non_exhaustive]pub struct BucketLevel {
pub activity_metrics: Option<ActivityMetrics>,
pub prefix_level: Option<PrefixLevel>,
pub advanced_cost_optimization_metrics: Option<AdvancedCostOptimizationMetrics>,
pub advanced_data_protection_metrics: Option<AdvancedDataProtectionMetrics>,
pub detailed_status_codes_metrics: Option<DetailedStatusCodesMetrics>,
}
Expand description
A container for the bucket-level configuration for Amazon S3 Storage Lens.
For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide.
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.activity_metrics: Option<ActivityMetrics>
A container for the bucket-level activity metrics for S3 Storage Lens.
prefix_level: Option<PrefixLevel>
A container for the prefix-level metrics for S3 Storage Lens.
advanced_cost_optimization_metrics: Option<AdvancedCostOptimizationMetrics>
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
advanced_data_protection_metrics: Option<AdvancedDataProtectionMetrics>
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
detailed_status_codes_metrics: Option<DetailedStatusCodesMetrics>
A container for bucket-level detailed status code metrics for S3 Storage Lens.
Implementations§
source§impl BucketLevel
impl BucketLevel
sourcepub fn activity_metrics(&self) -> Option<&ActivityMetrics>
pub fn activity_metrics(&self) -> Option<&ActivityMetrics>
A container for the bucket-level activity metrics for S3 Storage Lens.
sourcepub fn prefix_level(&self) -> Option<&PrefixLevel>
pub fn prefix_level(&self) -> Option<&PrefixLevel>
A container for the prefix-level metrics for S3 Storage Lens.
sourcepub fn advanced_cost_optimization_metrics(
&self
) -> Option<&AdvancedCostOptimizationMetrics>
pub fn advanced_cost_optimization_metrics( &self ) -> Option<&AdvancedCostOptimizationMetrics>
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
sourcepub fn advanced_data_protection_metrics(
&self
) -> Option<&AdvancedDataProtectionMetrics>
pub fn advanced_data_protection_metrics( &self ) -> Option<&AdvancedDataProtectionMetrics>
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
sourcepub fn detailed_status_codes_metrics(
&self
) -> Option<&DetailedStatusCodesMetrics>
pub fn detailed_status_codes_metrics( &self ) -> Option<&DetailedStatusCodesMetrics>
A container for bucket-level detailed status code metrics for S3 Storage Lens.
source§impl BucketLevel
impl BucketLevel
sourcepub fn builder() -> BucketLevelBuilder
pub fn builder() -> BucketLevelBuilder
Creates a new builder-style object to manufacture BucketLevel
.
Trait Implementations§
source§impl Clone for BucketLevel
impl Clone for BucketLevel
source§fn clone(&self) -> BucketLevel
fn clone(&self) -> BucketLevel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BucketLevel
impl Debug for BucketLevel
source§impl PartialEq for BucketLevel
impl PartialEq for BucketLevel
source§fn eq(&self, other: &BucketLevel) -> bool
fn eq(&self, other: &BucketLevel) -> bool
self
and other
values to be equal, and is used
by ==
.