Glue.Client.batch_delete_partition(**kwargs)¶Deletes one or more partitions in a batch operation.
See also: AWS API Documentation
Request Syntax
response = client.batch_delete_partition(
    CatalogId='string',
    DatabaseName='string',
    TableName='string',
    PartitionsToDelete=[
        {
            'Values': [
                'string',
            ]
        },
    ]
)
[REQUIRED]
The name of the catalog database in which the table in question resides.
[REQUIRED]
The name of the table that contains the partitions to be deleted.
[REQUIRED]
A list of PartitionInput structures that define the partitions to be deleted.
Contains a list of values defining partitions.
The list of values.
dict
Response Syntax
{
    'Errors': [
        {
            'PartitionValues': [
                'string',
            ],
            'ErrorDetail': {
                'ErrorCode': 'string',
                'ErrorMessage': 'string'
            }
        },
    ]
}
Response Structure
(dict) --
Errors (list) --
The errors encountered when trying to delete the requested partitions.
(dict) --
Contains information about a partition error.
PartitionValues (list) --
The values that define the partition.
ErrorDetail (dict) --
The details about the partition error.
ErrorCode (string) --
The code associated with this error.
ErrorMessage (string) --
A message describing the error.
Exceptions
Glue.Client.exceptions.InvalidInputExceptionGlue.Client.exceptions.EntityNotFoundExceptionGlue.Client.exceptions.InternalServiceExceptionGlue.Client.exceptions.OperationTimeoutException