Athena / Client / delete_capacity_reservation

delete_capacity_reservation#

Athena.Client.delete_capacity_reservation(**kwargs)#

Deletes a cancelled capacity reservation. A reservation must be cancelled before it can be deleted. A deleted reservation is immediately removed from your account and can no longer be referenced, including by its ARN. A deleted reservation cannot be called by GetCapacityReservation, and deleted reservations do not appear in the output of ListCapacityReservations.

See also: AWS API Documentation

Request Syntax

response = client.delete_capacity_reservation(
    Name='string'
)
Parameters:

Name (string) –

[REQUIRED]

The name of the capacity reservation to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Athena.Client.exceptions.InvalidRequestException

  • Athena.Client.exceptions.InternalServerException