capabilities.work

Decommission Keyspace

A 3-step recipe with Amazon Keyspaces. We can help you get access.

Recipe · 3 steps

Decommission Keyspace

Delete a table, wait for it to be removed, then delete the keyspace.

  1. Delete the table and all of its data.
  2. Poll the table until it no longer exists. While the table is still reported as DELETING with a 200 the step loops back on itself; once GetTable returns 400 the table is gone and the flow proceeds to delete the keyspace.
  3. Delete the now-empty keyspace.
What you'll need to have ready
  • keyspaceName: The keyspace to decommission.
  • tableName: The table to delete before deleting the keyspace.
For your developer

Arazzo workflow amazon-keyspaces:decommission-keyspace, 3 operations: DeleteTable → GetTable → DeleteKeyspace. Specs on APIs.io.