Skip to main content

audience_export_jobs

Creates, updates, deletes, gets or lists an audience_export_jobs resource.

Overview

Nameaudience_export_jobs
TypeResource
Idaws.cleanroomsml.audience_export_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the audience export job. (pattern: <code>(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t]*</code>)
audience_generation_job_arnstringThe Amazon Resource Name (ARN) of the audience generation job that was exported. (pattern: <code>arn:aws[-a-z]*:cleanrooms-ml:[-a-z0-9]+:[0-9]{12}:audience-generation-job/[-a-zA-Z0-9_/.]+</code>)
audience_sizeobjectThe size of the generated audience. Must match one of the sizes in the configured audience model.
create_timestring (date-time)The time at which the audience export job was created.
descriptionstringThe description of the audience export job. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*</code>)
output_locationstringThe Amazon S3 bucket where the audience export is stored. (pattern: <code>s3:​//.+</code>)
statusstringThe status of the audience export job. (CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED, ACTIVE)
status_detailsobjectDetails about the status of a resource.
update_timestring (date-time)The most recent time at which the audience export job was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_audience_export_jobsselectregionnextToken, maxResults, audienceGenerationJobArnReturns a list of the audience export jobs.

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
regionstringAWS region (default: us-east-1)
audienceGenerationJobArnstringThe Amazon Resource Name (ARN) of the audience generation job that you are interested in.
maxResultsintegerThe maximum size of the results that is returned per call.
nextTokenstringThe token value retrieved from a previous call to access the next page of results.

SELECT examples

Returns a list of the audience export jobs.

SELECT
name,
audience_generation_job_arn,
audience_size,
create_time,
description,
output_location,
status,
status_details,
update_time
FROM aws.cleanroomsml.audience_export_jobs
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
AND audienceGenerationJobArn = '{{ audienceGenerationJobArn }}'
;