aws-sdk-route53recoverycontrolconfig 1.3.0 → 1.7.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: 156cd7bb6e1db9528dc0a198792bb0a4242c9e023c8a0e114cb2b5a801162d52
4
- data.tar.gz: 6978634d4b78234e4c906c246edb54c900b7053e515fa8c0177821f0ff759d0b
3
+ metadata.gz: 411c5cd755eb534f21b5823eb4ab72fa4c3b6e019ee9e5492f3c6b4d151933ac
4
+ data.tar.gz: b18a3f27f7b284829c1e95b80c97c8c0999fa766ca9b9282af18e3a0fa3dd255
5
5
  SHA512:
6
- metadata.gz: 788a80a1ec9e522fc80691e9b3251e26239d48f86aa3ff5d66de26a0407f000e72cb89d719294e7e0de4fbcf520e96089f96d64117c56ea7ccfb2ae41a8beada
7
- data.tar.gz: c26f4bbbd1715d38483d7aa5ceaa8351fc9abc750e2899c6384679e611868c0eb127d51583eaadd0cd8afd7c2017e4dab90787f3a65cc42e47abd666bb9d4414
6
+ metadata.gz: dc884316ff5caf0effcf8e19b4e0e227e4179809ce8735cde4eb4875c5a3301b0ce580d820010d0f5b4b87fc37e2e7055e4c4f2919f5c4cc47040c4c4dbff45b
7
+ data.tar.gz: 99acd3d9ab5845f88f06e227c73761b43248d95ecda08e2814b8ed8963ced763a21177ba9f85589eb512070d278ded2c410fcfccf9acd52881521417cbcf1d99
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
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
+
9
+ 1.6.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.5.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.4.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.3.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.7.0
@@ -119,7 +119,9 @@ module Aws::Route53RecoveryControlConfig
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -275,6 +277,15 @@ module Aws::Route53RecoveryControlConfig
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -332,11 +343,12 @@ module Aws::Route53RecoveryControlConfig
332
343
  # state of one or more routing controls. Each cluster has a name,
333
344
  # status, Amazon Resource Name (ARN), and an array of the five cluster
334
345
  # endpoints (one for each supported Amazon Web Services Region) that you
335
- # can use with API calls to the Amazon Route 53 Application Recovery
336
- # Controller cluster data plane.
346
+ # can use with API calls to the cluster data plane.
337
347
  #
338
348
  # @option params [String] :client_token
339
- # 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.
340
352
  #
341
353
  # **A suitable default value is auto-generated.** You should normally
342
354
  # not need to pass this option.**
@@ -344,6 +356,9 @@ module Aws::Route53RecoveryControlConfig
344
356
  # @option params [required, String] :cluster_name
345
357
  # The name of the cluster.
346
358
  #
359
+ # @option params [Hash<String,String>] :tags
360
+ # The tags associated with the cluster.
361
+ #
347
362
  # @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
348
363
  #
349
364
  # * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
@@ -351,8 +366,11 @@ module Aws::Route53RecoveryControlConfig
351
366
  # @example Request syntax with placeholder values
352
367
  #
353
368
  # resp = client.create_cluster({
354
- # client_token: "__stringMax64",
369
+ # client_token: "__stringMin1Max64PatternS",
355
370
  # cluster_name: "__stringMin1Max64PatternS", # required
371
+ # tags: {
372
+ # "__string" => "__stringMin0Max256PatternS",
373
+ # },
356
374
  # })
357
375
  #
358
376
  # @example Response structure
@@ -378,10 +396,12 @@ module Aws::Route53RecoveryControlConfig
378
396
  # You can use a control panel to centrally view the operational status
379
397
  # of applications across your organization, and trigger multi-app
380
398
  # failovers in a single transaction, for example, to fail over an
381
- # Availability Zone or AWS Region.
399
+ # Availability Zone or Amazon Web Services Region.
382
400
  #
383
401
  # @option params [String] :client_token
384
- # 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.
385
405
  #
386
406
  # **A suitable default value is auto-generated.** You should normally
387
407
  # not need to pass this option.**
@@ -392,6 +412,9 @@ module Aws::Route53RecoveryControlConfig
392
412
  # @option params [required, String] :control_panel_name
393
413
  # The name of the control panel.
394
414
  #
415
+ # @option params [Hash<String,String>] :tags
416
+ # The tags associated with the control panel.
417
+ #
395
418
  # @return [Types::CreateControlPanelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
396
419
  #
397
420
  # * {Types::CreateControlPanelResponse#control_panel #control_panel} => Types::ControlPanel
@@ -399,9 +422,12 @@ module Aws::Route53RecoveryControlConfig
399
422
  # @example Request syntax with placeholder values
400
423
  #
401
424
  # resp = client.create_control_panel({
402
- # client_token: "__stringMax64",
403
- # cluster_arn: "__string", # required
425
+ # client_token: "__stringMin1Max64PatternS",
426
+ # cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
404
427
  # control_panel_name: "__stringMin1Max64PatternS", # required
428
+ # tags: {
429
+ # "__string" => "__stringMin0Max256PatternS",
430
+ # },
405
431
  # })
406
432
  #
407
433
  # @example Response structure
@@ -433,7 +459,9 @@ module Aws::Route53RecoveryControlConfig
433
459
  # Controller.
434
460
  #
435
461
  # @option params [String] :client_token
436
- # 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.
437
465
  #
438
466
  # **A suitable default value is auto-generated.** You should normally
439
467
  # not need to pass this option.**
@@ -456,9 +484,9 @@ module Aws::Route53RecoveryControlConfig
456
484
  # @example Request syntax with placeholder values
457
485
  #
458
486
  # resp = client.create_routing_control({
459
- # client_token: "__stringMax64",
460
- # cluster_arn: "__string", # required
461
- # control_panel_arn: "__string",
487
+ # client_token: "__stringMin1Max64PatternS",
488
+ # cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
489
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09",
462
490
  # routing_control_name: "__stringMin1Max64PatternS", # required
463
491
  # })
464
492
  #
@@ -479,32 +507,46 @@ module Aws::Route53RecoveryControlConfig
479
507
  end
480
508
 
481
509
  # Creates a safety rule in a control panel. Safety rules let you add
482
- # safeguards around enabling and disabling routing controls, to help
483
- # prevent unexpected outcomes.
510
+ # safeguards around changing routing control states, and for enabling
511
+ # and disabling routing controls, to help prevent unexpected outcomes.
484
512
  #
485
513
  # There are two types of safety rules: assertion rules and gating rules.
486
514
  #
487
- # Assertion rule: An assertion rule enforces that, when a routing
488
- # control state is changed, the criteria set by the rule configuration
489
- # 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.
529
+ #
490
530
  #
491
- # Gating rule: A gating rule verifies that a set of gating controls
492
- # evaluates as true, based on a rule configuration that you specify. If
493
- # the gating rule evaluates to true, Amazon Route 53 Application
494
- # Recovery Controller allows a set of routing control state changes to
495
- # run and complete against the set of target controls.
531
+ #
532
+ # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.safety-rules.html
496
533
  #
497
534
  # @option params [Types::NewAssertionRule] :assertion_rule
498
- # A new assertion rule for a control panel.
535
+ # The assertion rule requested.
499
536
  #
500
537
  # @option params [String] :client_token
501
- # 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.
502
541
  #
503
542
  # **A suitable default value is auto-generated.** You should normally
504
543
  # not need to pass this option.**
505
544
  #
506
545
  # @option params [Types::NewGatingRule] :gating_rule
507
- # 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.
508
550
  #
509
551
  # @return [Types::CreateSafetyRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
510
552
  #
@@ -515,8 +557,8 @@ module Aws::Route53RecoveryControlConfig
515
557
  #
516
558
  # resp = client.create_safety_rule({
517
559
  # assertion_rule: {
518
- # asserted_controls: ["__string"], # required
519
- # control_panel_arn: "__string", # required
560
+ # asserted_controls: ["__stringMin1Max256PatternAZaZ09"], # required
561
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
520
562
  # name: "__stringMin1Max64PatternS", # required
521
563
  # rule_config: { # required
522
564
  # inverted: false, # required
@@ -525,19 +567,22 @@ module Aws::Route53RecoveryControlConfig
525
567
  # },
526
568
  # wait_period_ms: 1, # required
527
569
  # },
528
- # client_token: "__stringMax64",
570
+ # client_token: "__stringMin1Max64PatternS",
529
571
  # gating_rule: {
530
- # control_panel_arn: "__string", # required
531
- # gating_controls: ["__string"], # required
572
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
573
+ # gating_controls: ["__stringMin1Max256PatternAZaZ09"], # required
532
574
  # name: "__stringMin1Max64PatternS", # required
533
575
  # rule_config: { # required
534
576
  # inverted: false, # required
535
577
  # threshold: 1, # required
536
578
  # type: "ATLEAST", # required, accepts ATLEAST, AND, OR
537
579
  # },
538
- # target_controls: ["__string"], # required
580
+ # target_controls: ["__stringMin1Max256PatternAZaZ09"], # required
539
581
  # wait_period_ms: 1, # required
540
582
  # },
583
+ # tags: {
584
+ # "__string" => "__stringMin0Max256PatternS",
585
+ # },
541
586
  # })
542
587
  #
543
588
  # @example Response structure
@@ -780,8 +825,7 @@ module Aws::Route53RecoveryControlConfig
780
825
  req.send_request(options)
781
826
  end
782
827
 
783
- # Describes the safety rules (that is, the assertion rules and gating
784
- # rules) for the routing controls in a control panel.
828
+ # Returns information about a safety rule.
785
829
  #
786
830
  # @option params [required, String] :safety_rule_arn
787
831
  #
@@ -909,7 +953,7 @@ module Aws::Route53RecoveryControlConfig
909
953
  req.send_request(options)
910
954
  end
911
955
 
912
- # Returns an array of control panels for a cluster.
956
+ # Returns an array of control panels in an account or in a cluster.
913
957
  #
914
958
  # @option params [String] :cluster_arn
915
959
  #
@@ -1057,6 +1101,85 @@ module Aws::Route53RecoveryControlConfig
1057
1101
  req.send_request(options)
1058
1102
  end
1059
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
+
1060
1183
  # Updates a control panel. The only update you can make to a control
1061
1184
  # panel is to change the name of the control panel.
1062
1185
  #
@@ -1073,7 +1196,7 @@ module Aws::Route53RecoveryControlConfig
1073
1196
  # @example Request syntax with placeholder values
1074
1197
  #
1075
1198
  # resp = client.update_control_panel({
1076
- # control_panel_arn: "__string", # required
1199
+ # control_panel_arn: "__stringMin1Max256PatternAZaZ09", # required
1077
1200
  # control_panel_name: "__stringMin1Max64PatternS", # required
1078
1201
  # })
1079
1202
  #
@@ -1113,7 +1236,7 @@ module Aws::Route53RecoveryControlConfig
1113
1236
  # @example Request syntax with placeholder values
1114
1237
  #
1115
1238
  # resp = client.update_routing_control({
1116
- # routing_control_arn: "__string", # required
1239
+ # routing_control_arn: "__stringMin1Max256PatternAZaZ09", # required
1117
1240
  # routing_control_name: "__stringMin1Max64PatternS", # required
1118
1241
  # })
1119
1242
  #
@@ -1133,20 +1256,15 @@ module Aws::Route53RecoveryControlConfig
1133
1256
  req.send_request(options)
1134
1257
  end
1135
1258
 
1136
- # Update a safety rule (an assertion rule or gating rule) for the
1137
- # routing controls in a control panel. You can only update the name and
1138
- # the waiting period for a safety rule. To make other updates, delete
1139
- # 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.
1140
1262
  #
1141
1263
  # @option params [Types::AssertionRuleUpdate] :assertion_rule_update
1142
- # An update to an assertion rule. You can update the name or the
1143
- # evaluation period (wait period). If you don't specify one of the
1144
- # items to update, the item is unchanged.
1264
+ # The assertion rule to update.
1145
1265
  #
1146
1266
  # @option params [Types::GatingRuleUpdate] :gating_rule_update
1147
- # Update to a gating rule. You can update the name or the evaluation
1148
- # period (wait period). If you don't specify one of the items to
1149
- # update, the item is unchanged.
1267
+ # The gating rule to update.
1150
1268
  #
1151
1269
  # @return [Types::UpdateSafetyRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1152
1270
  #
@@ -1158,12 +1276,12 @@ module Aws::Route53RecoveryControlConfig
1158
1276
  # resp = client.update_safety_rule({
1159
1277
  # assertion_rule_update: {
1160
1278
  # name: "__stringMin1Max64PatternS", # required
1161
- # safety_rule_arn: "__string", # required
1279
+ # safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
1162
1280
  # wait_period_ms: 1, # required
1163
1281
  # },
1164
1282
  # gating_rule_update: {
1165
1283
  # name: "__stringMin1Max64PatternS", # required
1166
- # safety_rule_arn: "__string", # required
1284
+ # safety_rule_arn: "__stringMin1Max256PatternAZaZ09", # required
1167
1285
  # wait_period_ms: 1, # required
1168
1286
  # },
1169
1287
  # })
@@ -1215,7 +1333,7 @@ module Aws::Route53RecoveryControlConfig
1215
1333
  params: params,
1216
1334
  config: config)
1217
1335
  context[:gem_name] = 'aws-sdk-route53recoverycontrolconfig'
1218
- context[:gem_version] = '1.3.0'
1336
+ context[:gem_version] = '1.7.0'
1219
1337
  Seahorse::Client::Request.new(handlers, context)
1220
1338
  end
1221
1339