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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#checksum_crc32String

The Base64 encoded, 32-bit ‘CRC-32` checksum of the part. This checksum is present if the multipart upload request was created with the `CRC-32` checksum algorithm. 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)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

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

#checksum_crc32cString

The Base64 encoded, 32-bit ‘CRC-32C` checksum of the part. This checksum is present if the multipart upload request was created with the `CRC-32C` checksum algorithm. For more information, see

Checking object integrity][1

in the *Amazon S3 User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

Returns:

  • (String)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

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

#checksum_crc64nvmeString

The Base64 encoded, 64-bit ‘CRC-64NVME` checksum of the part. This checksum is present if the multipart upload request was created with the `CRC-64NVME` checksum algorithm to the uploaded 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)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

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

#checksum_sha1String

The Base64 encoded, 160-bit ‘SHA-1` checksum of the part. This checksum is present if the multipart upload request was created with the `SHA-1` checksum algorithm. 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)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

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

#checksum_sha256String

The Base64 encoded, 256-bit ‘SHA-256` checksum of the part. This checksum is present if the multipart upload request was created with the `SHA-256` checksum algorithm. For more information, see

Checking object integrity][1

in the *Amazon S3 User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

Returns:

  • (String)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

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

#etagString

Entity tag returned when the part was uploaded.

Returns:

  • (String)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

class CompletedPart < Struct.new(
  :etag,
  :checksum_crc32,
  :checksum_crc32c,
  :checksum_crc64nvme,
  :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.

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

Returns:

  • (Integer)


1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/aws-sdk-s3/types.rb', line 1371

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