You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::FraudDetector::Types::CreateRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FraudDetector::Types::CreateRuleRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateRuleRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rule_id: "identifier", # required
detector_id: "identifier", # required
description: "description",
expression: "ruleExpression", # required
language: "DETECTORPL", # required, accepts DETECTORPL
outcomes: ["string"], # required
tags: [
{
key: "tagKey", # required
value: "tagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#description ⇒ String
The rule description.
-
#detector_id ⇒ String
The detector ID for the rule\'s parent detector.
-
#expression ⇒ String
The rule expression.
-
#language ⇒ String
The language of the rule.
-
#outcomes ⇒ Array<String>
The outcome or outcomes returned when the rule expression matches.
-
#rule_id ⇒ String
The rule ID.
-
#tags ⇒ Array<Types::Tag>
A collection of key and value pairs.
Instance Attribute Details
#description ⇒ String
The rule description.
#detector_id ⇒ String
The detector ID for the rule\'s parent detector.
#expression ⇒ String
The rule expression.
#language ⇒ String
The language of the rule.
Possible values:
- DETECTORPL
#outcomes ⇒ Array<String>
The outcome or outcomes returned when the rule expression matches.
#rule_id ⇒ String
The rule ID.
#tags ⇒ Array<Types::Tag>
A collection of key and value pairs.