aws-sdk-route53recoverycontrolconfig 1.11.0 → 1.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c56b93c69caf0e2f8a3d684a3326d1f324db991386b6975ce93aacdbc610472
4
- data.tar.gz: 358ead0786a867cad0fde9d3a1f08ce556097889f7b7a3d643cee6e785dfc702
3
+ metadata.gz: 9bf100359182f0213f778c336881b46249d811487e32ad418d339bf48632e2c9
4
+ data.tar.gz: d20a5b694ff2f8677231a78266c4c7c70c2c0e0f33d9b648d035dd268915f446
5
5
  SHA512:
6
- metadata.gz: ce6c80a7c892709dea3aaa1f652eb0822acebc8dafd6869fefa56f0313b6a95d7d21fbacc76853c9d9e087104557eefcca52ffdca12024be78c73d86b3d62737
7
- data.tar.gz: 73f5ac845189a742785148b5d04208e0070b5e8847cd80aede86db645cb10d34227438cf9cfa32eabf4bdb359b5ea874e1ba03134f1e4a32d761984f809c137a
6
+ metadata.gz: d2eca368c1ec3e931a29e4240c326c85d7ed4ebd2ec375194c6a7def1e5c9fbf3c5ebc5eec19ea0b727231469d57161eb65255dea2855a071661acf1a8f783e2
7
+ data.tar.gz: 4fee15191d93b111945dfa7064dd1021d730960ff9bca513e93ce262c6558aacebbce403574a9700850c68cf5680d7d94bd932216836da49876802c79dddef41
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.12.0 (2022-12-28)
12
+ ------------------
13
+
14
+ * Feature - Added support for Python paginators in the route53-recovery-control-config List* APIs.
15
+
4
16
  1.11.0 (2022-10-25)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -545,8 +545,8 @@ module Aws::Route53RecoveryControlConfig
545
545
  # Assertion rule: An assertion rule enforces that, when you change a
546
546
  # routing control state, that a certain criteria is met. For example,
547
547
  # the criteria might be that at least one routing control state is On
548
- # after the transation so that traffic continues to flow to at least one
549
- # cell for the application. This ensures that you avoid a fail-open
548
+ # after the transaction so that traffic continues to flow to at least
549
+ # one cell for the application. This ensures that you avoid a fail-open
550
550
  # scenario.
551
551
  #
552
552
  # Gating rule: A gating rule lets you configure a gating routing control
@@ -1363,7 +1363,7 @@ module Aws::Route53RecoveryControlConfig
1363
1363
  params: params,
1364
1364
  config: config)
1365
1365
  context[:gem_name] = 'aws-sdk-route53recoverycontrolconfig'
1366
- context[:gem_version] = '1.11.0'
1366
+ context[:gem_version] = '1.13.0'
1367
1367
  Seahorse::Client::Request.new(handlers, context)
1368
1368
  end
1369
1369
 
@@ -50,6 +50,9 @@ module Aws::Route53RecoveryControlConfig
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,113 +9,46 @@
9
9
 
10
10
  module Aws::Route53RecoveryControlConfig
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
46
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2", "signingName"=>"route53-recovery-control-config"}]})
47
+ end
48
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
49
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sI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- cnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoic3RyaW5nRXF1YWxzIiwi
108
- YXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImF3cy1nbG9iYWwiXX1dLCJlbmRw
109
- b2ludCI6eyJ1cmwiOiJodHRwczovL3JvdXRlNTMtcmVjb3ZlcnktY29udHJv
110
- bC1jb25maWcudXMtd2VzdC0yLmFtYXpvbmF3cy5jb20iLCJwcm9wZXJ0aWVz
111
- Ijp7ImF1dGhTY2hlbWVzIjpbeyJuYW1lIjoic2lndjQiLCJzaWduaW5nTmFt
112
- ZSI6InJvdXRlNTMtcmVjb3ZlcnktY29udHJvbC1jb25maWciLCJzaWduaW5n
113
- UmVnaW9uIjoidXMtd2VzdC0yIn1dfSwiaGVhZGVycyI6e319LCJ0eXBlIjoi
114
- ZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwi
115
- OiJodHRwczovL3JvdXRlNTMtcmVjb3ZlcnktY29udHJvbC1jb25maWcue1Jl
116
- Z2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGll
117
- cyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19XX0=
118
-
119
- JSON
120
53
  end
121
54
  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 transation so that traffic continues to flow to at
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 atleast 2 for
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
- # rounting controls, evaluates as true, based on a rule configuration
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
- # designates how many of the routing control states must be ON to
778
- # allow you to update target routing control states.
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 fail over, for example.
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 2for your rule configuration.
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 designates how many control states must be ON to
1233
- # allow you to change (set or unset) the target control states.
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 AtLeast 2 as your
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 transation so that traffic continues to flow
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 rounting controls, evaluates as true, based on a rule
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]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-route53recoverycontrolconfig/customizations'
53
53
  # @!group service
54
54
  module Aws::Route53RecoveryControlConfig
55
55
 
56
- GEM_VERSION = '1.11.0'
56
+ GEM_VERSION = '1.13.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-route53recoverycontrolconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core