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

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

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

The prefix used when evaluating an AND predicate.

Returns:

  • (String)


4775
4776
4777
4778
4779
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4775

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

#tagsArray<Types::Tag>

The list of tags used when evaluating an AND predicate.

Returns:



4775
4776
4777
4778
4779
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4775

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