get_schema_version
async
¶
get_schema_version(
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
schema_id: Optional[SchemaId] = None,
schema_version_id: Optional[SchemaVersionIdString] = None,
schema_version_number: Optional[SchemaVersionNumber] = None,
) -> GetSchemaVersionResponse
Get the specified schema by its unique ID assigned when a version of the schema is created or registered. Schema versions in Deleted status will not be included in the results.
Parameters:
-
schema_id(Optional[SchemaId], default:None) –This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas to be provided.
-
-
schema_version_id(Optional[SchemaVersionIdString], default:None) –The
SchemaVersionIdof the schema version. This field is required for fetching by schema ID. Either this or theSchemaIdwrapper has to be provided. -
schema_version_number(Optional[SchemaVersionNumber], default:None) –The version number of the schema.
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
11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 | |