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
11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 | |