Skip to content

GlueClient.query_schema_version_metadata

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Queries for the schema version metadata information.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from collections.abc import Sequence
from rboto_glue.types import (
    MetadataKeyValuePair,
    QuerySchemaVersionMetadataOutput,
    SchemaId,
    SchemaVersionNumber,
)

Signature

async def query_schema_version_metadata(
    *,
    schema_id: SchemaId | None = None,
    schema_version_number: SchemaVersionNumber | None = None,
    schema_version_id: str | None = None,
    metadata_list: Sequence[MetadataKeyValuePair] | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> QuerySchemaVersionMetadataOutput: ...

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 A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).
schema_version_number No The version number of the schema.
schema_version_id No The unique version ID of the schema version.
metadata_list No Search key-value pairs for metadata, if they are not provided all the metadata information will be fetched.
max_results No Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.
next_token No A continuation token, if this is a continuation call.

Output

QuerySchemaVersionMetadataOutput.

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
metadata_info_map dict[str, MetadataInfoOutput] | None Always present MetadataInfoOutput
schema_version_id str | None Always present —
next_token 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.

MetadataKeyValuePair, QuerySchemaVersionMetadataOutput, SchemaId, SchemaVersionNumber

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.query_schema_version_metadata(...) accepts the same arguments and returns AsyncIterator[QuerySchemaVersionMetadataOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_glue.exceptions:

AccessDeniedError, EntityNotFoundError, InvalidInputError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model