aws-sdk-route53recoverycontrolconfig 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e187ccfe9c9edf065ec9e70e86333a2cfaf62474d5732d2f93d5b5b89478a2e
4
- data.tar.gz: 23f1578b2df82d03a49e92500269a21944dbc78c1728a48890dcea83b57f2730
3
+ metadata.gz: 411c5cd755eb534f21b5823eb4ab72fa4c3b6e019ee9e5492f3c6b4d151933ac
4
+ data.tar.gz: b18a3f27f7b284829c1e95b80c97c8c0999fa766ca9b9282af18e3a0fa3dd255
5
5
  SHA512:
6
- metadata.gz: 807ab9b762dbde7b4de9daf63f987df4fa2e63f052e18d1fe5c30fc6753a8954551101768bb7d78bdb615af8ce0349b43e56ec0837f5d2f35b99e5d516781770
7
- data.tar.gz: 9b8d9f9e2f72d80993fb013055eaadb39a26e17b5b1331c065387210b82abe4efd644340a957f3f4cc04dd385c2ef125355c49c875e0fcefccf5ddc88869d6b8
6
+ metadata.gz: dc884316ff5caf0effcf8e19b4e0e227e4179809ce8735cde4eb4875c5a3301b0ce580d820010d0f5b4b87fc37e2e7055e4c4f2919f5c4cc47040c4c4dbff45b
7
+ data.tar.gz: 99acd3d9ab5845f88f06e227c73761b43248d95ecda08e2814b8ed8963ced763a21177ba9f85589eb512070d278ded2c410fcfccf9acd52881521417cbcf1d99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2021-12-09)
5
+ ------------------
6
+
7
+ * Feature - This release adds tagging supports to Route53 Recovery Control Configuration. New APIs: TagResource, UntagResource and ListTagsForResource. Updates: add optional field `tags` to support tagging while calling CreateCluster, CreateControlPanel and CreateSafetyRule.
8
+
4
9
  1.6.0 (2021-11-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.7.0
@@ -343,11 +343,12 @@ module Aws::Route53RecoveryControlConfig
343
343
  # state of one or more routing controls. Each cluster has a name,
344
344
  # status, Amazon Resource Name (ARN), and an array of the five cluster
345
345
  # endpoints (one for each supported Amazon Web Services Region) that you
346
- # can use with API calls to the Amazon Route 53 Application Recovery
347
- # Controller cluster data plane.
346
+ # can use with API calls to the cluster data plane.
348
347
  #
349
348
  # @option params [String] :client_token
350
- # Unique client idempotency token.
349
+ # A unique, case-sensitive string of up to 64 ASCII characters. To make
350
+ # an idempotent API request with an action, specify a client token in
351
+ # the request.
351
352
  #
352
353
  # **A suitable default value is auto-generated.** You should normally
353
354
  # not need to pass this option.**
@@ -355,6 +356,9 @@ module Aws::Route53RecoveryControlConfig
355
356
  # @option params [required, String] :cluster_name
356
357
  # The name of the cluster.
357
358
  #
359
+ # @option params [Hash<String,String>] :tags
360
+ # The tags associated with the cluster.
361
+ #
358
362
  # @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
359
363
  #
360
364
  # * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
@@ -362,8 +366,11 @@ module Aws::Route53RecoveryControlConfig
362
366
  # @example Request syntax with placeholder values
363
367
  #
364
368
  # resp = client.create_cluster({
365
- # client_token: "__stringMax64",
369
+ # client_token: "__stringMin1Max64PatternS",
366
370
  # cluster_name: "__stringMin1Max64PatternS", # required
371
+ # tags: {
372
+ # "__string" => "__stringMin0Max256PatternS",
373
+ # },
367
374
  # })
368
375
  #
369
376
  # @example Response structure
@@ -389,10 +396,12 @@ module Aws::Route53RecoveryControlConfig
389
396
  # You can use a control panel to centrally view the operational status
390
397
  # of applications across your organization, and trigger multi-app
391
398
  # failovers in a single transaction, for example, to fail over an
392
- # Availability Zone or AWS Region.
399
+ # Availability Zone or Amazon Web Services Region.
393
400
  #
394
401
  # @option params [String] :client_token
395
- # Unique client idempotency token.
402
+ # A unique, case-sensitive string of up to 64 ASCII characters. To make
403
+ # an idempotent API request with an action, specify a client token in
404
+ # the request.
396
405
  #
397
406
  # **A suitable default value is auto-generated.** You should normally
398
407
  # not need to pass this option.**
@@ -403,6 +412,9 @@ module Aws::Route53RecoveryControlConfig
403
412
  # @option params [required, String] :control_panel_name
404
413
  # The name of the control panel.
405
414
  #
415
+ # @option params [Hash<String,String>] :tags
416
+ # The tags associated with the control panel.
417
+ #
406
418
  # @return [Types::CreateControlPanelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
407
419
  #
408
420
  # * {Types::CreateControlPanelResponse#control_panel #control_panel} => Types::ControlPanel
@@ -410,9 +422,12 @@ module Aws::Route53RecoveryControlConfig
410
422
  # @example Request syntax with placeholder values
411
423
  #
412
424
  # resp = client.create_control_panel({
413
- # client_token: "__stringMax64",
414
- # cluster_arn: "__string", # required
425
+ # client_token: "__stringMin1Max64PatternS",
426
+ # cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
415
427
  # control_panel_name: "__stringMin1Max64PatternS", # required
428
+ # tags: {
429
+ # "__string" => "__stringMin0Max256PatternS",
430
+ # },
416
431
  # })
417
432
  #
418
433
  # @example Response structure
@@ -444,7 +459,9 @@ module Aws::Route53RecoveryControlConfig
444
459
  # Controller.
445
460
  #
446
461
  # @option params [String] :client_token
447
- # Unique client idempotency token.
462
+ # A unique, case-sensitive string of up to 64 ASCII characters. To make
463
+ # an idempotent API request with an action, specify a client token in
464
+ # the request.
448
465
  #
449
466
  # **A suitable default value is auto-generated.** You should normally
450
467
  # not need to pass this option.**
@@ -467,9 +484,9 @@ module Aws::Route53RecoveryControlConfig
467
484
  # @example Request syntax with placeholder values
468
485
  #
469
486
  # resp = client.create_routing_control({
470
- # client_token: "__stringMax64",
471
- # cluster_arn: "__string", # required
472
- # control_panel_arn: "__string",
487
+ # client_token: "__stringMin1Max64PatternS",
488
+ # cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
489
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09",
473
490
  # routing_control_name: "__stringMin1Max64PatternS", # required
474
491
  # })
475
492
  #
@@ -490,32 +507,46 @@ module Aws::Route53RecoveryControlConfig
490
507
  end
491
508
 
492
509
  # Creates a safety rule in a control panel. Safety rules let you add
493
- # safeguards around enabling and disabling routing controls, to help
494
- # prevent unexpected outcomes.
510
+ # safeguards around changing routing control states, and for enabling
511
+ # and disabling routing controls, to help prevent unexpected outcomes.
495
512
  #
496
513
  # There are two types of safety rules: assertion rules and gating rules.
497
514
  #
498
- # Assertion rule: An assertion rule enforces that, when a routing
499
- # control state is changed, the criteria set by the rule configuration
500
- # is met. Otherwise, the change to the routing control is not accepted.
515
+ # Assertion rule: An assertion rule enforces that, when you change a
516
+ # routing control state, that a certain criteria is met. For example,
517
+ # the criteria might be that at least one routing control state is On
518
+ # after the transation so that traffic continues to flow to at least one
519
+ # cell for the application. This ensures that you avoid a fail-open
520
+ # scenario.
521
+ #
522
+ # Gating rule: A gating rule lets you configure a gating routing control
523
+ # as an overall "on/off" switch for a group of routing controls. Or,
524
+ # you can configure more complex gating scenarios, for example by
525
+ # configuring multiple gating routing controls.
526
+ #
527
+ # For more information, see [Safety rules][1] in the Amazon Route 53
528
+ # Application Recovery Controller Developer Guide.
501
529
  #
502
- # Gating rule: A gating rule verifies that a set of gating controls
503
- # evaluates as true, based on a rule configuration that you specify. If
504
- # the gating rule evaluates to true, Amazon Route 53 Application
505
- # Recovery Controller allows a set of routing control state changes to
506
- # run and complete against the set of target controls.
530
+ #
531
+ #
532
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.safety-rules.html
507
533
  #
508
534
  # @option params [Types::NewAssertionRule] :assertion_rule
509
- # A new assertion rule for a control panel.
535
+ # The assertion rule requested.
510
536
  #
511
537
  # @option params [String] :client_token
512
- # Unique client idempotency token.
538
+ # A unique, case-sensitive string of up to 64 ASCII characters. To make
539
+ # an idempotent API request with an action, specify a client token in
540
+ # the request.
513
541
  #
514
542
  # **A suitable default value is auto-generated.** You should normally
515
543
  # not need to pass this option.**
516
544
  #
517
545
  # @option params [Types::NewGatingRule] :gating_rule
518
- # A new gating rule for a control panel.
546
+ # The gating rule requested.
547
+ #
548
+ # @option params [Hash<String,String>] :tags
549
+ # The tags associated with the safety rule.
519
550
  #
520
551
  # @return [Types::CreateSafetyRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
521
552
  #
@@ -526,8 +557,8 @@ module Aws::Route53RecoveryControlConfig
526
557
  #
527
558
  # resp = client.create_safety_rule({
528
559
  # assertion_rule: {
529
- # asserted_controls: ["__string"], # required
530
- # control_panel_arn: "__string", # required
560
+ # asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
561
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
531
562
  # name: "__stringMin1Max64PatternS", # required
532
563
  # rule_config: { # required
533
564
  # inverted: false, # required
@@ -536,19 +567,22 @@ module Aws::Route53RecoveryControlConfig
536
567
  # },
537
568
  # wait_period_ms: 1, # required
538
569
  # },
539
- # client_token: "__stringMax64",
570
+ # client_token: "__stringMin1Max64PatternS",
540
571
  # gating_rule: {
541
- # control_panel_arn: "__string", # required
542
- # gating_controls: ["__string"], # required
572
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
573
+ # gating_controls: ["__stringMin1Max256PatternAZaZ09"], # required
543
574
  # name: "__stringMin1Max64PatternS", # required
544
575
  # rule_config: { # required
545
576
  # inverted: false, # required
546
577
  # threshold: 1, # required
547
578
  # type: "ATLEAST", # required, accepts ATLEAST, AND, OR
548
579
  # },
549
- # target_controls: ["__string"], # required
580
+ # target_controls: ["__stringMin1Max256PatternAZaZ09"], # required
550
581
  # wait_period_ms: 1, # required
551
582
  # },
583
+ # tags: {
584
+ # "__string" => "__stringMin0Max256PatternS",
585
+ # },
552
586
  # })
553
587
  #
554
588
  # @example Response structure
@@ -791,8 +825,7 @@ module Aws::Route53RecoveryControlConfig
791
825
  req.send_request(options)
792
826
  end
793
827
 
794
- # Describes the safety rules (that is, the assertion rules and gating
795
- # rules) for the routing controls in a control panel.
828
+ # Returns information about a safety rule.
796
829
  #
797
830
  # @option params [required, String] :safety_rule_arn
798
831
  #
@@ -920,7 +953,7 @@ module Aws::Route53RecoveryControlConfig
920
953
  req.send_request(options)
921
954
  end
922
955
 
923
- # Returns an array of control panels for a cluster.
956
+ # Returns an array of control panels in an account or in a cluster.
924
957
  #
925
958
  # @option params [String] :cluster_arn
926
959
  #
@@ -1068,6 +1101,85 @@ module Aws::Route53RecoveryControlConfig
1068
1101
  req.send_request(options)
1069
1102
  end
1070
1103
 
1104
+ # Lists the tags for a resource.
1105
+ #
1106
+ # @option params [required, String] :resource_arn
1107
+ #
1108
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1109
+ #
1110
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1111
+ #
1112
+ # @example Request syntax with placeholder values
1113
+ #
1114
+ # resp = client.list_tags_for_resource({
1115
+ # resource_arn: "__string", # required
1116
+ # })
1117
+ #
1118
+ # @example Response structure
1119
+ #
1120
+ # resp.tags #=> Hash
1121
+ # resp.tags["__string"] #=> String
1122
+ #
1123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResource AWS API Documentation
1124
+ #
1125
+ # @overload list_tags_for_resource(params = {})
1126
+ # @param [Hash] params ({})
1127
+ def list_tags_for_resource(params = {}, options = {})
1128
+ req = build_request(:list_tags_for_resource, params)
1129
+ req.send_request(options)
1130
+ end
1131
+
1132
+ # Adds a tag to a resource.
1133
+ #
1134
+ # @option params [required, String] :resource_arn
1135
+ #
1136
+ # @option params [required, Hash<String,String>] :tags
1137
+ # The tags associated with the resource.
1138
+ #
1139
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1140
+ #
1141
+ # @example Request syntax with placeholder values
1142
+ #
1143
+ # resp = client.tag_resource({
1144
+ # resource_arn: "__string", # required
1145
+ # tags: { # required
1146
+ # "__string" => "__stringMin0Max256PatternS",
1147
+ # },
1148
+ # })
1149
+ #
1150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource AWS API Documentation
1151
+ #
1152
+ # @overload tag_resource(params = {})
1153
+ # @param [Hash] params ({})
1154
+ def tag_resource(params = {}, options = {})
1155
+ req = build_request(:tag_resource, params)
1156
+ req.send_request(options)
1157
+ end
1158
+
1159
+ # Removes a tag from a resource.
1160
+ #
1161
+ # @option params [required, String] :resource_arn
1162
+ #
1163
+ # @option params [required, Array<String>] :tag_keys
1164
+ #
1165
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1166
+ #
1167
+ # @example Request syntax with placeholder values
1168
+ #
1169
+ # resp = client.untag_resource({
1170
+ # resource_arn: "__string", # required
1171
+ # tag_keys: ["__string"], # required
1172
+ # })
1173
+ #
1174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource AWS API Documentation
1175
+ #
1176
+ # @overload untag_resource(params = {})
1177
+ # @param [Hash] params ({})
1178
+ def untag_resource(params = {}, options = {})
1179
+ req = build_request(:untag_resource, params)
1180
+ req.send_request(options)
1181
+ end
1182
+
1071
1183
  # Updates a control panel. The only update you can make to a control
1072
1184
  # panel is to change the name of the control panel.
1073
1185
  #
@@ -1084,7 +1196,7 @@ module Aws::Route53RecoveryControlConfig
1084
1196
  # @example Request syntax with placeholder values
1085
1197
  #
1086
1198
  # resp = client.update_control_panel({
1087
- # control_panel_arn: "__string", # required
1199
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
1088
1200
  # control_panel_name: "__stringMin1Max64PatternS", # required
1089
1201
  # })
1090
1202
  #
@@ -1124,7 +1236,7 @@ module Aws::Route53RecoveryControlConfig
1124
1236
  # @example Request syntax with placeholder values
1125
1237
  #
1126
1238
  # resp = client.update_routing_control({
1127
- # routing_control_arn: "__string", # required
1239
+ # routing_control_arn: "__stringMin1Max256PatternAZaZ09", # required
1128
1240
  # routing_control_name: "__stringMin1Max64PatternS", # required
1129
1241
  # })
1130
1242
  #
@@ -1144,20 +1256,15 @@ module Aws::Route53RecoveryControlConfig
1144
1256
  req.send_request(options)
1145
1257
  end
1146
1258
 
1147
- # Update a safety rule (an assertion rule or gating rule) for the
1148
- # routing controls in a control panel. You can only update the name and
1149
- # the waiting period for a safety rule. To make other updates, delete
1150
- # the safety rule and create a new safety rule.
1259
+ # Update a safety rule (an assertion rule or gating rule). You can only
1260
+ # update the name and the waiting period for a safety rule. To make
1261
+ # other updates, delete the safety rule and create a new one.
1151
1262
  #
1152
1263
  # @option params [Types::AssertionRuleUpdate] :assertion_rule_update
1153
- # An update to an assertion rule. You can update the name or the
1154
- # evaluation period (wait period). If you don't specify one of the
1155
- # items to update, the item is unchanged.
1264
+ # The assertion rule to update.
1156
1265
  #
1157
1266
  # @option params [Types::GatingRuleUpdate] :gating_rule_update
1158
- # Update to a gating rule. You can update the name or the evaluation
1159
- # period (wait period). If you don't specify one of the items to
1160
- # update, the item is unchanged.
1267
+ # The gating rule to update.
1161
1268
  #
1162
1269
  # @return [Types::UpdateSafetyRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1163
1270
  #
@@ -1169,12 +1276,12 @@ module Aws::Route53RecoveryControlConfig
1169
1276
  # resp = client.update_safety_rule({
1170
1277
  # assertion_rule_update: {
1171
1278
  # name: "__stringMin1Max64PatternS", # required
1172
- # safety_rule_arn: "__string", # required
1279
+ # safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
1173
1280
  # wait_period_ms: 1, # required
1174
1281
  # },
1175
1282
  # gating_rule_update: {
1176
1283
  # name: "__stringMin1Max64PatternS", # required
1177
- # safety_rule_arn: "__string", # required
1284
+ # safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
1178
1285
  # wait_period_ms: 1, # required
1179
1286
  # },
1180
1287
  # })
@@ -1226,7 +1333,7 @@ module Aws::Route53RecoveryControlConfig
1226
1333
  params: params,
1227
1334
  config: config)
1228
1335
  context[:gem_name] = 'aws-sdk-route53recoverycontrolconfig'
1229
- context[:gem_version] = '1.6.0'
1336
+ context[:gem_version] = '1.7.0'
1230
1337
  Seahorse::Client::Request.new(handlers, context)
1231
1338
  end
1232
1339