CleanRoomsML / Client / list_audience_models

list_audience_models#

CleanRoomsML.Client.list_audience_models(**kwargs)#

Returns a list of audience models.

See also: AWS API Documentation

Request Syntax

response = client.list_audience_models(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum size of the results that is returned per call.

  • nextToken (string) – The token value retrieved from a previous call to access the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'audienceModels': [
        {
            'audienceModelArn': 'string',
            'createTime': datetime(2015, 1, 1),
            'description': 'string',
            'name': 'string',
            'status': 'CREATE_PENDING'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_PENDING'|'DELETE_IN_PROGRESS'|'DELETE_FAILED',
            'trainingDatasetArn': 'string',
            'updateTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • audienceModels (list) –

      The audience models that match the request.

      • (dict) –

        Information about the audience model.

        • audienceModelArn (string) –

          The Amazon Resource Name (ARN) of the audience model.

        • createTime (datetime) –

          The time at which the audience model was created.

        • description (string) –

          The description of the audience model.

        • name (string) –

          The name of the audience model.

        • status (string) –

          The status of the audience model.

        • trainingDatasetArn (string) –

          The Amazon Resource Name (ARN) of the training dataset that was used for the audience model.

        • updateTime (datetime) –

          The most recent time at which the audience model was updated.

    • nextToken (string) –

      The token value retrieved from a previous call to access the next page of results.

Exceptions

  • CleanRoomsML.Client.exceptions.ValidationException

  • CleanRoomsML.Client.exceptions.AccessDeniedException