Skip to content

Delete Table

keyspaces_delete_table R Documentation

The DeleteTable operation deletes a table and all of its data

Description

The delete_table operation deletes a table and all of its data. After a delete_table request is received, the specified table is in the DELETING state until Amazon Keyspaces completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is either in the CREATING or UPDATING states, 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 DELETING state, no error is returned.

Usage

keyspaces_delete_table(keyspaceName, tableName)

Arguments

keyspaceName

[required] The name of the keyspace of the to be deleted table.

tableName

[required] The name of the table to be deleted.

Value

An empty list.

Request syntax

svc$delete_table(
  keyspaceName = "string",
  tableName = "string"
)