Amazon DynamoDB · Capability

Amazon DynamoDB API — Transactions

Amazon DynamoDB API — Transactions. 2 operations. Lead operation: Amazon DynamoDB Get Items in a Transaction. Self-contained Naftiko capability covering one Amazon Dynamodb business surface.

Run with Naftiko Amazon DynamodbTransactions

What You Can Do

POST
Transactgetitems — Amazon DynamoDB Get Items in a Transaction
/v1/transactgetitems
POST
Transactwriteitems — Amazon DynamoDB Write Items in a Transaction
/v1/transactwriteitems

MCP Tools

amazon-dynamodb-get-items-transaction

Amazon DynamoDB Get Items in a Transaction

read-only
amazon-dynamodb-write-items-transaction

Amazon DynamoDB Write Items in a Transaction

Capability Spec

amazon-dynamodb-transactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon DynamoDB API — Transactions
  description: 'Amazon DynamoDB API — Transactions. 2 operations. Lead operation: Amazon DynamoDB Get Items in a Transaction.
    Self-contained Naftiko capability covering one Amazon Dynamodb business surface.'
  tags:
  - Amazon Dynamodb
  - Transactions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_DYNAMODB_API_KEY: AMAZON_DYNAMODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-dynamodb-transactions
    baseUri: https://dynamodb.{region}.amazonaws.com
    description: Amazon DynamoDB API — Transactions business capability. Self-contained, no shared references.
    resources:
    - name: '#TransactGetItems'
      path: /#TransactGetItems
      operations:
      - name: transactgetitems
        method: POST
        description: Amazon DynamoDB Get Items in a Transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#TransactWriteItems'
      path: /#TransactWriteItems
      operations:
      - name: transactwriteitems
        method: POST
        description: Amazon DynamoDB Write Items in a Transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.AMAZON_DYNAMODB_API_KEY}}'
  exposes:
  - type: rest
    namespace: amazon-dynamodb-transactions-rest
    port: 8080
    description: REST adapter for Amazon DynamoDB API — Transactions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/transactgetitems
      name: transactgetitems
      description: 'REST surface for #TransactGetItems.'
      operations:
      - method: POST
        name: transactgetitems
        description: Amazon DynamoDB Get Items in a Transaction
        call: amazon-dynamodb-transactions.transactgetitems
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/transactwriteitems
      name: transactwriteitems
      description: 'REST surface for #TransactWriteItems.'
      operations:
      - method: POST
        name: transactwriteitems
        description: Amazon DynamoDB Write Items in a Transaction
        call: amazon-dynamodb-transactions.transactwriteitems
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-dynamodb-transactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon DynamoDB API — Transactions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-dynamodb-get-items-transaction
      description: Amazon DynamoDB Get Items in a Transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-dynamodb-transactions.transactgetitems
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-dynamodb-write-items-transaction
      description: Amazon DynamoDB Write Items in a Transaction
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-dynamodb-transactions.transactwriteitems
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.