@aws-sdk/client-route53-recovery-cluster 3.53.0 → 3.54.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.
- package/CHANGELOG.md +11 -0
- package/README.md +31 -14
- package/dist-cjs/protocols/Aws_json1_0.js +18 -0
- package/dist-es/protocols/Aws_json1_0.js +19 -3
- package/dist-types/Route53RecoveryCluster.d.ts +131 -36
- package/dist-types/Route53RecoveryClusterClient.d.ts +36 -19
- package/dist-types/commands/GetRoutingControlStateCommand.d.ts +30 -10
- package/dist-types/commands/UpdateRoutingControlStateCommand.d.ts +34 -5
- package/dist-types/commands/UpdateRoutingControlStatesCommand.d.ts +33 -4
- package/dist-types/models/models_0.d.ts +18 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Route53RecoveryClusterClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
18
|
|
|
8
19
|
|
package/README.md
CHANGED
|
@@ -7,26 +7,43 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript Route53RecoveryCluster Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<p>Welcome to the
|
|
11
|
-
<p>
|
|
12
|
-
by rerouting traffic
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
<p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
11
|
+
<p>With Amazon Route 53 Application Recovery Controller, you can use routing control with extreme reliability to
|
|
12
|
+
recover applications by rerouting traffic across
|
|
13
|
+
Availability Zones or AWS Regions. Routing controls are simple on/off switches hosted
|
|
14
|
+
on a highly available cluster in Application Recovery Controller. A cluster provides a set of five redundant Regional endpoints against which you
|
|
15
|
+
can run API calls to get or update the state of routing controls. To implement failover, you set
|
|
16
|
+
one routing control on and another one off, to reroute traffic from one Availability Zone or Amazon Web Services Region
|
|
17
|
+
to another. </p>
|
|
18
|
+
<p>
|
|
19
|
+
<i>Be aware that you must specify the Regional endpoints for a cluster when you work with API cluster operations
|
|
20
|
+
to get or update routing control states in Application Recovery Controller.</i> In addition, you must specify the US West (Oregon) Region
|
|
21
|
+
for Application Recovery Controller API calls. For example, use the parameter <code>region us-west-2</code> with AWS CLI commands.
|
|
22
|
+
For more information, see
|
|
23
|
+
<a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.api.html">
|
|
24
|
+
Get and update routing control states using the API</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
25
|
+
<p>This API guide includes information about the API operations for how to get and update routing control states
|
|
26
|
+
in Application Recovery Controller. You also must set up the structures to support routing controls: clusters and control panels.</p>
|
|
27
|
+
<p>For more information about working with routing control in Application Recovery Controller, see the following:</p>
|
|
18
28
|
<ul>
|
|
19
29
|
<li>
|
|
20
|
-
<p>
|
|
21
|
-
|
|
30
|
+
<p>To create clusters, routing controls, and control panels by using the control plane API
|
|
31
|
+
for routing control, see the <a href="https://docs.aws.amazon.com/recovery-cluster/latest/api/">Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller</a>.</p>
|
|
22
32
|
</li>
|
|
23
33
|
<li>
|
|
24
|
-
<p>
|
|
25
|
-
|
|
34
|
+
<p>Learn about the components in recovery control configuration, including clusters,
|
|
35
|
+
routing controls, and control panels. For more information, see
|
|
36
|
+
<a href="https://docs.aws.amazon.com/r53recovery/latest/dg/introduction-components.html#introduction-components-routing">
|
|
37
|
+
Recovery control components</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
26
38
|
</li>
|
|
27
39
|
<li>
|
|
28
|
-
<p>
|
|
29
|
-
|
|
40
|
+
<p>Application Recovery Controller also provides readiness checks that run continually to help make sure that your
|
|
41
|
+
applications are scaled and ready to handle failover traffic. For more information about
|
|
42
|
+
the related API actions, see the <a href="https://docs.aws.amazon.com/recovery-readiness/latest/api/">Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller</a>.</p>
|
|
43
|
+
</li>
|
|
44
|
+
<li>
|
|
45
|
+
<p>For more information about creating resilient applications and preparing for
|
|
46
|
+
recovery readiness with Application Recovery Controller, see the <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/">Amazon Route 53 Application Recovery Controller Developer Guide</a>.</p>
|
|
30
47
|
</li>
|
|
31
48
|
</ul>
|
|
32
49
|
|
|
@@ -257,6 +257,16 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
|
|
|
257
257
|
});
|
|
258
258
|
return smithy_client_1.decorateServiceException(exception, body);
|
|
259
259
|
};
|
|
260
|
+
const serializeAws_json1_0Arns = (input, context) => {
|
|
261
|
+
return input
|
|
262
|
+
.filter((e) => e != null)
|
|
263
|
+
.map((entry) => {
|
|
264
|
+
if (entry === null) {
|
|
265
|
+
return null;
|
|
266
|
+
}
|
|
267
|
+
return entry;
|
|
268
|
+
});
|
|
269
|
+
};
|
|
260
270
|
const serializeAws_json1_0GetRoutingControlStateRequest = (input, context) => {
|
|
261
271
|
return {
|
|
262
272
|
...(input.RoutingControlArn !== undefined &&
|
|
@@ -287,10 +297,18 @@ const serializeAws_json1_0UpdateRoutingControlStateRequest = (input, context) =>
|
|
|
287
297
|
input.RoutingControlArn !== null && { RoutingControlArn: input.RoutingControlArn }),
|
|
288
298
|
...(input.RoutingControlState !== undefined &&
|
|
289
299
|
input.RoutingControlState !== null && { RoutingControlState: input.RoutingControlState }),
|
|
300
|
+
...(input.SafetyRulesToOverride !== undefined &&
|
|
301
|
+
input.SafetyRulesToOverride !== null && {
|
|
302
|
+
SafetyRulesToOverride: serializeAws_json1_0Arns(input.SafetyRulesToOverride, context),
|
|
303
|
+
}),
|
|
290
304
|
};
|
|
291
305
|
};
|
|
292
306
|
const serializeAws_json1_0UpdateRoutingControlStatesRequest = (input, context) => {
|
|
293
307
|
return {
|
|
308
|
+
...(input.SafetyRulesToOverride !== undefined &&
|
|
309
|
+
input.SafetyRulesToOverride !== null && {
|
|
310
|
+
SafetyRulesToOverride: serializeAws_json1_0Arns(input.SafetyRulesToOverride, context),
|
|
311
|
+
}),
|
|
294
312
|
...(input.UpdateRoutingControlStateEntries !== undefined &&
|
|
295
313
|
input.UpdateRoutingControlStateEntries !== null && {
|
|
296
314
|
UpdateRoutingControlStateEntries: serializeAws_json1_0UpdateRoutingControlStateEntries(input.UpdateRoutingControlStateEntries, context),
|
|
@@ -317,6 +317,16 @@ var deserializeAws_json1_0ValidationExceptionResponse = function (parsedOutput,
|
|
|
317
317
|
return [2, __decorateServiceException(exception, body)];
|
|
318
318
|
});
|
|
319
319
|
}); };
|
|
320
|
+
var serializeAws_json1_0Arns = function (input, context) {
|
|
321
|
+
return input
|
|
322
|
+
.filter(function (e) { return e != null; })
|
|
323
|
+
.map(function (entry) {
|
|
324
|
+
if (entry === null) {
|
|
325
|
+
return null;
|
|
326
|
+
}
|
|
327
|
+
return entry;
|
|
328
|
+
});
|
|
329
|
+
};
|
|
320
330
|
var serializeAws_json1_0GetRoutingControlStateRequest = function (input, context) {
|
|
321
331
|
return __assign({}, (input.RoutingControlArn !== undefined &&
|
|
322
332
|
input.RoutingControlArn !== null && { RoutingControlArn: input.RoutingControlArn }));
|
|
@@ -337,12 +347,18 @@ var serializeAws_json1_0UpdateRoutingControlStateEntry = function (input, contex
|
|
|
337
347
|
input.RoutingControlState !== null && { RoutingControlState: input.RoutingControlState }));
|
|
338
348
|
};
|
|
339
349
|
var serializeAws_json1_0UpdateRoutingControlStateRequest = function (input, context) {
|
|
340
|
-
return __assign(__assign({}, (input.RoutingControlArn !== undefined &&
|
|
350
|
+
return __assign(__assign(__assign({}, (input.RoutingControlArn !== undefined &&
|
|
341
351
|
input.RoutingControlArn !== null && { RoutingControlArn: input.RoutingControlArn })), (input.RoutingControlState !== undefined &&
|
|
342
|
-
input.RoutingControlState !== null && { RoutingControlState: input.RoutingControlState }))
|
|
352
|
+
input.RoutingControlState !== null && { RoutingControlState: input.RoutingControlState })), (input.SafetyRulesToOverride !== undefined &&
|
|
353
|
+
input.SafetyRulesToOverride !== null && {
|
|
354
|
+
SafetyRulesToOverride: serializeAws_json1_0Arns(input.SafetyRulesToOverride, context),
|
|
355
|
+
}));
|
|
343
356
|
};
|
|
344
357
|
var serializeAws_json1_0UpdateRoutingControlStatesRequest = function (input, context) {
|
|
345
|
-
return __assign({}, (input.
|
|
358
|
+
return __assign(__assign({}, (input.SafetyRulesToOverride !== undefined &&
|
|
359
|
+
input.SafetyRulesToOverride !== null && {
|
|
360
|
+
SafetyRulesToOverride: serializeAws_json1_0Arns(input.SafetyRulesToOverride, context),
|
|
361
|
+
})), (input.UpdateRoutingControlStateEntries !== undefined &&
|
|
346
362
|
input.UpdateRoutingControlStateEntries !== null && {
|
|
347
363
|
UpdateRoutingControlStateEntries: serializeAws_json1_0UpdateRoutingControlStateEntries(input.UpdateRoutingControlStateEntries, context),
|
|
348
364
|
}));
|
|
@@ -4,61 +4,156 @@ import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommand
|
|
|
4
4
|
import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
|
|
5
5
|
import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
6
6
|
/**
|
|
7
|
-
* <p>Welcome to the
|
|
8
|
-
* <p>
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* <
|
|
7
|
+
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
8
|
+
* <p>With Amazon Route 53 Application Recovery Controller, you can use routing control with extreme reliability to
|
|
9
|
+
* recover applications by rerouting traffic across
|
|
10
|
+
* Availability Zones or AWS Regions. Routing controls are simple on/off switches hosted
|
|
11
|
+
* on a highly available cluster in Application Recovery Controller. A cluster provides a set of five redundant Regional endpoints against which you
|
|
12
|
+
* can run API calls to get or update the state of routing controls. To implement failover, you set
|
|
13
|
+
* one routing control on and another one off, to reroute traffic from one Availability Zone or Amazon Web Services Region
|
|
14
|
+
* to another. </p>
|
|
15
|
+
* <p>
|
|
16
|
+
* <i>Be aware that you must specify the Regional endpoints for a cluster when you work with API cluster operations
|
|
17
|
+
* to get or update routing control states in Application Recovery Controller.</i> In addition, you must specify the US West (Oregon) Region
|
|
18
|
+
* for Application Recovery Controller API calls. For example, use the parameter <code>region us-west-2</code> with AWS CLI commands.
|
|
19
|
+
* For more information, see
|
|
20
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.api.html">
|
|
21
|
+
* Get and update routing control states using the API</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
22
|
+
* <p>This API guide includes information about the API operations for how to get and update routing control states
|
|
23
|
+
* in Application Recovery Controller. You also must set up the structures to support routing controls: clusters and control panels.</p>
|
|
24
|
+
* <p>For more information about working with routing control in Application Recovery Controller, see the following:</p>
|
|
25
|
+
* <ul>
|
|
16
26
|
* <li>
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
27
|
+
* <p>To create clusters, routing controls, and control panels by using the control plane API
|
|
28
|
+
* for routing control, see the <a href="https://docs.aws.amazon.com/recovery-cluster/latest/api/">Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller</a>.</p>
|
|
29
|
+
* </li>
|
|
20
30
|
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
*
|
|
31
|
+
* <p>Learn about the components in recovery control configuration, including clusters,
|
|
32
|
+
* routing controls, and control panels. For more information, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/introduction-components.html#introduction-components-routing">
|
|
34
|
+
* Recovery control components</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
23
35
|
* </li>
|
|
24
36
|
* <li>
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
37
|
+
* <p>Application Recovery Controller also provides readiness checks that run continually to help make sure that your
|
|
38
|
+
* applications are scaled and ready to handle failover traffic. For more information about
|
|
39
|
+
* the related API actions, see the <a href="https://docs.aws.amazon.com/recovery-readiness/latest/api/">Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller</a>.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>For more information about creating resilient applications and preparing for
|
|
43
|
+
* recovery readiness with Application Recovery Controller, see the <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/">Amazon Route 53 Application Recovery Controller Developer Guide</a>.</p>
|
|
44
|
+
* </li>
|
|
28
45
|
* </ul>
|
|
29
46
|
*/
|
|
30
47
|
export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient {
|
|
31
48
|
/**
|
|
32
|
-
* <p>Get the state for a routing control. A routing control is a simple on/off switch
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
49
|
+
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
50
|
+
* can use to route traffic to cells. When the state is On, traffic flows to a cell. When
|
|
51
|
+
* it's Off, traffic does not flow. </p>
|
|
52
|
+
* <p>Before you can create a routing control, you must first create a cluster to host the control
|
|
53
|
+
* in a control panel. For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html">
|
|
54
|
+
* Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
|
|
55
|
+
* Then you access one of the endpoints for the cluster to get or update the routing control state to
|
|
56
|
+
* redirect traffic. </p>
|
|
57
|
+
* <p>
|
|
58
|
+
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
59
|
+
* to get or update routing control states in Application Recovery Controller.</i>
|
|
60
|
+
* </p>
|
|
61
|
+
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
62
|
+
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
63
|
+
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
64
|
+
* <p>Learn more about working with routing controls in the following topics in the
|
|
65
|
+
* Amazon Route 53 Application Recovery Controller Developer Guide:</p>
|
|
66
|
+
* <ul>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>
|
|
69
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
70
|
+
* Viewing and updating routing control states</a>
|
|
71
|
+
* </p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>
|
|
75
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
76
|
+
* </p>
|
|
77
|
+
* </li>
|
|
78
|
+
* </ul>
|
|
42
79
|
*/
|
|
43
80
|
getRoutingControlState(args: GetRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutingControlStateCommandOutput>;
|
|
44
81
|
getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
45
82
|
getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
46
83
|
/**
|
|
47
|
-
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
84
|
+
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
85
|
+
* Off. When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
86
|
+
* flow.</p>
|
|
87
|
+
* <p>With Application Recovery Controller, you can add safety rules for routing controls, which are safeguards for routing
|
|
88
|
+
* control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
|
|
89
|
+
* there are scenarios when you might want to bypass the routing control safeguards that are enforced with
|
|
90
|
+
* safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
|
|
91
|
+
* and one or more safety rules might be unexpectedly preventing you from updating a routing control state to
|
|
92
|
+
* reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change
|
|
93
|
+
* a routing control state and fail over your application.</p>
|
|
94
|
+
* <p>The <code>SafetyRulesToOverride</code> property enables you override one or more safety rules and
|
|
95
|
+
* update routing control states. For more information, see
|
|
96
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
97
|
+
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
98
|
+
* <p>
|
|
99
|
+
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
100
|
+
* to get or update routing control states in Application Recovery Controller.</i>
|
|
101
|
+
* </p>
|
|
102
|
+
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
103
|
+
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
104
|
+
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
105
|
+
* <ul>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>
|
|
108
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
109
|
+
* Viewing and updating routing control states</a>
|
|
110
|
+
* </p>
|
|
111
|
+
* </li>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>
|
|
114
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
115
|
+
* </p>
|
|
116
|
+
* </li>
|
|
117
|
+
* </ul>
|
|
52
118
|
*/
|
|
53
119
|
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStateCommandOutput>;
|
|
54
120
|
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
55
121
|
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
56
122
|
/**
|
|
57
123
|
* <p>Set multiple routing control states. You can set the value for each state to be On or Off.
|
|
58
|
-
* When the state is On, traffic flows to a cell. When it's
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
124
|
+
* When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
125
|
+
* flow.</p>
|
|
126
|
+
* <p>With Application Recovery Controller, you can add safety rules for routing controls, which are safeguards for routing
|
|
127
|
+
* control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
|
|
128
|
+
* there are scenarios when you might want to bypass the routing control safeguards that are enforced with
|
|
129
|
+
* safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
|
|
130
|
+
* and one or more safety rules might be unexpectedly preventing you from updating a routing control state to
|
|
131
|
+
* reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change
|
|
132
|
+
* a routing control state and fail over your application.</p>
|
|
133
|
+
* <p>The <code>SafetyRulesToOverride</code> property enables you override one or more safety rules and
|
|
134
|
+
* update routing control states. For more information, see
|
|
135
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
136
|
+
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
137
|
+
* <p>
|
|
138
|
+
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
139
|
+
* to get or update routing control states in Application Recovery Controller.</i>
|
|
140
|
+
* </p>
|
|
141
|
+
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
142
|
+
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
143
|
+
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
144
|
+
* <ul>
|
|
145
|
+
* <li>
|
|
146
|
+
* <p>
|
|
147
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
148
|
+
* Viewing and updating routing control states</a>
|
|
149
|
+
* </p>
|
|
150
|
+
* </li>
|
|
151
|
+
* <li>
|
|
152
|
+
* <p>
|
|
153
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
154
|
+
* </p>
|
|
155
|
+
* </li>
|
|
156
|
+
* </ul>
|
|
62
157
|
*/
|
|
63
158
|
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStatesCommandOutput>;
|
|
64
159
|
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
|
|
10
10
|
import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
|
|
11
11
|
import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
|
|
@@ -31,7 +31,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
31
31
|
* A function that can calculate the length of a request body.
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
|
-
bodyLengthChecker?:
|
|
34
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
35
35
|
/**
|
|
36
36
|
* A function that converts a stream into an array of bytes.
|
|
37
37
|
* @internal
|
|
@@ -129,27 +129,44 @@ declare type Route53RecoveryClusterClientResolvedConfigType = __SmithyResolvedCo
|
|
|
129
129
|
export interface Route53RecoveryClusterClientResolvedConfig extends Route53RecoveryClusterClientResolvedConfigType {
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
* <p>Welcome to the
|
|
133
|
-
* <p>
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* <
|
|
132
|
+
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
133
|
+
* <p>With Amazon Route 53 Application Recovery Controller, you can use routing control with extreme reliability to
|
|
134
|
+
* recover applications by rerouting traffic across
|
|
135
|
+
* Availability Zones or AWS Regions. Routing controls are simple on/off switches hosted
|
|
136
|
+
* on a highly available cluster in Application Recovery Controller. A cluster provides a set of five redundant Regional endpoints against which you
|
|
137
|
+
* can run API calls to get or update the state of routing controls. To implement failover, you set
|
|
138
|
+
* one routing control on and another one off, to reroute traffic from one Availability Zone or Amazon Web Services Region
|
|
139
|
+
* to another. </p>
|
|
140
|
+
* <p>
|
|
141
|
+
* <i>Be aware that you must specify the Regional endpoints for a cluster when you work with API cluster operations
|
|
142
|
+
* to get or update routing control states in Application Recovery Controller.</i> In addition, you must specify the US West (Oregon) Region
|
|
143
|
+
* for Application Recovery Controller API calls. For example, use the parameter <code>region us-west-2</code> with AWS CLI commands.
|
|
144
|
+
* For more information, see
|
|
145
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.api.html">
|
|
146
|
+
* Get and update routing control states using the API</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
147
|
+
* <p>This API guide includes information about the API operations for how to get and update routing control states
|
|
148
|
+
* in Application Recovery Controller. You also must set up the structures to support routing controls: clusters and control panels.</p>
|
|
149
|
+
* <p>For more information about working with routing control in Application Recovery Controller, see the following:</p>
|
|
150
|
+
* <ul>
|
|
141
151
|
* <li>
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
152
|
+
* <p>To create clusters, routing controls, and control panels by using the control plane API
|
|
153
|
+
* for routing control, see the <a href="https://docs.aws.amazon.com/recovery-cluster/latest/api/">Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller</a>.</p>
|
|
154
|
+
* </li>
|
|
145
155
|
* <li>
|
|
146
|
-
* <p>
|
|
147
|
-
*
|
|
156
|
+
* <p>Learn about the components in recovery control configuration, including clusters,
|
|
157
|
+
* routing controls, and control panels. For more information, see
|
|
158
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/introduction-components.html#introduction-components-routing">
|
|
159
|
+
* Recovery control components</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
148
160
|
* </li>
|
|
149
161
|
* <li>
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
162
|
+
* <p>Application Recovery Controller also provides readiness checks that run continually to help make sure that your
|
|
163
|
+
* applications are scaled and ready to handle failover traffic. For more information about
|
|
164
|
+
* the related API actions, see the <a href="https://docs.aws.amazon.com/recovery-readiness/latest/api/">Recovery Readiness API Reference Guide for Amazon Route 53 Application Recovery Controller</a>.</p>
|
|
165
|
+
* </li>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>For more information about creating resilient applications and preparing for
|
|
168
|
+
* recovery readiness with Application Recovery Controller, see the <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/">Amazon Route 53 Application Recovery Controller Developer Guide</a>.</p>
|
|
169
|
+
* </li>
|
|
153
170
|
* </ul>
|
|
154
171
|
*/
|
|
155
172
|
export declare class Route53RecoveryClusterClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53RecoveryClusterClientResolvedConfig> {
|
|
@@ -7,16 +7,36 @@ export interface GetRoutingControlStateCommandInput extends GetRoutingControlSta
|
|
|
7
7
|
export interface GetRoutingControlStateCommandOutput extends GetRoutingControlStateResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Get the state for a routing control. A routing control is a simple on/off switch
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
10
|
+
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
11
|
+
* can use to route traffic to cells. When the state is On, traffic flows to a cell. When
|
|
12
|
+
* it's Off, traffic does not flow. </p>
|
|
13
|
+
* <p>Before you can create a routing control, you must first create a cluster to host the control
|
|
14
|
+
* in a control panel. For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html">
|
|
15
|
+
* Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
|
|
16
|
+
* Then you access one of the endpoints for the cluster to get or update the routing control state to
|
|
17
|
+
* redirect traffic. </p>
|
|
18
|
+
* <p>
|
|
19
|
+
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
20
|
+
* to get or update routing control states in Application Recovery Controller.</i>
|
|
21
|
+
* </p>
|
|
22
|
+
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
23
|
+
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
24
|
+
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
25
|
+
* <p>Learn more about working with routing controls in the following topics in the
|
|
26
|
+
* Amazon Route 53 Application Recovery Controller Developer Guide:</p>
|
|
27
|
+
* <ul>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
31
|
+
* Viewing and updating routing control states</a>
|
|
32
|
+
* </p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* </ul>
|
|
20
40
|
* @example
|
|
21
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
42
|
* ```javascript
|
|
@@ -7,11 +7,40 @@ export interface UpdateRoutingControlStateCommandInput extends UpdateRoutingCont
|
|
|
7
7
|
export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingControlStateResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
11
|
+
* Off. When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
12
|
+
* flow.</p>
|
|
13
|
+
* <p>With Application Recovery Controller, you can add safety rules for routing controls, which are safeguards for routing
|
|
14
|
+
* control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
|
|
15
|
+
* there are scenarios when you might want to bypass the routing control safeguards that are enforced with
|
|
16
|
+
* safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
|
|
17
|
+
* and one or more safety rules might be unexpectedly preventing you from updating a routing control state to
|
|
18
|
+
* reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change
|
|
19
|
+
* a routing control state and fail over your application.</p>
|
|
20
|
+
* <p>The <code>SafetyRulesToOverride</code> property enables you override one or more safety rules and
|
|
21
|
+
* update routing control states. For more information, see
|
|
22
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
23
|
+
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
24
|
+
* <p>
|
|
25
|
+
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
26
|
+
* to get or update routing control states in Application Recovery Controller.</i>
|
|
27
|
+
* </p>
|
|
28
|
+
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
29
|
+
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
30
|
+
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
35
|
+
* Viewing and updating routing control states</a>
|
|
36
|
+
* </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
41
|
+
* </p>
|
|
42
|
+
* </li>
|
|
43
|
+
* </ul>
|
|
15
44
|
* @example
|
|
16
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
46
|
* ```javascript
|
|
@@ -8,10 +8,39 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Set multiple routing control states. You can set the value for each state to be On or Off.
|
|
11
|
-
* When the state is On, traffic flows to a cell. When it's
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
12
|
+
* flow.</p>
|
|
13
|
+
* <p>With Application Recovery Controller, you can add safety rules for routing controls, which are safeguards for routing
|
|
14
|
+
* control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
|
|
15
|
+
* there are scenarios when you might want to bypass the routing control safeguards that are enforced with
|
|
16
|
+
* safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
|
|
17
|
+
* and one or more safety rules might be unexpectedly preventing you from updating a routing control state to
|
|
18
|
+
* reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change
|
|
19
|
+
* a routing control state and fail over your application.</p>
|
|
20
|
+
* <p>The <code>SafetyRulesToOverride</code> property enables you override one or more safety rules and
|
|
21
|
+
* update routing control states. For more information, see
|
|
22
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
23
|
+
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
24
|
+
* <p>
|
|
25
|
+
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
26
|
+
* to get or update routing control states in Application Recovery Controller.</i>
|
|
27
|
+
* </p>
|
|
28
|
+
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
29
|
+
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
30
|
+
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
35
|
+
* Viewing and updating routing control states</a>
|
|
36
|
+
* </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
41
|
+
* </p>
|
|
42
|
+
* </li>
|
|
43
|
+
* </ul>
|
|
15
44
|
* @example
|
|
16
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
46
|
* ```javascript
|
|
@@ -175,6 +175,14 @@ export interface UpdateRoutingControlStateRequest {
|
|
|
175
175
|
* <p>The state of the routing control. You can set the value to be On or Off.</p>
|
|
176
176
|
*/
|
|
177
177
|
RoutingControlState: RoutingControlState | string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* <p>The Amazon Resource Numbers (ARNs) for the safety rules that you want to override when you're updating the state of
|
|
180
|
+
* a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated
|
|
181
|
+
* by commas.</p>
|
|
182
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
183
|
+
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
184
|
+
*/
|
|
185
|
+
SafetyRulesToOverride?: string[];
|
|
178
186
|
}
|
|
179
187
|
export declare namespace UpdateRoutingControlStateRequest {
|
|
180
188
|
/**
|
|
@@ -191,11 +199,11 @@ export declare namespace UpdateRoutingControlStateResponse {
|
|
|
191
199
|
const filterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
|
|
192
200
|
}
|
|
193
201
|
/**
|
|
194
|
-
* <p>A routing control state.</p>
|
|
202
|
+
* <p>A routing control state entry.</p>
|
|
195
203
|
*/
|
|
196
204
|
export interface UpdateRoutingControlStateEntry {
|
|
197
205
|
/**
|
|
198
|
-
* <p>The Amazon Resource Number (ARN) for
|
|
206
|
+
* <p>The Amazon Resource Number (ARN) for a routing control state entry.</p>
|
|
199
207
|
*/
|
|
200
208
|
RoutingControlArn: string | undefined;
|
|
201
209
|
/**
|
|
@@ -214,6 +222,14 @@ export interface UpdateRoutingControlStatesRequest {
|
|
|
214
222
|
* <p>A set of routing control entries that you want to update.</p>
|
|
215
223
|
*/
|
|
216
224
|
UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The Amazon Resource Numbers (ARNs) for the safety rules that you want to override when you're updating routing
|
|
227
|
+
* control states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated
|
|
228
|
+
* by commas.</p>
|
|
229
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
230
|
+
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
231
|
+
*/
|
|
232
|
+
SafetyRulesToOverride?: string[];
|
|
217
233
|
}
|
|
218
234
|
export declare namespace UpdateRoutingControlStatesRequest {
|
|
219
235
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
|
|
10
10
|
import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
|
|
11
11
|
import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
|
|
@@ -19,7 +19,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
19
19
|
|
|
20
20
|
urlParser?: __UrlParser;
|
|
21
21
|
|
|
22
|
-
bodyLengthChecker?:
|
|
22
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
23
23
|
|
|
24
24
|
streamCollector?: __StreamCollector;
|
|
25
25
|
|
|
@@ -109,6 +109,8 @@ export interface UpdateRoutingControlStateRequest {
|
|
|
109
109
|
RoutingControlArn: string | undefined;
|
|
110
110
|
|
|
111
111
|
RoutingControlState: RoutingControlState | string | undefined;
|
|
112
|
+
|
|
113
|
+
SafetyRulesToOverride?: string[];
|
|
112
114
|
}
|
|
113
115
|
export declare namespace UpdateRoutingControlStateRequest {
|
|
114
116
|
|
|
@@ -134,6 +136,8 @@ export declare namespace UpdateRoutingControlStateEntry {
|
|
|
134
136
|
export interface UpdateRoutingControlStatesRequest {
|
|
135
137
|
|
|
136
138
|
UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
|
|
139
|
+
|
|
140
|
+
SafetyRulesToOverride?: string[];
|
|
137
141
|
}
|
|
138
142
|
export declare namespace UpdateRoutingControlStatesRequest {
|
|
139
143
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53-recovery-cluster",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53 Recovery Cluster Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|