GlueClient.get_schema_version
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import GlueClient
from rboto_glue.types import (
GetSchemaVersionOutput,
SchemaId,
SchemaVersionNumber,
)
Signature
async def get_schema_version(
*,
schema_id: SchemaId | None = None,
schema_version_id: str | None = None,
schema_version_number: SchemaVersionNumber | None = None,
) -> GetSchemaVersionOutput: ...
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 |
No | This is a wrapper structure to contain schema identity fields. The structure contains: SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided. SchemaId$SchemaName: The name of the schema. Either SchemaArn or SchemaName and RegistryName has to be provided. |
schema_version_id |
No | The SchemaVersionId of the schema version. This field is required for fetching by schema ID. Either this or the SchemaId wrapper has to be provided. |
schema_version_number |
No | The version number of the schema. |
Output
GetSchemaVersionOutput.
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 |
|---|---|---|---|
schema_version_id |
str | None |
Always present | — |
schema_definition |
str | None |
Always present | — |
data_format |
DataFormatOutput | None |
Always present | DataFormatOutput |
schema_arn |
str | None |
Always present | — |
version_number |
int | None |
Always present | — |
status |
SchemaVersionStatusOutput | None |
Always present | SchemaVersionStatusOutput |
created_time |
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
GetSchemaVersionOutput, 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.