Keyspaces / Client / delete_table
delete_table#
- Keyspaces.Client.delete_table(**kwargs)#
- The - DeleteTableoperation deletes a table and all of its data. After a- DeleteTablerequest is received, the specified table is in the- DELETINGstate until Amazon Keyspaces completes the deletion. If the table is in the- ACTIVEstate, you can delete it. If a table is either in the- CREATINGor- UPDATINGstates, then Amazon Keyspaces returns a- ResourceInUseException. If the specified table does not exist, Amazon Keyspaces returns a- ResourceNotFoundException. If the table is already in the- DELETINGstate, 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- Keyspaces.Client.exceptions.ValidationException
- Keyspaces.Client.exceptions.ServiceQuotaExceededException
- Keyspaces.Client.exceptions.InternalServerException
- Keyspaces.Client.exceptions.ConflictException
- Keyspaces.Client.exceptions.AccessDeniedException
- Keyspaces.Client.exceptions.ResourceNotFoundException