aws-sdk-route53recoverycontrolconfig 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53recoverycontrolconfig/client.rb +156 -49
- data/lib/aws-sdk-route53recoverycontrolconfig/client_api.rb +112 -40
- data/lib/aws-sdk-route53recoverycontrolconfig/types.rb +250 -122
- data/lib/aws-sdk-route53recoverycontrolconfig.rb +1 -1
- metadata +2 -2
@@ -10,8 +10,8 @@
|
|
10
10
|
module Aws::Route53RecoveryControlConfig
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# 403 response -
|
14
|
-
#
|
13
|
+
# 403 response - You do not have sufficient access to perform this
|
14
|
+
# action.
|
15
15
|
#
|
16
16
|
# @!attribute [rw] message
|
17
17
|
# @return [String]
|
@@ -24,9 +24,13 @@ module Aws::Route53RecoveryControlConfig
|
|
24
24
|
include Aws::Structure
|
25
25
|
end
|
26
26
|
|
27
|
-
# An assertion rule enforces that, when a routing control
|
28
|
-
#
|
29
|
-
# the change to the routing control is not accepted.
|
27
|
+
# An assertion rule enforces that, when you change a routing control
|
28
|
+
# state, that the criteria that you set in the rule configuration is
|
29
|
+
# met. Otherwise, the change to the routing control is not accepted. For
|
30
|
+
# example, the criteria might be that at least one routing control state
|
31
|
+
# is On after the transation so that traffic continues to flow to at
|
32
|
+
# least one cell for the application. This ensures that you avoid a
|
33
|
+
# fail-open scenario.
|
30
34
|
#
|
31
35
|
# @!attribute [rw] asserted_controls
|
32
36
|
# The routing controls that are part of transactions that are
|
@@ -45,12 +49,13 @@ module Aws::Route53RecoveryControlConfig
|
|
45
49
|
# @return [String]
|
46
50
|
#
|
47
51
|
# @!attribute [rw] rule_config
|
48
|
-
# The criteria that you set for specific assertion controls
|
49
|
-
#
|
50
|
-
# result of a transaction. For example, if you have
|
51
|
-
# controls, you might specify atleast 2 for
|
52
|
-
# This means that at least two assertion
|
53
|
-
# that at least two Amazon Web
|
52
|
+
# The criteria that you set for specific assertion routing controls
|
53
|
+
# (AssertedControls) that designate how many routing control states
|
54
|
+
# must be ON as the result of a transaction. For example, if you have
|
55
|
+
# three assertion routing controls, you might specify atleast 2 for
|
56
|
+
# your rule configuration. This means that at least two assertion
|
57
|
+
# routing control states must be ON, so that at least two Amazon Web
|
58
|
+
# Services Regions have traffic flowing to them.
|
54
59
|
# @return [Types::RuleConfig]
|
55
60
|
#
|
56
61
|
# @!attribute [rw] safety_rule_arn
|
@@ -92,7 +97,7 @@ module Aws::Route53RecoveryControlConfig
|
|
92
97
|
#
|
93
98
|
# {
|
94
99
|
# name: "__stringMin1Max64PatternS", # required
|
95
|
-
# safety_rule_arn: "
|
100
|
+
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
96
101
|
# wait_period_ms: 1, # required
|
97
102
|
# }
|
98
103
|
#
|
@@ -122,10 +127,9 @@ module Aws::Route53RecoveryControlConfig
|
|
122
127
|
include Aws::Structure
|
123
128
|
end
|
124
129
|
|
125
|
-
# A
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# controls for your applications.
|
130
|
+
# A set of five redundant Regional endpoints against which you can
|
131
|
+
# execute API calls to update or get the state of routing controls. You
|
132
|
+
# can host multiple control panels and routing controls on one cluster.
|
129
133
|
#
|
130
134
|
# @!attribute [rw] cluster_arn
|
131
135
|
# The Amazon Resource Name (ARN) of the cluster.
|
@@ -136,7 +140,7 @@ module Aws::Route53RecoveryControlConfig
|
|
136
140
|
# want to set or retrieve a routing control state in the cluster.
|
137
141
|
#
|
138
142
|
# To get or update the routing control state, see the Amazon Route 53
|
139
|
-
# Application Recovery Controller
|
143
|
+
# Application Recovery Controller Routing Control Actions.
|
140
144
|
# @return [Array<Types::ClusterEndpoint>]
|
141
145
|
#
|
142
146
|
# @!attribute [rw] name
|
@@ -168,7 +172,7 @@ module Aws::Route53RecoveryControlConfig
|
|
168
172
|
# the cluster.
|
169
173
|
#
|
170
174
|
# To get or update the routing control state, see the Amazon Route 53
|
171
|
-
# Application Recovery Controller
|
175
|
+
# Application Recovery Controller Routing Control Actions.
|
172
176
|
# @return [String]
|
173
177
|
#
|
174
178
|
# @!attribute [rw] region
|
@@ -184,7 +188,8 @@ module Aws::Route53RecoveryControlConfig
|
|
184
188
|
include Aws::Structure
|
185
189
|
end
|
186
190
|
|
187
|
-
# 409 response - ConflictException.
|
191
|
+
# 409 response - ConflictException. You might be using a predefined
|
192
|
+
# variable.
|
188
193
|
#
|
189
194
|
# @!attribute [rw] message
|
190
195
|
# @return [String]
|
@@ -250,12 +255,17 @@ module Aws::Route53RecoveryControlConfig
|
|
250
255
|
# data as a hash:
|
251
256
|
#
|
252
257
|
# {
|
253
|
-
# client_token: "
|
258
|
+
# client_token: "__stringMin1Max64PatternS",
|
254
259
|
# cluster_name: "__stringMin1Max64PatternS", # required
|
260
|
+
# tags: {
|
261
|
+
# "__string" => "__stringMin0Max256PatternS",
|
262
|
+
# },
|
255
263
|
# }
|
256
264
|
#
|
257
265
|
# @!attribute [rw] client_token
|
258
|
-
#
|
266
|
+
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
267
|
+
# make an idempotent API request with an action, specify a client
|
268
|
+
# token in the request.
|
259
269
|
#
|
260
270
|
# **A suitable default value is auto-generated.** You should normally
|
261
271
|
# not need to pass this option.
|
@@ -265,11 +275,16 @@ module Aws::Route53RecoveryControlConfig
|
|
265
275
|
# The name of the cluster.
|
266
276
|
# @return [String]
|
267
277
|
#
|
278
|
+
# @!attribute [rw] tags
|
279
|
+
# The tags associated with the cluster.
|
280
|
+
# @return [Hash<String,String>]
|
281
|
+
#
|
268
282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateClusterRequest AWS API Documentation
|
269
283
|
#
|
270
284
|
class CreateClusterRequest < Struct.new(
|
271
285
|
:client_token,
|
272
|
-
:cluster_name
|
286
|
+
:cluster_name,
|
287
|
+
:tags)
|
273
288
|
SENSITIVE = []
|
274
289
|
include Aws::Structure
|
275
290
|
end
|
@@ -294,13 +309,18 @@ module Aws::Route53RecoveryControlConfig
|
|
294
309
|
# data as a hash:
|
295
310
|
#
|
296
311
|
# {
|
297
|
-
# client_token: "
|
298
|
-
# cluster_arn: "
|
312
|
+
# client_token: "__stringMin1Max64PatternS",
|
313
|
+
# cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
|
299
314
|
# control_panel_name: "__stringMin1Max64PatternS", # required
|
315
|
+
# tags: {
|
316
|
+
# "__string" => "__stringMin0Max256PatternS",
|
317
|
+
# },
|
300
318
|
# }
|
301
319
|
#
|
302
320
|
# @!attribute [rw] client_token
|
303
|
-
#
|
321
|
+
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
322
|
+
# make an idempotent API request with an action, specify a client
|
323
|
+
# token in the request.
|
304
324
|
#
|
305
325
|
# **A suitable default value is auto-generated.** You should normally
|
306
326
|
# not need to pass this option.
|
@@ -314,12 +334,17 @@ module Aws::Route53RecoveryControlConfig
|
|
314
334
|
# The name of the control panel.
|
315
335
|
# @return [String]
|
316
336
|
#
|
337
|
+
# @!attribute [rw] tags
|
338
|
+
# The tags associated with the control panel.
|
339
|
+
# @return [Hash<String,String>]
|
340
|
+
#
|
317
341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateControlPanelRequest AWS API Documentation
|
318
342
|
#
|
319
343
|
class CreateControlPanelRequest < Struct.new(
|
320
344
|
:client_token,
|
321
345
|
:cluster_arn,
|
322
|
-
:control_panel_name
|
346
|
+
:control_panel_name,
|
347
|
+
:tags)
|
323
348
|
SENSITIVE = []
|
324
349
|
include Aws::Structure
|
325
350
|
end
|
@@ -346,14 +371,16 @@ module Aws::Route53RecoveryControlConfig
|
|
346
371
|
# data as a hash:
|
347
372
|
#
|
348
373
|
# {
|
349
|
-
# client_token: "
|
350
|
-
# cluster_arn: "
|
351
|
-
# control_panel_arn: "
|
374
|
+
# client_token: "__stringMin1Max64PatternS",
|
375
|
+
# cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
|
376
|
+
# control_panel_arn: "__stringMin1Max256PatternAZaZ09",
|
352
377
|
# routing_control_name: "__stringMin1Max64PatternS", # required
|
353
378
|
# }
|
354
379
|
#
|
355
380
|
# @!attribute [rw] client_token
|
356
|
-
#
|
381
|
+
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
382
|
+
# make an idempotent API request with an action, specify a client
|
383
|
+
# token in the request.
|
357
384
|
#
|
358
385
|
# **A suitable default value is auto-generated.** You should normally
|
359
386
|
# not need to pass this option.
|
@@ -406,8 +433,8 @@ module Aws::Route53RecoveryControlConfig
|
|
406
433
|
#
|
407
434
|
# {
|
408
435
|
# assertion_rule: {
|
409
|
-
# asserted_controls: ["
|
410
|
-
# control_panel_arn: "
|
436
|
+
# asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
437
|
+
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
411
438
|
# name: "__stringMin1Max64PatternS", # required
|
412
439
|
# rule_config: { # required
|
413
440
|
# inverted: false, # required
|
@@ -416,42 +443,52 @@ module Aws::Route53RecoveryControlConfig
|
|
416
443
|
# },
|
417
444
|
# wait_period_ms: 1, # required
|
418
445
|
# },
|
419
|
-
# client_token: "
|
446
|
+
# client_token: "__stringMin1Max64PatternS",
|
420
447
|
# gating_rule: {
|
421
|
-
# control_panel_arn: "
|
422
|
-
# gating_controls: ["
|
448
|
+
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
449
|
+
# gating_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
423
450
|
# name: "__stringMin1Max64PatternS", # required
|
424
451
|
# rule_config: { # required
|
425
452
|
# inverted: false, # required
|
426
453
|
# threshold: 1, # required
|
427
454
|
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
428
455
|
# },
|
429
|
-
# target_controls: ["
|
456
|
+
# target_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
430
457
|
# wait_period_ms: 1, # required
|
431
458
|
# },
|
459
|
+
# tags: {
|
460
|
+
# "__string" => "__stringMin0Max256PatternS",
|
461
|
+
# },
|
432
462
|
# }
|
433
463
|
#
|
434
464
|
# @!attribute [rw] assertion_rule
|
435
|
-
#
|
465
|
+
# The assertion rule requested.
|
436
466
|
# @return [Types::NewAssertionRule]
|
437
467
|
#
|
438
468
|
# @!attribute [rw] client_token
|
439
|
-
#
|
469
|
+
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
470
|
+
# make an idempotent API request with an action, specify a client
|
471
|
+
# token in the request.
|
440
472
|
#
|
441
473
|
# **A suitable default value is auto-generated.** You should normally
|
442
474
|
# not need to pass this option.
|
443
475
|
# @return [String]
|
444
476
|
#
|
445
477
|
# @!attribute [rw] gating_rule
|
446
|
-
#
|
478
|
+
# The gating rule requested.
|
447
479
|
# @return [Types::NewGatingRule]
|
448
480
|
#
|
481
|
+
# @!attribute [rw] tags
|
482
|
+
# The tags associated with the safety rule.
|
483
|
+
# @return [Hash<String,String>]
|
484
|
+
#
|
449
485
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRuleRequest AWS API Documentation
|
450
486
|
#
|
451
487
|
class CreateSafetyRuleRequest < Struct.new(
|
452
488
|
:assertion_rule,
|
453
489
|
:client_token,
|
454
|
-
:gating_rule
|
490
|
+
:gating_rule,
|
491
|
+
:tags)
|
455
492
|
SENSITIVE = []
|
456
493
|
include Aws::Structure
|
457
494
|
end
|
@@ -459,17 +496,11 @@ module Aws::Route53RecoveryControlConfig
|
|
459
496
|
# The result of a successful CreateSafetyRule request.
|
460
497
|
#
|
461
498
|
# @!attribute [rw] assertion_rule
|
462
|
-
#
|
463
|
-
# changed, the criteria set by the rule configuration is met.
|
464
|
-
# Otherwise, the change to the routing control is not accepted.
|
499
|
+
# The assertion rule created.
|
465
500
|
# @return [Types::AssertionRule]
|
466
501
|
#
|
467
502
|
# @!attribute [rw] gating_rule
|
468
|
-
#
|
469
|
-
# true, based on a rule configuration that you specify. If the gating
|
470
|
-
# rule evaluates to true, Amazon Route 53 Application Recovery
|
471
|
-
# Controller allows a set of routing control state changes to run and
|
472
|
-
# complete against the set of target controls.
|
503
|
+
# The gating rule created.
|
473
504
|
# @return [Types::GatingRule]
|
474
505
|
#
|
475
506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRuleResponse AWS API Documentation
|
@@ -696,17 +727,11 @@ module Aws::Route53RecoveryControlConfig
|
|
696
727
|
# The response when you send a DescribeSafetyRuleResponse request.
|
697
728
|
#
|
698
729
|
# @!attribute [rw] assertion_rule
|
699
|
-
#
|
700
|
-
# changed, the criteria set by the rule configuration is met.
|
701
|
-
# Otherwise, the change to the routing control is not accepted.
|
730
|
+
# The assertion rule in the response.
|
702
731
|
# @return [Types::AssertionRule]
|
703
732
|
#
|
704
733
|
# @!attribute [rw] gating_rule
|
705
|
-
#
|
706
|
-
# true, based on a rule configuration that you specify. If the gating
|
707
|
-
# rule evaluates to true, Amazon Route 53 Application Recovery
|
708
|
-
# Controller allows a set of routing control state changes to run and
|
709
|
-
# complete against the set of target controls.
|
734
|
+
# The gating rule in the response.
|
710
735
|
# @return [Types::GatingRule]
|
711
736
|
#
|
712
737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeSafetyRuleResponse AWS API Documentation
|
@@ -718,29 +743,39 @@ module Aws::Route53RecoveryControlConfig
|
|
718
743
|
include Aws::Structure
|
719
744
|
end
|
720
745
|
|
721
|
-
# A gating rule verifies that a set of gating
|
722
|
-
# true, based on a rule configuration
|
723
|
-
#
|
724
|
-
#
|
725
|
-
#
|
746
|
+
# A gating rule verifies that a gating routing control or set of gating
|
747
|
+
# rounting controls, evaluates as true, based on a rule configuration
|
748
|
+
# that you specify, which allows a set of routing control state changes
|
749
|
+
# to complete.
|
750
|
+
#
|
751
|
+
# For example, if you specify one gating routing control and you set the
|
752
|
+
# Type in the rule configuration to OR, that indicates that you must set
|
753
|
+
# the gating routing control to On for the rule to evaluate as true;
|
754
|
+
# that is, for the gating control "switch" to be "On". When you do
|
755
|
+
# that, then you can update the routing control states for the target
|
756
|
+
# routing controls that you specify in the gating rule.
|
726
757
|
#
|
727
758
|
# @!attribute [rw] control_panel_arn
|
728
759
|
# The Amazon Resource Name (ARN) of the control panel.
|
729
760
|
# @return [String]
|
730
761
|
#
|
731
762
|
# @!attribute [rw] gating_controls
|
732
|
-
#
|
733
|
-
#
|
763
|
+
# An array of gating routing control Amazon Resource Names (ARNs). For
|
764
|
+
# a simple "on/off" switch, specify the ARN for one routing control.
|
765
|
+
# The gating routing controls are evaluated by the rule configuration
|
766
|
+
# that you specify to determine if the target routing control states
|
767
|
+
# can be changed.
|
734
768
|
# @return [Array<String>]
|
735
769
|
#
|
736
770
|
# @!attribute [rw] name
|
737
|
-
# The name for the gating rule.
|
771
|
+
# The name for the gating rule. You can use any non-white space
|
772
|
+
# character in the name.
|
738
773
|
# @return [String]
|
739
774
|
#
|
740
775
|
# @!attribute [rw] rule_config
|
741
|
-
# The criteria that you set for
|
742
|
-
#
|
743
|
-
# you to
|
776
|
+
# The criteria that you set for gating routing controls that
|
777
|
+
# designates how many of the routing control states must be ON to
|
778
|
+
# allow you to update target routing control states.
|
744
779
|
# @return [Types::RuleConfig]
|
745
780
|
#
|
746
781
|
# @!attribute [rw] safety_rule_arn
|
@@ -753,17 +788,12 @@ module Aws::Route53RecoveryControlConfig
|
|
753
788
|
# @return [String]
|
754
789
|
#
|
755
790
|
# @!attribute [rw] target_controls
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
# that rule evaluates to true.
|
763
|
-
#
|
764
|
-
# In other words, your ability to change the routing controls that you
|
765
|
-
# have specified as TargetControls is gated by the rule that you set
|
766
|
-
# for the routing controls in GatingControls.
|
791
|
+
# An array of target routing control Amazon Resource Names (ARNs) for
|
792
|
+
# which the states can only be updated if the rule configuration that
|
793
|
+
# you specify evaluates to true for the gating routing control. As a
|
794
|
+
# simple example, if you have a single gating control, it acts as an
|
795
|
+
# overall "on/off" switch for a set of target routing controls. You
|
796
|
+
# can use this to manually override automated fail over, for example.
|
767
797
|
# @return [Array<String>]
|
768
798
|
#
|
769
799
|
# @!attribute [rw] wait_period_ms
|
@@ -797,12 +827,13 @@ module Aws::Route53RecoveryControlConfig
|
|
797
827
|
#
|
798
828
|
# {
|
799
829
|
# name: "__stringMin1Max64PatternS", # required
|
800
|
-
# safety_rule_arn: "
|
830
|
+
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
801
831
|
# wait_period_ms: 1, # required
|
802
832
|
# }
|
803
833
|
#
|
804
834
|
# @!attribute [rw] name
|
805
|
-
# The name for the gating rule.
|
835
|
+
# The name for the gating rule. You can use any non-white space
|
836
|
+
# character in the name.
|
806
837
|
# @return [String]
|
807
838
|
#
|
808
839
|
# @!attribute [rw] safety_rule_arn
|
@@ -875,7 +906,7 @@ module Aws::Route53RecoveryControlConfig
|
|
875
906
|
# @return [Array<String>]
|
876
907
|
#
|
877
908
|
# @!attribute [rw] next_token
|
878
|
-
#
|
909
|
+
# Next token for listing health checks.
|
879
910
|
# @return [String]
|
880
911
|
#
|
881
912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListAssociatedRoute53HealthChecksResponse AWS API Documentation
|
@@ -1070,14 +1101,46 @@ module Aws::Route53RecoveryControlConfig
|
|
1070
1101
|
include Aws::Structure
|
1071
1102
|
end
|
1072
1103
|
|
1104
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1105
|
+
# data as a hash:
|
1106
|
+
#
|
1107
|
+
# {
|
1108
|
+
# resource_arn: "__string", # required
|
1109
|
+
# }
|
1110
|
+
#
|
1111
|
+
# @!attribute [rw] resource_arn
|
1112
|
+
# @return [String]
|
1113
|
+
#
|
1114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResourceRequest AWS API Documentation
|
1115
|
+
#
|
1116
|
+
class ListTagsForResourceRequest < Struct.new(
|
1117
|
+
:resource_arn)
|
1118
|
+
SENSITIVE = []
|
1119
|
+
include Aws::Structure
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# The result of a successful ListTagsForResource request.
|
1123
|
+
#
|
1124
|
+
# @!attribute [rw] tags
|
1125
|
+
# The tags associated with the resource.
|
1126
|
+
# @return [Hash<String,String>]
|
1127
|
+
#
|
1128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResourceResponse AWS API Documentation
|
1129
|
+
#
|
1130
|
+
class ListTagsForResourceResponse < Struct.new(
|
1131
|
+
:tags)
|
1132
|
+
SENSITIVE = []
|
1133
|
+
include Aws::Structure
|
1134
|
+
end
|
1135
|
+
|
1073
1136
|
# A new assertion rule for a control panel.
|
1074
1137
|
#
|
1075
1138
|
# @note When making an API call, you may pass NewAssertionRule
|
1076
1139
|
# data as a hash:
|
1077
1140
|
#
|
1078
1141
|
# {
|
1079
|
-
# asserted_controls: ["
|
1080
|
-
# control_panel_arn: "
|
1142
|
+
# asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
1143
|
+
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1081
1144
|
# name: "__stringMin1Max64PatternS", # required
|
1082
1145
|
# rule_config: { # required
|
1083
1146
|
# inverted: false, # required
|
@@ -1105,11 +1168,12 @@ module Aws::Route53RecoveryControlConfig
|
|
1105
1168
|
#
|
1106
1169
|
# @!attribute [rw] rule_config
|
1107
1170
|
# The criteria that you set for specific assertion controls (routing
|
1108
|
-
# controls) that designate how many
|
1171
|
+
# controls) that designate how many control states must be ON as the
|
1109
1172
|
# result of a transaction. For example, if you have three assertion
|
1110
|
-
# controls, you might specify
|
1111
|
-
# This means that at least two assertion controls must be
|
1112
|
-
#
|
1173
|
+
# controls, you might specify ATLEAST 2for your rule configuration.
|
1174
|
+
# This means that at least two assertion controls must be ON, so that
|
1175
|
+
# at least two Amazon Web Services Regions have traffic flowing to
|
1176
|
+
# them.
|
1113
1177
|
# @return [Types::RuleConfig]
|
1114
1178
|
#
|
1115
1179
|
# @!attribute [rw] wait_period_ms
|
@@ -1137,15 +1201,15 @@ module Aws::Route53RecoveryControlConfig
|
|
1137
1201
|
# data as a hash:
|
1138
1202
|
#
|
1139
1203
|
# {
|
1140
|
-
# control_panel_arn: "
|
1141
|
-
# gating_controls: ["
|
1204
|
+
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1205
|
+
# gating_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
1142
1206
|
# name: "__stringMin1Max64PatternS", # required
|
1143
1207
|
# rule_config: { # required
|
1144
1208
|
# inverted: false, # required
|
1145
1209
|
# threshold: 1, # required
|
1146
1210
|
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
1147
1211
|
# },
|
1148
|
-
# target_controls: ["
|
1212
|
+
# target_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
1149
1213
|
# wait_period_ms: 1, # required
|
1150
1214
|
# }
|
1151
1215
|
#
|
@@ -1165,8 +1229,8 @@ module Aws::Route53RecoveryControlConfig
|
|
1165
1229
|
#
|
1166
1230
|
# @!attribute [rw] rule_config
|
1167
1231
|
# The criteria that you set for specific gating controls (routing
|
1168
|
-
# controls) that designates how many
|
1169
|
-
# you to change (set or unset) the target
|
1232
|
+
# controls) that designates how many control states must be ON to
|
1233
|
+
# allow you to change (set or unset) the target control states.
|
1170
1234
|
# @return [Types::RuleConfig]
|
1171
1235
|
#
|
1172
1236
|
# @!attribute [rw] target_controls
|
@@ -1203,8 +1267,8 @@ module Aws::Route53RecoveryControlConfig
|
|
1203
1267
|
include Aws::Structure
|
1204
1268
|
end
|
1205
1269
|
|
1206
|
-
# 404 response - The query string contains a
|
1207
|
-
# not found
|
1270
|
+
# 404 response - MalformedQueryString. The query string contains a
|
1271
|
+
# syntax error or resource not found..
|
1208
1272
|
#
|
1209
1273
|
# @!attribute [rw] message
|
1210
1274
|
# @return [String]
|
@@ -1256,15 +1320,25 @@ module Aws::Route53RecoveryControlConfig
|
|
1256
1320
|
# @!attribute [rw] assertion
|
1257
1321
|
# An assertion rule enforces that, when a routing control state is
|
1258
1322
|
# changed, the criteria set by the rule configuration is met.
|
1259
|
-
# Otherwise, the change to the routing control is not accepted.
|
1323
|
+
# Otherwise, the change to the routing control state is not accepted.
|
1324
|
+
# For example, the criteria might be that at least one routing control
|
1325
|
+
# state is On after the transation so that traffic continues to flow
|
1326
|
+
# to at least one cell for the application. This ensures that you
|
1327
|
+
# avoid a fail-open scenario.
|
1260
1328
|
# @return [Types::AssertionRule]
|
1261
1329
|
#
|
1262
1330
|
# @!attribute [rw] gating
|
1263
|
-
# A gating rule verifies that a
|
1264
|
-
# true, based on a rule
|
1265
|
-
#
|
1266
|
-
#
|
1267
|
-
#
|
1331
|
+
# A gating rule verifies that a gating routing control or set of
|
1332
|
+
# gating rounting controls, evaluates as true, based on a rule
|
1333
|
+
# configuration that you specify, which allows a set of routing
|
1334
|
+
# control state changes to complete.
|
1335
|
+
#
|
1336
|
+
# For example, if you specify one gating routing control and you set
|
1337
|
+
# the Type in the rule configuration to OR, that indicates that you
|
1338
|
+
# must set the gating routing control to On for the rule to evaluate
|
1339
|
+
# as true; that is, for the gating control "switch" to be "On".
|
1340
|
+
# When you do that, then you can update the routing control states for
|
1341
|
+
# the target routing controls that you specify in the gating rule.
|
1268
1342
|
# @return [Types::GatingRule]
|
1269
1343
|
#
|
1270
1344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/Rule AWS API Documentation
|
@@ -1278,7 +1352,7 @@ module Aws::Route53RecoveryControlConfig
|
|
1278
1352
|
|
1279
1353
|
# The rule configuration for an assertion rule. That is, the criteria
|
1280
1354
|
# that you set for specific assertion controls (routing controls) that
|
1281
|
-
# specify how many
|
1355
|
+
# specify how many control states must be ON after a transaction
|
1282
1356
|
# completes.
|
1283
1357
|
#
|
1284
1358
|
# @note When making an API call, you may pass RuleConfig
|
@@ -1315,7 +1389,8 @@ module Aws::Route53RecoveryControlConfig
|
|
1315
1389
|
include Aws::Structure
|
1316
1390
|
end
|
1317
1391
|
|
1318
|
-
# 402 response
|
1392
|
+
# 402 response - You attempted to create more resources than the service
|
1393
|
+
# allows based on service quotas.
|
1319
1394
|
#
|
1320
1395
|
# @!attribute [rw] message
|
1321
1396
|
# @return [String]
|
@@ -1328,7 +1403,41 @@ module Aws::Route53RecoveryControlConfig
|
|
1328
1403
|
include Aws::Structure
|
1329
1404
|
end
|
1330
1405
|
|
1331
|
-
#
|
1406
|
+
# Request to tag a resource.
|
1407
|
+
#
|
1408
|
+
# @note When making an API call, you may pass TagResourceRequest
|
1409
|
+
# data as a hash:
|
1410
|
+
#
|
1411
|
+
# {
|
1412
|
+
# resource_arn: "__string", # required
|
1413
|
+
# tags: { # required
|
1414
|
+
# "__string" => "__stringMin0Max256PatternS",
|
1415
|
+
# },
|
1416
|
+
# }
|
1417
|
+
#
|
1418
|
+
# @!attribute [rw] resource_arn
|
1419
|
+
# @return [String]
|
1420
|
+
#
|
1421
|
+
# @!attribute [rw] tags
|
1422
|
+
# The tags associated with the resource.
|
1423
|
+
# @return [Hash<String,String>]
|
1424
|
+
#
|
1425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResourceRequest AWS API Documentation
|
1426
|
+
#
|
1427
|
+
class TagResourceRequest < Struct.new(
|
1428
|
+
:resource_arn,
|
1429
|
+
:tags)
|
1430
|
+
SENSITIVE = []
|
1431
|
+
include Aws::Structure
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
# The result of a successful TagResource request.
|
1435
|
+
#
|
1436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResourceResponse AWS API Documentation
|
1437
|
+
#
|
1438
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1439
|
+
|
1440
|
+
# 429 response - LimitExceededException or TooManyRequestsException.
|
1332
1441
|
#
|
1333
1442
|
# @!attribute [rw] message
|
1334
1443
|
# @return [String]
|
@@ -1341,13 +1450,42 @@ module Aws::Route53RecoveryControlConfig
|
|
1341
1450
|
include Aws::Structure
|
1342
1451
|
end
|
1343
1452
|
|
1453
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
1454
|
+
# data as a hash:
|
1455
|
+
#
|
1456
|
+
# {
|
1457
|
+
# resource_arn: "__string", # required
|
1458
|
+
# tag_keys: ["__string"], # required
|
1459
|
+
# }
|
1460
|
+
#
|
1461
|
+
# @!attribute [rw] resource_arn
|
1462
|
+
# @return [String]
|
1463
|
+
#
|
1464
|
+
# @!attribute [rw] tag_keys
|
1465
|
+
# @return [Array<String>]
|
1466
|
+
#
|
1467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResourceRequest AWS API Documentation
|
1468
|
+
#
|
1469
|
+
class UntagResourceRequest < Struct.new(
|
1470
|
+
:resource_arn,
|
1471
|
+
:tag_keys)
|
1472
|
+
SENSITIVE = []
|
1473
|
+
include Aws::Structure
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
# The result of a successful UntagResource request.
|
1477
|
+
#
|
1478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResourceResponse AWS API Documentation
|
1479
|
+
#
|
1480
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1481
|
+
|
1344
1482
|
# Updates an existing control panel.
|
1345
1483
|
#
|
1346
1484
|
# @note When making an API call, you may pass UpdateControlPanelRequest
|
1347
1485
|
# data as a hash:
|
1348
1486
|
#
|
1349
1487
|
# {
|
1350
|
-
# control_panel_arn: "
|
1488
|
+
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1351
1489
|
# control_panel_name: "__stringMin1Max64PatternS", # required
|
1352
1490
|
# }
|
1353
1491
|
#
|
@@ -1388,7 +1526,7 @@ module Aws::Route53RecoveryControlConfig
|
|
1388
1526
|
# data as a hash:
|
1389
1527
|
#
|
1390
1528
|
# {
|
1391
|
-
# routing_control_arn: "
|
1529
|
+
# routing_control_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1392
1530
|
# routing_control_name: "__stringMin1Max64PatternS", # required
|
1393
1531
|
# }
|
1394
1532
|
#
|
@@ -1432,26 +1570,22 @@ module Aws::Route53RecoveryControlConfig
|
|
1432
1570
|
# {
|
1433
1571
|
# assertion_rule_update: {
|
1434
1572
|
# name: "__stringMin1Max64PatternS", # required
|
1435
|
-
# safety_rule_arn: "
|
1573
|
+
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1436
1574
|
# wait_period_ms: 1, # required
|
1437
1575
|
# },
|
1438
1576
|
# gating_rule_update: {
|
1439
1577
|
# name: "__stringMin1Max64PatternS", # required
|
1440
|
-
# safety_rule_arn: "
|
1578
|
+
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1441
1579
|
# wait_period_ms: 1, # required
|
1442
1580
|
# },
|
1443
1581
|
# }
|
1444
1582
|
#
|
1445
1583
|
# @!attribute [rw] assertion_rule_update
|
1446
|
-
#
|
1447
|
-
# evaluation period (wait period). If you don't specify one of the
|
1448
|
-
# items to update, the item is unchanged.
|
1584
|
+
# The assertion rule to update.
|
1449
1585
|
# @return [Types::AssertionRuleUpdate]
|
1450
1586
|
#
|
1451
1587
|
# @!attribute [rw] gating_rule_update
|
1452
|
-
#
|
1453
|
-
# period (wait period). If you don't specify one of the items to
|
1454
|
-
# update, the item is unchanged.
|
1588
|
+
# The gating rule to update.
|
1455
1589
|
# @return [Types::GatingRuleUpdate]
|
1456
1590
|
#
|
1457
1591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRuleRequest AWS API Documentation
|
@@ -1466,17 +1600,11 @@ module Aws::Route53RecoveryControlConfig
|
|
1466
1600
|
# The result of a successful UpdateSafetyRule request.
|
1467
1601
|
#
|
1468
1602
|
# @!attribute [rw] assertion_rule
|
1469
|
-
#
|
1470
|
-
# changed, the criteria set by the rule configuration is met.
|
1471
|
-
# Otherwise, the change to the routing control is not accepted.
|
1603
|
+
# The assertion rule updated.
|
1472
1604
|
# @return [Types::AssertionRule]
|
1473
1605
|
#
|
1474
1606
|
# @!attribute [rw] gating_rule
|
1475
|
-
#
|
1476
|
-
# true, based on a rule configuration that you specify. If the gating
|
1477
|
-
# rule evaluates to true, Amazon Route 53 Application Recovery
|
1478
|
-
# Controller allows a set of routing control state changes to run and
|
1479
|
-
# complete against the set of target controls.
|
1607
|
+
# The gating rule updated.
|
1480
1608
|
# @return [Types::GatingRule]
|
1481
1609
|
#
|
1482
1610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRuleResponse AWS API Documentation
|
@@ -1490,7 +1618,7 @@ module Aws::Route53RecoveryControlConfig
|
|
1490
1618
|
|
1491
1619
|
# 400 response - Multiple causes. For example, you might have a
|
1492
1620
|
# malformed query string and input parameter might be out of range, or
|
1493
|
-
# you used parameters together incorrectly.
|
1621
|
+
# you might have used parameters together incorrectly.
|
1494
1622
|
#
|
1495
1623
|
# @!attribute [rw] message
|
1496
1624
|
# @return [String]
|