Class: Aws::S3::Types::ObjectPart
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::ObjectPart
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
A container for elements related to an individual part.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#checksum_crc32 ⇒ String
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
-
#checksum_crc32c ⇒ String
The base64-encoded, 32-bit CRC-32C 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.
-
#part_number ⇒ Integer
The part number identifying the part.
-
#size ⇒ Integer
The size of the uploaded part in bytes.
Instance Attribute Details
#checksum_crc32 ⇒ String
This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity] in the *Amazon S3 User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 |
# File 'lib/aws-sdk-s3/types.rb', line 12226 class ObjectPart < Struct.new( :part_number, :size, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256) SENSITIVE = [] include Aws::Structure end |
#checksum_crc32c ⇒ String
The base64-encoded, 32-bit CRC-32C 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
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 |
# File 'lib/aws-sdk-s3/types.rb', line 12226 class ObjectPart < Struct.new( :part_number, :size, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256) 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
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 |
# File 'lib/aws-sdk-s3/types.rb', line 12226 class ObjectPart < Struct.new( :part_number, :size, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256) 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
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 |
# File 'lib/aws-sdk-s3/types.rb', line 12226 class ObjectPart < Struct.new( :part_number, :size, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256) SENSITIVE = [] include Aws::Structure end |
#part_number ⇒ Integer
The part number identifying the part. This value is a positive integer between 1 and 10,000.
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 |
# File 'lib/aws-sdk-s3/types.rb', line 12226 class ObjectPart < Struct.new( :part_number, :size, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256) SENSITIVE = [] include Aws::Structure end |
#size ⇒ Integer
The size of the uploaded part in bytes.
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 |
# File 'lib/aws-sdk-s3/types.rb', line 12226 class ObjectPart < Struct.new( :part_number, :size, :checksum_crc32, :checksum_crc32c, :checksum_sha1, :checksum_sha256) SENSITIVE = [] include Aws::Structure end |