Amazon EventBridge · Capability

Amazon EventBridge API — Targets

Amazon EventBridge API — Targets. 3 operations. Lead operation: Amazon EventBridge List Targets by Rule. Self-contained Naftiko capability covering one Amazon Eventbridge business surface.

Run with Naftiko Amazon EventbridgeTargets

What You Can Do

POST
Listtargetsbyrule — Amazon EventBridge List Targets by Rule
/v1/listtargetsbyrule
POST
Puttargets — Amazon EventBridge Put Targets
/v1/puttargets
POST
Removetargets — Amazon EventBridge Remove Targets
/v1/removetargets

MCP Tools

amazon-eventbridge-list-targets-rule

Amazon EventBridge List Targets by Rule

read-only
amazon-eventbridge-put-targets

Amazon EventBridge Put Targets

amazon-eventbridge-remove-targets

Amazon EventBridge Remove Targets

Capability Spec

amazon-eventbridge-targets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon EventBridge API — Targets
  description: 'Amazon EventBridge API — Targets. 3 operations. Lead operation: Amazon EventBridge List Targets by Rule. Self-contained
    Naftiko capability covering one Amazon Eventbridge business surface.'
  tags:
  - Amazon Eventbridge
  - Targets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_EVENTBRIDGE_API_KEY: AMAZON_EVENTBRIDGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-eventbridge-targets
    baseUri: https://events.{region}.amazonaws.com
    description: Amazon EventBridge API — Targets business capability. Self-contained, no shared references.
    resources:
    - name: ?ListTargetsByRule
      path: /?ListTargetsByRule
      operations:
      - name: listtargetsbyrule
        method: POST
        description: Amazon EventBridge List Targets by Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?PutTargets
      path: /?PutTargets
      operations:
      - name: puttargets
        method: POST
        description: Amazon EventBridge Put Targets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?RemoveTargets
      path: /?RemoveTargets
      operations:
      - name: removetargets
        method: POST
        description: Amazon EventBridge Remove Targets
        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_EVENTBRIDGE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-eventbridge-targets-rest
    port: 8080
    description: REST adapter for Amazon EventBridge API — Targets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/listtargetsbyrule
      name: listtargetsbyrule
      description: REST surface for ?ListTargetsByRule.
      operations:
      - method: POST
        name: listtargetsbyrule
        description: Amazon EventBridge List Targets by Rule
        call: amazon-eventbridge-targets.listtargetsbyrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/puttargets
      name: puttargets
      description: REST surface for ?PutTargets.
      operations:
      - method: POST
        name: puttargets
        description: Amazon EventBridge Put Targets
        call: amazon-eventbridge-targets.puttargets
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/removetargets
      name: removetargets
      description: REST surface for ?RemoveTargets.
      operations:
      - method: POST
        name: removetargets
        description: Amazon EventBridge Remove Targets
        call: amazon-eventbridge-targets.removetargets
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-eventbridge-targets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon EventBridge API — Targets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-eventbridge-list-targets-rule
      description: Amazon EventBridge List Targets by Rule
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-eventbridge-targets.listtargetsbyrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-eventbridge-put-targets
      description: Amazon EventBridge Put Targets
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-eventbridge-targets.puttargets
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-eventbridge-remove-targets
      description: Amazon EventBridge Remove Targets
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-eventbridge-targets.removetargets
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.