Glue / Paginator / ListSchemaVersions
ListSchemaVersions#
- class Glue.Paginator.ListSchemaVersions#
paginator = client.get_paginator('list_schema_versions')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
Glue.Client.list_schema_versions()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( SchemaId={ 'SchemaArn': 'string', 'SchemaName': 'string', 'RegistryName': 'string' }, PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
SchemaId (dict) –
[REQUIRED]
This is a wrapper structure to contain schema identity fields. The structure contains:
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.SchemaId$SchemaName: The name of the schema. Either
SchemaArn
orSchemaName
andRegistryName
has to be provided.
SchemaArn (string) –
The Amazon Resource Name (ARN) of the schema. One of
SchemaArn
orSchemaName
has to be provided.SchemaName (string) –
The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.RegistryName (string) –
The name of the schema registry that contains the schema.
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': [ { 'SchemaArn': 'string', 'SchemaVersionId': 'string', 'VersionNumber': 123, 'Status': 'AVAILABLE'|'PENDING'|'FAILURE'|'DELETING', 'CreatedTime': 'string' }, ], }
Response Structure
(dict) –
Schemas (list) –
An array of
SchemaVersionList
objects containing details of each schema version.(dict) –
An object containing the details about a schema version.
SchemaArn (string) –
The Amazon Resource Name (ARN) of the schema.
SchemaVersionId (string) –
The unique identifier of the schema version.
VersionNumber (integer) –
The version number of the schema.
Status (string) –
The status of the schema version.
CreatedTime (string) –
The date and time the schema version was created.