Amazon API Gateway · Capability

Amazon API Gateway V1 (REST) — UsagePlans

Amazon API Gateway V1 (REST) — UsagePlans. 2 operations. Lead operation: Amazon API Gateway List Usage Plans. Self-contained Naftiko capability covering one Aws Api Gateway business surface.

Run with Naftiko Aws Api GatewayUsagePlans

What You Can Do

GET
Getusageplans — Amazon API Gateway List Usage Plans
/v1/usageplans
POST
Createusageplan — Amazon API Gateway Create a Usage Plan
/v1/usageplans

MCP Tools

amazon-api-gateway-list-usage

Amazon API Gateway List Usage Plans

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

Amazon API Gateway Create a Usage Plan

Capability Spec

v1-usageplans.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon API Gateway V1 (REST) — UsagePlans
  description: 'Amazon API Gateway V1 (REST) — UsagePlans. 2 operations. Lead operation: Amazon API Gateway List Usage Plans.
    Self-contained Naftiko capability covering one Aws Api Gateway business surface.'
  tags:
  - Aws Api Gateway
  - UsagePlans
  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: v1-usageplans
    baseUri: https://apigateway.{region}.amazonaws.com
    description: Amazon API Gateway V1 (REST) — UsagePlans business capability. Self-contained, no shared references.
    resources:
    - name: usageplans
      path: /usageplans
      operations:
      - name: getusageplans
        method: GET
        description: Amazon API Gateway List Usage Plans
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createusageplan
        method: POST
        description: Amazon API Gateway Create a Usage Plan
        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: v1-usageplans-rest
    port: 8080
    description: REST adapter for Amazon API Gateway V1 (REST) — UsagePlans. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/usageplans
      name: usageplans
      description: REST surface for usageplans.
      operations:
      - method: GET
        name: getusageplans
        description: Amazon API Gateway List Usage Plans
        call: v1-usageplans.getusageplans
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createusageplan
        description: Amazon API Gateway Create a Usage Plan
        call: v1-usageplans.createusageplan
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: v1-usageplans-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon API Gateway V1 (REST) — UsagePlans. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: amazon-api-gateway-list-usage
      description: Amazon API Gateway List Usage Plans
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: v1-usageplans.getusageplans
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-api-gateway-create-usage
      description: Amazon API Gateway Create a Usage Plan
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: v1-usageplans.createusageplan
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.