Skip to content

List Safety Rules

route53recoverycontrolconfig_list_safety_rules R Documentation

List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel

Description

List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.

Usage

route53recoverycontrolconfig_list_safety_rules(ControlPanelArn,
  MaxResults, NextToken)

Arguments

ControlPanelArn

[required] The Amazon Resource Name (ARN) of the control panel.

MaxResults

The number of objects that you want to return with this call.

NextToken

The token that identifies which batch of results you want to see.

Value

A list with the following syntax:

list(
  NextToken = "string",
  SafetyRules = list(
    list(
      ASSERTION = 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"
      ),
      GATING = 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$list_safety_rules(
  ControlPanelArn = "string",
  MaxResults = 123,
  NextToken = "string"
)