get_schema_versions_diff
async
¶
get_schema_versions_diff(
schema_id: SchemaId,
first_schema_version_number: SchemaVersionNumber,
second_schema_version_number: SchemaVersionNumber,
schema_diff_type: SchemaDiffType,
*,
config_overrides: Optional[AsyncGlueClientConfig] = 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/async_glue.py
11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 | |