Class: Aws::Route53RecoveryControlConfig::Types::UpdateSafetyRuleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb

Overview

Note:

When making an API call, you may pass UpdateSafetyRuleRequest data as a hash:

{
  assertion_rule_update: {
    name: "__stringMin1Max64PatternS", # required
    safety_rule_arn: "__string", # required
    wait_period_ms: 1, # required
  },
  gating_rule_update: {
    name: "__stringMin1Max64PatternS", # required
    safety_rule_arn: "__string", # required
    wait_period_ms: 1, # required
  },
}

Request to update a safety rule. A safety rule can be an assertion rule or a gating rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assertion_rule_updateTypes::AssertionRuleUpdate

An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.



1459
1460
1461
1462
1463
1464
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1459

class UpdateSafetyRuleRequest < Struct.new(
  :assertion_rule_update,
  :gating_rule_update)
  SENSITIVE = []
  include Aws::Structure
end

#gating_rule_updateTypes::GatingRuleUpdate

Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.



1459
1460
1461
1462
1463
1464
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1459

class UpdateSafetyRuleRequest < Struct.new(
  :assertion_rule_update,
  :gating_rule_update)
  SENSITIVE = []
  include Aws::Structure
end