Struct aws_sdk_s3::types::MetricsConfiguration
source · #[non_exhaustive]pub struct MetricsConfiguration { /* private fields */ }
Expand description
Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.
Implementations§
source§impl MetricsConfiguration
impl MetricsConfiguration
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.
sourcepub fn filter(&self) -> Option<&MetricsFilter>
pub fn filter(&self) -> Option<&MetricsFilter>
Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).
source§impl MetricsConfiguration
impl MetricsConfiguration
sourcepub fn builder() -> MetricsConfigurationBuilder
pub fn builder() -> MetricsConfigurationBuilder
Creates a new builder-style object to manufacture MetricsConfiguration
.
Trait Implementations§
source§impl Clone for MetricsConfiguration
impl Clone for MetricsConfiguration
source§fn clone(&self) -> MetricsConfiguration
fn clone(&self) -> MetricsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MetricsConfiguration
impl Debug for MetricsConfiguration
source§impl PartialEq<MetricsConfiguration> for MetricsConfiguration
impl PartialEq<MetricsConfiguration> for MetricsConfiguration
source§fn eq(&self, other: &MetricsConfiguration) -> bool
fn eq(&self, other: &MetricsConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.