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

Class: Aws::S3::Types::PutBucketTaggingRequest

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

{
  bucket: "BucketName", # required
  content_md5: "ContentMD5",
  tagging: { # required
    tag_set: [ # required
      {
        key: "ObjectKey", # required
        value: "Value", # required
      },
    ],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

Returns:

  • (String)


6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6000

class PutBucketTaggingRequest < Struct.new(
  :bucket,
  :content_md5,
  :tagging)
  include Aws::Structure
end

#content_md5String

Returns:

  • (String)


6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6000

class PutBucketTaggingRequest < Struct.new(
  :bucket,
  :content_md5,
  :tagging)
  include Aws::Structure
end

#taggingTypes::Tagging

Returns:



6000
6001
6002
6003
6004
6005
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6000

class PutBucketTaggingRequest < Struct.new(
  :bucket,
  :content_md5,
  :tagging)
  include Aws::Structure
end