Amazon Fraud Detector · Capability

Amazon Fraud Detector API — Event Types

Amazon Fraud Detector API — Event Types. 2 operations. Lead operation: Put Event Type. Self-contained Naftiko capability covering one Amazon Fraud Detector business surface.

Run with Naftiko Amazon Fraud DetectorEvent Types

What You Can Do

PUT
Puteventtype — Put Event Type
/v1/event-types
POST
Geteventtypes — Get Event Types
/v1/event-types

MCP Tools

put-event-type

Put Event Type

idempotent
get-event-types

Get Event Types

read-only

Capability Spec

amazon-fraud-detector-event-types.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Fraud Detector API — Event Types
  description: 'Amazon Fraud Detector API — Event Types. 2 operations. Lead operation: Put Event Type. Self-contained Naftiko
    capability covering one Amazon Fraud Detector business surface.'
  tags:
  - Amazon Fraud Detector
  - Event Types
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_FRAUD_DETECTOR_API_KEY: AMAZON_FRAUD_DETECTOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-fraud-detector-event-types
    baseUri: https://frauddetector.{region}.amazonaws.com
    description: Amazon Fraud Detector API — Event Types business capability. Self-contained, no shared references.
    resources:
    - name: event-types
      path: /event-types
      operations:
      - name: puteventtype
        method: PUT
        description: Put Event Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: geteventtypes
        method: POST
        description: Get Event Types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_FRAUD_DETECTOR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-fraud-detector-event-types-rest
    port: 8080
    description: REST adapter for Amazon Fraud Detector API — Event Types. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/event-types
      name: event-types
      description: REST surface for event-types.
      operations:
      - method: PUT
        name: puteventtype
        description: Put Event Type
        call: amazon-fraud-detector-event-types.puteventtype
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: geteventtypes
        description: Get Event Types
        call: amazon-fraud-detector-event-types.geteventtypes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-fraud-detector-event-types-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Fraud Detector API — Event Types. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: put-event-type
      description: Put Event Type
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-fraud-detector-event-types.puteventtype
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-event-types
      description: Get Event Types
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-fraud-detector-event-types.geteventtypes
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.