get_schema
(**kwargs)¶Describes the specified schema in detail.
See also: AWS API Documentation
Request Syntax
response = client.get_schema(
SchemaId={
'SchemaArn': 'string',
'SchemaName': 'string',
'RegistryName': 'string'
}
)
[REQUIRED]
This is a wrapper structure to contain schema identity fields. The structure contains:
SchemaArn
or SchemaName
and RegistryName
has to be provided.SchemaArn
or SchemaName
and RegistryName
has to be provided.The Amazon Resource Name (ARN) of the schema. One of SchemaArn
or SchemaName
has to be provided.
The name of the schema. One of SchemaArn
or SchemaName
has to be provided.
The name of the schema registry that contains the schema.
{
'RegistryName': 'string',
'RegistryArn': 'string',
'SchemaName': 'string',
'SchemaArn': 'string',
'Description': 'string',
'DataFormat': 'AVRO'|'JSON'|'PROTOBUF',
'Compatibility': 'NONE'|'DISABLED'|'BACKWARD'|'BACKWARD_ALL'|'FORWARD'|'FORWARD_ALL'|'FULL'|'FULL_ALL',
'SchemaCheckpoint': 123,
'LatestSchemaVersion': 123,
'NextSchemaVersion': 123,
'SchemaStatus': 'AVAILABLE'|'PENDING'|'DELETING',
'CreatedTime': 'string',
'UpdatedTime': 'string'
}
Response Structure
The name of the registry.
The Amazon Resource Name (ARN) of the registry.
The name of the schema.
The Amazon Resource Name (ARN) of the schema.
A description of schema if specified when created
The data format of the schema definition. Currently AVRO
, JSON
and PROTOBUF
are supported.
The compatibility mode of the schema.
The version number of the checkpoint (the last time the compatibility mode was changed).
The latest version of the schema associated with the returned schema definition.
The next version of the schema associated with the returned schema definition.
The status of the schema.
The date and time the schema was created.
The date and time the schema was updated.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.InternalServiceException