Amazon Fraud Detector · Capability

Amazon Fraud Detector API — Predictions

Amazon Fraud Detector API — Predictions. 1 operations. Lead operation: Get Event Prediction. Self-contained Naftiko capability covering one Amazon Fraud Detector business surface.

Run with Naftiko Amazon Fraud DetectorPredictions

What You Can Do

POST
Geteventprediction — Get Event Prediction
/v1/predictions/event/{eventid}

MCP Tools

get-event-prediction

Get Event Prediction

read-only

Capability Spec

amazon-fraud-detector-predictions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Fraud Detector API — Predictions
  description: 'Amazon Fraud Detector API — Predictions. 1 operations. Lead operation: Get Event Prediction. Self-contained
    Naftiko capability covering one Amazon Fraud Detector business surface.'
  tags:
  - Amazon Fraud Detector
  - Predictions
  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-predictions
    baseUri: https://frauddetector.{region}.amazonaws.com
    description: Amazon Fraud Detector API — Predictions business capability. Self-contained, no shared references.
    resources:
    - name: predictions-event-eventId
      path: /predictions/event/{eventId}
      operations:
      - name: geteventprediction
        method: POST
        description: Get Event Prediction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: eventId
          in: path
          type: string
          description: The unique ID of the event.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_FRAUD_DETECTOR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-fraud-detector-predictions-rest
    port: 8080
    description: REST adapter for Amazon Fraud Detector API — Predictions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/predictions/event/{eventid}
      name: predictions-event-eventid
      description: REST surface for predictions-event-eventId.
      operations:
      - method: POST
        name: geteventprediction
        description: Get Event Prediction
        call: amazon-fraud-detector-predictions.geteventprediction
        with:
          eventId: rest.eventId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-fraud-detector-predictions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Fraud Detector API — Predictions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-event-prediction
      description: Get Event Prediction
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-fraud-detector-predictions.geteventprediction
      with:
        eventId: tools.eventId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.