Skip to content

Update Safety Rule

route53recoverycontrolconfig_update_safety_rule R Documentation

Update a safety rule (an assertion rule or gating rule)

Description

Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.

Usage

route53recoverycontrolconfig_update_safety_rule(AssertionRuleUpdate,
  GatingRuleUpdate)

Arguments

AssertionRuleUpdate

The assertion rule to update.

GatingRuleUpdate

The gating rule to update.

Value

A list with the following syntax:

list(
  AssertionRule = list(
    AssertedControls = list(
      "string"
    ),
    ControlPanelArn = "string",
    Name = "string",
    RuleConfig = list(
      Inverted = TRUE|FALSE,
      Threshold = 123,
      Type = "ATLEAST"|"AND"|"OR"
    ),
    SafetyRuleArn = "string",
    Status = "PENDING"|"DEPLOYED"|"PENDING_DELETION",
    WaitPeriodMs = 123,
    Owner = "string"
  ),
  GatingRule = list(
    ControlPanelArn = "string",
    GatingControls = list(
      "string"
    ),
    Name = "string",
    RuleConfig = list(
      Inverted = TRUE|FALSE,
      Threshold = 123,
      Type = "ATLEAST"|"AND"|"OR"
    ),
    SafetyRuleArn = "string",
    Status = "PENDING"|"DEPLOYED"|"PENDING_DELETION",
    TargetControls = list(
      "string"
    ),
    WaitPeriodMs = 123,
    Owner = "string"
  )
)

Request syntax

svc$update_safety_rule(
  AssertionRuleUpdate = list(
    Name = "string",
    SafetyRuleArn = "string",
    WaitPeriodMs = 123
  ),
  GatingRuleUpdate = list(
    Name = "string",
    SafetyRuleArn = "string",
    WaitPeriodMs = 123
  )
)