@aws-sdk/client-route53-recovery-cluster 3.477.0 → 3.481.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 +18 -41
- package/dist-cjs/commands/ListRoutingControlsCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingControlStateCommand.js +18 -41
- package/dist-cjs/commands/UpdateRoutingControlStatesCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListRoutingControlsPaginator.js +2 -24
- package/dist-es/commands/GetRoutingControlStateCommand.js +18 -41
- package/dist-es/commands/ListRoutingControlsCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingControlStateCommand.js +18 -41
- package/dist-es/commands/UpdateRoutingControlStatesCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListRoutingControlsPaginator.js +2 -23
- package/dist-types/commands/GetRoutingControlStateCommand.d.ts +6 -21
- package/dist-types/commands/ListRoutingControlsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingControlStateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRoutingControlStatesCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListRoutingControlsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetRoutingControlStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRoutingControlsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRoutingControlStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRoutingControlStatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListRoutingControlsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetRoutingControlStateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
29
|
-
const commandName = "GetRoutingControlStateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ToggleCustomerAPI",
|
|
38
|
-
operation: "GetRoutingControlState",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_GetRoutingControlStateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_GetRoutingControlStateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetRoutingControlStateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ToggleCustomerAPI", "GetRoutingControlState", {})
|
|
22
|
+
.n("Route53RecoveryClusterClient", "GetRoutingControlStateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_GetRoutingControlStateCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_GetRoutingControlStateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetRoutingControlStateCommand = GetRoutingControlStateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class ListRoutingControlsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
29
|
-
const commandName = "ListRoutingControlsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ToggleCustomerAPI",
|
|
38
|
-
operation: "ListRoutingControls",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_ListRoutingControlsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_ListRoutingControlsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListRoutingControlsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ToggleCustomerAPI", "ListRoutingControls", {})
|
|
22
|
+
.n("Route53RecoveryClusterClient", "ListRoutingControlsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_ListRoutingControlsCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_ListRoutingControlsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListRoutingControlsCommand = ListRoutingControlsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class UpdateRoutingControlStateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
29
|
-
const commandName = "UpdateRoutingControlStateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ToggleCustomerAPI",
|
|
38
|
-
operation: "UpdateRoutingControlState",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_UpdateRoutingControlStateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_UpdateRoutingControlStateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRoutingControlStateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ToggleCustomerAPI", "UpdateRoutingControlState", {})
|
|
22
|
+
.n("Route53RecoveryClusterClient", "UpdateRoutingControlStateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_UpdateRoutingControlStateCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_UpdateRoutingControlStateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRoutingControlStateCommand = UpdateRoutingControlStateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class UpdateRoutingControlStatesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
29
|
-
const commandName = "UpdateRoutingControlStatesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "ToggleCustomerAPI",
|
|
38
|
-
operation: "UpdateRoutingControlStates",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_UpdateRoutingControlStatesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_UpdateRoutingControlStatesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRoutingControlStatesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("ToggleCustomerAPI", "UpdateRoutingControlStates", {})
|
|
22
|
+
.n("Route53RecoveryClusterClient", "UpdateRoutingControlStatesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_UpdateRoutingControlStatesCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_UpdateRoutingControlStatesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRoutingControlStatesCommand = UpdateRoutingControlStatesCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoutingControls = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRoutingControlsCommand_1 = require("../commands/ListRoutingControlsCommand");
|
|
5
6
|
const Route53RecoveryClusterClient_1 = require("../Route53RecoveryClusterClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRoutingControlsCommand_1.ListRoutingControlsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRoutingControls(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof Route53RecoveryClusterClient_1.Route53RecoveryClusterClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Route53RecoveryCluster | Route53RecoveryClusterClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRoutingControls = paginateListRoutingControls;
|
|
7
|
+
exports.paginateListRoutingControls = (0, core_1.createPaginator)(Route53RecoveryClusterClient_1.Route53RecoveryClusterClient, ListRoutingControlsCommand_1.ListRoutingControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetRoutingControlStateCommand, se_GetRoutingControlStateCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetRoutingControlStateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
26
|
-
const commandName = "GetRoutingControlStateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ToggleCustomerAPI",
|
|
35
|
-
operation: "GetRoutingControlState",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetRoutingControlStateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetRoutingControlStateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetRoutingControlStateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ToggleCustomerAPI", "GetRoutingControlState", {})
|
|
19
|
+
.n("Route53RecoveryClusterClient", "GetRoutingControlStateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetRoutingControlStateCommand)
|
|
22
|
+
.de(de_GetRoutingControlStateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRoutingControlsCommand, se_ListRoutingControlsCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRoutingControlsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
26
|
-
const commandName = "ListRoutingControlsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ToggleCustomerAPI",
|
|
35
|
-
operation: "ListRoutingControls",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRoutingControlsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRoutingControlsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRoutingControlsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ToggleCustomerAPI", "ListRoutingControls", {})
|
|
19
|
+
.n("Route53RecoveryClusterClient", "ListRoutingControlsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRoutingControlsCommand)
|
|
22
|
+
.de(de_ListRoutingControlsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRoutingControlStateCommand, se_UpdateRoutingControlStateCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRoutingControlStateCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
26
|
-
const commandName = "UpdateRoutingControlStateCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ToggleCustomerAPI",
|
|
35
|
-
operation: "UpdateRoutingControlState",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRoutingControlStateCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRoutingControlStateCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRoutingControlStateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ToggleCustomerAPI", "UpdateRoutingControlState", {})
|
|
19
|
+
.n("Route53RecoveryClusterClient", "UpdateRoutingControlStateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRoutingControlStateCommand)
|
|
22
|
+
.de(de_UpdateRoutingControlStateCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRoutingControlStatesCommand, se_UpdateRoutingControlStatesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRoutingControlStatesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "Route53RecoveryClusterClient";
|
|
26
|
-
const commandName = "UpdateRoutingControlStatesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ToggleCustomerAPI",
|
|
35
|
-
operation: "UpdateRoutingControlStates",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRoutingControlStatesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRoutingControlStatesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRoutingControlStatesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ToggleCustomerAPI", "UpdateRoutingControlStates", {})
|
|
19
|
+
.n("Route53RecoveryClusterClient", "UpdateRoutingControlStatesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRoutingControlStatesCommand)
|
|
22
|
+
.de(de_UpdateRoutingControlStatesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "route53-recovery-cluster",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRoutingControlsCommand, } from "../commands/ListRoutingControlsCommand";
|
|
2
3
|
import { Route53RecoveryClusterClient } from "../Route53RecoveryClusterClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRoutingControlsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRoutingControls(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof Route53RecoveryClusterClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Route53RecoveryCluster | Route53RecoveryClusterClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRoutingControls = createPaginator(Route53RecoveryClusterClient, ListRoutingControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
|
|
5
4
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetRoutingControlStateCommandInput extends GetRoutingControlSta
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetRoutingControlStateCommandOutput extends GetRoutingControlStateResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetRoutingControlStateCommand_base: {
|
|
24
|
+
new (input: GetRoutingControlStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Get the state for a routing control. A routing control is a simple on/off switch that you
|
|
@@ -101,23 +104,5 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt
|
|
|
101
104
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
102
105
|
*
|
|
103
106
|
*/
|
|
104
|
-
export declare class GetRoutingControlStateCommand extends
|
|
105
|
-
readonly input: GetRoutingControlStateCommandInput;
|
|
106
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
107
|
-
/**
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
constructor(input: GetRoutingControlStateCommandInput);
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput>;
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
118
|
-
private serialize;
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
private deserialize;
|
|
107
|
+
export declare class GetRoutingControlStateCommand extends GetRoutingControlStateCommand_base {
|
|
123
108
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ListRoutingControlsRequest, ListRoutingControlsResponse } from "../models/models_0";
|
|
5
4
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListRoutingControlsCommandInput extends ListRoutingControlsRequ
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListRoutingControlsCommandOutput extends ListRoutingControlsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListRoutingControlsCommand_base: {
|
|
24
|
+
new (input: ListRoutingControlsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>List routing control names and Amazon Resource Names (ARNs), as well as the routing control
|
|
@@ -112,23 +115,5 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes
|
|
|
112
115
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
113
116
|
*
|
|
114
117
|
*/
|
|
115
|
-
export declare class ListRoutingControlsCommand extends
|
|
116
|
-
readonly input: ListRoutingControlsCommandInput;
|
|
117
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
118
|
-
/**
|
|
119
|
-
* @public
|
|
120
|
-
*/
|
|
121
|
-
constructor(input: ListRoutingControlsCommandInput);
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput>;
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
private serialize;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
private deserialize;
|
|
118
|
+
export declare class ListRoutingControlsCommand extends ListRoutingControlsCommand_base {
|
|
134
119
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
|
|
5
4
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface UpdateRoutingControlStateCommandInput extends UpdateRoutingCont
|
|
|
21
20
|
*/
|
|
22
21
|
export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingControlStateResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const UpdateRoutingControlStateCommand_base: {
|
|
24
|
+
new (input: UpdateRoutingControlStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Set the state of the routing control to reroute traffic. You can set the value to ON or
|
|
@@ -107,23 +110,5 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
|
|
|
107
110
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
108
111
|
*
|
|
109
112
|
*/
|
|
110
|
-
export declare class UpdateRoutingControlStateCommand extends
|
|
111
|
-
readonly input: UpdateRoutingControlStateCommandInput;
|
|
112
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
113
|
-
/**
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
constructor(input: UpdateRoutingControlStateCommandInput);
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput>;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
private serialize;
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
private deserialize;
|
|
113
|
+
export declare class UpdateRoutingControlStateCommand extends UpdateRoutingControlStateCommand_base {
|
|
129
114
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
|
|
5
4
|
import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface UpdateRoutingControlStatesCommandInput extends UpdateRoutingCon
|
|
|
21
20
|
*/
|
|
22
21
|
export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingControlStatesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const UpdateRoutingControlStatesCommand_base: {
|
|
24
|
+
new (input: UpdateRoutingControlStatesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput, Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Set multiple routing control states. You can set the value for each state to be ON or OFF.
|
|
@@ -114,23 +117,5 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
|
|
|
114
117
|
* <p>Base exception class for all service exceptions from Route53RecoveryCluster service.</p>
|
|
115
118
|
*
|
|
116
119
|
*/
|
|
117
|
-
export declare class UpdateRoutingControlStatesCommand extends
|
|
118
|
-
readonly input: UpdateRoutingControlStatesCommandInput;
|
|
119
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
constructor(input: UpdateRoutingControlStatesCommandInput);
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput>;
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
private serialize;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
private deserialize;
|
|
120
|
+
export declare class UpdateRoutingControlStatesCommand extends UpdateRoutingControlStatesCommand_base {
|
|
136
121
|
}
|
|
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
15
|
defaultSigningName: string;
|
|
16
16
|
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
17
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
18
36
|
Region?: string;
|
|
19
37
|
UseDualStack?: boolean;
|
|
@@ -4,4 +4,4 @@ import { Route53RecoveryClusterPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRoutingControls: (config: Route53RecoveryClusterPaginationConfiguration, input: ListRoutingControlsCommandInput, ...rest: any[]) => Paginator<ListRoutingControlsCommandOutput>;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
GetRoutingControlStateRequest,
|
|
11
5
|
GetRoutingControlStateResponse,
|
|
@@ -21,22 +15,16 @@ export interface GetRoutingControlStateCommandInput
|
|
|
21
15
|
export interface GetRoutingControlStateCommandOutput
|
|
22
16
|
extends GetRoutingControlStateResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: GetRoutingControlStateCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: GetRoutingControlStateCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: Route53RecoveryClusterClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const GetRoutingControlStateCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetRoutingControlStateCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
GetRoutingControlStateCommandInput,
|
|
38
|
-
GetRoutingControlStateCommandOutput
|
|
23
|
+
GetRoutingControlStateCommandOutput,
|
|
24
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetRoutingControlStateCommand extends GetRoutingControlStateCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
ListRoutingControlsRequest,
|
|
11
5
|
ListRoutingControlsResponse,
|
|
@@ -21,19 +15,16 @@ export interface ListRoutingControlsCommandInput
|
|
|
21
15
|
export interface ListRoutingControlsCommandOutput
|
|
22
16
|
extends ListRoutingControlsResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
private serialize;
|
|
38
|
-
private deserialize;
|
|
39
|
-
}
|
|
18
|
+
declare const ListRoutingControlsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListRoutingControlsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListRoutingControlsCommandInput,
|
|
23
|
+
ListRoutingControlsCommandOutput,
|
|
24
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class ListRoutingControlsCommand extends ListRoutingControlsCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
UpdateRoutingControlStateRequest,
|
|
11
5
|
UpdateRoutingControlStateResponse,
|
|
@@ -21,22 +15,16 @@ export interface UpdateRoutingControlStateCommandInput
|
|
|
21
15
|
export interface UpdateRoutingControlStateCommandOutput
|
|
22
16
|
extends UpdateRoutingControlStateResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: UpdateRoutingControlStateCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: UpdateRoutingControlStateCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: Route53RecoveryClusterClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const UpdateRoutingControlStateCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateRoutingControlStateCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
UpdateRoutingControlStateCommandInput,
|
|
38
|
-
UpdateRoutingControlStateCommandOutput
|
|
23
|
+
UpdateRoutingControlStateCommandOutput,
|
|
24
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class UpdateRoutingControlStateCommand extends UpdateRoutingControlStateCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
UpdateRoutingControlStatesRequest,
|
|
11
5
|
UpdateRoutingControlStatesResponse,
|
|
@@ -21,22 +15,16 @@ export interface UpdateRoutingControlStatesCommandInput
|
|
|
21
15
|
export interface UpdateRoutingControlStatesCommandOutput
|
|
22
16
|
extends UpdateRoutingControlStatesResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: UpdateRoutingControlStatesCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: UpdateRoutingControlStatesCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: Route53RecoveryClusterClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const UpdateRoutingControlStatesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateRoutingControlStatesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
UpdateRoutingControlStatesCommandInput,
|
|
38
|
-
UpdateRoutingControlStatesCommandOutput
|
|
23
|
+
UpdateRoutingControlStatesCommandOutput,
|
|
24
|
+
Route53RecoveryClusterClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class UpdateRoutingControlStatesCommand extends UpdateRoutingControlStatesCommand_base {}
|
|
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
ClientInputEndpointParameters & {
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
28
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
47
|
Region?: string;
|
|
30
48
|
UseDualStack?: boolean;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListRoutingControlsCommandOutput,
|
|
5
5
|
} from "../commands/ListRoutingControlsCommand";
|
|
6
6
|
import { Route53RecoveryClusterPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListRoutingControls: (
|
|
8
8
|
config: Route53RecoveryClusterPaginationConfiguration,
|
|
9
9
|
input: ListRoutingControlsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRoutingControlsCommandOutput>;
|
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.481.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",
|
|
@@ -20,39 +20,40 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.481.0",
|
|
24
|
+
"@aws-sdk/core": "3.481.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.481.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.1",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|
|
40
41
|
"@smithy/middleware-content-length": "^2.0.17",
|
|
41
42
|
"@smithy/middleware-endpoint": "^2.2.3",
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.25",
|
|
43
44
|
"@smithy/middleware-serde": "^2.0.15",
|
|
44
45
|
"@smithy/middleware-stack": "^2.0.9",
|
|
45
46
|
"@smithy/node-config-provider": "^2.1.8",
|
|
46
47
|
"@smithy/node-http-handler": "^2.2.1",
|
|
47
48
|
"@smithy/protocol-http": "^3.0.11",
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
+
"@smithy/smithy-client": "^2.2.0",
|
|
49
50
|
"@smithy/types": "^2.7.0",
|
|
50
51
|
"@smithy/url-parser": "^2.0.15",
|
|
51
52
|
"@smithy/util-base64": "^2.0.1",
|
|
52
53
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
53
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.30",
|
|
56
57
|
"@smithy/util-endpoints": "^1.0.7",
|
|
57
58
|
"@smithy/util-retry": "^2.0.8",
|
|
58
59
|
"@smithy/util-utf8": "^2.0.2",
|