batch_delete_partition
¶
batch_delete_partition(
database_name: NameString,
table_name: NameString,
partitions_to_delete: BatchDeletePartitionValueList,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> BatchDeletePartitionResponse
Deletes one or more partitions in a batch operation.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.
-
database_name(NameString) –The name of the catalog database in which the table in question resides.
-
table_name(NameString) –The name of the table that contains the partitions to be deleted.
-
partitions_to_delete(BatchDeletePartitionValueList) –A list of
PartitionInputstructures that define the partitions to be deleted.
Raises:
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
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.