Amazon Keyspaces · Capability

Amazon Keyspaces API — Tables

Amazon Keyspaces API — Tables. 6 operations. Lead operation: Amazon Keyspaces Create Table. Self-contained Naftiko capability covering one Amazon Keyspaces business surface.

Run with Naftiko Amazon KeyspacesTables

What You Can Do

POST
Createtable — Amazon Keyspaces Create Table
/v1/keyspaces/{keyspacename}/tables
GET
Listtables — Amazon Keyspaces List Tables
/v1/keyspaces/{keyspacename}/tables
GET
Gettable — Amazon Keyspaces Get Table
/v1/keyspaces/{keyspacename}/tables/{tablename}
PUT
Updatetable — Amazon Keyspaces Update Table
/v1/keyspaces/{keyspacename}/tables/{tablename}
DELETE
Deletetable — Amazon Keyspaces Delete Table
/v1/keyspaces/{keyspacename}/tables/{tablename}
POST
Restoretable — Amazon Keyspaces Restore Table
/v1/keyspaces/{keyspacename}/tables/{tablename}/restore

MCP Tools

amazon-keyspaces-create-table

Amazon Keyspaces Create Table

amazon-keyspaces-list-tables

Amazon Keyspaces List Tables

read-only idempotent
amazon-keyspaces-get-table

Amazon Keyspaces Get Table

read-only idempotent
amazon-keyspaces-update-table

Amazon Keyspaces Update Table

idempotent
amazon-keyspaces-delete-table

Amazon Keyspaces Delete Table

idempotent
amazon-keyspaces-restore-table

Amazon Keyspaces Restore Table

Capability Spec

amazon-keyspaces-tables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Keyspaces API — Tables
  description: 'Amazon Keyspaces API — Tables. 6 operations. Lead operation: Amazon Keyspaces Create Table. Self-contained
    Naftiko capability covering one Amazon Keyspaces business surface.'
  tags:
  - Amazon Keyspaces
  - Tables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_KEYSPACES_API_KEY: AMAZON_KEYSPACES_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-keyspaces-tables
    baseUri: https://cassandra.us-east-1.amazonaws.com
    description: Amazon Keyspaces API — Tables business capability. Self-contained, no shared references.
    resources:
    - name: keyspaces-keyspaceName-tables
      path: /keyspaces/{keyspaceName}/tables
      operations:
      - name: createtable
        method: POST
        description: Amazon Keyspaces Create Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: keyspaceName
          in: path
          type: string
          description: The keyspace name.
          required: true
      - name: listtables
        method: GET
        description: Amazon Keyspaces List Tables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: keyspaceName
          in: path
          type: string
          description: The keyspace name.
          required: true
    - name: keyspaces-keyspaceName-tables-tableName
      path: /keyspaces/{keyspaceName}/tables/{tableName}
      operations:
      - name: gettable
        method: GET
        description: Amazon Keyspaces Get Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: keyspaceName
          in: path
          type: string
          description: The keyspace name.
          required: true
        - name: tableName
          in: path
          type: string
          description: The table name.
          required: true
      - name: updatetable
        method: PUT
        description: Amazon Keyspaces Update Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: keyspaceName
          in: path
          type: string
          description: The keyspace name.
          required: true
        - name: tableName
          in: path
          type: string
          description: The table name.
          required: true
      - name: deletetable
        method: DELETE
        description: Amazon Keyspaces Delete Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: keyspaceName
          in: path
          type: string
          description: The keyspace name.
          required: true
        - name: tableName
          in: path
          type: string
          description: The table name.
          required: true
    - name: keyspaces-keyspaceName-tables-tableName-restore
      path: /keyspaces/{keyspaceName}/tables/{tableName}/restore
      operations:
      - name: restoretable
        method: POST
        description: Amazon Keyspaces Restore Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: keyspaceName
          in: path
          type: string
          description: The keyspace name.
          required: true
        - name: tableName
          in: path
          type: string
          description: The table name.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_KEYSPACES_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-keyspaces-tables-rest
    port: 8080
    description: REST adapter for Amazon Keyspaces API — Tables. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/keyspaces/{keyspacename}/tables
      name: keyspaces-keyspacename-tables
      description: REST surface for keyspaces-keyspaceName-tables.
      operations:
      - method: POST
        name: createtable
        description: Amazon Keyspaces Create Table
        call: amazon-keyspaces-tables.createtable
        with:
          keyspaceName: rest.keyspaceName
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listtables
        description: Amazon Keyspaces List Tables
        call: amazon-keyspaces-tables.listtables
        with:
          keyspaceName: rest.keyspaceName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/keyspaces/{keyspacename}/tables/{tablename}
      name: keyspaces-keyspacename-tables-tablename
      description: REST surface for keyspaces-keyspaceName-tables-tableName.
      operations:
      - method: GET
        name: gettable
        description: Amazon Keyspaces Get Table
        call: amazon-keyspaces-tables.gettable
        with:
          keyspaceName: rest.keyspaceName
          tableName: rest.tableName
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetable
        description: Amazon Keyspaces Update Table
        call: amazon-keyspaces-tables.updatetable
        with:
          keyspaceName: rest.keyspaceName
          tableName: rest.tableName
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetable
        description: Amazon Keyspaces Delete Table
        call: amazon-keyspaces-tables.deletetable
        with:
          keyspaceName: rest.keyspaceName
          tableName: rest.tableName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/keyspaces/{keyspacename}/tables/{tablename}/restore
      name: keyspaces-keyspacename-tables-tablename-restore
      description: REST surface for keyspaces-keyspaceName-tables-tableName-restore.
      operations:
      - method: POST
        name: restoretable
        description: Amazon Keyspaces Restore Table
        call: amazon-keyspaces-tables.restoretable
        with:
          keyspaceName: rest.keyspaceName
          tableName: rest.tableName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-keyspaces-tables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Keyspaces API — Tables. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-keyspaces-create-table
      description: Amazon Keyspaces Create Table
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-keyspaces-tables.createtable
      with:
        keyspaceName: tools.keyspaceName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-keyspaces-list-tables
      description: Amazon Keyspaces List Tables
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-keyspaces-tables.listtables
      with:
        keyspaceName: tools.keyspaceName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-keyspaces-get-table
      description: Amazon Keyspaces Get Table
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-keyspaces-tables.gettable
      with:
        keyspaceName: tools.keyspaceName
        tableName: tools.tableName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-keyspaces-update-table
      description: Amazon Keyspaces Update Table
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-keyspaces-tables.updatetable
      with:
        keyspaceName: tools.keyspaceName
        tableName: tools.tableName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-keyspaces-delete-table
      description: Amazon Keyspaces Delete Table
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: amazon-keyspaces-tables.deletetable
      with:
        keyspaceName: tools.keyspaceName
        tableName: tools.tableName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-keyspaces-restore-table
      description: Amazon Keyspaces Restore Table
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-keyspaces-tables.restoretable
      with:
        keyspaceName: tools.keyspaceName
        tableName: tools.tableName
      outputParameters:
      - type: object
        mapping: $.