Skip to content

GlueClient.register_schema_version

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): 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...

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    RegisterSchemaVersionOutput,
    SchemaId,
)

Signature

async def register_schema_version(
    *,
    schema_id: SchemaId,
    schema_definition: str,
) -> RegisterSchemaVersionOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
schema_id Yes 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 or SchemaName and RegistryName has to be provided. SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided.
schema_definition Yes The schema definition using the DataFormat setting for the SchemaName .

Output

RegisterSchemaVersionOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
schema_version_id str | None Always present —
version_number int | None Always present —
status SchemaVersionStatusOutput | None Always present SchemaVersionStatusOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

RegisterSchemaVersionOutput, SchemaId

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_glue.exceptions:

AccessDeniedError, ConcurrentModificationError, EntityNotFoundError, InternalServiceError, InvalidInputError, ResourceNumberLimitExceededError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model