class Aws::S3::Types::MetricsFilter
Specifies a metrics configuration filter. The metrics configuration only includes objects that meet the filter's criteria. A filter must be a prefix, a tag, or a conjunction (MetricsAndOperator
).
@note When making an API call, you may pass MetricsFilter
data as a hash: { prefix: "Prefix", tag: { key: "ObjectKey", # required value: "Value", # required }, and: { prefix: "Prefix", tags: [ { key: "ObjectKey", # required value: "Value", # required }, ], }, }
@!attribute [rw] prefix
The prefix used when evaluating a metrics filter. @return [String]
@!attribute [rw] tag
The tag used when evaluating a metrics filter. @return [Types::Tag]
@!attribute [rw] and
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates, and an object must match all of the predicates in order for the filter to apply. @return [Types::MetricsAndOperator]
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter AWS API Documentation
Constants
- SENSITIVE