CleanRoomsML / Paginator / ListAudienceModels

ListAudienceModels#

class CleanRoomsML.Paginator.ListAudienceModels#
paginator = client.get_paginator('list_audience_models')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from CleanRoomsML.Client.list_audience_models().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • PageSize (integer) –

    The size of each page.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.