Keyspace Inventory
A 5-step recipe with Amazon Keyspaces. We can help you get access.
Recipe · 5 steps
Keyspace Inventory
with Amazon Keyspaces
Confirm a keyspace, add a table, and verify it appears in the table listing.
- Confirm the keyspace exists before inventorying it.
- List the tables currently in the keyspace before adding the new one.
- Create the new table in the keyspace.
- Poll the new table until the service reports its status as ACTIVE. While the status is CREATING the step loops back on itself.
- 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.