delete_partition
¶
delete_partition(
database_name: NameString,
table_name: NameString,
partition_values: ValueStringList,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> DeletePartitionResponse
Deletes a specified partition.
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 partition to be deleted.
-
partition_values(ValueStringList) –The values that define the partition.
Raises:
-
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.