Class: Aws::S3::Types::CompletedPart
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::CompletedPart
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Details of the parts that were uploaded.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#checksum_crc32 ⇒ String
The base64-encoded, 32-bit CRC32 checksum of the object.
-
#checksum_crc32c ⇒ String
The base64-encoded, 32-bit CRC32C checksum of the object.
-
#checksum_sha1 ⇒ String
The base64-encoded, 160-bit SHA-1 digest of the object.
-
#checksum_sha256 ⇒ String
The base64-encoded, 256-bit SHA-256 digest of the object.
-
#etag ⇒ String
Entity tag returned when the part was uploaded.
-
#part_number ⇒ Integer
Part number that identifies the part.
Instance Attribute Details
#checksum_crc32 ⇒ String
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it’s a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity] in the *Amazon S3 User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-s3/types.rb', line 1256 class CompletedPart < Struct.new( :etag, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256, :part_number) SENSITIVE = [] include Aws::Structure end |
#checksum_crc32c ⇒ String
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it’s a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity] in the *Amazon S3 User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-s3/types.rb', line 1256 class CompletedPart < Struct.new( :etag, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256, :part_number) SENSITIVE = [] include Aws::Structure end |
#checksum_sha1 ⇒ String
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it’s a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity] in the *Amazon S3 User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-s3/types.rb', line 1256 class CompletedPart < Struct.new( :etag, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256, :part_number) SENSITIVE = [] include Aws::Structure end |
#checksum_sha256 ⇒ String
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it’s a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity] in the *Amazon S3 User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-s3/types.rb', line 1256 class CompletedPart < Struct.new( :etag, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256, :part_number) SENSITIVE = [] include Aws::Structure end |
#etag ⇒ String
Entity tag returned when the part was uploaded.
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-s3/types.rb', line 1256 class CompletedPart < Struct.new( :etag, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256, :part_number) SENSITIVE = [] include Aws::Structure end |
#part_number ⇒ Integer
Part number that identifies the part. This is a positive integer between 1 and 10,000.
<note markdown=“1”> * **General purpose buckets** - In ‘CompleteMultipartUpload`, when a
additional checksum (including `x-amz-checksum-crc32`,
`x-amz-checksum-crc32c`, `x-amz-checksum-sha1`, or
`x-amz-checksum-sha256`) is applied to each part, the `PartNumber`
must start at 1 and the part numbers must be consecutive.
Otherwise, Amazon S3 generates an HTTP `400 Bad Request` status
code and an `InvalidPartOrder` error code.
-
**Directory buckets** - In ‘CompleteMultipartUpload`, the `PartNumber` must start at 1 and the part numbers must be consecutive.
</note>
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-s3/types.rb', line 1256 class CompletedPart < Struct.new( :etag, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256, :part_number) SENSITIVE = [] include Aws::Structure end |