Amazon DynamoDB · Capability

Amazon DynamoDB API — TTL

Amazon DynamoDB API — TTL. 2 operations. Lead operation: Amazon Dynamodb Describe Ttl Settings for a Table. Self-contained Naftiko capability covering one Dynamodb business surface.

Run with Naftiko DynamodbTTL

What You Can Do

POST
Describetimetolive — Amazon Dynamodb Describe Ttl Settings for a Table
/v1/describetimetolive
POST
Updatetimetolive — Amazon Dynamodb Enable or Disable Ttl on a Table
/v1/updatetimetolive

MCP Tools

amazon-dynamodb-describe-ttl-settings

Amazon Dynamodb Describe Ttl Settings for a Table

amazon-dynamodb-enable-disable-ttl

Amazon Dynamodb Enable or Disable Ttl on a Table

Capability Spec

dynamodb-ttl.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon DynamoDB API — TTL
  description: 'Amazon DynamoDB API — TTL. 2 operations. Lead operation: Amazon Dynamodb Describe Ttl Settings for a Table.
    Self-contained Naftiko capability covering one Dynamodb business surface.'
  tags:
  - Dynamodb
  - TTL
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DYNAMODB_API_KEY: DYNAMODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: dynamodb-ttl
    baseUri: https://dynamodb.{region}.amazonaws.com
    description: Amazon DynamoDB API — TTL business capability. Self-contained, no shared references.
    resources:
    - name: '#DescribeTimeToLive'
      path: /#DescribeTimeToLive
      operations:
      - name: describetimetolive
        method: POST
        description: Amazon Dynamodb Describe Ttl Settings for a Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#UpdateTimeToLive'
      path: /#UpdateTimeToLive
      operations:
      - name: updatetimetolive
        method: POST
        description: Amazon Dynamodb Enable or Disable Ttl on a Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.DYNAMODB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: dynamodb-ttl-rest
    port: 8080
    description: REST adapter for Amazon DynamoDB API — TTL. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/describetimetolive
      name: describetimetolive
      description: 'REST surface for #DescribeTimeToLive.'
      operations:
      - method: POST
        name: describetimetolive
        description: Amazon Dynamodb Describe Ttl Settings for a Table
        call: dynamodb-ttl.describetimetolive
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/updatetimetolive
      name: updatetimetolive
      description: 'REST surface for #UpdateTimeToLive.'
      operations:
      - method: POST
        name: updatetimetolive
        description: Amazon Dynamodb Enable or Disable Ttl on a Table
        call: dynamodb-ttl.updatetimetolive
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dynamodb-ttl-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon DynamoDB API — TTL. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: amazon-dynamodb-describe-ttl-settings
      description: Amazon Dynamodb Describe Ttl Settings for a Table
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dynamodb-ttl.describetimetolive
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-dynamodb-enable-disable-ttl
      description: Amazon Dynamodb Enable or Disable Ttl on a Table
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dynamodb-ttl.updatetimetolive
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.