v1

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

Adds a new version to the existing schema. Returns an error if new version of schema does not meet the compatibility requirements of the schema set. This API will not create a new schema set and will return a 404 error if the schema set is not already present in the Schema Registry.

If this is the first schema definition to be registered in the Schema Registry, this API will store the schema version and return immediately. Otherwise, this call has the potential to run longer than other operations due to compatibility modes. You can call the GetSchemaVersion API with the SchemaVersionId to check compatibility modes.

If the same schema definition is already stored in Schema Registry as a version, the schema ID of the existing schema is returned to the caller.

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

Headers

X-Amz-Target'AWSGlue.RegisterSchemaVersion' required

Request body

SchemaDefinitionstring required

The schema definition using the <code>DataFormat</code> setting for the <code>SchemaName</code>.

Response

Success

SchemaVersionIdstring

The unique ID that represents the version of this schema.

VersionNumberinteger

The version of this schema (for sync flow only, in case this is the first version).

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

The status of the schema version.