Amazon Fraud Detector · Arazzo Workflow

Amazon Fraud Detector Provision Model and Detector

Version 1.0.0

Define an event type, create an ML model and a detector on top of it, then confirm the detector exists.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Financial-ServicesFraud DetectionMachine-LearningSecurityArazzoWorkflows

Provider

amazon-fraud-detector

Workflows

provision-model-detector
Provision an event type, an ML model, and a detector in one pass.
Defines the event type, creates an ML model and a detector that both reference it, then reads the detector back to verify it exists.
4 steps inputs: detectorDescription, detectorId, entityTypes, eventTypeName, eventVariables, labels, modelDescription, modelId, modelType outputs: detectorArn, detectorId, modelId
1
defineEventType
Create or update the event type so the model and detector have a schema to bind to.
2
createModel
Create the ML model bound to the event type defined in the previous step.
3
createDetector
Create the detector that orchestrates models and rules for the same event type.
4
confirmDetector
Read the detector back by id to confirm it was created against the expected event type.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Fraud Detector Provision Model and Detector
  summary: Define an event type, create an ML model and a detector on top of it, then confirm the detector exists.
  description: >-
    Builds the core fraud detection assets in order: it defines (or updates) the
    event type that scopes the schema, creates a machine learning model bound to
    that event type, creates a detector that orchestrates models and rules for
    the same event type, and finally reads the detector back to confirm it was
    created. Each step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-1400.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-1400.30
      capability_name: Fraud Detection & Investigation Management
      spec: amazon-fraud-detector-detectors-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: detectorsApi
  url: ../openapi/amazon-fraud-detector-detectors-api-openapi.yml
  type: openapi
- name: eventTypesApi
  url: ../openapi/amazon-fraud-detector-event-types-api-openapi.yml
  type: openapi
- name: modelsApi
  url: ../openapi/amazon-fraud-detector-models-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-model-detector
  summary: Provision an event type, an ML model, and a detector in one pass.
  description: >-
    Defines the event type, creates an ML model and a detector that both
    reference it, then reads the detector back to verify it exists.
  inputs:
    type: object
    required:
    - eventTypeName
    - eventVariables
    - labels
    - entityTypes
    - modelId
    - modelType
    - detectorId
    properties:
      eventTypeName:
        type: string
        description: The event type that the model and detector both operate on.
      eventVariables:
        type: array
        description: The event variable names that make up the event schema.
        items:
          type: string
      labels:
        type: array
        description: The label names available for this event type.
        items:
          type: string
      entityTypes:
        type: array
        description: The entity type names associated with the event type.
        items:
          type: string
      modelId:
        type: string
        description: The identifier for the ML model to create (e.g. "fraud-model-v1").
      modelType:
        type: string
        description: The model type, such as ONLINE_FRAUD_INSIGHTS.
      modelDescription:
        type: string
        description: A human readable description of the model.
      detectorId:
        type: string
        description: The identifier for the detector to create (e.g. "payment-fraud-detector").
      detectorDescription:
        type: string
        description: A human readable description of the detector.
  steps:
  - stepId: defineEventType
    description: >-
      Create or update the event type so the model and detector have a schema to
      bind to.
    operationId: putEventType
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.eventTypeName
        eventVariables: $inputs.eventVariables
        labels: $inputs.labels
        entityTypes: $inputs.entityTypes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      eventTypeName: $inputs.eventTypeName
  - stepId: createModel
    description: >-
      Create the ML model bound to the event type defined in the previous step.
    operationId: putModel
    requestBody:
      contentType: application/json
      payload:
        modelId: $inputs.modelId
        modelType: $inputs.modelType
        description: $inputs.modelDescription
        eventTypeName: $steps.defineEventType.outputs.eventTypeName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      modelId: $inputs.modelId
  - stepId: createDetector
    description: >-
      Create the detector that orchestrates models and rules for the same event
      type.
    operationId: putDetector
    requestBody:
      contentType: application/json
      payload:
        detectorId: $inputs.detectorId
        description: $inputs.detectorDescription
        eventTypeName: $steps.defineEventType.outputs.eventTypeName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      detectorId: $inputs.detectorId
  - stepId: confirmDetector
    description: >-
      Read the detector back by id to confirm it was created against the
      expected event type.
    operationId: getDetectors
    requestBody:
      contentType: application/json
      payload:
        detectorId: $inputs.detectorId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      detectorId: $response.body#/detectors/0/detectorId
      detectorArn: $response.body#/detectors/0/arn
  outputs:
    modelId: $steps.createModel.outputs.modelId
    detectorId: $steps.confirmDetector.outputs.detectorId
    detectorArn: $steps.confirmDetector.outputs.detectorArn

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-fraud-detector-provision-model-detector-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.