GlueClient.update_schema
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Updates the description, compatibility setting, or version checkpoint for a schema set. For updating the compatibility setting, the call will not validate compatibility for the entire set of schema versions with the new compatibility setting. If the value for Compatibility is provided, the VersionNumber (a checkpoint) is also required. The API will validate the checkpoint version number for...
Install and imports
from rboto import GlueClient
from rboto_glue.types import (
Compatibility,
SchemaId,
SchemaVersionNumber,
UpdateSchemaOutput,
)
Signature
async def update_schema(
*,
schema_id: SchemaId,
schema_version_number: SchemaVersionNumber | None = None,
compatibility: Compatibility | None = None,
description: str | None = None,
) -> UpdateSchemaOutput: ...
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. One of SchemaArn or SchemaName has to be provided. SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided. |
schema_version_number |
No | Version number required for check pointing. One of VersionNumber or Compatibility has to be provided. |
compatibility |
No | The new compatibility setting for the schema. |
description |
No | The new description for the schema. |
Output
UpdateSchemaOutput.
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_arn |
str | None |
Always present | — |
schema_name |
str | None |
Always present | — |
registry_name |
str | None |
Always present | — |
| 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.
Related types
Compatibility, SchemaId, SchemaVersionNumber, UpdateSchemaOutput
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.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.