Glue / Client / delete_partition
delete_partition#
- Glue.Client.delete_partition(**kwargs)#
- Deletes a specified partition. - See also: AWS API Documentation - Request Syntax - response = client.delete_partition( CatalogId='string', DatabaseName='string', TableName='string', PartitionValues=[ 'string', ] ) - Parameters:
- CatalogId (string) – 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. 
- DatabaseName (string) – - [REQUIRED] - The name of the catalog database in which the table in question resides. 
- TableName (string) – - [REQUIRED] - The name of the table that contains the partition to be deleted. 
- PartitionValues (list) – - [REQUIRED] - The values that define the partition. - (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax - {}- Response Structure - (dict) – 
 
 - Exceptions - Glue.Client.exceptions.EntityNotFoundException
- Glue.Client.exceptions.InvalidInputException
- Glue.Client.exceptions.InternalServiceException
- Glue.Client.exceptions.OperationTimeoutException