@aws-sdk/client-arc-region-switch 3.927.0 → 3.929.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/index.js +799 -1027
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ARCRegionSwitchClient.js +2 -0
- package/dist-es/commands/ApprovePlanExecutionStepCommand.js +3 -9
- package/dist-es/commands/CancelPlanExecutionCommand.js +3 -9
- package/dist-es/commands/CreatePlanCommand.js +3 -9
- package/dist-es/commands/DeletePlanCommand.js +3 -9
- package/dist-es/commands/GetPlanCommand.js +3 -9
- package/dist-es/commands/GetPlanEvaluationStatusCommand.js +3 -9
- package/dist-es/commands/GetPlanExecutionCommand.js +3 -9
- package/dist-es/commands/GetPlanInRegionCommand.js +3 -9
- package/dist-es/commands/ListPlanExecutionEventsCommand.js +3 -9
- package/dist-es/commands/ListPlanExecutionsCommand.js +3 -9
- package/dist-es/commands/ListPlansCommand.js +3 -9
- package/dist-es/commands/ListPlansInRegionCommand.js +3 -9
- package/dist-es/commands/ListRoute53HealthChecksCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartPlanExecutionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdatePlanCommand.js +3 -9
- package/dist-es/commands/UpdatePlanExecutionCommand.js +3 -9
- package/dist-es/commands/UpdatePlanExecutionStepCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +748 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +131 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +137 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_0.js +0 -876
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -182
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -245
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_0Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.arcregionswitch",
|
|
32
|
+
serviceTarget: "ArcRegionSwitch",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "ARC Region switch",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class ARCRegionSwitchClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ApprovePlanExecutionStep } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ApprovePlanExecutionStepCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "ApprovePlanExecutionStep", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "ApprovePlanExecutionStepCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ApprovePlanExecutionStepCommand)
|
|
20
|
-
.de(de_ApprovePlanExecutionStepCommand)
|
|
14
|
+
.sc(ApprovePlanExecutionStep)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CancelPlanExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CancelPlanExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "CancelPlanExecution", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "CancelPlanExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CancelPlanExecutionCommand)
|
|
20
|
-
.de(de_CancelPlanExecutionCommand)
|
|
14
|
+
.sc(CancelPlanExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreatePlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class CreatePlanCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "CreatePlan", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "CreatePlanCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_CreatePlanCommand)
|
|
23
|
-
.de(de_CreatePlanCommand)
|
|
17
|
+
.sc(CreatePlan)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeletePlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class DeletePlanCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "DeletePlan", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "DeletePlanCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_DeletePlanCommand)
|
|
23
|
-
.de(de_DeletePlanCommand)
|
|
17
|
+
.sc(DeletePlan)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class GetPlanCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "GetPlan", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "GetPlanCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_GetPlanCommand)
|
|
23
|
-
.de(de_GetPlanCommand)
|
|
17
|
+
.sc(GetPlan)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPlanEvaluationStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPlanEvaluationStatusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "GetPlanEvaluationStatus", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "GetPlanEvaluationStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetPlanEvaluationStatusCommand)
|
|
20
|
-
.de(de_GetPlanEvaluationStatusCommand)
|
|
14
|
+
.sc(GetPlanEvaluationStatus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPlanExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPlanExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "GetPlanExecution", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "GetPlanExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetPlanExecutionCommand)
|
|
20
|
-
.de(de_GetPlanExecutionCommand)
|
|
14
|
+
.sc(GetPlanExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPlanInRegion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPlanInRegionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "GetPlanInRegion", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "GetPlanInRegionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetPlanInRegionCommand)
|
|
20
|
-
.de(de_GetPlanInRegionCommand)
|
|
14
|
+
.sc(GetPlanInRegion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPlanExecutionEvents } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPlanExecutionEventsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "ListPlanExecutionEvents", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "ListPlanExecutionEventsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPlanExecutionEventsCommand)
|
|
20
|
-
.de(de_ListPlanExecutionEventsCommand)
|
|
14
|
+
.sc(ListPlanExecutionEvents)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPlanExecutions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPlanExecutionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "ListPlanExecutions", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "ListPlanExecutionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPlanExecutionsCommand)
|
|
20
|
-
.de(de_ListPlanExecutionsCommand)
|
|
14
|
+
.sc(ListPlanExecutions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPlans } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPlansCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class ListPlansCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "ListPlans", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "ListPlansCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_ListPlansCommand)
|
|
23
|
-
.de(de_ListPlansCommand)
|
|
17
|
+
.sc(ListPlans)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPlansInRegion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPlansInRegionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "ListPlansInRegion", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "ListPlansInRegionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPlansInRegionCommand)
|
|
20
|
-
.de(de_ListPlansInRegionCommand)
|
|
14
|
+
.sc(ListPlansInRegion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListRoute53HealthChecks } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListRoute53HealthChecksCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class ListRoute53HealthChecksCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "ListRoute53HealthChecks", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "ListRoute53HealthChecksCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_ListRoute53HealthChecksCommand)
|
|
23
|
-
.de(de_ListRoute53HealthChecksCommand)
|
|
17
|
+
.sc(ListRoute53HealthChecks)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "ListTagsForResource", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "ListTagsForResourceCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_ListTagsForResourceCommand)
|
|
23
|
-
.de(de_ListTagsForResourceCommand)
|
|
17
|
+
.sc(ListTagsForResource)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartPlanExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartPlanExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "StartPlanExecution", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "StartPlanExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartPlanExecutionCommand)
|
|
20
|
-
.de(de_StartPlanExecutionCommand)
|
|
14
|
+
.sc(StartPlanExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class TagResourceCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "TagResource", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "TagResourceCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_TagResourceCommand)
|
|
23
|
-
.de(de_TagResourceCommand)
|
|
17
|
+
.sc(TagResource)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class UntagResourceCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "UntagResource", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "UntagResourceCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_UntagResourceCommand)
|
|
23
|
-
.de(de_UntagResourceCommand)
|
|
17
|
+
.sc(UntagResource)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class UpdatePlanCommand extends $Command
|
|
|
11
10
|
UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("ArcRegionSwitch", "UpdatePlan", {})
|
|
20
16
|
.n("ARCRegionSwitchClient", "UpdatePlanCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_UpdatePlanCommand)
|
|
23
|
-
.de(de_UpdatePlanCommand)
|
|
17
|
+
.sc(UpdatePlan)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePlanExecution } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePlanExecutionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "UpdatePlanExecution", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "UpdatePlanExecutionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePlanExecutionCommand)
|
|
20
|
-
.de(de_UpdatePlanExecutionCommand)
|
|
14
|
+
.sc(UpdatePlanExecution)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePlanExecutionStep } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePlanExecutionStepCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ArcRegionSwitch", "UpdatePlanExecutionStep", {})
|
|
17
13
|
.n("ARCRegionSwitchClient", "UpdatePlanExecutionStepCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePlanExecutionStepCommand)
|
|
20
|
-
.de(de_UpdatePlanExecutionStepCommand)
|
|
14
|
+
.sc(UpdatePlanExecutionStep)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.arcregionswitch",
|
|
29
|
+
serviceTarget: "ArcRegionSwitch",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "ARC Region switch",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|