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
11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 | |