Class: Aws::S3::Types::MetricsAndOperator

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass MetricsAndOperator data as a hash:

{
  prefix: "Prefix",
  tags: [
    {
      key: "ObjectKey", # required
      value: "Value", # required
    },
  ],
}

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.

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

The prefix used when evaluating an AND predicate.

Returns:

  • (String)


7489
7490
7491
7492
7493
# File 'lib/aws-sdk-s3/types.rb', line 7489

class MetricsAndOperator < Struct.new(
  :prefix,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The list of tags used when evaluating an AND predicate.

Returns:



7489
7490
7491
7492
7493
# File 'lib/aws-sdk-s3/types.rb', line 7489

class MetricsAndOperator < Struct.new(
  :prefix,
  :tags)
  include Aws::Structure
end