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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

The prefix used when evaluating an AND predicate.

Returns:

  • (String)


7716
7717
7718
7719
7720
7721
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7716

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

#tagsArray<Types::Tag>

The list of tags used when evaluating an AND predicate.

Returns:



7716
7717
7718
7719
7720
7721
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7716

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