ListSchemas

class Personalize.Paginator.ListSchemas
paginator = client.get_paginator('list_schemas')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Personalize.Client.list_schemas().

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
{
    'schemas': [
        {
            'name': 'string',
            'schemaArn': 'string',
            'creationDateTime': datetime(2015, 1, 1),
            'lastUpdatedDateTime': datetime(2015, 1, 1),
            'domain': 'ECOMMERCE'|'VIDEO_ON_DEMAND'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --
    • schemas (list) --

      A list of schemas.

      • (dict) --

        Provides a summary of the properties of a dataset schema. For a complete listing, call the DescribeSchema API.

        • name (string) --

          The name of the schema.

        • schemaArn (string) --

          The Amazon Resource Name (ARN) of the schema.

        • creationDateTime (datetime) --

          The date and time (in Unix time) that the schema was created.

        • lastUpdatedDateTime (datetime) --

          The date and time (in Unix time) that the schema was last updated.

        • domain (string) --

          The domain of a schema that you created for a dataset in a Domain dataset group.

    • NextToken (string) --

      A token to resume pagination.