GlueClient.get_schema_versions_diff
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import GlueClient
from rboto_glue.types import (
GetSchemaVersionsDiffOutput,
SchemaDiffType,
SchemaId,
SchemaVersionNumber,
)
Signature
async def get_schema_versions_diff(
*,
schema_id: SchemaId,
first_schema_version_number: SchemaVersionNumber,
second_schema_version_number: SchemaVersionNumber,
schema_diff_type: SchemaDiffType,
) -> GetSchemaVersionsDiffOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
schema_id |
Yes | 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 SchemaArn or SchemaName has to be provided. SchemaId$SchemaName: The name of the schema. One of SchemaArn or SchemaName has to be provided. |
first_schema_version_number |
Yes | The first of the two schema versions to be compared. |
second_schema_version_number |
Yes | The second of the two schema versions to be compared. |
schema_diff_type |
Yes | Refers to SYNTAX_DIFF , which is the currently supported diff type. |
Output
GetSchemaVersionsDiffOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
diff |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
GetSchemaVersionsDiffOutput, SchemaDiffType, SchemaId, SchemaVersionNumber
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
AccessDeniedError, EntityNotFoundError, InternalServiceError, InvalidInputError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.