@aws-sdk/client-migrationhuborchestrator 3.928.0 → 3.930.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 -1423
- 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 -55
- 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 +12 -23
- 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 -18
- 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 +33 -34
- 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";
|
|
@@ -38,20 +37,6 @@ export class ValidationException extends __BaseException {
|
|
|
38
37
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
export var StepInput;
|
|
42
|
-
(function (StepInput) {
|
|
43
|
-
StepInput.visit = (value, visitor) => {
|
|
44
|
-
if (value.integerValue !== undefined)
|
|
45
|
-
return visitor.integerValue(value.integerValue);
|
|
46
|
-
if (value.stringValue !== undefined)
|
|
47
|
-
return visitor.stringValue(value.stringValue);
|
|
48
|
-
if (value.listOfStringsValue !== undefined)
|
|
49
|
-
return visitor.listOfStringsValue(value.listOfStringsValue);
|
|
50
|
-
if (value.mapOfStringValue !== undefined)
|
|
51
|
-
return visitor.mapOfStringValue(value.mapOfStringValue);
|
|
52
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
53
|
-
};
|
|
54
|
-
})(StepInput || (StepInput = {}));
|
|
55
40
|
export const MigrationWorkflowStatusEnum = {
|
|
56
41
|
COMPLETED: "COMPLETED",
|
|
57
42
|
CREATING: "CREATING",
|
|
@@ -105,14 +90,6 @@ export class ConflictException extends __BaseException {
|
|
|
105
90
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
106
91
|
}
|
|
107
92
|
}
|
|
108
|
-
export var TemplateSource;
|
|
109
|
-
(function (TemplateSource) {
|
|
110
|
-
TemplateSource.visit = (value, visitor) => {
|
|
111
|
-
if (value.workflowId !== undefined)
|
|
112
|
-
return visitor.workflowId(value.workflowId);
|
|
113
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
114
|
-
};
|
|
115
|
-
})(TemplateSource || (TemplateSource = {}));
|
|
116
93
|
export const DataType = {
|
|
117
94
|
INTEGER: "INTEGER",
|
|
118
95
|
STRING: "STRING",
|
|
@@ -157,18 +134,6 @@ export const StepGroupStatus = {
|
|
|
157
134
|
READY: "READY",
|
|
158
135
|
USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
|
|
159
136
|
};
|
|
160
|
-
export var WorkflowStepOutputUnion;
|
|
161
|
-
(function (WorkflowStepOutputUnion) {
|
|
162
|
-
WorkflowStepOutputUnion.visit = (value, visitor) => {
|
|
163
|
-
if (value.integerValue !== undefined)
|
|
164
|
-
return visitor.integerValue(value.integerValue);
|
|
165
|
-
if (value.stringValue !== undefined)
|
|
166
|
-
return visitor.stringValue(value.stringValue);
|
|
167
|
-
if (value.listOfStringValue !== undefined)
|
|
168
|
-
return visitor.listOfStringValue(value.listOfStringValue);
|
|
169
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
170
|
-
};
|
|
171
|
-
})(WorkflowStepOutputUnion || (WorkflowStepOutputUnion = {}));
|
|
172
137
|
export const StepStatus = {
|
|
173
138
|
AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
|
|
174
139
|
COMPLETED: "COMPLETED",
|
|
@@ -179,23 +144,3 @@ export const StepStatus = {
|
|
|
179
144
|
SKIPPED: "SKIPPED",
|
|
180
145
|
USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
|
|
181
146
|
};
|
|
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,
|