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
    },
  ],
  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)


9150
9151
9152
9153
9154
9155
9156
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9150

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)


9150
9151
9152
9153
9154
9155
9156
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9150

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:



9150
9151
9152
9153
9154
9155
9156
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9150

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