get_schema_versions_diff
¶
get_schema_versions_diff(
schema_id: SchemaId,
first_schema_version_number: SchemaVersionNumber,
second_schema_version_number: SchemaVersionNumber,
schema_diff_type: SchemaDiffType,
*,
config_overrides: Optional[GlueClientConfig] = None,
) -> GetSchemaVersionsDiffResponse
Fetches the schema version difference in the specified difference type between two stored schema versions in the Schema Registry.
This API allows you to compare two schema versions between two schema definitions under the same schema.
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.
-
-
first_schema_version_number(SchemaVersionNumber) –The first of the two schema versions to be compared.
-
second_schema_version_number(SchemaVersionNumber) –The second of the two schema versions to be compared.
-
schema_diff_type(SchemaDiffType) –Refers to
SYNTAX_DIFF, which is the currently supported diff type.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
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
11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 | |