v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142021,119944.8 KB

Get the specified schema by its unique ID assigned when a version of the schema is created or registered. Schema versions in Deleted status will not be included in the results.

post/#X-Amz-Target=AWSGlue.GetSchemaVersion

Headers

X-Amz-Target'AWSGlue.GetSchemaVersion' required

Request body

SchemaVersionIdstring

The <code>SchemaVersionId</code> of the schema version. This field is required for fetching by schema ID. Either this or the <code>SchemaId</code> wrapper has to be provided.

Response

Success

SchemaVersionIdstring

The <code>SchemaVersionId</code> of the schema version.

SchemaDefinitionstring

The schema definition for the schema ID.

DataFormat'AVRO' | 'JSON' | 'PROTOBUF'

The data format of the schema definition. Currently <code>AVRO</code>, <code>JSON</code> and <code>PROTOBUF</code> are supported.

SchemaArnstring

The Amazon Resource Name (ARN) of the schema.

VersionNumberinteger

The version number of the schema.

Status'AVAILABLE' | 'PENDING' | 'FAILURE' | 'DELETING'

The status of the schema version.

CreatedTimestring

The date and time the schema version was created.