Keyspaces / Client / delete_table
delete_table#
- Keyspaces.Client.delete_table(**kwargs)#
The
DeleteTable
operation deletes a table and all of its data. After aDeleteTable
request is received, the specified table is in theDELETING
state until Amazon Keyspaces completes the deletion. If the table is in theACTIVE
state, you can delete it. If a table is either in theCREATING
orUPDATING
states, then Amazon Keyspaces returns aResourceInUseException
. If the specified table does not exist, Amazon Keyspaces returns aResourceNotFoundException
. If the table is already in theDELETING
state, no error is returned.See also: AWS API Documentation
Request Syntax
response = client.delete_table( keyspaceName='string', tableName='string' )
- Parameters:
keyspaceName (string) –
[REQUIRED]
The name of the keyspace of the to be deleted table.
tableName (string) –
[REQUIRED]
The name of the table to be deleted.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions