Skip to content

AudienceGenerationJobDataSource

Source code in docs_src/capo_cleanroomsml/types/audience_generation_job_data_source.py
class AudienceGenerationJobDataSource(TypedDict, closed=True):
    data_source: NotRequired["capo_cleanroomsml.types.s3_config_map.S3ConfigMap"]
    """<p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:</p> <p> <code>{"user_id": "111111"}</code> </p> <p> <code>{"user_id": "222222"}</code> </p> <p> <code>...</code> </p>"""
    role_arn: "capo_cleanroomsml.types.iam_role_arn.IamRoleArn"
    """<p>The ARN of the IAM role that can read the Amazon S3 bucket where the seed audience is stored.</p>"""
    sql_parameters: NotRequired[
        "capo_cleanroomsml.types.protected_query_sql_parameters.ProtectedQuerySQLParameters"
    ]
    """<p>The protected SQL query parameters.</p>"""
    sql_compute_configuration: NotRequired[
        "capo_cleanroomsml.types.compute_configuration.ComputeConfiguration"
    ]

data_source instance-attribute

data_source: NotRequired[S3ConfigMap]

Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:

{"user_id": "111111"}

{"user_id": "222222"}

...

role_arn instance-attribute

role_arn: IamRoleArn

The ARN of the IAM role that can read the Amazon S3 bucket where the seed audience is stored.

sql_compute_configuration instance-attribute

sql_compute_configuration: NotRequired[ComputeConfiguration]

sql_parameters instance-attribute

sql_parameters: NotRequired[ProtectedQuerySQLParameters]

The protected SQL query parameters.