You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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 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.

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)


214
215
216
217
218
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 214

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

#tagsArray<Types::Tag>

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

Returns:



214
215
216
217
218
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 214

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