@aws-sdk/client-route53-recovery-cluster 3.296.0 → 3.298.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/commands/GetRoutingControlStateCommand.js +2 -3
- package/dist-cjs/commands/ListRoutingControlsCommand.js +2 -3
- package/dist-cjs/commands/UpdateRoutingControlStateCommand.js +2 -3
- package/dist-cjs/commands/UpdateRoutingControlStatesCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -45
- package/dist-es/commands/GetRoutingControlStateCommand.js +2 -3
- package/dist-es/commands/ListRoutingControlsCommand.js +2 -3
- package/dist-es/commands/UpdateRoutingControlStateCommand.js +2 -3
- package/dist-es/commands/UpdateRoutingControlStatesCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -33
- package/dist-types/Route53RecoveryCluster.d.ts +5 -0
- package/dist-types/Route53RecoveryClusterClient.d.ts +24 -4
- package/dist-types/commands/GetRoutingControlStateCommand.d.ts +16 -0
- package/dist-types/commands/ListRoutingControlsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRoutingControlStateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRoutingControlStatesCommand.d.ts +16 -0
- package/dist-types/models/Route53RecoveryClusterServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +41 -44
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListRoutingControlsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -33
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.GetRoutingControlStateCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class GetRoutingControlStateCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetRoutingControlStateCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListRoutingControlsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class ListRoutingControlsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListRoutingControlsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.UpdateRoutingControlStateCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class UpdateRoutingControlStateCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class UpdateRoutingControlStateCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.UpdateRoutingControlStatesCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class UpdateRoutingControlStatesCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class UpdateRoutingControlStatesCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ServiceLimitExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.RoutingControlState = exports.EndpointTemporarilyUnavailableException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const Route53RecoveryClusterServiceException_1 = require("./Route53RecoveryClusterServiceException");
|
|
5
5
|
class AccessDeniedException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -130,47 +130,3 @@ class ServiceLimitExceededException extends Route53RecoveryClusterServiceExcepti
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
exports.ServiceLimitExceededException = ServiceLimitExceededException;
|
|
133
|
-
const GetRoutingControlStateRequestFilterSensitiveLog = (obj) => ({
|
|
134
|
-
...obj,
|
|
135
|
-
});
|
|
136
|
-
exports.GetRoutingControlStateRequestFilterSensitiveLog = GetRoutingControlStateRequestFilterSensitiveLog;
|
|
137
|
-
const GetRoutingControlStateResponseFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
140
|
-
exports.GetRoutingControlStateResponseFilterSensitiveLog = GetRoutingControlStateResponseFilterSensitiveLog;
|
|
141
|
-
const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
|
|
145
|
-
const ListRoutingControlsRequestFilterSensitiveLog = (obj) => ({
|
|
146
|
-
...obj,
|
|
147
|
-
});
|
|
148
|
-
exports.ListRoutingControlsRequestFilterSensitiveLog = ListRoutingControlsRequestFilterSensitiveLog;
|
|
149
|
-
const RoutingControlFilterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
exports.RoutingControlFilterSensitiveLog = RoutingControlFilterSensitiveLog;
|
|
153
|
-
const ListRoutingControlsResponseFilterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
});
|
|
156
|
-
exports.ListRoutingControlsResponseFilterSensitiveLog = ListRoutingControlsResponseFilterSensitiveLog;
|
|
157
|
-
const UpdateRoutingControlStateRequestFilterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
});
|
|
160
|
-
exports.UpdateRoutingControlStateRequestFilterSensitiveLog = UpdateRoutingControlStateRequestFilterSensitiveLog;
|
|
161
|
-
const UpdateRoutingControlStateResponseFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
});
|
|
164
|
-
exports.UpdateRoutingControlStateResponseFilterSensitiveLog = UpdateRoutingControlStateResponseFilterSensitiveLog;
|
|
165
|
-
const UpdateRoutingControlStateEntryFilterSensitiveLog = (obj) => ({
|
|
166
|
-
...obj,
|
|
167
|
-
});
|
|
168
|
-
exports.UpdateRoutingControlStateEntryFilterSensitiveLog = UpdateRoutingControlStateEntryFilterSensitiveLog;
|
|
169
|
-
const UpdateRoutingControlStatesRequestFilterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
exports.UpdateRoutingControlStatesRequestFilterSensitiveLog = UpdateRoutingControlStatesRequestFilterSensitiveLog;
|
|
173
|
-
const UpdateRoutingControlStatesResponseFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
exports.UpdateRoutingControlStatesResponseFilterSensitiveLog = UpdateRoutingControlStatesResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetRoutingControlStateRequestFilterSensitiveLog, GetRoutingControlStateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0GetRoutingControlStateCommand, serializeAws_json1_0GetRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class GetRoutingControlStateCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetRoutingControlStateCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListRoutingControlsRequestFilterSensitiveLog, ListRoutingControlsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0ListRoutingControlsCommand, serializeAws_json1_0ListRoutingControlsCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class ListRoutingControlsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListRoutingControlsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateRoutingControlStateRequestFilterSensitiveLog, UpdateRoutingControlStateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0UpdateRoutingControlStateCommand, serializeAws_json1_0UpdateRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class UpdateRoutingControlStateCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UpdateRoutingControlStateCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateRoutingControlStatesRequestFilterSensitiveLog, UpdateRoutingControlStatesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0UpdateRoutingControlStatesCommand, serializeAws_json1_0UpdateRoutingControlStatesCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class UpdateRoutingControlStatesCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UpdateRoutingControlStatesCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -119,36 +119,3 @@ export class ServiceLimitExceededException extends __BaseException {
|
|
|
119
119
|
this.serviceCode = opts.serviceCode;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
export const GetRoutingControlStateRequestFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
export const GetRoutingControlStateResponseFilterSensitiveLog = (obj) => ({
|
|
126
|
-
...obj,
|
|
127
|
-
});
|
|
128
|
-
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
export const ListRoutingControlsRequestFilterSensitiveLog = (obj) => ({
|
|
132
|
-
...obj,
|
|
133
|
-
});
|
|
134
|
-
export const RoutingControlFilterSensitiveLog = (obj) => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
export const ListRoutingControlsResponseFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
140
|
-
export const UpdateRoutingControlStateRequestFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
});
|
|
143
|
-
export const UpdateRoutingControlStateResponseFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
});
|
|
146
|
-
export const UpdateRoutingControlStateEntryFilterSensitiveLog = (obj) => ({
|
|
147
|
-
...obj,
|
|
148
|
-
});
|
|
149
|
-
export const UpdateRoutingControlStatesRequestFilterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
export const UpdateRoutingControlStatesResponseFilterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
});
|
|
@@ -5,6 +5,7 @@ import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommand
|
|
|
5
5
|
import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
|
|
6
6
|
import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
8
9
|
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
9
10
|
* <p>With Route 53 ARC, you can use routing control with extreme reliability to
|
|
10
11
|
* recover applications by rerouting traffic across
|
|
@@ -48,6 +49,7 @@ import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
|
|
|
48
49
|
*/
|
|
49
50
|
export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient {
|
|
50
51
|
/**
|
|
52
|
+
* @public
|
|
51
53
|
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
52
54
|
* can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
|
|
53
55
|
* the state is Off, traffic does not flow. </p>
|
|
@@ -84,6 +86,7 @@ export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient
|
|
|
84
86
|
getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
85
87
|
getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
|
|
86
88
|
/**
|
|
89
|
+
* @public
|
|
87
90
|
* <p>List routing control names and Amazon Resource Names (ARNs), as well as the routing control
|
|
88
91
|
* state for each routing control, along with the control panel name and control panel ARN for the routing controls.
|
|
89
92
|
* If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists
|
|
@@ -121,6 +124,7 @@ export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient
|
|
|
121
124
|
listRoutingControls(args: ListRoutingControlsCommandInput, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
122
125
|
listRoutingControls(args: ListRoutingControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
|
|
123
126
|
/**
|
|
127
|
+
* @public
|
|
124
128
|
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
125
129
|
* Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not
|
|
126
130
|
* flow.</p>
|
|
@@ -160,6 +164,7 @@ export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient
|
|
|
160
164
|
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
161
165
|
updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
|
|
162
166
|
/**
|
|
167
|
+
* @public
|
|
163
168
|
* <p>Set multiple routing control states. You can set the value for each state to be On or Off.
|
|
164
169
|
* When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
165
170
|
* flow.</p>
|
|
@@ -12,15 +12,24 @@ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } fro
|
|
|
12
12
|
import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
|
|
13
13
|
import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
|
|
14
14
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
15
18
|
export type ServiceInputTypes = GetRoutingControlStateCommandInput | ListRoutingControlsCommandInput | UpdateRoutingControlStateCommandInput | UpdateRoutingControlStatesCommandInput;
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
16
22
|
export type ServiceOutputTypes = GetRoutingControlStateCommandOutput | ListRoutingControlsCommandOutput | UpdateRoutingControlStateCommandOutput | UpdateRoutingControlStatesCommandOutput;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
17
26
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
18
27
|
/**
|
|
19
28
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
20
29
|
*/
|
|
21
30
|
requestHandler?: __HttpHandler;
|
|
22
31
|
/**
|
|
23
|
-
* A constructor for a class implementing the {@link
|
|
32
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
24
33
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
25
34
|
* @internal
|
|
26
35
|
*/
|
|
@@ -110,23 +119,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
110
119
|
*/
|
|
111
120
|
logger?: __Logger;
|
|
112
121
|
/**
|
|
113
|
-
* The {@link
|
|
122
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
114
123
|
*/
|
|
115
124
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
116
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
117
129
|
type Route53RecoveryClusterClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
118
130
|
/**
|
|
119
|
-
*
|
|
131
|
+
* @public
|
|
132
|
+
*
|
|
133
|
+
* The configuration interface of Route53RecoveryClusterClient class constructor that set the region, credentials and other options.
|
|
120
134
|
*/
|
|
121
135
|
export interface Route53RecoveryClusterClientConfig extends Route53RecoveryClusterClientConfigType {
|
|
122
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
123
140
|
type Route53RecoveryClusterClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
124
141
|
/**
|
|
125
|
-
*
|
|
142
|
+
* @public
|
|
143
|
+
*
|
|
144
|
+
* The resolved configuration interface of Route53RecoveryClusterClient class. This is resolved and normalized from the {@link Route53RecoveryClusterClientConfig | constructor configuration interface}.
|
|
126
145
|
*/
|
|
127
146
|
export interface Route53RecoveryClusterClientResolvedConfig extends Route53RecoveryClusterClientResolvedConfigType {
|
|
128
147
|
}
|
|
129
148
|
/**
|
|
149
|
+
* @public
|
|
130
150
|
* <p>Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.</p>
|
|
131
151
|
* <p>With Route 53 ARC, you can use routing control with extreme reliability to
|
|
132
152
|
* recover applications by rerouting traffic across
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
|
|
5
5
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetRoutingControlStateCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetRoutingControlStateCommandInput extends GetRoutingControlStateRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetRoutingControlStateCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetRoutingControlStateCommandOutput extends GetRoutingControlStateResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
18
23
|
* can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
|
|
19
24
|
* the state is Off, traffic does not flow. </p>
|
|
@@ -55,6 +60,8 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt
|
|
|
55
60
|
* const response = await client.send(command);
|
|
56
61
|
* ```
|
|
57
62
|
*
|
|
63
|
+
* @param GetRoutingControlStateCommandInput - {@link GetRoutingControlStateCommandInput}
|
|
64
|
+
* @returns {@link GetRoutingControlStateCommandOutput}
|
|
58
65
|
* @see {@link GetRoutingControlStateCommandInput} for command's `input` shape.
|
|
59
66
|
* @see {@link GetRoutingControlStateCommandOutput} for command's `response` shape.
|
|
60
67
|
* @see {@link Route53RecoveryClusterClientResolvedConfig | config} for Route53RecoveryClusterClient's `config` shape.
|
|
@@ -82,11 +89,20 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt
|
|
|
82
89
|
export declare class GetRoutingControlStateCommand extends $Command<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
|
|
83
90
|
readonly input: GetRoutingControlStateCommandInput;
|
|
84
91
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
85
95
|
constructor(input: GetRoutingControlStateCommandInput);
|
|
86
96
|
/**
|
|
87
97
|
* @internal
|
|
88
98
|
*/
|
|
89
99
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput>;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
90
103
|
private serialize;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
91
107
|
private deserialize;
|
|
92
108
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListRoutingControlsRequest, ListRoutingControlsResponse } from "../models/models_0";
|
|
5
5
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListRoutingControlsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListRoutingControlsCommandInput extends ListRoutingControlsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListRoutingControlsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListRoutingControlsCommandOutput extends ListRoutingControlsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>List routing control names and Amazon Resource Names (ARNs), as well as the routing control
|
|
18
23
|
* state for each routing control, along with the control panel name and control panel ARN for the routing controls.
|
|
19
24
|
* If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists
|
|
@@ -56,6 +61,8 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes
|
|
|
56
61
|
* const response = await client.send(command);
|
|
57
62
|
* ```
|
|
58
63
|
*
|
|
64
|
+
* @param ListRoutingControlsCommandInput - {@link ListRoutingControlsCommandInput}
|
|
65
|
+
* @returns {@link ListRoutingControlsCommandOutput}
|
|
59
66
|
* @see {@link ListRoutingControlsCommandInput} for command's `input` shape.
|
|
60
67
|
* @see {@link ListRoutingControlsCommandOutput} for command's `response` shape.
|
|
61
68
|
* @see {@link Route53RecoveryClusterClientResolvedConfig | config} for Route53RecoveryClusterClient's `config` shape.
|
|
@@ -83,11 +90,20 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes
|
|
|
83
90
|
export declare class ListRoutingControlsCommand extends $Command<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
|
|
84
91
|
readonly input: ListRoutingControlsCommandInput;
|
|
85
92
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
86
96
|
constructor(input: ListRoutingControlsCommandInput);
|
|
87
97
|
/**
|
|
88
98
|
* @internal
|
|
89
99
|
*/
|
|
90
100
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
91
104
|
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
92
108
|
private deserialize;
|
|
93
109
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
|
|
5
5
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateRoutingControlStateCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateRoutingControlStateCommandInput extends UpdateRoutingControlStateRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateRoutingControlStateCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingControlStateResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
|
|
18
23
|
* Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not
|
|
19
24
|
* flow.</p>
|
|
@@ -58,6 +63,8 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
|
|
|
58
63
|
* const response = await client.send(command);
|
|
59
64
|
* ```
|
|
60
65
|
*
|
|
66
|
+
* @param UpdateRoutingControlStateCommandInput - {@link UpdateRoutingControlStateCommandInput}
|
|
67
|
+
* @returns {@link UpdateRoutingControlStateCommandOutput}
|
|
61
68
|
* @see {@link UpdateRoutingControlStateCommandInput} for command's `input` shape.
|
|
62
69
|
* @see {@link UpdateRoutingControlStateCommandOutput} for command's `response` shape.
|
|
63
70
|
* @see {@link Route53RecoveryClusterClientResolvedConfig | config} for Route53RecoveryClusterClient's `config` shape.
|
|
@@ -88,11 +95,20 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
|
|
|
88
95
|
export declare class UpdateRoutingControlStateCommand extends $Command<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
|
|
89
96
|
readonly input: UpdateRoutingControlStateCommandInput;
|
|
90
97
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
91
101
|
constructor(input: UpdateRoutingControlStateCommandInput);
|
|
92
102
|
/**
|
|
93
103
|
* @internal
|
|
94
104
|
*/
|
|
95
105
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
96
109
|
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
97
113
|
private deserialize;
|
|
98
114
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
|
|
5
5
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateRoutingControlStatesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateRoutingControlStatesCommandInput extends UpdateRoutingControlStatesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateRoutingControlStatesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingControlStatesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Set multiple routing control states. You can set the value for each state to be On or Off.
|
|
18
23
|
* When the state is On, traffic flows to a cell. When it's Off, traffic does not
|
|
19
24
|
* flow.</p>
|
|
@@ -58,6 +63,8 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
|
|
|
58
63
|
* const response = await client.send(command);
|
|
59
64
|
* ```
|
|
60
65
|
*
|
|
66
|
+
* @param UpdateRoutingControlStatesCommandInput - {@link UpdateRoutingControlStatesCommandInput}
|
|
67
|
+
* @returns {@link UpdateRoutingControlStatesCommandOutput}
|
|
61
68
|
* @see {@link UpdateRoutingControlStatesCommandInput} for command's `input` shape.
|
|
62
69
|
* @see {@link UpdateRoutingControlStatesCommandOutput} for command's `response` shape.
|
|
63
70
|
* @see {@link Route53RecoveryClusterClientResolvedConfig | config} for Route53RecoveryClusterClient's `config` shape.
|
|
@@ -91,11 +98,20 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
|
|
|
91
98
|
export declare class UpdateRoutingControlStatesCommand extends $Command<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
|
|
92
99
|
readonly input: UpdateRoutingControlStatesCommandInput;
|
|
93
100
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
94
104
|
constructor(input: UpdateRoutingControlStatesCommandInput);
|
|
95
105
|
/**
|
|
96
106
|
* @internal
|
|
97
107
|
*/
|
|
98
108
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
99
112
|
private serialize;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
100
116
|
private deserialize;
|
|
101
117
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Route53RecoveryCluster service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class Route53RecoveryClusterServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Route53RecoveryClusterServiceException as __BaseException } from "./Route53RecoveryClusterServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -12,6 +13,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
16
|
+
* @public
|
|
15
17
|
* <p>There was a conflict with this request. Try again.</p>
|
|
16
18
|
*/
|
|
17
19
|
export declare class ConflictException extends __BaseException {
|
|
@@ -31,6 +33,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
31
33
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
32
34
|
}
|
|
33
35
|
/**
|
|
36
|
+
* @public
|
|
34
37
|
* <p>The cluster endpoint isn't available. Try another cluster endpoint.</p>
|
|
35
38
|
*/
|
|
36
39
|
export declare class EndpointTemporarilyUnavailableException extends __BaseException {
|
|
@@ -41,16 +44,25 @@ export declare class EndpointTemporarilyUnavailableException extends __BaseExcep
|
|
|
41
44
|
*/
|
|
42
45
|
constructor(opts: __ExceptionOptionType<EndpointTemporarilyUnavailableException, __BaseException>);
|
|
43
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
44
50
|
export interface GetRoutingControlStateRequest {
|
|
45
51
|
/**
|
|
46
52
|
* <p>The Amazon Resource Name (ARN) for the routing control that you want to get the state for.</p>
|
|
47
53
|
*/
|
|
48
54
|
RoutingControlArn: string | undefined;
|
|
49
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
50
59
|
export declare enum RoutingControlState {
|
|
51
60
|
Off = "Off",
|
|
52
61
|
On = "On"
|
|
53
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
54
66
|
export interface GetRoutingControlStateResponse {
|
|
55
67
|
/**
|
|
56
68
|
* <p>The Amazon Resource Name (ARN) of the response.</p>
|
|
@@ -66,6 +78,7 @@ export interface GetRoutingControlStateResponse {
|
|
|
66
78
|
RoutingControlName?: string;
|
|
67
79
|
}
|
|
68
80
|
/**
|
|
81
|
+
* @public
|
|
69
82
|
* <p>There was an unexpected error during processing of the request.</p>
|
|
70
83
|
*/
|
|
71
84
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -81,6 +94,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
81
94
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
82
95
|
}
|
|
83
96
|
/**
|
|
97
|
+
* @public
|
|
84
98
|
* <p>The request references a routing control or control panel that was not found.</p>
|
|
85
99
|
*/
|
|
86
100
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -100,6 +114,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
100
114
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
101
115
|
}
|
|
102
116
|
/**
|
|
117
|
+
* @public
|
|
103
118
|
* <p>The request was denied because of request throttling.</p>
|
|
104
119
|
*/
|
|
105
120
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -115,6 +130,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
115
130
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
116
131
|
}
|
|
117
132
|
/**
|
|
133
|
+
* @public
|
|
118
134
|
* <p>There was a validation error on the request.</p>
|
|
119
135
|
*/
|
|
120
136
|
export interface ValidationExceptionField {
|
|
@@ -127,6 +143,9 @@ export interface ValidationExceptionField {
|
|
|
127
143
|
*/
|
|
128
144
|
message: string | undefined;
|
|
129
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
130
149
|
export declare enum ValidationExceptionReason {
|
|
131
150
|
CANNOT_PARSE = "cannotParse",
|
|
132
151
|
FIELD_VALIDATION_FAILED = "fieldValidationFailed",
|
|
@@ -134,6 +153,7 @@ export declare enum ValidationExceptionReason {
|
|
|
134
153
|
UNKNOWN_OPERATION = "unknownOperation"
|
|
135
154
|
}
|
|
136
155
|
/**
|
|
156
|
+
* @public
|
|
137
157
|
* <p>There was a validation error on the request.</p>
|
|
138
158
|
*/
|
|
139
159
|
export declare class ValidationException extends __BaseException {
|
|
@@ -152,6 +172,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
152
172
|
*/
|
|
153
173
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
154
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
155
178
|
export interface ListRoutingControlsRequest {
|
|
156
179
|
/**
|
|
157
180
|
* <p>The Amazon Resource Name (ARN) of the control panel of the routing controls to list.</p>
|
|
@@ -167,6 +190,7 @@ export interface ListRoutingControlsRequest {
|
|
|
167
190
|
MaxResults?: number;
|
|
168
191
|
}
|
|
169
192
|
/**
|
|
193
|
+
* @public
|
|
170
194
|
* <p>A routing control, which is a simple on/off switch that you
|
|
171
195
|
* can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
|
|
172
196
|
* the state is Off, traffic does not flow. </p>
|
|
@@ -194,6 +218,9 @@ export interface RoutingControl {
|
|
|
194
218
|
*/
|
|
195
219
|
RoutingControlState?: RoutingControlState | string;
|
|
196
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
197
224
|
export interface ListRoutingControlsResponse {
|
|
198
225
|
/**
|
|
199
226
|
* <p>The list of routing controls.</p>
|
|
@@ -205,6 +232,7 @@ export interface ListRoutingControlsResponse {
|
|
|
205
232
|
NextToken?: string;
|
|
206
233
|
}
|
|
207
234
|
/**
|
|
235
|
+
* @public
|
|
208
236
|
* <p>The request can't update that many routing control states at the same time. Try again with fewer routing control states.</p>
|
|
209
237
|
*/
|
|
210
238
|
export declare class ServiceLimitExceededException extends __BaseException {
|
|
@@ -231,6 +259,9 @@ export declare class ServiceLimitExceededException extends __BaseException {
|
|
|
231
259
|
*/
|
|
232
260
|
constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
|
|
233
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
234
265
|
export interface UpdateRoutingControlStateRequest {
|
|
235
266
|
/**
|
|
236
267
|
* <p>The Amazon Resource Name (ARN) for the routing control that you want to update the state for.</p>
|
|
@@ -249,9 +280,13 @@ export interface UpdateRoutingControlStateRequest {
|
|
|
249
280
|
*/
|
|
250
281
|
SafetyRulesToOverride?: string[];
|
|
251
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
252
286
|
export interface UpdateRoutingControlStateResponse {
|
|
253
287
|
}
|
|
254
288
|
/**
|
|
289
|
+
* @public
|
|
255
290
|
* <p>A routing control state entry.</p>
|
|
256
291
|
*/
|
|
257
292
|
export interface UpdateRoutingControlStateEntry {
|
|
@@ -264,6 +299,9 @@ export interface UpdateRoutingControlStateEntry {
|
|
|
264
299
|
*/
|
|
265
300
|
RoutingControlState: RoutingControlState | string | undefined;
|
|
266
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
267
305
|
export interface UpdateRoutingControlStatesRequest {
|
|
268
306
|
/**
|
|
269
307
|
* <p>A set of routing control entries that you want to update.</p>
|
|
@@ -278,49 +316,8 @@ export interface UpdateRoutingControlStatesRequest {
|
|
|
278
316
|
*/
|
|
279
317
|
SafetyRulesToOverride?: string[];
|
|
280
318
|
}
|
|
281
|
-
export interface UpdateRoutingControlStatesResponse {
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
|
-
export declare const GetRoutingControlStateRequestFilterSensitiveLog: (obj: GetRoutingControlStateRequest) => any;
|
|
287
|
-
/**
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
|
-
export declare const GetRoutingControlStateResponseFilterSensitiveLog: (obj: GetRoutingControlStateResponse) => any;
|
|
291
|
-
/**
|
|
292
|
-
* @internal
|
|
293
|
-
*/
|
|
294
|
-
export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
295
|
-
/**
|
|
296
|
-
* @internal
|
|
297
|
-
*/
|
|
298
|
-
export declare const ListRoutingControlsRequestFilterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
|
|
299
|
-
/**
|
|
300
|
-
* @internal
|
|
301
|
-
*/
|
|
302
|
-
export declare const RoutingControlFilterSensitiveLog: (obj: RoutingControl) => any;
|
|
303
|
-
/**
|
|
304
|
-
* @internal
|
|
305
|
-
*/
|
|
306
|
-
export declare const ListRoutingControlsResponseFilterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
|
|
307
319
|
/**
|
|
308
|
-
* @
|
|
320
|
+
* @public
|
|
309
321
|
*/
|
|
310
|
-
export
|
|
311
|
-
|
|
312
|
-
* @internal
|
|
313
|
-
*/
|
|
314
|
-
export declare const UpdateRoutingControlStateResponseFilterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
|
|
315
|
-
/**
|
|
316
|
-
* @internal
|
|
317
|
-
*/
|
|
318
|
-
export declare const UpdateRoutingControlStateEntryFilterSensitiveLog: (obj: UpdateRoutingControlStateEntry) => any;
|
|
319
|
-
/**
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
export declare const UpdateRoutingControlStatesRequestFilterSensitiveLog: (obj: UpdateRoutingControlStatesRequest) => any;
|
|
323
|
-
/**
|
|
324
|
-
* @internal
|
|
325
|
-
*/
|
|
326
|
-
export declare const UpdateRoutingControlStatesResponseFilterSensitiveLog: (obj: UpdateRoutingControlStatesResponse) => any;
|
|
322
|
+
export interface UpdateRoutingControlStatesResponse {
|
|
323
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { Route53RecoveryClusterClient } from "../Route53RecoveryClusterClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface Route53RecoveryClusterPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: Route53RecoveryClusterClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "../commands/ListRoutingControlsCommand";
|
|
3
3
|
import { Route53RecoveryClusterPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRoutingControls(config: Route53RecoveryClusterPaginationConfiguration, input: ListRoutingControlsCommandInput, ...additionalArguments: any): Paginator<ListRoutingControlsCommandOutput>;
|
|
@@ -124,36 +124,3 @@ export interface UpdateRoutingControlStatesRequest {
|
|
|
124
124
|
SafetyRulesToOverride?: string[];
|
|
125
125
|
}
|
|
126
126
|
export interface UpdateRoutingControlStatesResponse {}
|
|
127
|
-
export declare const GetRoutingControlStateRequestFilterSensitiveLog: (
|
|
128
|
-
obj: GetRoutingControlStateRequest
|
|
129
|
-
) => any;
|
|
130
|
-
export declare const GetRoutingControlStateResponseFilterSensitiveLog: (
|
|
131
|
-
obj: GetRoutingControlStateResponse
|
|
132
|
-
) => any;
|
|
133
|
-
export declare const ValidationExceptionFieldFilterSensitiveLog: (
|
|
134
|
-
obj: ValidationExceptionField
|
|
135
|
-
) => any;
|
|
136
|
-
export declare const ListRoutingControlsRequestFilterSensitiveLog: (
|
|
137
|
-
obj: ListRoutingControlsRequest
|
|
138
|
-
) => any;
|
|
139
|
-
export declare const RoutingControlFilterSensitiveLog: (
|
|
140
|
-
obj: RoutingControl
|
|
141
|
-
) => any;
|
|
142
|
-
export declare const ListRoutingControlsResponseFilterSensitiveLog: (
|
|
143
|
-
obj: ListRoutingControlsResponse
|
|
144
|
-
) => any;
|
|
145
|
-
export declare const UpdateRoutingControlStateRequestFilterSensitiveLog: (
|
|
146
|
-
obj: UpdateRoutingControlStateRequest
|
|
147
|
-
) => any;
|
|
148
|
-
export declare const UpdateRoutingControlStateResponseFilterSensitiveLog: (
|
|
149
|
-
obj: UpdateRoutingControlStateResponse
|
|
150
|
-
) => any;
|
|
151
|
-
export declare const UpdateRoutingControlStateEntryFilterSensitiveLog: (
|
|
152
|
-
obj: UpdateRoutingControlStateEntry
|
|
153
|
-
) => any;
|
|
154
|
-
export declare const UpdateRoutingControlStatesRequestFilterSensitiveLog: (
|
|
155
|
-
obj: UpdateRoutingControlStatesRequest
|
|
156
|
-
) => any;
|
|
157
|
-
export declare const UpdateRoutingControlStatesResponseFilterSensitiveLog: (
|
|
158
|
-
obj: UpdateRoutingControlStatesResponse
|
|
159
|
-
) => any;
|
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.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo route53-recovery-cluster"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|