capabilities.work

Keyspace Inventory

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

Recipe · 5 steps

Keyspace Inventory

Confirm a keyspace, add a table, and verify it appears in the table listing.

  1. Confirm the keyspace exists before inventorying it.
  2. List the tables currently in the keyspace before adding the new one.
  3. Create the new table in the keyspace.
  4. Poll the new table until the service reports its status as ACTIVE. While the status is CREATING the step loops back on itself.
  5. List the keyspace tables again to verify the new table is now present.
What you'll need to have ready
  • keyspaceName: The keyspace to inventory and add a table to.
  • tableName: The name of the table to create.
  • schemaDefinition: The Cassandra schema definition for the new table, as defined by the Amazon Keyspaces CreateTable request.
For your developer

Arazzo workflow amazon-keyspaces:keyspace-inventory, 5 operations: GetKeyspace → ListTables → CreateTable → GetTable → ListTables. Specs on APIs.io.