Skip to content

GlueClient.delete_schema_versions

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Remove versions from the specified schema. A version number or range may be supplied. If the compatibility mode forbids deleting of a version that is necessary, such as BACKWARDS_FULL, an error is returned. Calling the GetSchemaVersions API after this call will list the status of the deleted versions. When the range of version numbers contain check pointed version, the API will return a 409...

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    DeleteSchemaVersionsOutput,
    SchemaId,
)

Signature

async def delete_schema_versions(
    *,
    schema_id: SchemaId,
    versions: str,
) -> DeleteSchemaVersionsOutput: ...

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 that may contain the schema name and Amazon Resource Name (ARN).
versions Yes A version range may be supplied which may be of the format: a single version number, 5 a range, 5-8 : deletes versions 5, 6, 7, 8

Output

DeleteSchemaVersionsOutput.

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_errors list[SchemaVersionErrorItemOutput] | None Always present SchemaVersionErrorItemOutput

| 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.

DeleteSchemaVersionsOutput, SchemaId

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, ConcurrentModificationError, EntityNotFoundError, InvalidInputError.

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

Service guide · Pinned model