UploadPart
Uploads a part in a multipart upload.
note
In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the UploadPartCopy operation.
Properties
Name | Description | Required | Type |
---|---|---|---|
Body | Object data | Yes | Binary |
BucketName | The name of the bucket to which the multipart upload was initiated | Yes | string |
ContentLength | Size of the body in bytes. This parameter is useful when you cannot determine the size of the body prior to sending | Yes | number |
ContentMD5 | The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when using the command from AWS SDKs | No | string |
Key | Object key for which the multipart upload was initiated | Yes | string |
PartNumber | Part number of part being uploaded. This is a positive integer between 1 and 10,000 | Yes | integer |
UploadId | Upload ID identifying the multipart upload whose part is being uploaded | Yes | string |
SSECustomerAlgorithm | Specifies the algorithm to use to when encrypting the object. Not supported for directory buckets | No | string |
SSECustomerKey | Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. Not supported for directory buckets | No | string |
SSECustomerKeyMD5 | Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Not supported for directory buckets | No | string |
RequestCharged | If present, indicates that the requester was successfully charged for the request Valid values: requester | No | string |
x-amz-checksum-crc32 | Base64 encoded, 32-bit CRC32 checksum of the object. Used as a data integrity check | No | string |
x-amz-checksum-crc32c | Base64 encoded, 32-bit CRC32C checksum of the object. Used as a data integrity check | No | string |
x-amz-checksum-crc64nvme | Base64 encoded, 64-bit CRC64NVME checksum of the part. Used as a data integrity check | No | string |
x-amz-checksum-sha1 | Base64 encoded, 160-bit SHA1 digest of the object. Used as a data integrity check | No | string |
x-amz-checksum-sha256 | Base64 encoded, 256-bit SHA256 digest of the object. Used as a data integrity check | No | string |
x-amz-expected-bucket-owner | The account ID of the expected bucket owner. Request fails with 403 Forbidden if the ID doesn't match the actual owner | No | string |
x-amz-request-payer | Confirms that the requester knows that they will be charged for the request. Not supported for directory buckets Valid values: requester | No | string |
x-amz-sdk-checksum-algorithm | Algorithm used to create the checksum when using the SDK. Must match the checksum algorithm from CreateMultipartUpload request Valid values: CRC32 | CRC32C | SHA1 | SHA256 | CRC64NVME | No | string |
x-amz-server-side-encryption-customer-algorithm | Specifies the algorithm to use when encrypting the object (e.g., AES256). Not supported for directory buckets | No | string |
x-amz-server-side-encryption-customer-key | Customer-provided encryption key for Amazon S3 to use in encrypting data. Must be the same key specified in the initiate multipart upload request. Not supported for directory buckets | No | string |
x-amz-server-side-encryption-customer-key-MD5 | MD5 digest of the encryption key according to RFC 1321. Not supported for directory buckets | No | string |