Class: Aws::S3::Types::Part

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

Overview

Container for elements related to a part.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#checksum_crc32String

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 CRC32 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

Returns:

  • (String)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#checksum_crc32cString

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

Returns:

  • (String)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#checksum_sha1String

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

Returns:

  • (String)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#checksum_sha256String

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, 256-bit SHA-256 digest 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

Returns:

  • (String)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#etagString

Entity tag returned when the part was uploaded.

Returns:

  • (String)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#last_modifiedTime

Date and time at which the part was uploaded.

Returns:

  • (Time)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#part_numberInteger

Part number identifying the part. This is a positive integer between 1 and 10,000.

Returns:

  • (Integer)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end

#sizeInteger

Size in bytes of the uploaded part data.

Returns:

  • (Integer)


11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aws-sdk-s3/types.rb', line 11912

class Part < Struct.new(
  :part_number,
  :last_modified,
  :etag,
  :size,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256)
  SENSITIVE = []
  include Aws::Structure
end