aws-sdk-route53recoverycontrolconfig 1.10.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53recoverycontrolconfig/client.rb +22 -5
- data/lib/aws-sdk-route53recoverycontrolconfig/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-route53recoverycontrolconfig/endpoint_provider.rb +120 -0
- data/lib/aws-sdk-route53recoverycontrolconfig/endpoints.rb +337 -0
- data/lib/aws-sdk-route53recoverycontrolconfig/plugins/endpoints.rb +114 -0
- data/lib/aws-sdk-route53recoverycontrolconfig/types.rb +14 -295
- data/lib/aws-sdk-route53recoverycontrolconfig.rb +5 -1
- metadata +8 -4
@@ -0,0 +1,114 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Route53RecoveryControlConfig
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::Route53RecoveryControlConfig::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::Route53RecoveryControlConfig::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::Route53RecoveryControlConfig::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_cluster
|
60
|
+
Aws::Route53RecoveryControlConfig::Endpoints::CreateCluster.build(context)
|
61
|
+
when :create_control_panel
|
62
|
+
Aws::Route53RecoveryControlConfig::Endpoints::CreateControlPanel.build(context)
|
63
|
+
when :create_routing_control
|
64
|
+
Aws::Route53RecoveryControlConfig::Endpoints::CreateRoutingControl.build(context)
|
65
|
+
when :create_safety_rule
|
66
|
+
Aws::Route53RecoveryControlConfig::Endpoints::CreateSafetyRule.build(context)
|
67
|
+
when :delete_cluster
|
68
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DeleteCluster.build(context)
|
69
|
+
when :delete_control_panel
|
70
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DeleteControlPanel.build(context)
|
71
|
+
when :delete_routing_control
|
72
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DeleteRoutingControl.build(context)
|
73
|
+
when :delete_safety_rule
|
74
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DeleteSafetyRule.build(context)
|
75
|
+
when :describe_cluster
|
76
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DescribeCluster.build(context)
|
77
|
+
when :describe_control_panel
|
78
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DescribeControlPanel.build(context)
|
79
|
+
when :describe_routing_control
|
80
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DescribeRoutingControl.build(context)
|
81
|
+
when :describe_safety_rule
|
82
|
+
Aws::Route53RecoveryControlConfig::Endpoints::DescribeSafetyRule.build(context)
|
83
|
+
when :list_associated_route_53_health_checks
|
84
|
+
Aws::Route53RecoveryControlConfig::Endpoints::ListAssociatedRoute53HealthChecks.build(context)
|
85
|
+
when :list_clusters
|
86
|
+
Aws::Route53RecoveryControlConfig::Endpoints::ListClusters.build(context)
|
87
|
+
when :list_control_panels
|
88
|
+
Aws::Route53RecoveryControlConfig::Endpoints::ListControlPanels.build(context)
|
89
|
+
when :list_routing_controls
|
90
|
+
Aws::Route53RecoveryControlConfig::Endpoints::ListRoutingControls.build(context)
|
91
|
+
when :list_safety_rules
|
92
|
+
Aws::Route53RecoveryControlConfig::Endpoints::ListSafetyRules.build(context)
|
93
|
+
when :list_tags_for_resource
|
94
|
+
Aws::Route53RecoveryControlConfig::Endpoints::ListTagsForResource.build(context)
|
95
|
+
when :tag_resource
|
96
|
+
Aws::Route53RecoveryControlConfig::Endpoints::TagResource.build(context)
|
97
|
+
when :untag_resource
|
98
|
+
Aws::Route53RecoveryControlConfig::Endpoints::UntagResource.build(context)
|
99
|
+
when :update_control_panel
|
100
|
+
Aws::Route53RecoveryControlConfig::Endpoints::UpdateControlPanel.build(context)
|
101
|
+
when :update_routing_control
|
102
|
+
Aws::Route53RecoveryControlConfig::Endpoints::UpdateRoutingControl.build(context)
|
103
|
+
when :update_safety_rule
|
104
|
+
Aws::Route53RecoveryControlConfig::Endpoints::UpdateSafetyRule.build(context)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
def add_handlers(handlers, _config)
|
110
|
+
handlers.add(Handler, step: :build, priority: 75)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
@@ -28,7 +28,7 @@ module Aws::Route53RecoveryControlConfig
|
|
28
28
|
# state, that the criteria that you set in the rule configuration is
|
29
29
|
# met. Otherwise, the change to the routing control is not accepted. For
|
30
30
|
# example, the criteria might be that at least one routing control state
|
31
|
-
# is On after the
|
31
|
+
# is On after the transaction so that traffic continues to flow to at
|
32
32
|
# least one cell for the application. This ensures that you avoid a
|
33
33
|
# fail-open scenario.
|
34
34
|
#
|
@@ -52,7 +52,7 @@ module Aws::Route53RecoveryControlConfig
|
|
52
52
|
# The criteria that you set for specific assertion routing controls
|
53
53
|
# (AssertedControls) that designate how many routing control states
|
54
54
|
# must be ON as the result of a transaction. For example, if you have
|
55
|
-
# three assertion routing controls, you might specify
|
55
|
+
# three assertion routing controls, you might specify ATLEAST 2 for
|
56
56
|
# your rule configuration. This means that at least two assertion
|
57
57
|
# routing control states must be ON, so that at least two Amazon Web
|
58
58
|
# Services Regions have traffic flowing to them.
|
@@ -92,15 +92,6 @@ module Aws::Route53RecoveryControlConfig
|
|
92
92
|
# evaluation period (wait period). If you don't specify one of the
|
93
93
|
# items to update, the item is unchanged.
|
94
94
|
#
|
95
|
-
# @note When making an API call, you may pass AssertionRuleUpdate
|
96
|
-
# data as a hash:
|
97
|
-
#
|
98
|
-
# {
|
99
|
-
# name: "__stringMin1Max64PatternS", # required
|
100
|
-
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
101
|
-
# wait_period_ms: 1, # required
|
102
|
-
# }
|
103
|
-
#
|
104
95
|
# @!attribute [rw] name
|
105
96
|
# The name of the assertion rule. You can use any non-white space
|
106
97
|
# character in the name.
|
@@ -251,17 +242,6 @@ module Aws::Route53RecoveryControlConfig
|
|
251
242
|
|
252
243
|
# The properties of a request to create a cluster.
|
253
244
|
#
|
254
|
-
# @note When making an API call, you may pass CreateClusterRequest
|
255
|
-
# data as a hash:
|
256
|
-
#
|
257
|
-
# {
|
258
|
-
# client_token: "__stringMin1Max64PatternS",
|
259
|
-
# cluster_name: "__stringMin1Max64PatternS", # required
|
260
|
-
# tags: {
|
261
|
-
# "__string" => "__stringMin0Max256PatternS",
|
262
|
-
# },
|
263
|
-
# }
|
264
|
-
#
|
265
245
|
# @!attribute [rw] client_token
|
266
246
|
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
267
247
|
# make an idempotent API request with an action, specify a client
|
@@ -305,18 +285,6 @@ module Aws::Route53RecoveryControlConfig
|
|
305
285
|
|
306
286
|
# A request to create a control panel.
|
307
287
|
#
|
308
|
-
# @note When making an API call, you may pass CreateControlPanelRequest
|
309
|
-
# data as a hash:
|
310
|
-
#
|
311
|
-
# {
|
312
|
-
# client_token: "__stringMin1Max64PatternS",
|
313
|
-
# cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
|
314
|
-
# control_panel_name: "__stringMin1Max64PatternS", # required
|
315
|
-
# tags: {
|
316
|
-
# "__string" => "__stringMin0Max256PatternS",
|
317
|
-
# },
|
318
|
-
# }
|
319
|
-
#
|
320
288
|
# @!attribute [rw] client_token
|
321
289
|
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
322
290
|
# make an idempotent API request with an action, specify a client
|
@@ -367,16 +335,6 @@ module Aws::Route53RecoveryControlConfig
|
|
367
335
|
# ControlPanelArn, Amazon Route 53 Application Recovery Controller
|
368
336
|
# creates the routing control in DefaultControlPanel.
|
369
337
|
#
|
370
|
-
# @note When making an API call, you may pass CreateRoutingControlRequest
|
371
|
-
# data as a hash:
|
372
|
-
#
|
373
|
-
# {
|
374
|
-
# client_token: "__stringMin1Max64PatternS",
|
375
|
-
# cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
|
376
|
-
# control_panel_arn: "__stringMin1Max256PatternAZaZ09",
|
377
|
-
# routing_control_name: "__stringMin1Max64PatternS", # required
|
378
|
-
# }
|
379
|
-
#
|
380
338
|
# @!attribute [rw] client_token
|
381
339
|
# A unique, case-sensitive string of up to 64 ASCII characters. To
|
382
340
|
# make an idempotent API request with an action, specify a client
|
@@ -428,39 +386,6 @@ module Aws::Route53RecoveryControlConfig
|
|
428
386
|
# Request to create a safety rule. You can create either an assertion
|
429
387
|
# rule or a gating rule with a CreateSafetyRuleRequest call.
|
430
388
|
#
|
431
|
-
# @note When making an API call, you may pass CreateSafetyRuleRequest
|
432
|
-
# data as a hash:
|
433
|
-
#
|
434
|
-
# {
|
435
|
-
# assertion_rule: {
|
436
|
-
# asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
437
|
-
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
438
|
-
# name: "__stringMin1Max64PatternS", # required
|
439
|
-
# rule_config: { # required
|
440
|
-
# inverted: false, # required
|
441
|
-
# threshold: 1, # required
|
442
|
-
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
443
|
-
# },
|
444
|
-
# wait_period_ms: 1, # required
|
445
|
-
# },
|
446
|
-
# client_token: "__stringMin1Max64PatternS",
|
447
|
-
# gating_rule: {
|
448
|
-
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
449
|
-
# gating_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
450
|
-
# name: "__stringMin1Max64PatternS", # required
|
451
|
-
# rule_config: { # required
|
452
|
-
# inverted: false, # required
|
453
|
-
# threshold: 1, # required
|
454
|
-
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
455
|
-
# },
|
456
|
-
# target_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
457
|
-
# wait_period_ms: 1, # required
|
458
|
-
# },
|
459
|
-
# tags: {
|
460
|
-
# "__string" => "__stringMin0Max256PatternS",
|
461
|
-
# },
|
462
|
-
# }
|
463
|
-
#
|
464
389
|
# @!attribute [rw] assertion_rule
|
465
390
|
# The assertion rule requested.
|
466
391
|
# @return [Types::NewAssertionRule]
|
@@ -512,13 +437,6 @@ module Aws::Route53RecoveryControlConfig
|
|
512
437
|
include Aws::Structure
|
513
438
|
end
|
514
439
|
|
515
|
-
# @note When making an API call, you may pass DeleteClusterRequest
|
516
|
-
# data as a hash:
|
517
|
-
#
|
518
|
-
# {
|
519
|
-
# cluster_arn: "__string", # required
|
520
|
-
# }
|
521
|
-
#
|
522
440
|
# @!attribute [rw] cluster_arn
|
523
441
|
# @return [String]
|
524
442
|
#
|
@@ -536,13 +454,6 @@ module Aws::Route53RecoveryControlConfig
|
|
536
454
|
#
|
537
455
|
class DeleteClusterResponse < Aws::EmptyStructure; end
|
538
456
|
|
539
|
-
# @note When making an API call, you may pass DeleteControlPanelRequest
|
540
|
-
# data as a hash:
|
541
|
-
#
|
542
|
-
# {
|
543
|
-
# control_panel_arn: "__string", # required
|
544
|
-
# }
|
545
|
-
#
|
546
457
|
# @!attribute [rw] control_panel_arn
|
547
458
|
# @return [String]
|
548
459
|
#
|
@@ -560,13 +471,6 @@ module Aws::Route53RecoveryControlConfig
|
|
560
471
|
#
|
561
472
|
class DeleteControlPanelResponse < Aws::EmptyStructure; end
|
562
473
|
|
563
|
-
# @note When making an API call, you may pass DeleteRoutingControlRequest
|
564
|
-
# data as a hash:
|
565
|
-
#
|
566
|
-
# {
|
567
|
-
# routing_control_arn: "__string", # required
|
568
|
-
# }
|
569
|
-
#
|
570
474
|
# @!attribute [rw] routing_control_arn
|
571
475
|
# @return [String]
|
572
476
|
#
|
@@ -584,13 +488,6 @@ module Aws::Route53RecoveryControlConfig
|
|
584
488
|
#
|
585
489
|
class DeleteRoutingControlResponse < Aws::EmptyStructure; end
|
586
490
|
|
587
|
-
# @note When making an API call, you may pass DeleteSafetyRuleRequest
|
588
|
-
# data as a hash:
|
589
|
-
#
|
590
|
-
# {
|
591
|
-
# safety_rule_arn: "__string", # required
|
592
|
-
# }
|
593
|
-
#
|
594
491
|
# @!attribute [rw] safety_rule_arn
|
595
492
|
# @return [String]
|
596
493
|
#
|
@@ -610,13 +507,6 @@ module Aws::Route53RecoveryControlConfig
|
|
610
507
|
#
|
611
508
|
class DeleteSafetyRuleResponse < Aws::EmptyStructure; end
|
612
509
|
|
613
|
-
# @note When making an API call, you may pass DescribeClusterRequest
|
614
|
-
# data as a hash:
|
615
|
-
#
|
616
|
-
# {
|
617
|
-
# cluster_arn: "__string", # required
|
618
|
-
# }
|
619
|
-
#
|
620
510
|
# @!attribute [rw] cluster_arn
|
621
511
|
# @return [String]
|
622
512
|
#
|
@@ -642,13 +532,6 @@ module Aws::Route53RecoveryControlConfig
|
|
642
532
|
include Aws::Structure
|
643
533
|
end
|
644
534
|
|
645
|
-
# @note When making an API call, you may pass DescribeControlPanelRequest
|
646
|
-
# data as a hash:
|
647
|
-
#
|
648
|
-
# {
|
649
|
-
# control_panel_arn: "__string", # required
|
650
|
-
# }
|
651
|
-
#
|
652
535
|
# @!attribute [rw] control_panel_arn
|
653
536
|
# @return [String]
|
654
537
|
#
|
@@ -674,13 +557,6 @@ module Aws::Route53RecoveryControlConfig
|
|
674
557
|
include Aws::Structure
|
675
558
|
end
|
676
559
|
|
677
|
-
# @note When making an API call, you may pass DescribeRoutingControlRequest
|
678
|
-
# data as a hash:
|
679
|
-
#
|
680
|
-
# {
|
681
|
-
# routing_control_arn: "__string", # required
|
682
|
-
# }
|
683
|
-
#
|
684
560
|
# @!attribute [rw] routing_control_arn
|
685
561
|
# @return [String]
|
686
562
|
#
|
@@ -706,13 +582,6 @@ module Aws::Route53RecoveryControlConfig
|
|
706
582
|
include Aws::Structure
|
707
583
|
end
|
708
584
|
|
709
|
-
# @note When making an API call, you may pass DescribeSafetyRuleRequest
|
710
|
-
# data as a hash:
|
711
|
-
#
|
712
|
-
# {
|
713
|
-
# safety_rule_arn: "__string", # required
|
714
|
-
# }
|
715
|
-
#
|
716
585
|
# @!attribute [rw] safety_rule_arn
|
717
586
|
# @return [String]
|
718
587
|
#
|
@@ -744,7 +613,7 @@ module Aws::Route53RecoveryControlConfig
|
|
744
613
|
end
|
745
614
|
|
746
615
|
# A gating rule verifies that a gating routing control or set of gating
|
747
|
-
#
|
616
|
+
# routing controls, evaluates as true, based on a rule configuration
|
748
617
|
# that you specify, which allows a set of routing control state changes
|
749
618
|
# to complete.
|
750
619
|
#
|
@@ -773,9 +642,9 @@ module Aws::Route53RecoveryControlConfig
|
|
773
642
|
# @return [String]
|
774
643
|
#
|
775
644
|
# @!attribute [rw] rule_config
|
776
|
-
# The criteria that you set for gating routing controls that
|
777
|
-
#
|
778
|
-
#
|
645
|
+
# The criteria that you set for gating routing controls that designate
|
646
|
+
# how many of the routing control states must be ON to allow you to
|
647
|
+
# update target routing control states.
|
779
648
|
# @return [Types::RuleConfig]
|
780
649
|
#
|
781
650
|
# @!attribute [rw] safety_rule_arn
|
@@ -793,7 +662,7 @@ module Aws::Route53RecoveryControlConfig
|
|
793
662
|
# you specify evaluates to true for the gating routing control. As a
|
794
663
|
# simple example, if you have a single gating control, it acts as an
|
795
664
|
# overall "on/off" switch for a set of target routing controls. You
|
796
|
-
# can use this to manually override automated
|
665
|
+
# can use this to manually override automated failover, for example.
|
797
666
|
# @return [Array<String>]
|
798
667
|
#
|
799
668
|
# @!attribute [rw] wait_period_ms
|
@@ -822,15 +691,6 @@ module Aws::Route53RecoveryControlConfig
|
|
822
691
|
# period (wait period). If you don't specify one of the items to
|
823
692
|
# update, the item is unchanged.
|
824
693
|
#
|
825
|
-
# @note When making an API call, you may pass GatingRuleUpdate
|
826
|
-
# data as a hash:
|
827
|
-
#
|
828
|
-
# {
|
829
|
-
# name: "__stringMin1Max64PatternS", # required
|
830
|
-
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
831
|
-
# wait_period_ms: 1, # required
|
832
|
-
# }
|
833
|
-
#
|
834
694
|
# @!attribute [rw] name
|
835
695
|
# The name for the gating rule. You can use any non-white space
|
836
696
|
# character in the name.
|
@@ -871,15 +731,6 @@ module Aws::Route53RecoveryControlConfig
|
|
871
731
|
include Aws::Structure
|
872
732
|
end
|
873
733
|
|
874
|
-
# @note When making an API call, you may pass ListAssociatedRoute53HealthChecksRequest
|
875
|
-
# data as a hash:
|
876
|
-
#
|
877
|
-
# {
|
878
|
-
# max_results: 1,
|
879
|
-
# next_token: "__string",
|
880
|
-
# routing_control_arn: "__string", # required
|
881
|
-
# }
|
882
|
-
#
|
883
734
|
# @!attribute [rw] max_results
|
884
735
|
# @return [Integer]
|
885
736
|
#
|
@@ -918,14 +769,6 @@ module Aws::Route53RecoveryControlConfig
|
|
918
769
|
include Aws::Structure
|
919
770
|
end
|
920
771
|
|
921
|
-
# @note When making an API call, you may pass ListClustersRequest
|
922
|
-
# data as a hash:
|
923
|
-
#
|
924
|
-
# {
|
925
|
-
# max_results: 1,
|
926
|
-
# next_token: "__string",
|
927
|
-
# }
|
928
|
-
#
|
929
772
|
# @!attribute [rw] max_results
|
930
773
|
# @return [Integer]
|
931
774
|
#
|
@@ -960,15 +803,6 @@ module Aws::Route53RecoveryControlConfig
|
|
960
803
|
include Aws::Structure
|
961
804
|
end
|
962
805
|
|
963
|
-
# @note When making an API call, you may pass ListControlPanelsRequest
|
964
|
-
# data as a hash:
|
965
|
-
#
|
966
|
-
# {
|
967
|
-
# cluster_arn: "__string",
|
968
|
-
# max_results: 1,
|
969
|
-
# next_token: "__string",
|
970
|
-
# }
|
971
|
-
#
|
972
806
|
# @!attribute [rw] cluster_arn
|
973
807
|
# @return [String]
|
974
808
|
#
|
@@ -1007,15 +841,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1007
841
|
include Aws::Structure
|
1008
842
|
end
|
1009
843
|
|
1010
|
-
# @note When making an API call, you may pass ListRoutingControlsRequest
|
1011
|
-
# data as a hash:
|
1012
|
-
#
|
1013
|
-
# {
|
1014
|
-
# control_panel_arn: "__string", # required
|
1015
|
-
# max_results: 1,
|
1016
|
-
# next_token: "__string",
|
1017
|
-
# }
|
1018
|
-
#
|
1019
844
|
# @!attribute [rw] control_panel_arn
|
1020
845
|
# @return [String]
|
1021
846
|
#
|
@@ -1054,15 +879,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1054
879
|
include Aws::Structure
|
1055
880
|
end
|
1056
881
|
|
1057
|
-
# @note When making an API call, you may pass ListSafetyRulesRequest
|
1058
|
-
# data as a hash:
|
1059
|
-
#
|
1060
|
-
# {
|
1061
|
-
# control_panel_arn: "__string", # required
|
1062
|
-
# max_results: 1,
|
1063
|
-
# next_token: "__string",
|
1064
|
-
# }
|
1065
|
-
#
|
1066
882
|
# @!attribute [rw] control_panel_arn
|
1067
883
|
# @return [String]
|
1068
884
|
#
|
@@ -1101,13 +917,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1101
917
|
include Aws::Structure
|
1102
918
|
end
|
1103
919
|
|
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
920
|
# @!attribute [rw] resource_arn
|
1112
921
|
# @return [String]
|
1113
922
|
#
|
@@ -1135,21 +944,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1135
944
|
|
1136
945
|
# A new assertion rule for a control panel.
|
1137
946
|
#
|
1138
|
-
# @note When making an API call, you may pass NewAssertionRule
|
1139
|
-
# data as a hash:
|
1140
|
-
#
|
1141
|
-
# {
|
1142
|
-
# asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
1143
|
-
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1144
|
-
# name: "__stringMin1Max64PatternS", # required
|
1145
|
-
# rule_config: { # required
|
1146
|
-
# inverted: false, # required
|
1147
|
-
# threshold: 1, # required
|
1148
|
-
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
1149
|
-
# },
|
1150
|
-
# wait_period_ms: 1, # required
|
1151
|
-
# }
|
1152
|
-
#
|
1153
947
|
# @!attribute [rw] asserted_controls
|
1154
948
|
# The routing controls that are part of transactions that are
|
1155
949
|
# evaluated to determine if a request to change a routing control
|
@@ -1170,7 +964,7 @@ module Aws::Route53RecoveryControlConfig
|
|
1170
964
|
# The criteria that you set for specific assertion controls (routing
|
1171
965
|
# controls) that designate how many control states must be ON as the
|
1172
966
|
# result of a transaction. For example, if you have three assertion
|
1173
|
-
# controls, you might specify ATLEAST
|
967
|
+
# controls, you might specify ATLEAST 2 for your rule configuration.
|
1174
968
|
# This means that at least two assertion controls must be ON, so that
|
1175
969
|
# at least two Amazon Web Services Regions have traffic flowing to
|
1176
970
|
# them.
|
@@ -1197,22 +991,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1197
991
|
|
1198
992
|
# A new gating rule for a control panel.
|
1199
993
|
#
|
1200
|
-
# @note When making an API call, you may pass NewGatingRule
|
1201
|
-
# data as a hash:
|
1202
|
-
#
|
1203
|
-
# {
|
1204
|
-
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1205
|
-
# gating_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
1206
|
-
# name: "__stringMin1Max64PatternS", # required
|
1207
|
-
# rule_config: { # required
|
1208
|
-
# inverted: false, # required
|
1209
|
-
# threshold: 1, # required
|
1210
|
-
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
1211
|
-
# },
|
1212
|
-
# target_controls: ["__stringMin1Max256PatternAZaZ09"], # required
|
1213
|
-
# wait_period_ms: 1, # required
|
1214
|
-
# }
|
1215
|
-
#
|
1216
994
|
# @!attribute [rw] control_panel_arn
|
1217
995
|
# The Amazon Resource Name (ARN) of the control panel.
|
1218
996
|
# @return [String]
|
@@ -1229,15 +1007,15 @@ module Aws::Route53RecoveryControlConfig
|
|
1229
1007
|
#
|
1230
1008
|
# @!attribute [rw] rule_config
|
1231
1009
|
# The criteria that you set for specific gating controls (routing
|
1232
|
-
# controls) that
|
1233
|
-
#
|
1010
|
+
# controls) that designate how many control states must be ON to allow
|
1011
|
+
# you to change (set or unset) the target control states.
|
1234
1012
|
# @return [Types::RuleConfig]
|
1235
1013
|
#
|
1236
1014
|
# @!attribute [rw] target_controls
|
1237
1015
|
# Routing controls that can only be set or unset if the specified
|
1238
1016
|
# RuleConfig evaluates to true for the specified GatingControls. For
|
1239
1017
|
# example, say you have three gating controls, one for each of three
|
1240
|
-
# Amazon Web Services Regions. Now you specify
|
1018
|
+
# Amazon Web Services Regions. Now you specify ATLEAST 2 as your
|
1241
1019
|
# RuleConfig. With these settings, you can only change (set or unset)
|
1242
1020
|
# the routing controls that you have specified as TargetControls if
|
1243
1021
|
# that rule evaluates to true.
|
@@ -1268,7 +1046,7 @@ module Aws::Route53RecoveryControlConfig
|
|
1268
1046
|
end
|
1269
1047
|
|
1270
1048
|
# 404 response - MalformedQueryString. The query string contains a
|
1271
|
-
# syntax error or resource not found
|
1049
|
+
# syntax error or resource not found.
|
1272
1050
|
#
|
1273
1051
|
# @!attribute [rw] message
|
1274
1052
|
# @return [String]
|
@@ -1322,14 +1100,14 @@ module Aws::Route53RecoveryControlConfig
|
|
1322
1100
|
# changed, the criteria set by the rule configuration is met.
|
1323
1101
|
# Otherwise, the change to the routing control state is not accepted.
|
1324
1102
|
# For example, the criteria might be that at least one routing control
|
1325
|
-
# state is On after the
|
1103
|
+
# state is On after the transaction so that traffic continues to flow
|
1326
1104
|
# to at least one cell for the application. This ensures that you
|
1327
1105
|
# avoid a fail-open scenario.
|
1328
1106
|
# @return [Types::AssertionRule]
|
1329
1107
|
#
|
1330
1108
|
# @!attribute [rw] gating
|
1331
1109
|
# A gating rule verifies that a gating routing control or set of
|
1332
|
-
# gating
|
1110
|
+
# gating routing controls, evaluates as true, based on a rule
|
1333
1111
|
# configuration that you specify, which allows a set of routing
|
1334
1112
|
# control state changes to complete.
|
1335
1113
|
#
|
@@ -1355,15 +1133,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1355
1133
|
# specify how many control states must be ON after a transaction
|
1356
1134
|
# completes.
|
1357
1135
|
#
|
1358
|
-
# @note When making an API call, you may pass RuleConfig
|
1359
|
-
# data as a hash:
|
1360
|
-
#
|
1361
|
-
# {
|
1362
|
-
# inverted: false, # required
|
1363
|
-
# threshold: 1, # required
|
1364
|
-
# type: "ATLEAST", # required, accepts ATLEAST, AND, OR
|
1365
|
-
# }
|
1366
|
-
#
|
1367
1136
|
# @!attribute [rw] inverted
|
1368
1137
|
# Logical negation of the rule. If the rule would usually evaluate
|
1369
1138
|
# true, it's evaluated as false, and vice versa.
|
@@ -1405,16 +1174,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1405
1174
|
|
1406
1175
|
# Request to tag a resource.
|
1407
1176
|
#
|
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
1177
|
# @!attribute [rw] resource_arn
|
1419
1178
|
# @return [String]
|
1420
1179
|
#
|
@@ -1450,14 +1209,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1450
1209
|
include Aws::Structure
|
1451
1210
|
end
|
1452
1211
|
|
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
1212
|
# @!attribute [rw] resource_arn
|
1462
1213
|
# @return [String]
|
1463
1214
|
#
|
@@ -1481,14 +1232,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1481
1232
|
|
1482
1233
|
# Updates an existing control panel.
|
1483
1234
|
#
|
1484
|
-
# @note When making an API call, you may pass UpdateControlPanelRequest
|
1485
|
-
# data as a hash:
|
1486
|
-
#
|
1487
|
-
# {
|
1488
|
-
# control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1489
|
-
# control_panel_name: "__stringMin1Max64PatternS", # required
|
1490
|
-
# }
|
1491
|
-
#
|
1492
1235
|
# @!attribute [rw] control_panel_arn
|
1493
1236
|
# The Amazon Resource Name (ARN) of the control panel.
|
1494
1237
|
# @return [String]
|
@@ -1522,14 +1265,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1522
1265
|
|
1523
1266
|
# A request to update a routing control.
|
1524
1267
|
#
|
1525
|
-
# @note When making an API call, you may pass UpdateRoutingControlRequest
|
1526
|
-
# data as a hash:
|
1527
|
-
#
|
1528
|
-
# {
|
1529
|
-
# routing_control_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1530
|
-
# routing_control_name: "__stringMin1Max64PatternS", # required
|
1531
|
-
# }
|
1532
|
-
#
|
1533
1268
|
# @!attribute [rw] routing_control_arn
|
1534
1269
|
# The Amazon Resource Name (ARN) of the routing control.
|
1535
1270
|
# @return [String]
|
@@ -1564,22 +1299,6 @@ module Aws::Route53RecoveryControlConfig
|
|
1564
1299
|
# Request to update a safety rule. A safety rule can be an assertion
|
1565
1300
|
# rule or a gating rule.
|
1566
1301
|
#
|
1567
|
-
# @note When making an API call, you may pass UpdateSafetyRuleRequest
|
1568
|
-
# data as a hash:
|
1569
|
-
#
|
1570
|
-
# {
|
1571
|
-
# assertion_rule_update: {
|
1572
|
-
# name: "__stringMin1Max64PatternS", # required
|
1573
|
-
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1574
|
-
# wait_period_ms: 1, # required
|
1575
|
-
# },
|
1576
|
-
# gating_rule_update: {
|
1577
|
-
# name: "__stringMin1Max64PatternS", # required
|
1578
|
-
# safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
|
1579
|
-
# wait_period_ms: 1, # required
|
1580
|
-
# },
|
1581
|
-
# }
|
1582
|
-
#
|
1583
1302
|
# @!attribute [rw] assertion_rule_update
|
1584
1303
|
# The assertion rule to update.
|
1585
1304
|
# @return [Types::AssertionRuleUpdate]
|