Class: Aws::S3::Types::Tag

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 Tag data as a hash:

{
  key: "ObjectKey", # required
  value: "Value", # required
}

A container of a key value name pair.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Name of the object key.

Returns:

  • (String)


13743
13744
13745
13746
13747
13748
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 13743

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

Value of the tag.

Returns:

  • (String)


13743
13744
13745
13746
13747
13748
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 13743

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end