UploadPartCopy

UploadPartCopy #

Overview #

Uploads a part by copying data from an existing object as data source.

You must initiate a multipart upload before you can upload any part. In response to your initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in your upload part request.

AWS API Reference: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html

Method #

UPLOADPARTCOPY

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_x_amz_copy_source (x-amz-copy-source in AWS) (Required)

    Specifies the source object for the copy operation.

  • i_x_amz_copy_source_if_match (x-amz-copy-source-if-match in AWS)

    Copies the object if its entity tag (ETag) matches the specified tag.

  • i_x_amz_copy_source_if_mod_sin (x-amz-copy-source-if-modified-since in AWS)

    Copies the object if it has been modified since the specified time.

  • i_x_amz_copy_source_if_no_matc (x-amz-copy-source-if-none-match in AWS)

    Copies the object if its entity tag (ETag) is different than the specified ETag.

  • i_x_amz_copy_source_if_unm_sin (x-amz-copy-source-if-unmodified-since in AWS)

    Copies the object if it hasn’t been modified since the specified time.

  • i_x_amz_copy_source_range (x-amz-copy-source-range in AWS)

    The range of bytes to copy from the source object.

  • i_x_amz_copy_source_ss_enc_cua (x-amz-copy-source-server-side-encryption-customer-algorithm in AWS)

    Specifies the algorithm to use when decrypting the source object (for example, AES256).

  • i_x_amz_copy_source_ss_enc_cky (x-amz-copy-source-server-side-encryption-customer-key in AWS)

    Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object.

  • i_x_amz_copy_source_ss_enc_md5 (x-amz-copy-source-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_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_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_source_exp_b_own (x-amz-source-expected-bucket-owner in AWS)

    The account id of the expected source bucket owner.

  • i_x_amz_expected_b_owner (x-amz-expected-bucket-owner in AWS)

    The account id of the expected bucket owner.


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.