AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::S3::Types::CompleteMultipartUploadOutput

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]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The name of the bucket that contains the newly created object.

When using this API with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this operation with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon Simple Storage Service Developer Guide.

When using this API with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this operation using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon Simple Storage Service Developer Guide.

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#bucket_key_enabledBoolean

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with AWS KMS (SSE-KMS).

Returns:

  • (Boolean)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#etagString

Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#expirationString

If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#keyString

The object key of the newly created object.

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#locationString

The URI that identifies the newly created object.

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#request_chargedString

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

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#server_side_encryptionString

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

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#ssekms_key_idString

If present, 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)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end

#version_idString

Version ID of the newly created object, in case the bucket has versioning turned on.

Returns:

  • (String)


989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 989

class CompleteMultipartUploadOutput < Struct.new(
  :location,
  :bucket,
  :key,
  :expiration,
  :etag,
  :server_side_encryption,
  :version_id,
  :ssekms_key_id,
  :bucket_key_enabled,
  :request_charged)
  SENSITIVE = [:ssekms_key_id]
  include Aws::Structure
end