update_schema
¶
update_schema(
schema_id: SchemaId,
*,
config_overrides: Optional[GlueClientConfig] = None,
schema_version_number: Optional[SchemaVersionNumber] = None,
compatibility: Optional[Compatibility] = None,
description: Optional[DescriptionString] = None,
) -> UpdateSchemaResponse
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 consistency.
If the value for the VersionNumber (checkpoint) is provided, Compatibility is optional and this can be used to set/reset a checkpoint for the schema.
This update will happen only if the schema is in the AVAILABLE state.
Parameters:
-
schema_id(SchemaId) –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
SchemaArnorSchemaNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArnorSchemaNamehas to be provided.
-
-
schema_version_number(Optional[SchemaVersionNumber], default:None) –Version number required for check pointing. One of
VersionNumberorCompatibilityhas to be provided. -
compatibility(Optional[Compatibility], default:None) –The new compatibility setting for the schema.
-
description(Optional[DescriptionString], default:None) –The new description for the schema.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 | |