Class: Aws::S3::Types::MetricsFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::MetricsFilter
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
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
},
],
},
}
Instance Attribute Summary collapse
-
#and ⇒ Types::MetricsAndOperator
A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter.
-
#prefix ⇒ String
The prefix used when evaluating a metrics filter.
-
#tag ⇒ Types::Tag
The tag used when evaluating a metrics filter.
Instance Attribute Details
#and ⇒ Types::MetricsAndOperator
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.
5708 5709 5710 5711 5712 5713 |
# File 'lib/aws-sdk-s3/types.rb', line 5708 class MetricsFilter < Struct.new( :prefix, :tag, :and) include Aws::Structure end |
#prefix ⇒ String
The prefix used when evaluating a metrics filter.
5708 5709 5710 5711 5712 5713 |
# File 'lib/aws-sdk-s3/types.rb', line 5708 class MetricsFilter < Struct.new( :prefix, :tag, :and) include Aws::Structure end |
#tag ⇒ Types::Tag
The tag used when evaluating a metrics filter.
5708 5709 5710 5711 5712 5713 |
# File 'lib/aws-sdk-s3/types.rb', line 5708 class MetricsFilter < Struct.new( :prefix, :tag, :and) include Aws::Structure end |