Amazon API Gateway · Capability

Amazon API Gateway V2 (HTTP and WebSocket) — Deployments

Amazon API Gateway V2 (HTTP and WebSocket) — Deployments. 2 operations. Lead operation: Amazon API Gateway List Deployments. Self-contained Naftiko capability covering one Aws Api Gateway business surface.

Run with Naftiko Aws Api GatewayDeployments

What You Can Do

GET
Getdeployments — Amazon API Gateway List Deployments
/v1/v2/apis/{api-id}/deployments
POST
Createdeployment — Amazon API Gateway Create a Deployment
/v1/v2/apis/{api-id}/deployments

MCP Tools

amazon-api-gateway-list-deployments

Amazon API Gateway List Deployments

read-only idempotent
amazon-api-gateway-create-deployment

Amazon API Gateway Create a Deployment

Capability Spec

v2-deployments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon API Gateway V2 (HTTP and WebSocket) — Deployments
  description: 'Amazon API Gateway V2 (HTTP and WebSocket) — Deployments. 2 operations. Lead operation: Amazon API Gateway
    List Deployments. Self-contained Naftiko capability covering one Aws Api Gateway business surface.'
  tags:
  - Aws Api Gateway
  - Deployments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AWS_API_GATEWAY_API_KEY: AWS_API_GATEWAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: v2-deployments
    baseUri: https://apigateway.{region}.amazonaws.com
    description: Amazon API Gateway V2 (HTTP and WebSocket) — Deployments business capability. Self-contained, no shared references.
    resources:
    - name: v2-apis-api_id-deployments
      path: /v2/apis/{api_id}/deployments
      operations:
      - name: getdeployments
        method: GET
        description: Amazon API Gateway List Deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdeployment
        method: POST
        description: Amazon API Gateway Create a Deployment
        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.AWS_API_GATEWAY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: v2-deployments-rest
    port: 8080
    description: REST adapter for Amazon API Gateway V2 (HTTP and WebSocket) — Deployments. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v2/apis/{api-id}/deployments
      name: v2-apis-api-id-deployments
      description: REST surface for v2-apis-api_id-deployments.
      operations:
      - method: GET
        name: getdeployments
        description: Amazon API Gateway List Deployments
        call: v2-deployments.getdeployments
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdeployment
        description: Amazon API Gateway Create a Deployment
        call: v2-deployments.createdeployment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: v2-deployments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon API Gateway V2 (HTTP and WebSocket) — Deployments. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: amazon-api-gateway-list-deployments
      description: Amazon API Gateway List Deployments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v2-deployments.getdeployments
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-api-gateway-create-deployment
      description: Amazon API Gateway Create a Deployment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: v2-deployments.createdeployment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.