GlueClient.list_schema_versions
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Returns a list of schema versions that you have created, with minimal information. Schema versions in Deleted status will not be included in the results. Empty results will be returned if there are no schema versions available.
Install and imports
Signature
async def list_schema_versions(
*,
schema_id: SchemaId,
max_results: int | None = None,
next_token: str | None = None,
) -> ListSchemaVersionsOutput: ...
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 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. |
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
ListSchemaVersionsOutput.
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 |
|---|---|---|---|
schemas |
list[SchemaVersionListItemOutput] | None |
Always present | SchemaVersionListItemOutput |
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.
Related types
ListSchemaVersionsOutput, SchemaId
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_schema_versions(...) accepts the same arguments and returns AsyncIterator[ListSchemaVersionsOutput]. 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, InternalServiceError, InvalidInputError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.