Glue / Paginator / ListSchemas

ListSchemas#

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

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    RegistryId={
        'RegistryName': 'string',
        'RegistryArn': 'string'
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • RegistryId (dict) –

    A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

    • RegistryName (string) –

      Name of the registry. Used only for lookup. One of RegistryArn or RegistryName has to be provided.

    • RegistryArn (string) –

      Arn of the registry to be updated. One of RegistryArn or RegistryName has to be provided.

  • 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': [
        {
            'RegistryName': 'string',
            'SchemaName': 'string',
            'SchemaArn': 'string',
            'Description': 'string',
            'SchemaStatus': 'AVAILABLE'|'PENDING'|'DELETING',
            'CreatedTime': 'string',
            'UpdatedTime': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • Schemas (list) –

      An array of SchemaListItem objects containing details of each schema.

      • (dict) –

        An object that contains minimal details for a schema.

        • RegistryName (string) –

          the name of the registry where the schema resides.

        • SchemaName (string) –

          The name of the schema.

        • SchemaArn (string) –

          The Amazon Resource Name (ARN) for the schema.

        • Description (string) –

          A description for the schema.

        • SchemaStatus (string) –

          The status of the schema.

        • CreatedTime (string) –

          The date and time that a schema was created.

        • UpdatedTime (string) –

          The date and time that a schema was updated.