Amazon Fraud Detector · Arazzo Workflow

Amazon Fraud Detector Author Rule

Version 1.0.0

Create a DETECTORPL rule for a detector and read the detector's rules back to confirm it.

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

Provider

amazon-fraud-detector

Workflows

author-rule
Create a rule on a detector and verify it via the detector's rule list.
Creates a DETECTORPL rule with an expression and outcomes on an existing detector, then reads the detector's rules back to confirm registration.
2 steps inputs: detectorId, expression, language, outcomes, ruleDescription, ruleId outputs: ruleArn, ruleId, ruleVersion
1
createRule
Create the rule on the detector with its expression and outcomes.
2
confirmRule
List the detector's rules, filtered to the new rule id, to confirm the rule was registered.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Fraud Detector Author Rule
  summary: Create a DETECTORPL rule for a detector and read the detector's rules back to confirm it.
  description: >-
    Encodes a piece of fraud business logic as a rule. The workflow creates a
    rule on an existing detector using a DETECTORPL expression and one or more
    outcomes, then lists the detector's rules to confirm the new rule was
    registered. 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
sourceDescriptions:
- name: rulesApi
  url: ../openapi/amazon-fraud-detector-rules-api-openapi.yml
  type: openapi
workflows:
- workflowId: author-rule
  summary: Create a rule on a detector and verify it via the detector's rule list.
  description: >-
    Creates a DETECTORPL rule with an expression and outcomes on an existing
    detector, then reads the detector's rules back to confirm registration.
  inputs:
    type: object
    required:
    - detectorId
    - ruleId
    - expression
    - language
    - outcomes
    properties:
      detectorId:
        type: string
        description: The detector the rule belongs to (e.g. "payment-fraud-detector").
      ruleId:
        type: string
        description: The identifier for the rule to create (e.g. "high-risk-rule").
      ruleDescription:
        type: string
        description: A human readable description of the rule.
      expression:
        type: string
        description: The rule expression in the rule language (e.g. "$model_score > 900").
      language:
        type: string
        description: The rule language, such as DETECTORPL.
      outcomes:
        type: array
        description: The outcome names returned when the rule matches.
        items:
          type: string
  steps:
  - stepId: createRule
    description: >-
      Create the rule on the detector with its expression and outcomes.
    operationId: createRule
    requestBody:
      contentType: application/json
      payload:
        ruleId: $inputs.ruleId
        detectorId: $inputs.detectorId
        description: $inputs.ruleDescription
        expression: $inputs.expression
        language: $inputs.language
        outcomes: $inputs.outcomes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ruleId: $response.body#/rule/ruleId
      ruleVersion: $response.body#/rule/ruleVersion
      ruleArn: $response.body#/rule/arn
  - stepId: confirmRule
    description: >-
      List the detector's rules, filtered to the new rule id, to confirm the
      rule was registered.
    operationId: getRules
    requestBody:
      contentType: application/json
      payload:
        detectorId: $inputs.detectorId
        ruleId: $steps.createRule.outputs.ruleId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ruleId: $response.body#/ruleDetails/0/ruleId
      ruleVersion: $response.body#/ruleDetails/0/ruleVersion
  outputs:
    ruleId: $steps.confirmRule.outputs.ruleId
    ruleVersion: $steps.confirmRule.outputs.ruleVersion
    ruleArn: $steps.createRule.outputs.ruleArn

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-author-rule-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.