Class: Aws::S3::Types::PutObjectOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:ssekms_key_id, :ssekms_encryption_context]

Instance Attribute Summary collapse

Instance Attribute Details

#etagString

Entity tag for the uploaded object.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#expirationString

If the expiration is configured for the object (see PutBucketLifecycleConfiguration), the response includes this header. It includes the expiry-date and rule-id key-value pairs that provide information about object expiration. The value of the rule-id is URL encoded.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#request_chargedString

If present, indicates that the requester was successfully charged for the request.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#server_side_encryptionString

If you specified server-side encryption either with an AWS KMS customer master key (CMK) or Amazon S3-managed encryption key in your PUT request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#sse_customer_algorithmString

If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#sse_customer_key_md5String

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#ssekms_encryption_contextString

If present, specifies the AWS KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#ssekms_key_idString

If x-amz-server-side-encryption is present and has the value of aws:kms, this header specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the object.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end

#version_idString

Version of the object.

Returns:

  • (String)


11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11246

class PutObjectOutput < Struct.new(
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :sse_customer_algorithm,
  :sse_customer_key_md5,
  :ssekms_key_id,
  :ssekms_encryption_context,
  :request_charged)
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
  include Aws::Structure
end