@aws-sdk/client-migrationhuborchestrator 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 +1393 -1389
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MigrationHubOrchestratorClient.js +2 -0
- package/dist-es/commands/CreateTemplateCommand.js +3 -9
- package/dist-es/commands/CreateWorkflowCommand.js +3 -10
- package/dist-es/commands/CreateWorkflowStepCommand.js +3 -9
- package/dist-es/commands/CreateWorkflowStepGroupCommand.js +3 -9
- package/dist-es/commands/DeleteTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteWorkflowCommand.js +3 -9
- package/dist-es/commands/DeleteWorkflowStepCommand.js +3 -9
- package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +3 -9
- package/dist-es/commands/GetTemplateCommand.js +3 -9
- package/dist-es/commands/GetTemplateStepCommand.js +3 -9
- package/dist-es/commands/GetTemplateStepGroupCommand.js +3 -9
- package/dist-es/commands/GetWorkflowCommand.js +3 -10
- package/dist-es/commands/GetWorkflowStepCommand.js +3 -9
- package/dist-es/commands/GetWorkflowStepGroupCommand.js +3 -9
- package/dist-es/commands/ListPluginsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTemplateStepGroupsCommand.js +3 -9
- package/dist-es/commands/ListTemplateStepsCommand.js +3 -9
- package/dist-es/commands/ListTemplatesCommand.js +3 -9
- package/dist-es/commands/ListWorkflowStepGroupsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowStepsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowsCommand.js +3 -9
- package/dist-es/commands/RetryWorkflowStepCommand.js +3 -9
- package/dist-es/commands/StartWorkflowCommand.js +3 -9
- package/dist-es/commands/StopWorkflowCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateWorkflowCommand.js +3 -10
- package/dist-es/commands/UpdateWorkflowStepCommand.js +3 -9
- package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -21
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1324 -0
- package/dist-types/MigrationHubOrchestratorClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -20
- 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 +136 -0
- package/dist-types/ts3.4/MigrationHubOrchestratorClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -15
- 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 +142 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -1138
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
|
@@ -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 { RetryWorkflowStep } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RetryWorkflowStepCommand 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("AWSMigrationHubOrchestrator", "RetryWorkflowStep", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "RetryWorkflowStepCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RetryWorkflowStepCommand)
|
|
20
|
-
.de(de_RetryWorkflowStepCommand)
|
|
14
|
+
.sc(RetryWorkflowStep)
|
|
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 { StartWorkflow } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartWorkflowCommand 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("AWSMigrationHubOrchestrator", "StartWorkflow", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "StartWorkflowCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartWorkflowCommand)
|
|
20
|
-
.de(de_StartWorkflowCommand)
|
|
14
|
+
.sc(StartWorkflow)
|
|
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 { StopWorkflow } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopWorkflowCommand 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("AWSMigrationHubOrchestrator", "StopWorkflow", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "StopWorkflowCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopWorkflowCommand)
|
|
20
|
-
.de(de_StopWorkflowCommand)
|
|
14
|
+
.sc(StopWorkflow)
|
|
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 { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand 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("AWSMigrationHubOrchestrator", "TagResource", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
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 { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand 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("AWSMigrationHubOrchestrator", "UntagResource", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
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 { UpdateTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTemplateCommand 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("AWSMigrationHubOrchestrator", "UpdateTemplate", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "UpdateTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTemplateCommand)
|
|
20
|
-
.de(de_UpdateTemplateCommand)
|
|
14
|
+
.sc(UpdateTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_UpdateWorkflowCommand, se_UpdateWorkflowCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateWorkflow } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateWorkflowCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSMigrationHubOrchestrator", "UpdateWorkflow", {})
|
|
18
13
|
.n("MigrationHubOrchestratorClient", "UpdateWorkflowCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateWorkflowCommand)
|
|
21
|
-
.de(de_UpdateWorkflowCommand)
|
|
14
|
+
.sc(UpdateWorkflow)
|
|
22
15
|
.build() {
|
|
23
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 { UpdateWorkflowStep } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateWorkflowStepCommand 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("AWSMigrationHubOrchestrator", "UpdateWorkflowStep", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "UpdateWorkflowStepCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateWorkflowStepCommand)
|
|
20
|
-
.de(de_UpdateWorkflowStepCommand)
|
|
14
|
+
.sc(UpdateWorkflowStep)
|
|
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 { UpdateWorkflowStepGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateWorkflowStepGroupCommand 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("AWSMigrationHubOrchestrator", "UpdateWorkflowStepGroup", {})
|
|
17
13
|
.n("MigrationHubOrchestratorClient", "UpdateWorkflowStepGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateWorkflowStepGroupCommand)
|
|
20
|
-
.de(de_UpdateWorkflowStepGroupCommand)
|
|
14
|
+
.sc(UpdateWorkflowStepGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { MigrationHubOrchestratorServiceException as __BaseException } from "./MigrationHubOrchestratorServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -179,23 +178,3 @@ export const StepStatus = {
|
|
|
179
178
|
SKIPPED: "SKIPPED",
|
|
180
179
|
USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
|
|
181
180
|
};
|
|
182
|
-
export const CreateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
...(obj.inputParameters && { inputParameters: SENSITIVE_STRING }),
|
|
185
|
-
});
|
|
186
|
-
export const CreateMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
...(obj.workflowInputs && { workflowInputs: SENSITIVE_STRING }),
|
|
189
|
-
});
|
|
190
|
-
export const GetMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
191
|
-
...obj,
|
|
192
|
-
...(obj.workflowInputs && { workflowInputs: SENSITIVE_STRING }),
|
|
193
|
-
});
|
|
194
|
-
export const UpdateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
...(obj.inputParameters && { inputParameters: SENSITIVE_STRING }),
|
|
197
|
-
});
|
|
198
|
-
export const UpdateMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
199
|
-
...obj,
|
|
200
|
-
...(obj.workflowInputs && { workflowInputs: SENSITIVE_STRING }),
|
|
201
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } 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,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.migrationhuborchestrator" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "MigrationHubOrchestrator",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|