aws-sdk-route53recoverycluster 1.7.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b49cc7c4133b336aec708004d5c947ac62f29af47c5a09c6e6229cd8c5ba438d
4
- data.tar.gz: 020ea5aa327a2c42d84463aed2e923218fa3a08e6832a97203a46da668a5580c
3
+ metadata.gz: f056cc69373080730ec362738dadfae29b85b71725c5fb4a115dffe9a0d93a7b
4
+ data.tar.gz: 41c963fcdad2d37d117b5d098ed9654b484a50838d13f8802f15c59ad458eec3
5
5
  SHA512:
6
- metadata.gz: ffae0fdebce5235b0b16eebf7ba46f7150bc085a460ae1df8dd4e75a389c41aa016b51d8df90f28e638ed86b2751e99f3d82f9aadff19825945d34e59ef87f4b
7
- data.tar.gz: 4f48faca949134412930272ab7e033a999235a5f2bb8f2d09acfb9a006bdc8d72afb1db6993522fb49d919170b5711974ffeeb2d16d6ab6c74d9ba0ae4ccce53
6
+ metadata.gz: fdcb8d7886a77419677e60b5691754f187344d6ad179e6d77bc74dae6224010009c50c37a9829e997883b471994170383b4ba689335c8ab9563ce6a427471709
7
+ data.tar.gz: f6c72de1f9feb7b61c6cb53c84afca7f1df171d3e6abb1ff015850eb4f69fb7862b8a94ac1f81ebf2c634d35d845171b0e76f56f3e1114602167005466a27919
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2022-02-28)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new API option to enable overriding safety rules to allow routing control state updates.
8
+
9
+ 1.9.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.8.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.7.0 (2021-12-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.10.0
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::Route53RecoveryCluster
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
84
 
@@ -359,22 +363,39 @@ module Aws::Route53RecoveryCluster
359
363
 
360
364
  # Get the state for a routing control. A routing control is a simple
361
365
  # on/off switch that you can use to route traffic to cells. When the
362
- # state is On, traffic flows to a cell. When it's off, traffic does not
366
+ # state is On, traffic flows to a cell. When it's Off, traffic does not
363
367
  # flow.
364
368
  #
365
- # Before you can create a routing control, you first must create a
366
- # cluster to host the control. For more information, see
367
- # [CreateCluster][1]. Access one of the endpoints for the cluster to get
368
- # or update the routing control state to redirect traffic.
369
+ # Before you can create a routing control, you must first create a
370
+ # cluster to host the control in a control panel. For more information,
371
+ # see [ Create routing control structures][1] in the Amazon Route 53
372
+ # Application Recovery Controller Developer Guide. Then you access one
373
+ # of the endpoints for the cluster to get or update the routing control
374
+ # state to redirect traffic.
369
375
  #
370
- # For more information about working with routing controls, see [Routing
371
- # control][2] in the Route 53 Application Recovery Controller Developer
372
- # Guide.
376
+ # *You must specify Regional endpoints when you work with API cluster
377
+ # operations to get or update routing control states in Application
378
+ # Recovery Controller.*
373
379
  #
380
+ # To see a code example for getting a routing control state, including
381
+ # accessing Regional cluster endpoints in sequence, see [API
382
+ # examples][2] in the Amazon Route 53 Application Recovery Controller
383
+ # Developer Guide.
374
384
  #
385
+ # Learn more about working with routing controls in the following topics
386
+ # in the Amazon Route 53 Application Recovery Controller Developer
387
+ # Guide:
375
388
  #
376
- # [1]: https://docs.aws.amazon.com/recovery-cluster/latest/api/cluster.html
377
- # [2]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html
389
+ # * [ Viewing and updating routing control states][3]
390
+ #
391
+ # * [Working with routing controls overall][4]
392
+ #
393
+ #
394
+ #
395
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html
396
+ # [2]: https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html
397
+ # [3]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html
398
+ # [4]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html
378
399
  #
379
400
  # @option params [required, String] :routing_control_arn
380
401
  # The Amazon Resource Number (ARN) for the routing control that you want
@@ -407,15 +428,44 @@ module Aws::Route53RecoveryCluster
407
428
 
408
429
  # Set the state of the routing control to reroute traffic. You can set
409
430
  # the value to be On or Off. When the state is On, traffic flows to a
410
- # cell. When it's off, traffic does not flow.
431
+ # cell. When it's Off, traffic does not flow.
432
+ #
433
+ # With Application Recovery Controller, you can add safety rules for
434
+ # routing controls, which are safeguards for routing control state
435
+ # updates that help prevent unexpected outcomes, like fail open traffic
436
+ # routing. However, there are scenarios when you might want to bypass
437
+ # the routing control safeguards that are enforced with safety rules
438
+ # that you've configured. For example, you might want to fail over
439
+ # quickly for disaster recovery, and one or more safety rules might be
440
+ # unexpectedly preventing you from updating a routing control state to
441
+ # reroute traffic. In a "break glass" scenario like this, you can
442
+ # override one or more safety rules to change a routing control state
443
+ # and fail over your application.
444
+ #
445
+ # The `SafetyRulesToOverride` property enables you override one or more
446
+ # safety rules and update routing control states. For more information,
447
+ # see [ Override safety rules to reroute traffic][1] in the Amazon Route
448
+ # 53 Application Recovery Controller Developer Guide.
411
449
  #
412
- # For more information about working with routing controls, see [Routing
413
- # control][1] in the Route 53 Application Recovery Controller Developer
414
- # Guide.
450
+ # *You must specify Regional endpoints when you work with API cluster
451
+ # operations to get or update routing control states in Application
452
+ # Recovery Controller.*
415
453
  #
454
+ # To see a code example for getting a routing control state, including
455
+ # accessing Regional cluster endpoints in sequence, see [API
456
+ # examples][2] in the Amazon Route 53 Application Recovery Controller
457
+ # Developer Guide.
416
458
  #
459
+ # * [ Viewing and updating routing control states][3]
417
460
  #
418
- # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html
461
+ # * [Working with routing controls overall][4]
462
+ #
463
+ #
464
+ #
465
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html
466
+ # [2]: https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html
467
+ # [3]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html
468
+ # [4]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html
419
469
  #
420
470
  # @option params [required, String] :routing_control_arn
421
471
  # The Amazon Resource Number (ARN) for the routing control that you want
@@ -425,6 +475,20 @@ module Aws::Route53RecoveryCluster
425
475
  # The state of the routing control. You can set the value to be On or
426
476
  # Off.
427
477
  #
478
+ # @option params [Array<String>] :safety_rules_to_override
479
+ # The Amazon Resource Numbers (ARNs) for the safety rules that you want
480
+ # to override when you're updating the state of a routing control. You
481
+ # can override one safety rule or multiple safety rules by including one
482
+ # or more ARNs, separated by commas.
483
+ #
484
+ # For more information, see [ Override safety rules to reroute
485
+ # traffic][1] in the Amazon Route 53 Application Recovery Controller
486
+ # Developer Guide.
487
+ #
488
+ #
489
+ #
490
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html
491
+ #
428
492
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
429
493
  #
430
494
  # @example Request syntax with placeholder values
@@ -432,6 +496,7 @@ module Aws::Route53RecoveryCluster
432
496
  # resp = client.update_routing_control_state({
433
497
  # routing_control_arn: "Arn", # required
434
498
  # routing_control_state: "On", # required, accepts On, Off
499
+ # safety_rules_to_override: ["Arn"],
435
500
  # })
436
501
  #
437
502
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlState AWS API Documentation
@@ -445,19 +510,62 @@ module Aws::Route53RecoveryCluster
445
510
 
446
511
  # Set multiple routing control states. You can set the value for each
447
512
  # state to be On or Off. When the state is On, traffic flows to a cell.
448
- # When it's off, traffic does not flow.
513
+ # When it's Off, traffic does not flow.
514
+ #
515
+ # With Application Recovery Controller, you can add safety rules for
516
+ # routing controls, which are safeguards for routing control state
517
+ # updates that help prevent unexpected outcomes, like fail open traffic
518
+ # routing. However, there are scenarios when you might want to bypass
519
+ # the routing control safeguards that are enforced with safety rules
520
+ # that you've configured. For example, you might want to fail over
521
+ # quickly for disaster recovery, and one or more safety rules might be
522
+ # unexpectedly preventing you from updating a routing control state to
523
+ # reroute traffic. In a "break glass" scenario like this, you can
524
+ # override one or more safety rules to change a routing control state
525
+ # and fail over your application.
526
+ #
527
+ # The `SafetyRulesToOverride` property enables you override one or more
528
+ # safety rules and update routing control states. For more information,
529
+ # see [ Override safety rules to reroute traffic][1] in the Amazon Route
530
+ # 53 Application Recovery Controller Developer Guide.
531
+ #
532
+ # *You must specify Regional endpoints when you work with API cluster
533
+ # operations to get or update routing control states in Application
534
+ # Recovery Controller.*
535
+ #
536
+ # To see a code example for getting a routing control state, including
537
+ # accessing Regional cluster endpoints in sequence, see [API
538
+ # examples][2] in the Amazon Route 53 Application Recovery Controller
539
+ # Developer Guide.
449
540
  #
450
- # For more information about working with routing controls, see [Routing
451
- # control][1] in the Route 53 Application Recovery Controller Developer
452
- # Guide.
541
+ # * [ Viewing and updating routing control states][3]
453
542
  #
543
+ # * [Working with routing controls overall][4]
454
544
  #
455
545
  #
456
- # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html
546
+ #
547
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html
548
+ # [2]: https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html
549
+ # [3]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html
550
+ # [4]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html
457
551
  #
458
552
  # @option params [required, Array<Types::UpdateRoutingControlStateEntry>] :update_routing_control_state_entries
459
553
  # A set of routing control entries that you want to update.
460
554
  #
555
+ # @option params [Array<String>] :safety_rules_to_override
556
+ # The Amazon Resource Numbers (ARNs) for the safety rules that you want
557
+ # to override when you're updating routing control states. You can
558
+ # override one safety rule or multiple safety rules by including one or
559
+ # more ARNs, separated by commas.
560
+ #
561
+ # For more information, see [ Override safety rules to reroute
562
+ # traffic][1] in the Amazon Route 53 Application Recovery Controller
563
+ # Developer Guide.
564
+ #
565
+ #
566
+ #
567
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html
568
+ #
461
569
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
462
570
  #
463
571
  # @example Request syntax with placeholder values
@@ -469,6 +577,7 @@ module Aws::Route53RecoveryCluster
469
577
  # routing_control_state: "On", # required, accepts On, Off
470
578
  # },
471
579
  # ],
580
+ # safety_rules_to_override: ["Arn"],
472
581
  # })
473
582
  #
474
583
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlStates AWS API Documentation
@@ -493,7 +602,7 @@ module Aws::Route53RecoveryCluster
493
602
  params: params,
494
603
  config: config)
495
604
  context[:gem_name] = 'aws-sdk-route53recoverycluster'
496
- context[:gem_version] = '1.7.0'
605
+ context[:gem_version] = '1.10.0'
497
606
  Seahorse::Client::Request.new(handlers, context)
498
607
  end
499
608
 
@@ -15,6 +15,7 @@ module Aws::Route53RecoveryCluster
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  Arn = Shapes::StringShape.new(name: 'Arn')
18
+ Arns = Shapes::ListShape.new(name: 'Arns')
18
19
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
20
  EndpointTemporarilyUnavailableException = Shapes::StructureShape.new(name: 'EndpointTemporarilyUnavailableException')
20
21
  GetRoutingControlStateRequest = Shapes::StructureShape.new(name: 'GetRoutingControlStateRequest')
@@ -39,6 +40,8 @@ module Aws::Route53RecoveryCluster
39
40
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
40
41
  AccessDeniedException.struct_class = Types::AccessDeniedException
41
42
 
43
+ Arns.member = Shapes::ShapeRef.new(shape: Arn)
44
+
42
45
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
43
46
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
44
47
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -75,11 +78,13 @@ module Aws::Route53RecoveryCluster
75
78
 
76
79
  UpdateRoutingControlStateRequest.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoutingControlArn"))
77
80
  UpdateRoutingControlStateRequest.add_member(:routing_control_state, Shapes::ShapeRef.new(shape: RoutingControlState, required: true, location_name: "RoutingControlState"))
81
+ UpdateRoutingControlStateRequest.add_member(:safety_rules_to_override, Shapes::ShapeRef.new(shape: Arns, location_name: "SafetyRulesToOverride"))
78
82
  UpdateRoutingControlStateRequest.struct_class = Types::UpdateRoutingControlStateRequest
79
83
 
80
84
  UpdateRoutingControlStateResponse.struct_class = Types::UpdateRoutingControlStateResponse
81
85
 
82
86
  UpdateRoutingControlStatesRequest.add_member(:update_routing_control_state_entries, Shapes::ShapeRef.new(shape: UpdateRoutingControlStateEntries, required: true, location_name: "UpdateRoutingControlStateEntries"))
87
+ UpdateRoutingControlStatesRequest.add_member(:safety_rules_to_override, Shapes::ShapeRef.new(shape: Arns, location_name: "SafetyRulesToOverride"))
83
88
  UpdateRoutingControlStatesRequest.struct_class = Types::UpdateRoutingControlStatesRequest
84
89
 
85
90
  UpdateRoutingControlStatesResponse.struct_class = Types::UpdateRoutingControlStatesResponse
@@ -157,7 +157,7 @@ module Aws::Route53RecoveryCluster
157
157
  include Aws::Structure
158
158
  end
159
159
 
160
- # A routing control state.
160
+ # A routing control state entry.
161
161
  #
162
162
  # @note When making an API call, you may pass UpdateRoutingControlStateEntry
163
163
  # data as a hash:
@@ -168,8 +168,7 @@ module Aws::Route53RecoveryCluster
168
168
  # }
169
169
  #
170
170
  # @!attribute [rw] routing_control_arn
171
- # The Amazon Resource Number (ARN) for the routing control state
172
- # entry.
171
+ # The Amazon Resource Number (ARN) for a routing control state entry.
173
172
  # @return [String]
174
173
  #
175
174
  # @!attribute [rw] routing_control_state
@@ -191,6 +190,7 @@ module Aws::Route53RecoveryCluster
191
190
  # {
192
191
  # routing_control_arn: "Arn", # required
193
192
  # routing_control_state: "On", # required, accepts On, Off
193
+ # safety_rules_to_override: ["Arn"],
194
194
  # }
195
195
  #
196
196
  # @!attribute [rw] routing_control_arn
@@ -203,11 +203,27 @@ module Aws::Route53RecoveryCluster
203
203
  # Off.
204
204
  # @return [String]
205
205
  #
206
+ # @!attribute [rw] safety_rules_to_override
207
+ # The Amazon Resource Numbers (ARNs) for the safety rules that you
208
+ # want to override when you're updating the state of a routing
209
+ # control. You can override one safety rule or multiple safety rules
210
+ # by including one or more ARNs, separated by commas.
211
+ #
212
+ # For more information, see [ Override safety rules to reroute
213
+ # traffic][1] in the Amazon Route 53 Application Recovery Controller
214
+ # Developer Guide.
215
+ #
216
+ #
217
+ #
218
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html
219
+ # @return [Array<String>]
220
+ #
206
221
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlStateRequest AWS API Documentation
207
222
  #
208
223
  class UpdateRoutingControlStateRequest < Struct.new(
209
224
  :routing_control_arn,
210
- :routing_control_state)
225
+ :routing_control_state,
226
+ :safety_rules_to_override)
211
227
  SENSITIVE = []
212
228
  include Aws::Structure
213
229
  end
@@ -226,16 +242,33 @@ module Aws::Route53RecoveryCluster
226
242
  # routing_control_state: "On", # required, accepts On, Off
227
243
  # },
228
244
  # ],
245
+ # safety_rules_to_override: ["Arn"],
229
246
  # }
230
247
  #
231
248
  # @!attribute [rw] update_routing_control_state_entries
232
249
  # A set of routing control entries that you want to update.
233
250
  # @return [Array<Types::UpdateRoutingControlStateEntry>]
234
251
  #
252
+ # @!attribute [rw] safety_rules_to_override
253
+ # The Amazon Resource Numbers (ARNs) for the safety rules that you
254
+ # want to override when you're updating routing control states. You
255
+ # can override one safety rule or multiple safety rules by including
256
+ # one or more ARNs, separated by commas.
257
+ #
258
+ # For more information, see [ Override safety rules to reroute
259
+ # traffic][1] in the Amazon Route 53 Application Recovery Controller
260
+ # Developer Guide.
261
+ #
262
+ #
263
+ #
264
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html
265
+ # @return [Array<String>]
266
+ #
235
267
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlStatesRequest AWS API Documentation
236
268
  #
237
269
  class UpdateRoutingControlStatesRequest < Struct.new(
238
- :update_routing_control_state_entries)
270
+ :update_routing_control_state_entries,
271
+ :safety_rules_to_override)
239
272
  SENSITIVE = []
240
273
  include Aws::Structure
241
274
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-route53recoverycluster/customizations'
48
48
  # @!group service
49
49
  module Aws::Route53RecoveryCluster
50
50
 
51
- GEM_VERSION = '1.7.0'
51
+ GEM_VERSION = '1.10.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-route53recoverycluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.10.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: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement