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
11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 | |