Amazon Keyspaces · Arazzo Workflow
Amazon Keyspaces Decommission Keyspace
Version 1.0.0
Delete a table, wait for it to drain, then delete its keyspace.
Provider
Workflows
decommission-keyspace
Delete a table, wait for it to be removed, then delete the keyspace.
Deletes a named table, polls GetTable until the table is gone, and then deletes the parent keyspace.
1
deleteTable
DeleteTable
Delete the table and all of its data.
2
waitForGone
GetTable
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
deleteKeyspace
DeleteKeyspace
Delete the now-empty keyspace.