Amazon MemoryDB · Capability

Amazon MemoryDB — Shards

Amazon MemoryDB — Shards. 1 operations. Lead operation: Amazon MemoryDB FailoverShard. Self-contained Naftiko capability covering one Amazon Memorydb business surface.

Run with Naftiko Amazon MemorydbShards

What You Can Do

POST
Failovershard — Amazon MemoryDB FailoverShard
/v1/shards

MCP Tools

amazon-memorydb-failovershard

Amazon MemoryDB FailoverShard

Capability Spec

amazon-memorydb-shards.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon MemoryDB — Shards
  description: 'Amazon MemoryDB — Shards. 1 operations. Lead operation: Amazon MemoryDB FailoverShard. Self-contained Naftiko
    capability covering one Amazon Memorydb business surface.'
  tags:
  - Amazon Memorydb
  - Shards
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_MEMORYDB_API_KEY: AMAZON_MEMORYDB_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-memorydb-shards
    baseUri: https://memory-db.us-east-1.amazonaws.com
    description: Amazon MemoryDB — Shards business capability. Self-contained, no shared references.
    resources:
    - name: shards
      path: /shards
      operations:
      - name: failovershard
        method: POST
        description: Amazon MemoryDB FailoverShard
        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.AMAZON_MEMORYDB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-memorydb-shards-rest
    port: 8080
    description: REST adapter for Amazon MemoryDB — Shards. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/shards
      name: shards
      description: REST surface for shards.
      operations:
      - method: POST
        name: failovershard
        description: Amazon MemoryDB FailoverShard
        call: amazon-memorydb-shards.failovershard
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-memorydb-shards-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon MemoryDB — Shards. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: amazon-memorydb-failovershard
      description: Amazon MemoryDB FailoverShard
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-memorydb-shards.failovershard
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.