Skip to content

GetUploadJobPathResponse

Source code in docs_src/capo_customer_profiles/types/get_upload_job_path_response.py
class GetUploadJobPathResponse(TypedDict, closed=True):
    url: "capo_customer_profiles.types.string_to2048.stringTo2048"
    """<p>The pre-signed S3 URL for uploading the CSV file associated with the upload job. </p>"""
    client_token: NotRequired["capo_customer_profiles.types.text.text"]
    """<p>The plaintext data key used to encrypt the upload file. </p> <p>To persist to the pre-signed url, use the client token and MD5 client token as header. The required headers are as follows: </p> <ul> <li> <p>x-amz-server-side-encryption-customer-key: Client Token </p> </li> <li> <p>x-amz-server-side-encryption-customer-key-MD5: MD5 Client Token </p> </li> <li> <p>x-amz-server-side-encryption-customer-algorithm: AES256 </p> </li> </ul>"""
    valid_until: NotRequired["capo_customer_profiles.types.timestamp.timestamp"]
    """<p>The expiry timestamp for the pre-signed URL, after which the URL will no longer be valid. </p>"""

client_token instance-attribute

client_token: NotRequired[text]

The plaintext data key used to encrypt the upload file.

To persist to the pre-signed url, use the client token and MD5 client token as header. The required headers are as follows:

  • x-amz-server-side-encryption-customer-key: Client Token

  • x-amz-server-side-encryption-customer-key-MD5: MD5 Client Token

  • x-amz-server-side-encryption-customer-algorithm: AES256

url instance-attribute

The pre-signed S3 URL for uploading the CSV file associated with the upload job.

valid_until instance-attribute

valid_until: NotRequired[timestamp]

The expiry timestamp for the pre-signed URL, after which the URL will no longer be valid.