Skip to content

Update Rule Version

frauddetector_update_rule_version R Documentation

Updates a rule version resulting in a new rule version

Description

Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).

Usage

frauddetector_update_rule_version(rule, description, expression,
  language, outcomes, tags)

Arguments

rule

[required] The rule to update.

description

The description.

expression

[required] The rule expression.

language

[required] The language.

outcomes

[required] The outcomes.

tags

The tags to assign to the rule version.

Value

A list with the following syntax:

list(
  rule = list(
    detectorId = "string",
    ruleId = "string",
    ruleVersion = "string"
  )
)

Request syntax

svc$update_rule_version(
  rule = list(
    detectorId = "string",
    ruleId = "string",
    ruleVersion = "string"
  ),
  description = "string",
  expression = "string",
  language = "DETECTORPL",
  outcomes = list(
    "string"
  ),
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)