get_table_versions
async
¶
get_table_versions(
database_name: NameString,
table_name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
next_token: Optional[Token] = None,
max_results: Optional[CatalogGetterPageSize] = None,
audit_context: Optional[AuditContext] = None,
) -> GetTableVersionsResponse
Retrieves a list of strings that identify available versions of a specified table.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.
-
database_name(NameString) –The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
-
table_name(NameString) –The name of the table. For Hive compatibility, this name is entirely lowercase.
-
next_token(Optional[Token], default:None) –A continuation token, if this is not the first call.
-
max_results(Optional[CatalogGetterPageSize], default:None) –The maximum number of table versions to return in one response.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 | |