Class: Aws::S3::Types::CompletedPart

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

Overview

Note:

When making an API call, you may pass CompletedPart data as a hash:

{
  etag: "ETag",
  checksum_crc32: "ChecksumCRC32",
  checksum_crc32c: "ChecksumCRC32C",
  checksum_sha1: "ChecksumSHA1",
  checksum_sha256: "ChecksumSHA256",
  part_number: 1,
}

Details of the parts that were uploaded.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#checksum_crc32String

The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. 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)


1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aws-sdk-s3/types.rb', line 1442

class CompletedPart < Struct.new(
  :etag,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256,
  :part_number)
  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. With multipart uploads, this may not be a checksum value of the object. 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)


1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aws-sdk-s3/types.rb', line 1442

class CompletedPart < Struct.new(
  :etag,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_sha1,
  :checksum_sha256,
  :part_number)
  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. With multipart uploads, this may not be a checksum value of the object. 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)


1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aws-sdk-s3/types.rb', line 1442

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

#checksum_sha256String

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. 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)


1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aws-sdk-s3/types.rb', line 1442

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

#etagString

Entity tag returned when the part was uploaded.

Returns:

  • (String)


1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aws-sdk-s3/types.rb', line 1442

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

#part_numberInteger

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

Returns:

  • (Integer)


1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aws-sdk-s3/types.rb', line 1442

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