@aws-sdk/client-route53-recovery-cluster 3.533.0 → 3.540.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/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/Route53RecoveryCluster.d.ts +2 -1
- package/dist-types/Route53RecoveryClusterClient.d.ts +1 -1
- package/dist-types/commands/GetRoutingControlStateCommand.d.ts +2 -1
- package/dist-types/commands/ListRoutingControlsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRoutingControlStateCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRoutingControlStatesCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +47 -47
- package/dist-types/ts3.4/Route53RecoveryCluster.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetRoutingControlStateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRoutingControlsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRoutingControlStateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRoutingControlStatesCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -676,9 +676,6 @@ var Route53RecoveryCluster = _Route53RecoveryCluster;
|
|
|
676
676
|
// src/pagination/ListRoutingControlsPaginator.ts
|
|
677
677
|
|
|
678
678
|
var paginateListRoutingControls = (0, import_core.createPaginator)(Route53RecoveryClusterClient, ListRoutingControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
679
|
-
|
|
680
|
-
// src/index.ts
|
|
681
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
682
679
|
// Annotate the CommonJS export names for ESM import in node:
|
|
683
680
|
|
|
684
681
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,4 @@ export * from "./Route53RecoveryCluster";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./models";
|
|
6
|
-
import "@aws-sdk/util-endpoints";
|
|
7
6
|
export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException";
|
|
@@ -14,6 +14,7 @@ export interface Route53RecoveryCluster {
|
|
|
14
14
|
/**
|
|
15
15
|
* @see {@link ListRoutingControlsCommand}
|
|
16
16
|
*/
|
|
17
|
+
listRoutingControls(): Promise<ListRoutingControlsCommandOutput>;
|
|
17
18
|
listRoutingControls(args: ListRoutingControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingControlsCommandOutput>;
|
|
18
19
|
listRoutingControls(args: ListRoutingControlsCommandInput, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
19
20
|
listRoutingControls(args: ListRoutingControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
@@ -31,7 +32,6 @@ export interface Route53RecoveryCluster {
|
|
|
31
32
|
updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
|
-
* @public
|
|
35
35
|
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
36
36
|
* <p>With Route 53 ARC, you can use routing control with extreme reliability to
|
|
37
37
|
* recover applications by rerouting traffic across
|
|
@@ -72,6 +72,7 @@ export interface Route53RecoveryCluster {
|
|
|
72
72
|
* recovery readiness with Route 53 ARC, see the <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/">Amazon Route 53 Application Recovery Controller Developer Guide</a>.</p>
|
|
73
73
|
* </li>
|
|
74
74
|
* </ul>
|
|
75
|
+
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient implements Route53RecoveryCluster {
|
|
77
78
|
}
|
|
@@ -155,7 +155,6 @@ export type Route53RecoveryClusterClientResolvedConfigType = __SmithyResolvedCon
|
|
|
155
155
|
export interface Route53RecoveryClusterClientResolvedConfig extends Route53RecoveryClusterClientResolvedConfigType {
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
160
159
|
* <p>With Route 53 ARC, you can use routing control with extreme reliability to
|
|
161
160
|
* recover applications by rerouting traffic across
|
|
@@ -196,6 +195,7 @@ export interface Route53RecoveryClusterClientResolvedConfig extends Route53Recov
|
|
|
196
195
|
* recovery readiness with Route 53 ARC, see the <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/">Amazon Route 53 Application Recovery Controller Developer Guide</a>.</p>
|
|
197
196
|
* </li>
|
|
198
197
|
* </ul>
|
|
198
|
+
* @public
|
|
199
199
|
*/
|
|
200
200
|
export declare class Route53RecoveryClusterClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53RecoveryClusterClientResolvedConfig> {
|
|
201
201
|
/**
|
|
@@ -22,10 +22,10 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetRoutingControlStateCommand_base: {
|
|
24
24
|
new (input: GetRoutingControlStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRoutingControlStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
30
30
|
* can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When
|
|
31
31
|
* the state is set to OFF, traffic does not flow. </p>
|
|
@@ -103,6 +103,7 @@ declare const GetRoutingControlStateCommand_base: {
|
|
|
103
103
|
* @throws {@link Route53RecoveryClusterServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
105
105
|
*
|
|
106
|
+
* @public
|
|
106
107
|
*/
|
|
107
108
|
export declare class GetRoutingControlStateCommand extends GetRoutingControlStateCommand_base {
|
|
108
109
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRoutingControlsCommand_base: {
|
|
24
24
|
new (input: ListRoutingControlsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListRoutingControlsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>List routing control names and Amazon Resource Names (ARNs), as well as the routing control
|
|
30
30
|
* state for each routing control, along with the control panel name and control panel ARN for the routing controls.
|
|
31
31
|
* If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists
|
|
@@ -114,6 +114,7 @@ declare const ListRoutingControlsCommand_base: {
|
|
|
114
114
|
* @throws {@link Route53RecoveryClusterServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
116
116
|
*
|
|
117
|
+
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class ListRoutingControlsCommand extends ListRoutingControlsCommand_base {
|
|
119
120
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateRoutingControlStateCommand_base: {
|
|
24
24
|
new (input: UpdateRoutingControlStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateRoutingControlStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Set the state of the routing control to reroute traffic. You can set the value to ON or
|
|
30
30
|
* OFF. When the state is ON, traffic flows to a cell. When the state is OFF, traffic does not
|
|
31
31
|
* flow.</p>
|
|
@@ -109,6 +109,7 @@ declare const UpdateRoutingControlStateCommand_base: {
|
|
|
109
109
|
* @throws {@link Route53RecoveryClusterServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
111
111
|
*
|
|
112
|
+
* @public
|
|
112
113
|
*/
|
|
113
114
|
export declare class UpdateRoutingControlStateCommand extends UpdateRoutingControlStateCommand_base {
|
|
114
115
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateRoutingControlStatesCommand_base: {
|
|
24
24
|
new (input: UpdateRoutingControlStatesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateRoutingControlStatesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Set multiple routing control states. You can set the value for each state to be ON or OFF.
|
|
30
30
|
* When the state is ON, traffic flows to a cell. When it's OFF, traffic does not
|
|
31
31
|
* flow.</p>
|
|
@@ -116,6 +116,7 @@ declare const UpdateRoutingControlStatesCommand_base: {
|
|
|
116
116
|
* @throws {@link Route53RecoveryClusterServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
118
118
|
*
|
|
119
|
+
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class UpdateRoutingControlStatesCommand extends UpdateRoutingControlStatesCommand_base {
|
|
121
122
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -50,5 +50,4 @@ export { Route53RecoveryClusterExtensionConfiguration } from "./extensionConfigu
|
|
|
50
50
|
export * from "./commands";
|
|
51
51
|
export * from "./pagination";
|
|
52
52
|
export * from "./models";
|
|
53
|
-
import "@aws-sdk/util-endpoints";
|
|
54
53
|
export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { Route53RecoveryClusterServiceException as __BaseException } from "./Route53RecoveryClusterServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -13,20 +13,20 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* @public
|
|
17
16
|
* <p>There was a conflict with this request. Try again.</p>
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
export declare class ConflictException extends __BaseException {
|
|
20
20
|
readonly name: "ConflictException";
|
|
21
21
|
readonly $fault: "client";
|
|
22
22
|
/**
|
|
23
|
-
* @public
|
|
24
23
|
* Identifier of the resource in use
|
|
24
|
+
* @public
|
|
25
25
|
*/
|
|
26
26
|
resourceId: string | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* Type of the resource in use
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
resourceType: string | undefined;
|
|
32
32
|
/**
|
|
@@ -35,8 +35,8 @@ export declare class ConflictException extends __BaseException {
|
|
|
35
35
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* @public
|
|
39
38
|
* <p>The cluster endpoint isn't available. Try another cluster endpoint.</p>
|
|
39
|
+
* @public
|
|
40
40
|
*/
|
|
41
41
|
export declare class EndpointTemporarilyUnavailableException extends __BaseException {
|
|
42
42
|
readonly name: "EndpointTemporarilyUnavailableException";
|
|
@@ -51,8 +51,8 @@ export declare class EndpointTemporarilyUnavailableException extends __BaseExcep
|
|
|
51
51
|
*/
|
|
52
52
|
export interface GetRoutingControlStateRequest {
|
|
53
53
|
/**
|
|
54
|
-
* @public
|
|
55
54
|
* <p>The Amazon Resource Name (ARN) for the routing control that you want to get the state for.</p>
|
|
55
|
+
* @public
|
|
56
56
|
*/
|
|
57
57
|
RoutingControlArn: string | undefined;
|
|
58
58
|
}
|
|
@@ -73,31 +73,31 @@ export type RoutingControlState = (typeof RoutingControlState)[keyof typeof Rout
|
|
|
73
73
|
*/
|
|
74
74
|
export interface GetRoutingControlStateResponse {
|
|
75
75
|
/**
|
|
76
|
-
* @public
|
|
77
76
|
* <p>The Amazon Resource Name (ARN) of the response.</p>
|
|
77
|
+
* @public
|
|
78
78
|
*/
|
|
79
79
|
RoutingControlArn: string | undefined;
|
|
80
80
|
/**
|
|
81
|
-
* @public
|
|
82
81
|
* <p>The state of the routing control.</p>
|
|
82
|
+
* @public
|
|
83
83
|
*/
|
|
84
84
|
RoutingControlState: RoutingControlState | undefined;
|
|
85
85
|
/**
|
|
86
|
-
* @public
|
|
87
86
|
* <p>The routing control name.</p>
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
RoutingControlName?: string;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* @public
|
|
93
92
|
* <p>There was an unexpected error during processing of the request.</p>
|
|
93
|
+
* @public
|
|
94
94
|
*/
|
|
95
95
|
export declare class InternalServerException extends __BaseException {
|
|
96
96
|
readonly name: "InternalServerException";
|
|
97
97
|
readonly $fault: "server";
|
|
98
98
|
/**
|
|
99
|
-
* @public
|
|
100
99
|
* Advice to clients on when the call can be safely retried
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
retryAfterSeconds?: number;
|
|
103
103
|
/**
|
|
@@ -106,20 +106,20 @@ export declare class InternalServerException extends __BaseException {
|
|
|
106
106
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* @public
|
|
110
109
|
* <p>The request references a routing control or control panel that was not found.</p>
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
113
113
|
readonly name: "ResourceNotFoundException";
|
|
114
114
|
readonly $fault: "client";
|
|
115
115
|
/**
|
|
116
|
-
* @public
|
|
117
116
|
* Hypothetical resource identifier that was not found
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
resourceId: string | undefined;
|
|
120
120
|
/**
|
|
121
|
-
* @public
|
|
122
121
|
* Hypothetical resource type that was not found
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
resourceType: string | undefined;
|
|
125
125
|
/**
|
|
@@ -128,15 +128,15 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
128
128
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* @public
|
|
132
131
|
* <p>The request was denied because of request throttling.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export declare class ThrottlingException extends __BaseException {
|
|
135
135
|
readonly name: "ThrottlingException";
|
|
136
136
|
readonly $fault: "client";
|
|
137
137
|
/**
|
|
138
|
-
* @public
|
|
139
138
|
* Advice to clients on when the call can be safely retried
|
|
139
|
+
* @public
|
|
140
140
|
*/
|
|
141
141
|
retryAfterSeconds?: number;
|
|
142
142
|
/**
|
|
@@ -145,18 +145,18 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
145
145
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
* @public
|
|
149
148
|
* <p>There was a validation error on the request.</p>
|
|
149
|
+
* @public
|
|
150
150
|
*/
|
|
151
151
|
export interface ValidationExceptionField {
|
|
152
152
|
/**
|
|
153
|
-
* @public
|
|
154
153
|
* <p>The field that had the validation exception.</p>
|
|
154
|
+
* @public
|
|
155
155
|
*/
|
|
156
156
|
name: string | undefined;
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>Information about the validation exception.</p>
|
|
159
|
+
* @public
|
|
160
160
|
*/
|
|
161
161
|
message: string | undefined;
|
|
162
162
|
}
|
|
@@ -175,20 +175,20 @@ export declare const ValidationExceptionReason: {
|
|
|
175
175
|
*/
|
|
176
176
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>There was a validation error on the request.</p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export declare class ValidationException extends __BaseException {
|
|
182
182
|
readonly name: "ValidationException";
|
|
183
183
|
readonly $fault: "client";
|
|
184
184
|
/**
|
|
185
|
-
* @public
|
|
186
185
|
* Reason the request failed validation
|
|
186
|
+
* @public
|
|
187
187
|
*/
|
|
188
188
|
reason?: ValidationExceptionReason;
|
|
189
189
|
/**
|
|
190
|
-
* @public
|
|
191
190
|
* The fields that caused the error, if applicable
|
|
191
|
+
* @public
|
|
192
192
|
*/
|
|
193
193
|
fields?: ValidationExceptionField[];
|
|
194
194
|
/**
|
|
@@ -201,58 +201,58 @@ export declare class ValidationException extends __BaseException {
|
|
|
201
201
|
*/
|
|
202
202
|
export interface ListRoutingControlsRequest {
|
|
203
203
|
/**
|
|
204
|
-
* @public
|
|
205
204
|
* <p>The Amazon Resource Name (ARN) of the control panel of the routing controls to list.</p>
|
|
205
|
+
* @public
|
|
206
206
|
*/
|
|
207
207
|
ControlPanelArn?: string;
|
|
208
208
|
/**
|
|
209
|
-
* @public
|
|
210
209
|
* <p>The token for the next set of results. You receive this token from a previous call.</p>
|
|
210
|
+
* @public
|
|
211
211
|
*/
|
|
212
212
|
NextToken?: string;
|
|
213
213
|
/**
|
|
214
|
-
* @public
|
|
215
214
|
* <p>The number of routing controls objects that you want to return with this call. The default value is 500.</p>
|
|
215
|
+
* @public
|
|
216
216
|
*/
|
|
217
217
|
MaxResults?: number;
|
|
218
218
|
}
|
|
219
219
|
/**
|
|
220
|
-
* @public
|
|
221
220
|
* <p>A routing control, which is a simple on/off switch that you
|
|
222
221
|
* can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When
|
|
223
222
|
* the state is set to OFF, traffic does not flow. </p>
|
|
223
|
+
* @public
|
|
224
224
|
*/
|
|
225
225
|
export interface RoutingControl {
|
|
226
226
|
/**
|
|
227
|
-
* @public
|
|
228
227
|
* <p>The Amazon Resource Name (ARN) of the control panel where the routing control is located.</p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
ControlPanelArn?: string;
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>The name of the control panel where the routing control is located. Only ASCII characters are supported for control
|
|
234
233
|
* panel names.</p>
|
|
234
|
+
* @public
|
|
235
235
|
*/
|
|
236
236
|
ControlPanelName?: string;
|
|
237
237
|
/**
|
|
238
|
-
* @public
|
|
239
238
|
* <p>The Amazon Resource Name (ARN) of the routing control.</p>
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
RoutingControlArn?: string;
|
|
242
242
|
/**
|
|
243
|
-
* @public
|
|
244
243
|
* <p>The name of the routing control.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
RoutingControlName?: string;
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When
|
|
250
249
|
* the state is set to OFF, traffic does not flow. </p>
|
|
250
|
+
* @public
|
|
251
251
|
*/
|
|
252
252
|
RoutingControlState?: RoutingControlState;
|
|
253
253
|
/**
|
|
254
|
-
* @public
|
|
255
254
|
* <p>The Amazon Web Services account ID of the routing control owner.</p>
|
|
255
|
+
* @public
|
|
256
256
|
*/
|
|
257
257
|
Owner?: string;
|
|
258
258
|
}
|
|
@@ -261,41 +261,41 @@ export interface RoutingControl {
|
|
|
261
261
|
*/
|
|
262
262
|
export interface ListRoutingControlsResponse {
|
|
263
263
|
/**
|
|
264
|
-
* @public
|
|
265
264
|
* <p>The list of routing controls.</p>
|
|
265
|
+
* @public
|
|
266
266
|
*/
|
|
267
267
|
RoutingControls: RoutingControl[] | undefined;
|
|
268
268
|
/**
|
|
269
|
-
* @public
|
|
270
269
|
* <p>The token for the next set of results. You receive this token from a previous call.</p>
|
|
270
|
+
* @public
|
|
271
271
|
*/
|
|
272
272
|
NextToken?: string;
|
|
273
273
|
}
|
|
274
274
|
/**
|
|
275
|
-
* @public
|
|
276
275
|
* <p>The request can't update that many routing control states at the same time. Try again with fewer routing control states.</p>
|
|
276
|
+
* @public
|
|
277
277
|
*/
|
|
278
278
|
export declare class ServiceLimitExceededException extends __BaseException {
|
|
279
279
|
readonly name: "ServiceLimitExceededException";
|
|
280
280
|
readonly $fault: "client";
|
|
281
281
|
/**
|
|
282
|
-
* @public
|
|
283
282
|
* <p>The resource identifier of the limit that was exceeded.</p>
|
|
283
|
+
* @public
|
|
284
284
|
*/
|
|
285
285
|
resourceId?: string;
|
|
286
286
|
/**
|
|
287
|
-
* @public
|
|
288
287
|
* <p>The resource type of the limit that was exceeded.</p>
|
|
288
|
+
* @public
|
|
289
289
|
*/
|
|
290
290
|
resourceType?: string;
|
|
291
291
|
/**
|
|
292
|
-
* @public
|
|
293
292
|
* <p>The code of the limit that was exceeded.</p>
|
|
293
|
+
* @public
|
|
294
294
|
*/
|
|
295
295
|
limitCode: string | undefined;
|
|
296
296
|
/**
|
|
297
|
-
* @public
|
|
298
297
|
* <p>The service code of the limit that was exceeded.</p>
|
|
298
|
+
* @public
|
|
299
299
|
*/
|
|
300
300
|
serviceCode: string | undefined;
|
|
301
301
|
/**
|
|
@@ -308,22 +308,22 @@ export declare class ServiceLimitExceededException extends __BaseException {
|
|
|
308
308
|
*/
|
|
309
309
|
export interface UpdateRoutingControlStateRequest {
|
|
310
310
|
/**
|
|
311
|
-
* @public
|
|
312
311
|
* <p>The Amazon Resource Name (ARN) for the routing control that you want to update the state for.</p>
|
|
312
|
+
* @public
|
|
313
313
|
*/
|
|
314
314
|
RoutingControlArn: string | undefined;
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>The state of the routing control. You can set the value to ON or OFF.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
RoutingControlState: RoutingControlState | undefined;
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of
|
|
323
322
|
* a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated
|
|
324
323
|
* by commas.</p>
|
|
325
324
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
326
325
|
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
326
|
+
* @public
|
|
327
327
|
*/
|
|
328
328
|
SafetyRulesToOverride?: string[];
|
|
329
329
|
}
|
|
@@ -333,18 +333,18 @@ export interface UpdateRoutingControlStateRequest {
|
|
|
333
333
|
export interface UpdateRoutingControlStateResponse {
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p>A routing control state entry.</p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
export interface UpdateRoutingControlStateEntry {
|
|
340
340
|
/**
|
|
341
|
-
* @public
|
|
342
341
|
* <p>The Amazon Resource Name (ARN) for a routing control state entry.</p>
|
|
342
|
+
* @public
|
|
343
343
|
*/
|
|
344
344
|
RoutingControlArn: string | undefined;
|
|
345
345
|
/**
|
|
346
|
-
* @public
|
|
347
346
|
* <p>The routing control state in a set of routing control state entries.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
RoutingControlState: RoutingControlState | undefined;
|
|
350
350
|
}
|
|
@@ -353,17 +353,17 @@ export interface UpdateRoutingControlStateEntry {
|
|
|
353
353
|
*/
|
|
354
354
|
export interface UpdateRoutingControlStatesRequest {
|
|
355
355
|
/**
|
|
356
|
-
* @public
|
|
357
356
|
* <p>A set of routing control entries that you want to update.</p>
|
|
357
|
+
* @public
|
|
358
358
|
*/
|
|
359
359
|
UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
|
|
360
360
|
/**
|
|
361
|
-
* @public
|
|
362
361
|
* <p>The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing
|
|
363
362
|
* control states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated
|
|
364
363
|
* by commas.</p>
|
|
365
364
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
|
|
366
365
|
* Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
|
|
366
|
+
* @public
|
|
367
367
|
*/
|
|
368
368
|
SafetyRulesToOverride?: string[];
|
|
369
369
|
}
|
|
@@ -30,6 +30,7 @@ export interface Route53RecoveryCluster {
|
|
|
30
30
|
options: __HttpHandlerOptions,
|
|
31
31
|
cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void
|
|
32
32
|
): void;
|
|
33
|
+
listRoutingControls(): Promise<ListRoutingControlsCommandOutput>;
|
|
33
34
|
listRoutingControls(
|
|
34
35
|
args: ListRoutingControlsCommandInput,
|
|
35
36
|
options?: __HttpHandlerOptions
|
|
@@ -25,6 +25,15 @@ declare const GetRoutingControlStateCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetRoutingControlStateCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetRoutingControlStateCommandInput,
|
|
32
|
+
GetRoutingControlStateCommandOutput,
|
|
33
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetRoutingControlStateCommand extends GetRoutingControlStateCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const ListRoutingControlsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListRoutingControlsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListRoutingControlsCommandInput,
|
|
32
|
+
ListRoutingControlsCommandOutput,
|
|
33
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class ListRoutingControlsCommand extends ListRoutingControlsCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const UpdateRoutingControlStateCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateRoutingControlStateCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateRoutingControlStateCommandInput,
|
|
32
|
+
UpdateRoutingControlStateCommandOutput,
|
|
33
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class UpdateRoutingControlStateCommand extends UpdateRoutingControlStateCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const UpdateRoutingControlStatesCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateRoutingControlStatesCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateRoutingControlStatesCommandInput,
|
|
32
|
+
UpdateRoutingControlStatesCommandOutput,
|
|
33
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class UpdateRoutingControlStatesCommand extends UpdateRoutingControlStatesCommand_base {}
|
|
@@ -6,5 +6,4 @@ export { Route53RecoveryClusterExtensionConfiguration } from "./extensionConfigu
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./models";
|
|
9
|
-
import "@aws-sdk/util-endpoints";
|
|
10
9
|
export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException";
|
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.540.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-route53-recovery-cluster",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|