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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MetricsAndOperator as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

The prefix used when evaluating an AND predicate.

Returns:

  • (String)

    The prefix used when evaluating an AND predicate.

#tagsArray<Types::Tag>

The list of tags used when evaluating an AND predicate.

Returns:

  • (Array<Types::Tag>)

    The list of tags used when evaluating an AND predicate.