UploadPart #
Overview #
Uploads a part in a multipart upload.
You must initiate a multipart upload (see CreateMultipartUpload) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier, that you must include in your upload part request.
AWS API Reference: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html
Method #
UPLOADPART
Import Parameters #
The request uses the following import parameters.
-
i_bucket_name (bucket in AWS) (Required)
Name of the bucket.
-
i_region (Required)
AWS Region of the Amazon S3 Bucket.
-
i_key (key in AWS) (Required)
Object key for which the multipart upload was initiated.
-
i_part_number (partNumber in AWS) (Required)
Part number of part being uploaded. This is a positive integer between 1 and 10,000.
-
i_uploadid (uploadId in AWS) (Required)
Upload ID identifying the multipart upload whose part is being uploaded.
-
i_content_length (Content-Length in AWS)
Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.
-
i_x_amz_expected_b_owner (x-amz-expected-bucket-owner in AWS)
The account id of the expected bucket owner.
-
i_x_amz_request_payer (x-amz-request-payer in AWS)
Confirms that the requester knows that they will be charged for the request.
-
i_x_amz_server_custom_algorit (x-amz-server-side-encryption-customer-algorithm in AWS)
Specifies the algorithm to use to when encrypting the object (for example, AES256).
-
i_x_amz_server_custom_key (x-amz-server-side-encryption-customer-key in AWS)
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
-
i_x_amz_server_custom_key_md5 (x-amz-server-side-encryption-customer-key-MD5 in AWS)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
-
i_body (Body in AWS) (Required)
Content of the file in binary.
Export Parameters #
This method use the following export parameters:
-
e_http_status
HTTP Status code.
-
e_response_headers
Returns information about the request in format Name/Value pair values.
-
e_response_content
Response content in string format.