Skip to main content

upload_job_paths

Creates, updates, deletes, gets or lists a upload_job_paths resource.

Overview

Nameupload_job_paths
TypeResource
Idaws.customer_profiles.upload_job_paths

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
client_tokenstringThe 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
urlstringThe pre-signed S3 URL for uploading the CSV file associated with the upload job. (pattern: <code>.*</code>)
valid_untilstring (date-time)The expiry timestamp for the pre-signed URL, after which the URL will no longer be valid.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_upload_job_pathselectdomain_name, job_id, regionThis API retrieves the pre-signed URL and client token for uploading the file associated with the upload job.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_namestringThe unique name of the domain containing the upload job.
job_idstringThe unique identifier of the upload job to retrieve the upload path for. This is generated from the CreateUploadJob API.
regionstringAWS region (default: us-east-1)

SELECT examples

This API retrieves the pre-signed URL and client token for uploading the file associated with the upload job.

SELECT
client_token,
url,
valid_until
FROM aws.customer_profiles.upload_job_paths
WHERE domain_name = '{{ domain_name }}' -- required
AND job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
;