aws-sdk-route53recoverycluster 1.9.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: 15b45a22e398f4d22c68de1d15ec4baf0326e9544c08744eb39ad38e5e2eb5eb
4
- data.tar.gz: bfb85370f7ebcf77e442a4baf0b41924219d93877aba0c1b21c3e9c03d75502c
3
+ metadata.gz: f056cc69373080730ec362738dadfae29b85b71725c5fb4a115dffe9a0d93a7b
4
+ data.tar.gz: 41c963fcdad2d37d117b5d098ed9654b484a50838d13f8802f15c59ad458eec3
5
5
  SHA512:
6
- metadata.gz: a719bb50b7e429561425dfc7a868d126f00cf5fc2e8abcbe44c883a82bb3ccafdd54adebe2906bee4fa2ae316e281d8057f3f6f99d63e972eb3a31b0da2e974d
7
- data.tar.gz: fab0a857302fbe9e5d8c750f79387c412416c6a8a24aec990e38fc563a0856507961a090d01348fd279af2b2c973178541fc56351ed6d876de07a6d4c4318d65
6
+ metadata.gz: fdcb8d7886a77419677e60b5691754f187344d6ad179e6d77bc74dae6224010009c50c37a9829e997883b471994170383b4ba689335c8ab9563ce6a427471709
7
+ data.tar.gz: f6c72de1f9feb7b61c6cb53c84afca7f1df171d3e6abb1ff015850eb4f69fb7862b8a94ac1f81ebf2c634d35d845171b0e76f56f3e1114602167005466a27919
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.9.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -363,22 +363,39 @@ module Aws::Route53RecoveryCluster
363
363
 
364
364
  # Get the state for a routing control. A routing control is a simple
365
365
  # on/off switch that you can use to route traffic to cells. When the
366
- # 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
367
367
  # flow.
368
368
  #
369
- # Before you can create a routing control, you first must create a
370
- # cluster to host the control. For more information, see
371
- # [CreateCluster][1]. Access one of the endpoints for the cluster to get
372
- # 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.
373
375
  #
374
- # For more information about working with routing controls, see [Routing
375
- # control][2] in the Route 53 Application Recovery Controller Developer
376
- # 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.*
377
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.
378
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:
379
388
  #
380
- # [1]: https://docs.aws.amazon.com/recovery-cluster/latest/api/cluster.html
381
- # [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
382
399
  #
383
400
  # @option params [required, String] :routing_control_arn
384
401
  # The Amazon Resource Number (ARN) for the routing control that you want
@@ -411,15 +428,44 @@ module Aws::Route53RecoveryCluster
411
428
 
412
429
  # Set the state of the routing control to reroute traffic. You can set
413
430
  # the value to be On or Off. When the state is On, traffic flows to a
414
- # 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.
415
449
  #
416
- # For more information about working with routing controls, see [Routing
417
- # control][1] in the Route 53 Application Recovery Controller Developer
418
- # 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.*
419
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.
420
458
  #
459
+ # * [ Viewing and updating routing control states][3]
421
460
  #
422
- # [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
423
469
  #
424
470
  # @option params [required, String] :routing_control_arn
425
471
  # The Amazon Resource Number (ARN) for the routing control that you want
@@ -429,6 +475,20 @@ module Aws::Route53RecoveryCluster
429
475
  # The state of the routing control. You can set the value to be On or
430
476
  # Off.
431
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
+ #
432
492
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
433
493
  #
434
494
  # @example Request syntax with placeholder values
@@ -436,6 +496,7 @@ module Aws::Route53RecoveryCluster
436
496
  # resp = client.update_routing_control_state({
437
497
  # routing_control_arn: "Arn", # required
438
498
  # routing_control_state: "On", # required, accepts On, Off
499
+ # safety_rules_to_override: ["Arn"],
439
500
  # })
440
501
  #
441
502
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlState AWS API Documentation
@@ -449,19 +510,62 @@ module Aws::Route53RecoveryCluster
449
510
 
450
511
  # Set multiple routing control states. You can set the value for each
451
512
  # state to be On or Off. When the state is On, traffic flows to a cell.
452
- # 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.
453
540
  #
454
- # For more information about working with routing controls, see [Routing
455
- # control][1] in the Route 53 Application Recovery Controller Developer
456
- # Guide.
541
+ # * [ Viewing and updating routing control states][3]
457
542
  #
543
+ # * [Working with routing controls overall][4]
458
544
  #
459
545
  #
460
- # [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
461
551
  #
462
552
  # @option params [required, Array<Types::UpdateRoutingControlStateEntry>] :update_routing_control_state_entries
463
553
  # A set of routing control entries that you want to update.
464
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
+ #
465
569
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
466
570
  #
467
571
  # @example Request syntax with placeholder values
@@ -473,6 +577,7 @@ module Aws::Route53RecoveryCluster
473
577
  # routing_control_state: "On", # required, accepts On, Off
474
578
  # },
475
579
  # ],
580
+ # safety_rules_to_override: ["Arn"],
476
581
  # })
477
582
  #
478
583
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlStates AWS API Documentation
@@ -497,7 +602,7 @@ module Aws::Route53RecoveryCluster
497
602
  params: params,
498
603
  config: config)
499
604
  context[:gem_name] = 'aws-sdk-route53recoverycluster'
500
- context[:gem_version] = '1.9.0'
605
+ context[:gem_version] = '1.10.0'
501
606
  Seahorse::Client::Request.new(handlers, context)
502
607
  end
503
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.9.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.9.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: 2022-02-24 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