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
    },
  ],
  access_point_arn: "AccessPointArn",
}

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

#access_point_arnString

The access point ARN used when evaluating an ‘AND` predicate.

Returns:

  • (String)


10000
10001
10002
10003
10004
10005
10006
# File 'lib/aws-sdk-s3/types.rb', line 10000

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

#prefixString

The prefix used when evaluating an AND predicate.

Returns:

  • (String)


10000
10001
10002
10003
10004
10005
10006
# File 'lib/aws-sdk-s3/types.rb', line 10000

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

#tagsArray<Types::Tag>

The list of tags used when evaluating an AND predicate.

Returns:



10000
10001
10002
10003
10004
10005
10006
# File 'lib/aws-sdk-s3/types.rb', line 10000

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