Class: Aws::S3::Types::AnalyticsAndOperator

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 AnalyticsAndOperator 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 in any combination, and an object must match all of the predicates for the filter to apply.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.

Returns:

  • (String)


257
258
259
260
261
262
# File 'lib/aws-sdk-s3/types.rb', line 257

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

#tagsArray<Types::Tag>

The list of tags to use when evaluating an AND predicate.

Returns:



257
258
259
260
261
262
# File 'lib/aws-sdk-s3/types.rb', line 257

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