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

Class: Aws::S3Control::Types::S3ObjectMetadata

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3ObjectMetadata as input to an Aws::Client method, you can use a vanilla Hash:

{
  cache_control: "NonEmptyMaxLength1024String",
  content_disposition: "NonEmptyMaxLength1024String",
  content_encoding: "NonEmptyMaxLength1024String",
  content_language: "NonEmptyMaxLength1024String",
  user_metadata: {
    "NonEmptyMaxLength1024String" => "MaxLength1024String",
  },
  content_length: 1,
  content_md5: "NonEmptyMaxLength1024String",
  content_type: "NonEmptyMaxLength1024String",
  http_expires_date: Time.now,
  requester_charged: false,
  sse_algorithm: "AES256", # accepts AES256, KMS
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cache_controlString

Returns:

  • (String)

#content_dispositionString

Returns:

  • (String)

#content_encodingString

Returns:

  • (String)

#content_languageString

Returns:

  • (String)

#content_lengthInteger

Returns:

  • (Integer)

#content_md5String

Returns:

  • (String)

#content_typeString

Returns:

  • (String)

#http_expires_dateTime

Returns:

  • (Time)

#requester_chargedBoolean

Returns:

  • (Boolean)

#sse_algorithmString

Possible values:

  • AES256
  • KMS

Returns:

  • (String)

#user_metadataHash<String,String>

Returns:

  • (Hash<String,String>)