capabilities.work

Author Rule

A 2-step recipe with Amazon Fraud Detector. We can help you get access.

Recipe · 2 steps

Author Rule

Create a rule on a detector and verify it via the detector's rule list.

  1. Create the rule on the detector with its expression and outcomes.
  2. List the detector's rules, filtered to the new rule id, to confirm the rule was registered.
What you'll need to have ready
  • detectorId: The detector the rule belongs to (e.g. "payment-fraud-detector").
  • ruleId: The identifier for the rule to create (e.g. "high-risk-rule").
  • ruleDescription: A human readable description of the rule.
  • expression: The rule expression in the rule language (e.g. "$model_score > 900").
  • language: The rule language, such as DETECTORPL.
  • outcomes: The outcome names returned when the rule matches.
For your developer

Arazzo workflow amazon-fraud-detector:author-rule, 2 operations: CreateRule → GetRules. Specs on APIs.io.