Struct rusoto_s3::MetricsConfiguration [−][src]
pub struct MetricsConfiguration {
pub filter: Option<MetricsFilter>,
pub id: String,
}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 PUT Bucket metrics in the Amazon S3 API Reference.
Fields
filter: 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, a tag, or a conjunction (MetricsAndOperator).
id: StringThe ID used to identify the metrics configuration.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MetricsConfiguration
impl Send for MetricsConfiguration
impl Sync for MetricsConfiguration
impl Unpin for MetricsConfiguration
impl UnwindSafe for MetricsConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more