delete_partition_index
async
¶
delete_partition_index(
database_name: NameString,
table_name: NameString,
index_name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> DeletePartitionIndexResponse
Deletes a specified partition index from an existing table.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The catalog ID where the table resides.
-
database_name(NameString) –Specifies the name of a database from which you want to delete a partition index.
-
table_name(NameString) –Specifies the name of a table from which you want to delete a partition index.
-
index_name(NameString) –The name of the partition index to be deleted.
Raises:
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
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
6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 | |