@aws-sdk/client-route53-recovery-cluster 3.315.0 → 3.319.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.
|
@@ -1,67 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Route53RecoveryCluster = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const GetRoutingControlStateCommand_1 = require("./commands/GetRoutingControlStateCommand");
|
|
5
6
|
const ListRoutingControlsCommand_1 = require("./commands/ListRoutingControlsCommand");
|
|
6
7
|
const UpdateRoutingControlStateCommand_1 = require("./commands/UpdateRoutingControlStateCommand");
|
|
7
8
|
const UpdateRoutingControlStatesCommand_1 = require("./commands/UpdateRoutingControlStatesCommand");
|
|
8
9
|
const Route53RecoveryClusterClient_1 = require("./Route53RecoveryClusterClient");
|
|
10
|
+
const commands = {
|
|
11
|
+
GetRoutingControlStateCommand: GetRoutingControlStateCommand_1.GetRoutingControlStateCommand,
|
|
12
|
+
ListRoutingControlsCommand: ListRoutingControlsCommand_1.ListRoutingControlsCommand,
|
|
13
|
+
UpdateRoutingControlStateCommand: UpdateRoutingControlStateCommand_1.UpdateRoutingControlStateCommand,
|
|
14
|
+
UpdateRoutingControlStatesCommand: UpdateRoutingControlStatesCommand_1.UpdateRoutingControlStatesCommand,
|
|
15
|
+
};
|
|
9
16
|
class Route53RecoveryCluster extends Route53RecoveryClusterClient_1.Route53RecoveryClusterClient {
|
|
10
|
-
getRoutingControlState(args, optionsOrCb, cb) {
|
|
11
|
-
const command = new GetRoutingControlStateCommand_1.GetRoutingControlStateCommand(args);
|
|
12
|
-
if (typeof optionsOrCb === "function") {
|
|
13
|
-
this.send(command, optionsOrCb);
|
|
14
|
-
}
|
|
15
|
-
else if (typeof cb === "function") {
|
|
16
|
-
if (typeof optionsOrCb !== "object")
|
|
17
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
18
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
return this.send(command, optionsOrCb);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
listRoutingControls(args, optionsOrCb, cb) {
|
|
25
|
-
const command = new ListRoutingControlsCommand_1.ListRoutingControlsCommand(args);
|
|
26
|
-
if (typeof optionsOrCb === "function") {
|
|
27
|
-
this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
else if (typeof cb === "function") {
|
|
30
|
-
if (typeof optionsOrCb !== "object")
|
|
31
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
32
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
return this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
updateRoutingControlState(args, optionsOrCb, cb) {
|
|
39
|
-
const command = new UpdateRoutingControlStateCommand_1.UpdateRoutingControlStateCommand(args);
|
|
40
|
-
if (typeof optionsOrCb === "function") {
|
|
41
|
-
this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
else if (typeof cb === "function") {
|
|
44
|
-
if (typeof optionsOrCb !== "object")
|
|
45
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
46
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
updateRoutingControlStates(args, optionsOrCb, cb) {
|
|
53
|
-
const command = new UpdateRoutingControlStatesCommand_1.UpdateRoutingControlStatesCommand(args);
|
|
54
|
-
if (typeof optionsOrCb === "function") {
|
|
55
|
-
this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
else if (typeof cb === "function") {
|
|
58
|
-
if (typeof optionsOrCb !== "object")
|
|
59
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
60
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
return this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
17
|
}
|
|
67
18
|
exports.Route53RecoveryCluster = Route53RecoveryCluster;
|
|
19
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Route53RecoveryCluster);
|
|
@@ -1,63 +1,15 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { GetRoutingControlStateCommand, } from "./commands/GetRoutingControlStateCommand";
|
|
2
3
|
import { ListRoutingControlsCommand, } from "./commands/ListRoutingControlsCommand";
|
|
3
4
|
import { UpdateRoutingControlStateCommand, } from "./commands/UpdateRoutingControlStateCommand";
|
|
4
5
|
import { UpdateRoutingControlStatesCommand, } from "./commands/UpdateRoutingControlStatesCommand";
|
|
5
6
|
import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
7
|
+
const commands = {
|
|
8
|
+
GetRoutingControlStateCommand,
|
|
9
|
+
ListRoutingControlsCommand,
|
|
10
|
+
UpdateRoutingControlStateCommand,
|
|
11
|
+
UpdateRoutingControlStatesCommand,
|
|
12
|
+
};
|
|
6
13
|
export class Route53RecoveryCluster extends Route53RecoveryClusterClient {
|
|
7
|
-
getRoutingControlState(args, optionsOrCb, cb) {
|
|
8
|
-
const command = new GetRoutingControlStateCommand(args);
|
|
9
|
-
if (typeof optionsOrCb === "function") {
|
|
10
|
-
this.send(command, optionsOrCb);
|
|
11
|
-
}
|
|
12
|
-
else if (typeof cb === "function") {
|
|
13
|
-
if (typeof optionsOrCb !== "object")
|
|
14
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
15
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
return this.send(command, optionsOrCb);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
listRoutingControls(args, optionsOrCb, cb) {
|
|
22
|
-
const command = new ListRoutingControlsCommand(args);
|
|
23
|
-
if (typeof optionsOrCb === "function") {
|
|
24
|
-
this.send(command, optionsOrCb);
|
|
25
|
-
}
|
|
26
|
-
else if (typeof cb === "function") {
|
|
27
|
-
if (typeof optionsOrCb !== "object")
|
|
28
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
29
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return this.send(command, optionsOrCb);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
updateRoutingControlState(args, optionsOrCb, cb) {
|
|
36
|
-
const command = new UpdateRoutingControlStateCommand(args);
|
|
37
|
-
if (typeof optionsOrCb === "function") {
|
|
38
|
-
this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
else if (typeof cb === "function") {
|
|
41
|
-
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
43
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
return this.send(command, optionsOrCb);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
updateRoutingControlStates(args, optionsOrCb, cb) {
|
|
50
|
-
const command = new UpdateRoutingControlStatesCommand(args);
|
|
51
|
-
if (typeof optionsOrCb === "function") {
|
|
52
|
-
this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
else if (typeof cb === "function") {
|
|
55
|
-
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
57
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
return this.send(command, optionsOrCb);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
14
|
}
|
|
15
|
+
createAggregatedClient(commands, Route53RecoveryCluster);
|
|
@@ -4,6 +4,32 @@ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } fro
|
|
|
4
4
|
import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
|
|
5
5
|
import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
|
|
6
6
|
import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
7
|
+
export interface Route53RecoveryCluster {
|
|
8
|
+
/**
|
|
9
|
+
* @see {@link GetRoutingControlStateCommand}
|
|
10
|
+
*/
|
|
11
|
+
getRoutingControlState(args: GetRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutingControlStateCommandOutput>;
|
|
12
|
+
getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
13
|
+
getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
14
|
+
/**
|
|
15
|
+
* @see {@link ListRoutingControlsCommand}
|
|
16
|
+
*/
|
|
17
|
+
listRoutingControls(args: ListRoutingControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingControlsCommandOutput>;
|
|
18
|
+
listRoutingControls(args: ListRoutingControlsCommandInput, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
19
|
+
listRoutingControls(args: ListRoutingControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
20
|
+
/**
|
|
21
|
+
* @see {@link UpdateRoutingControlStateCommand}
|
|
22
|
+
*/
|
|
23
|
+
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStateCommandOutput>;
|
|
24
|
+
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
25
|
+
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link UpdateRoutingControlStatesCommand}
|
|
28
|
+
*/
|
|
29
|
+
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStatesCommandOutput>;
|
|
30
|
+
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
|
|
31
|
+
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
|
|
32
|
+
}
|
|
7
33
|
/**
|
|
8
34
|
* @public
|
|
9
35
|
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
@@ -47,160 +73,5 @@ import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
|
47
73
|
* </li>
|
|
48
74
|
* </ul>
|
|
49
75
|
*/
|
|
50
|
-
export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient {
|
|
51
|
-
/**
|
|
52
|
-
* @public
|
|
53
|
-
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
54
|
-
* can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
|
|
55
|
-
* the state is Off, traffic does not flow. </p>
|
|
56
|
-
* <p>Before you can create a routing control, you must first create a cluster, and then host the control
|
|
57
|
-
* in a control panel on the cluster. For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html">
|
|
58
|
-
* Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
|
|
59
|
-
* You access one of the endpoints for the cluster to get or update the routing control state to
|
|
60
|
-
* redirect traffic for your application. </p>
|
|
61
|
-
* <p>
|
|
62
|
-
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
63
|
-
* to get or update routing control states in Route 53 ARC.</i>
|
|
64
|
-
* </p>
|
|
65
|
-
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
66
|
-
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
67
|
-
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
68
|
-
* <p>Learn more about working with routing controls in the following topics in the
|
|
69
|
-
* Amazon Route 53 Application Recovery Controller Developer Guide:</p>
|
|
70
|
-
* <ul>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>
|
|
73
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
74
|
-
* Viewing and updating routing control states</a>
|
|
75
|
-
* </p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>
|
|
79
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with
|
|
80
|
-
* routing controls in Route 53 ARC</a>
|
|
81
|
-
* </p>
|
|
82
|
-
* </li>
|
|
83
|
-
* </ul>
|
|
84
|
-
*/
|
|
85
|
-
getRoutingControlState(args: GetRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutingControlStateCommandOutput>;
|
|
86
|
-
getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
87
|
-
getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
88
|
-
/**
|
|
89
|
-
* @public
|
|
90
|
-
* <p>List routing control names and Amazon Resource Names (ARNs), as well as the routing control
|
|
91
|
-
* state for each routing control, along with the control panel name and control panel ARN for the routing controls.
|
|
92
|
-
* If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists
|
|
93
|
-
* all the routing controls in the cluster.</p>
|
|
94
|
-
* <p>A routing control is a simple on/off switch in Route 53 ARC that you
|
|
95
|
-
* can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
|
|
96
|
-
* the state is Off, traffic does not flow.</p>
|
|
97
|
-
* <p>Before you can create a routing control, you must first create a cluster, and then host the control
|
|
98
|
-
* in a control panel on the cluster. For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html">
|
|
99
|
-
* Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
|
|
100
|
-
* You access one of the endpoints for the cluster to get or update the routing control state to
|
|
101
|
-
* redirect traffic for your application. </p>
|
|
102
|
-
* <p>
|
|
103
|
-
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
104
|
-
* to use this API operation to list routing controls in Route 53 ARC.</i>
|
|
105
|
-
* </p>
|
|
106
|
-
* <p>Learn more about working with routing controls in the following topics in the
|
|
107
|
-
* Amazon Route 53 Application Recovery Controller Developer Guide:</p>
|
|
108
|
-
* <ul>
|
|
109
|
-
* <li>
|
|
110
|
-
* <p>
|
|
111
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
112
|
-
* Viewing and updating routing control states</a>
|
|
113
|
-
* </p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>
|
|
117
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with
|
|
118
|
-
* routing controls in Route 53 ARC</a>
|
|
119
|
-
* </p>
|
|
120
|
-
* </li>
|
|
121
|
-
* </ul>
|
|
122
|
-
*/
|
|
123
|
-
listRoutingControls(args: ListRoutingControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingControlsCommandOutput>;
|
|
124
|
-
listRoutingControls(args: ListRoutingControlsCommandInput, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
125
|
-
listRoutingControls(args: ListRoutingControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
126
|
-
/**
|
|
127
|
-
* @public
|
|
128
|
-
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
129
|
-
* Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not
|
|
130
|
-
* flow.</p>
|
|
131
|
-
* <p>With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing
|
|
132
|
-
* control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
|
|
133
|
-
* there are scenarios when you might want to bypass the routing control safeguards that are enforced with
|
|
134
|
-
* safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
|
|
135
|
-
* and one or more safety rules might be unexpectedly preventing you from updating a routing control state to
|
|
136
|
-
* reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change
|
|
137
|
-
* a routing control state and fail over your application.</p>
|
|
138
|
-
* <p>The <code>SafetyRulesToOverride</code> property enables you override one or more safety rules and
|
|
139
|
-
* update routing control states. For more information, see
|
|
140
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
141
|
-
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
142
|
-
* <p>
|
|
143
|
-
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
144
|
-
* to get or update routing control states in Route 53 ARC.</i>
|
|
145
|
-
* </p>
|
|
146
|
-
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
147
|
-
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
148
|
-
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
149
|
-
* <ul>
|
|
150
|
-
* <li>
|
|
151
|
-
* <p>
|
|
152
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
153
|
-
* Viewing and updating routing control states</a>
|
|
154
|
-
* </p>
|
|
155
|
-
* </li>
|
|
156
|
-
* <li>
|
|
157
|
-
* <p>
|
|
158
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
159
|
-
* </p>
|
|
160
|
-
* </li>
|
|
161
|
-
* </ul>
|
|
162
|
-
*/
|
|
163
|
-
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStateCommandOutput>;
|
|
164
|
-
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
165
|
-
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
166
|
-
/**
|
|
167
|
-
* @public
|
|
168
|
-
* <p>Set multiple routing control states. You can set the value for each state to be On or Off.
|
|
169
|
-
* When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
170
|
-
* flow.</p>
|
|
171
|
-
* <p>With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing
|
|
172
|
-
* control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
|
|
173
|
-
* there are scenarios when you might want to bypass the routing control safeguards that are enforced with
|
|
174
|
-
* safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
|
|
175
|
-
* and one or more safety rules might be unexpectedly preventing you from updating a routing control state to
|
|
176
|
-
* reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change
|
|
177
|
-
* a routing control state and fail over your application.</p>
|
|
178
|
-
* <p>The <code>SafetyRulesToOverride</code> property enables you override one or more safety rules and
|
|
179
|
-
* update routing control states. For more information, see
|
|
180
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
181
|
-
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
182
|
-
* <p>
|
|
183
|
-
* <i>You must specify Regional endpoints when you work with API cluster operations
|
|
184
|
-
* to get or update routing control states in Route 53 ARC.</i>
|
|
185
|
-
* </p>
|
|
186
|
-
* <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
|
|
187
|
-
* in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
|
|
188
|
-
* in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
189
|
-
* <ul>
|
|
190
|
-
* <li>
|
|
191
|
-
* <p>
|
|
192
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
|
|
193
|
-
* Viewing and updating routing control states</a>
|
|
194
|
-
* </p>
|
|
195
|
-
* </li>
|
|
196
|
-
* <li>
|
|
197
|
-
* <p>
|
|
198
|
-
* <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with routing controls overall</a>
|
|
199
|
-
* </p>
|
|
200
|
-
* </li>
|
|
201
|
-
* </ul>
|
|
202
|
-
*/
|
|
203
|
-
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStatesCommandOutput>;
|
|
204
|
-
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
|
|
205
|
-
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
|
|
76
|
+
export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient implements Route53RecoveryCluster {
|
|
206
77
|
}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
UpdateRoutingControlStatesCommandOutput,
|
|
17
17
|
} from "./commands/UpdateRoutingControlStatesCommand";
|
|
18
18
|
import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
19
|
-
export
|
|
19
|
+
export interface Route53RecoveryCluster {
|
|
20
20
|
getRoutingControlState(
|
|
21
21
|
args: GetRoutingControlStateCommandInput,
|
|
22
22
|
options?: __HttpHandlerOptions
|
|
@@ -70,3 +70,6 @@ export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient
|
|
|
70
70
|
cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void
|
|
71
71
|
): void;
|
|
72
72
|
}
|
|
73
|
+
export declare class Route53RecoveryCluster
|
|
74
|
+
extends Route53RecoveryClusterClient
|
|
75
|
+
implements Route53RecoveryCluster {}
|
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.319.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|