@aws-sdk/client-migrationhuborchestrator 3.901.0 → 3.907.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +2051 -2194
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -1,2243 +1,2100 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AccessDeniedException: () => AccessDeniedException,
25
- ConflictException: () => ConflictException,
26
- CreateMigrationWorkflowRequestFilterSensitiveLog: () => CreateMigrationWorkflowRequestFilterSensitiveLog,
27
- CreateMigrationWorkflowResponseFilterSensitiveLog: () => CreateMigrationWorkflowResponseFilterSensitiveLog,
28
- CreateTemplateCommand: () => CreateTemplateCommand,
29
- CreateWorkflowCommand: () => CreateWorkflowCommand,
30
- CreateWorkflowStepCommand: () => CreateWorkflowStepCommand,
31
- CreateWorkflowStepGroupCommand: () => CreateWorkflowStepGroupCommand,
32
- DataType: () => DataType,
33
- DeleteTemplateCommand: () => DeleteTemplateCommand,
34
- DeleteWorkflowCommand: () => DeleteWorkflowCommand,
35
- DeleteWorkflowStepCommand: () => DeleteWorkflowStepCommand,
36
- DeleteWorkflowStepGroupCommand: () => DeleteWorkflowStepGroupCommand,
37
- GetMigrationWorkflowResponseFilterSensitiveLog: () => GetMigrationWorkflowResponseFilterSensitiveLog,
38
- GetTemplateCommand: () => GetTemplateCommand,
39
- GetTemplateStepCommand: () => GetTemplateStepCommand,
40
- GetTemplateStepGroupCommand: () => GetTemplateStepGroupCommand,
41
- GetWorkflowCommand: () => GetWorkflowCommand,
42
- GetWorkflowStepCommand: () => GetWorkflowStepCommand,
43
- GetWorkflowStepGroupCommand: () => GetWorkflowStepGroupCommand,
44
- InternalServerException: () => InternalServerException,
45
- ListPluginsCommand: () => ListPluginsCommand,
46
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
47
- ListTemplateStepGroupsCommand: () => ListTemplateStepGroupsCommand,
48
- ListTemplateStepsCommand: () => ListTemplateStepsCommand,
49
- ListTemplatesCommand: () => ListTemplatesCommand,
50
- ListWorkflowStepGroupsCommand: () => ListWorkflowStepGroupsCommand,
51
- ListWorkflowStepsCommand: () => ListWorkflowStepsCommand,
52
- ListWorkflowsCommand: () => ListWorkflowsCommand,
53
- MigrationHubOrchestrator: () => MigrationHubOrchestrator,
54
- MigrationHubOrchestratorClient: () => MigrationHubOrchestratorClient,
55
- MigrationHubOrchestratorServiceException: () => MigrationHubOrchestratorServiceException,
56
- MigrationWorkflowStatusEnum: () => MigrationWorkflowStatusEnum,
57
- Owner: () => Owner,
58
- PluginHealth: () => PluginHealth,
59
- ResourceNotFoundException: () => ResourceNotFoundException,
60
- RetryWorkflowStepCommand: () => RetryWorkflowStepCommand,
61
- RunEnvironment: () => RunEnvironment,
62
- StartWorkflowCommand: () => StartWorkflowCommand,
63
- StepActionType: () => StepActionType,
64
- StepGroupStatus: () => StepGroupStatus,
65
- StepInput: () => StepInput,
66
- StepStatus: () => StepStatus,
67
- StopWorkflowCommand: () => StopWorkflowCommand,
68
- TagResourceCommand: () => TagResourceCommand,
69
- TargetType: () => TargetType,
70
- TemplateSource: () => TemplateSource,
71
- TemplateStatus: () => TemplateStatus,
72
- ThrottlingException: () => ThrottlingException,
73
- UntagResourceCommand: () => UntagResourceCommand,
74
- UpdateMigrationWorkflowRequestFilterSensitiveLog: () => UpdateMigrationWorkflowRequestFilterSensitiveLog,
75
- UpdateMigrationWorkflowResponseFilterSensitiveLog: () => UpdateMigrationWorkflowResponseFilterSensitiveLog,
76
- UpdateTemplateCommand: () => UpdateTemplateCommand,
77
- UpdateWorkflowCommand: () => UpdateWorkflowCommand,
78
- UpdateWorkflowStepCommand: () => UpdateWorkflowStepCommand,
79
- UpdateWorkflowStepGroupCommand: () => UpdateWorkflowStepGroupCommand,
80
- ValidationException: () => ValidationException,
81
- WorkflowStepOutputUnion: () => WorkflowStepOutputUnion,
82
- __Client: () => import_smithy_client.Client,
83
- paginateListPlugins: () => paginateListPlugins,
84
- paginateListTemplateStepGroups: () => paginateListTemplateStepGroups,
85
- paginateListTemplateSteps: () => paginateListTemplateSteps,
86
- paginateListTemplates: () => paginateListTemplates,
87
- paginateListWorkflowStepGroups: () => paginateListWorkflowStepGroups,
88
- paginateListWorkflowSteps: () => paginateListWorkflowSteps,
89
- paginateListWorkflows: () => paginateListWorkflows
90
- });
91
- module.exports = __toCommonJS(index_exports);
92
-
93
- // src/MigrationHubOrchestratorClient.ts
94
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
95
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
96
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
97
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
98
- var import_config_resolver = require("@smithy/config-resolver");
99
- var import_core = require("@smithy/core");
100
- var import_middleware_content_length = require("@smithy/middleware-content-length");
101
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
102
- var import_middleware_retry = require("@smithy/middleware-retry");
103
-
104
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
105
-
106
- // src/endpoint/EndpointParameters.ts
107
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
108
- return Object.assign(options, {
109
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
110
- useFipsEndpoint: options.useFipsEndpoint ?? false,
111
- defaultSigningName: "migrationhub-orchestrator"
112
- });
113
- }, "resolveClientEndpointParameters");
114
- var commonParams = {
115
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
116
- Endpoint: { type: "builtInParams", name: "endpoint" },
117
- Region: { type: "builtInParams", name: "region" },
118
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+ var uuid = require('@smithy/uuid');
20
+
21
+ const resolveClientEndpointParameters = (options) => {
22
+ return Object.assign(options, {
23
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
24
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
25
+ defaultSigningName: "migrationhub-orchestrator",
26
+ });
27
+ };
28
+ const commonParams = {
29
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
30
+ Endpoint: { type: "builtInParams", name: "endpoint" },
31
+ Region: { type: "builtInParams", name: "region" },
32
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
119
33
  };
120
34
 
121
- // src/MigrationHubOrchestratorClient.ts
122
- var import_runtimeConfig = require("././runtimeConfig");
35
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
38
+ let _credentials = runtimeConfig.credentials;
39
+ return {
40
+ setHttpAuthScheme(httpAuthScheme) {
41
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
42
+ if (index === -1) {
43
+ _httpAuthSchemes.push(httpAuthScheme);
44
+ }
45
+ else {
46
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
47
+ }
48
+ },
49
+ httpAuthSchemes() {
50
+ return _httpAuthSchemes;
51
+ },
52
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
53
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
54
+ },
55
+ httpAuthSchemeProvider() {
56
+ return _httpAuthSchemeProvider;
57
+ },
58
+ setCredentials(credentials) {
59
+ _credentials = credentials;
60
+ },
61
+ credentials() {
62
+ return _credentials;
63
+ },
64
+ };
65
+ };
66
+ const resolveHttpAuthRuntimeConfig = (config) => {
67
+ return {
68
+ httpAuthSchemes: config.httpAuthSchemes(),
69
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
70
+ credentials: config.credentials(),
71
+ };
72
+ };
123
73
 
124
- // src/runtimeExtensions.ts
125
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
126
- var import_protocol_http = require("@smithy/protocol-http");
127
- var import_smithy_client = require("@smithy/smithy-client");
74
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ };
128
79
 
129
- // src/auth/httpAuthExtensionConfiguration.ts
130
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
131
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
132
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
133
- let _credentials = runtimeConfig.credentials;
134
- return {
135
- setHttpAuthScheme(httpAuthScheme) {
136
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
137
- if (index === -1) {
138
- _httpAuthSchemes.push(httpAuthScheme);
139
- } else {
140
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
141
- }
142
- },
143
- httpAuthSchemes() {
144
- return _httpAuthSchemes;
145
- },
146
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
147
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
148
- },
149
- httpAuthSchemeProvider() {
150
- return _httpAuthSchemeProvider;
151
- },
152
- setCredentials(credentials) {
153
- _credentials = credentials;
154
- },
155
- credentials() {
156
- return _credentials;
80
+ class MigrationHubOrchestratorClient extends smithyClient.Client {
81
+ config;
82
+ constructor(...[configuration]) {
83
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
84
+ super(_config_0);
85
+ this.initConfig = _config_0;
86
+ const _config_1 = resolveClientEndpointParameters(_config_0);
87
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
88
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
89
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
90
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
91
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
+ this.config = _config_8;
95
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMigrationHubOrchestratorHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
104
+ "aws.auth#sigv4": config.credentials,
105
+ }),
106
+ }));
107
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
157
108
  }
158
- };
159
- }, "getHttpAuthExtensionConfiguration");
160
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
161
- return {
162
- httpAuthSchemes: config.httpAuthSchemes(),
163
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
164
- credentials: config.credentials()
165
- };
166
- }, "resolveHttpAuthRuntimeConfig");
167
-
168
- // src/runtimeExtensions.ts
169
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
170
- const extensionConfiguration = Object.assign(
171
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
172
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
173
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
174
- getHttpAuthExtensionConfiguration(runtimeConfig)
175
- );
176
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
177
- return Object.assign(
178
- runtimeConfig,
179
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
180
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
181
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
182
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
183
- );
184
- }, "resolveRuntimeExtensions");
109
+ destroy() {
110
+ super.destroy();
111
+ }
112
+ }
185
113
 
186
- // src/MigrationHubOrchestratorClient.ts
187
- var MigrationHubOrchestratorClient = class extends import_smithy_client.Client {
188
- static {
189
- __name(this, "MigrationHubOrchestratorClient");
190
- }
191
- /**
192
- * The resolved configuration of MigrationHubOrchestratorClient class. This is resolved and normalized from the {@link MigrationHubOrchestratorClientConfig | constructor configuration interface}.
193
- */
194
- config;
195
- constructor(...[configuration]) {
196
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
197
- super(_config_0);
198
- this.initConfig = _config_0;
199
- const _config_1 = resolveClientEndpointParameters(_config_0);
200
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
201
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
202
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
203
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
204
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
205
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
206
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
207
- this.config = _config_8;
208
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
209
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
210
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
211
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
212
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
213
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
214
- this.middlewareStack.use(
215
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
216
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMigrationHubOrchestratorHttpAuthSchemeParametersProvider,
217
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
218
- "aws.auth#sigv4": config.credentials
219
- }), "identityProviderConfigProvider")
220
- })
221
- );
222
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
223
- }
224
- /**
225
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
226
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
227
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
228
- */
229
- destroy() {
230
- super.destroy();
231
- }
114
+ class MigrationHubOrchestratorServiceException extends smithyClient.ServiceException {
115
+ constructor(options) {
116
+ super(options);
117
+ Object.setPrototypeOf(this, MigrationHubOrchestratorServiceException.prototype);
118
+ }
119
+ }
120
+
121
+ class AccessDeniedException extends MigrationHubOrchestratorServiceException {
122
+ name = "AccessDeniedException";
123
+ $fault = "client";
124
+ $retryable = {};
125
+ constructor(opts) {
126
+ super({
127
+ name: "AccessDeniedException",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
+ }
133
+ }
134
+ class ResourceNotFoundException extends MigrationHubOrchestratorServiceException {
135
+ name = "ResourceNotFoundException";
136
+ $fault = "client";
137
+ constructor(opts) {
138
+ super({
139
+ name: "ResourceNotFoundException",
140
+ $fault: "client",
141
+ ...opts,
142
+ });
143
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
144
+ }
145
+ }
146
+ class ValidationException extends MigrationHubOrchestratorServiceException {
147
+ name = "ValidationException";
148
+ $fault = "client";
149
+ $retryable = {};
150
+ constructor(opts) {
151
+ super({
152
+ name: "ValidationException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, ValidationException.prototype);
157
+ }
158
+ }
159
+ exports.StepInput = void 0;
160
+ (function (StepInput) {
161
+ StepInput.visit = (value, visitor) => {
162
+ if (value.integerValue !== undefined)
163
+ return visitor.integerValue(value.integerValue);
164
+ if (value.stringValue !== undefined)
165
+ return visitor.stringValue(value.stringValue);
166
+ if (value.listOfStringsValue !== undefined)
167
+ return visitor.listOfStringsValue(value.listOfStringsValue);
168
+ if (value.mapOfStringValue !== undefined)
169
+ return visitor.mapOfStringValue(value.mapOfStringValue);
170
+ return visitor._(value.$unknown[0], value.$unknown[1]);
171
+ };
172
+ })(exports.StepInput || (exports.StepInput = {}));
173
+ const MigrationWorkflowStatusEnum = {
174
+ COMPLETED: "COMPLETED",
175
+ CREATING: "CREATING",
176
+ CREATION_FAILED: "CREATION_FAILED",
177
+ DELETED: "DELETED",
178
+ DELETING: "DELETING",
179
+ DELETION_FAILED: "DELETION_FAILED",
180
+ IN_PROGRESS: "IN_PROGRESS",
181
+ NOT_STARTED: "NOT_STARTED",
182
+ PAUSED: "PAUSED",
183
+ PAUSING: "PAUSING",
184
+ PAUSING_FAILED: "PAUSING_FAILED",
185
+ STARTING: "STARTING",
186
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
187
+ WORKFLOW_FAILED: "WORKFLOW_FAILED",
232
188
  };
233
-
234
- // src/MigrationHubOrchestrator.ts
235
-
236
-
237
- // src/commands/CreateTemplateCommand.ts
238
-
239
- var import_middleware_serde = require("@smithy/middleware-serde");
240
-
241
-
242
- // src/protocols/Aws_restJson1.ts
243
- var import_core2 = require("@aws-sdk/core");
244
-
245
-
246
- var import_uuid = require("@smithy/uuid");
247
-
248
- // src/models/MigrationHubOrchestratorServiceException.ts
249
-
250
- var MigrationHubOrchestratorServiceException = class _MigrationHubOrchestratorServiceException extends import_smithy_client.ServiceException {
251
- static {
252
- __name(this, "MigrationHubOrchestratorServiceException");
253
- }
254
- /**
255
- * @internal
256
- */
257
- constructor(options) {
258
- super(options);
259
- Object.setPrototypeOf(this, _MigrationHubOrchestratorServiceException.prototype);
260
- }
189
+ class InternalServerException extends MigrationHubOrchestratorServiceException {
190
+ name = "InternalServerException";
191
+ $fault = "server";
192
+ constructor(opts) {
193
+ super({
194
+ name: "InternalServerException",
195
+ $fault: "server",
196
+ ...opts,
197
+ });
198
+ Object.setPrototypeOf(this, InternalServerException.prototype);
199
+ }
200
+ }
201
+ class ThrottlingException extends MigrationHubOrchestratorServiceException {
202
+ name = "ThrottlingException";
203
+ $fault = "client";
204
+ constructor(opts) {
205
+ super({
206
+ name: "ThrottlingException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
211
+ }
212
+ }
213
+ class ConflictException extends MigrationHubOrchestratorServiceException {
214
+ name = "ConflictException";
215
+ $fault = "client";
216
+ $retryable = {};
217
+ constructor(opts) {
218
+ super({
219
+ name: "ConflictException",
220
+ $fault: "client",
221
+ ...opts,
222
+ });
223
+ Object.setPrototypeOf(this, ConflictException.prototype);
224
+ }
225
+ }
226
+ exports.TemplateSource = void 0;
227
+ (function (TemplateSource) {
228
+ TemplateSource.visit = (value, visitor) => {
229
+ if (value.workflowId !== undefined)
230
+ return visitor.workflowId(value.workflowId);
231
+ return visitor._(value.$unknown[0], value.$unknown[1]);
232
+ };
233
+ })(exports.TemplateSource || (exports.TemplateSource = {}));
234
+ const DataType = {
235
+ INTEGER: "INTEGER",
236
+ STRING: "STRING",
237
+ STRINGLIST: "STRINGLIST",
238
+ STRINGMAP: "STRINGMAP",
261
239
  };
262
-
263
- // src/models/models_0.ts
264
-
265
- var AccessDeniedException = class _AccessDeniedException extends MigrationHubOrchestratorServiceException {
266
- static {
267
- __name(this, "AccessDeniedException");
268
- }
269
- name = "AccessDeniedException";
270
- $fault = "client";
271
- $retryable = {};
272
- /**
273
- * @internal
274
- */
275
- constructor(opts) {
276
- super({
277
- name: "AccessDeniedException",
278
- $fault: "client",
279
- ...opts
280
- });
281
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
282
- }
283
- };
284
- var ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubOrchestratorServiceException {
285
- static {
286
- __name(this, "ResourceNotFoundException");
287
- }
288
- name = "ResourceNotFoundException";
289
- $fault = "client";
290
- /**
291
- * @internal
292
- */
293
- constructor(opts) {
294
- super({
295
- name: "ResourceNotFoundException",
296
- $fault: "client",
297
- ...opts
298
- });
299
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
300
- }
301
- };
302
- var ValidationException = class _ValidationException extends MigrationHubOrchestratorServiceException {
303
- static {
304
- __name(this, "ValidationException");
305
- }
306
- name = "ValidationException";
307
- $fault = "client";
308
- $retryable = {};
309
- /**
310
- * @internal
311
- */
312
- constructor(opts) {
313
- super({
314
- name: "ValidationException",
315
- $fault: "client",
316
- ...opts
317
- });
318
- Object.setPrototypeOf(this, _ValidationException.prototype);
319
- }
320
- };
321
- var StepInput;
322
- ((StepInput3) => {
323
- StepInput3.visit = /* @__PURE__ */ __name((value, visitor) => {
324
- if (value.integerValue !== void 0) return visitor.integerValue(value.integerValue);
325
- if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
326
- if (value.listOfStringsValue !== void 0) return visitor.listOfStringsValue(value.listOfStringsValue);
327
- if (value.mapOfStringValue !== void 0) return visitor.mapOfStringValue(value.mapOfStringValue);
328
- return visitor._(value.$unknown[0], value.$unknown[1]);
329
- }, "visit");
330
- })(StepInput || (StepInput = {}));
331
- var MigrationWorkflowStatusEnum = {
332
- COMPLETED: "COMPLETED",
333
- CREATING: "CREATING",
334
- CREATION_FAILED: "CREATION_FAILED",
335
- DELETED: "DELETED",
336
- DELETING: "DELETING",
337
- DELETION_FAILED: "DELETION_FAILED",
338
- IN_PROGRESS: "IN_PROGRESS",
339
- NOT_STARTED: "NOT_STARTED",
340
- PAUSED: "PAUSED",
341
- PAUSING: "PAUSING",
342
- PAUSING_FAILED: "PAUSING_FAILED",
343
- STARTING: "STARTING",
344
- USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
345
- WORKFLOW_FAILED: "WORKFLOW_FAILED"
346
- };
347
- var InternalServerException = class _InternalServerException extends MigrationHubOrchestratorServiceException {
348
- static {
349
- __name(this, "InternalServerException");
350
- }
351
- name = "InternalServerException";
352
- $fault = "server";
353
- /**
354
- * @internal
355
- */
356
- constructor(opts) {
357
- super({
358
- name: "InternalServerException",
359
- $fault: "server",
360
- ...opts
361
- });
362
- Object.setPrototypeOf(this, _InternalServerException.prototype);
363
- }
364
- };
365
- var ThrottlingException = class _ThrottlingException extends MigrationHubOrchestratorServiceException {
366
- static {
367
- __name(this, "ThrottlingException");
368
- }
369
- name = "ThrottlingException";
370
- $fault = "client";
371
- /**
372
- * @internal
373
- */
374
- constructor(opts) {
375
- super({
376
- name: "ThrottlingException",
377
- $fault: "client",
378
- ...opts
379
- });
380
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
381
- }
382
- };
383
- var ConflictException = class _ConflictException extends MigrationHubOrchestratorServiceException {
384
- static {
385
- __name(this, "ConflictException");
386
- }
387
- name = "ConflictException";
388
- $fault = "client";
389
- $retryable = {};
390
- /**
391
- * @internal
392
- */
393
- constructor(opts) {
394
- super({
395
- name: "ConflictException",
396
- $fault: "client",
397
- ...opts
398
- });
399
- Object.setPrototypeOf(this, _ConflictException.prototype);
400
- }
401
- };
402
- var TemplateSource;
403
- ((TemplateSource3) => {
404
- TemplateSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
405
- if (value.workflowId !== void 0) return visitor.workflowId(value.workflowId);
406
- return visitor._(value.$unknown[0], value.$unknown[1]);
407
- }, "visit");
408
- })(TemplateSource || (TemplateSource = {}));
409
- var DataType = {
410
- INTEGER: "INTEGER",
411
- STRING: "STRING",
412
- STRINGLIST: "STRINGLIST",
413
- STRINGMAP: "STRINGMAP"
414
- };
415
- var TemplateStatus = {
416
- CREATED: "CREATED",
417
- CREATING: "CREATING",
418
- CREATION_FAILED: "CREATION_FAILED",
419
- PENDING_CREATION: "PENDING_CREATION",
420
- READY: "READY"
421
- };
422
- var PluginHealth = {
423
- PLUGIN_HEALTHY: "HEALTHY",
424
- PLUGIN_UNHEALTHY: "UNHEALTHY"
425
- };
426
- var StepActionType = {
427
- AUTOMATED: "AUTOMATED",
428
- MANUAL: "MANUAL"
429
- };
430
- var RunEnvironment = {
431
- AWS: "AWS",
432
- ONPREMISE: "ONPREMISE"
433
- };
434
- var TargetType = {
435
- ALL: "ALL",
436
- NONE: "NONE",
437
- SINGLE: "SINGLE"
438
- };
439
- var Owner = {
440
- AWSManaged: "AWS_MANAGED",
441
- CUSTOM: "CUSTOM"
442
- };
443
- var StepGroupStatus = {
444
- AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
445
- COMPLETED: "COMPLETED",
446
- FAILED: "FAILED",
447
- IN_PROGRESS: "IN_PROGRESS",
448
- PAUSED: "PAUSED",
449
- PAUSING: "PAUSING",
450
- READY: "READY",
451
- USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED"
452
- };
453
- var WorkflowStepOutputUnion;
454
- ((WorkflowStepOutputUnion3) => {
455
- WorkflowStepOutputUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
456
- if (value.integerValue !== void 0) return visitor.integerValue(value.integerValue);
457
- if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
458
- if (value.listOfStringValue !== void 0) return visitor.listOfStringValue(value.listOfStringValue);
459
- return visitor._(value.$unknown[0], value.$unknown[1]);
460
- }, "visit");
461
- })(WorkflowStepOutputUnion || (WorkflowStepOutputUnion = {}));
462
- var StepStatus = {
463
- AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
464
- COMPLETED: "COMPLETED",
465
- FAILED: "FAILED",
466
- IN_PROGRESS: "IN_PROGRESS",
467
- PAUSED: "PAUSED",
468
- READY: "READY",
469
- SKIPPED: "SKIPPED",
470
- USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED"
471
- };
472
- var CreateMigrationWorkflowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
473
- ...obj,
474
- ...obj.inputParameters && { inputParameters: import_smithy_client.SENSITIVE_STRING }
475
- }), "CreateMigrationWorkflowRequestFilterSensitiveLog");
476
- var CreateMigrationWorkflowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
477
- ...obj,
478
- ...obj.workflowInputs && { workflowInputs: import_smithy_client.SENSITIVE_STRING }
479
- }), "CreateMigrationWorkflowResponseFilterSensitiveLog");
480
- var GetMigrationWorkflowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
481
- ...obj,
482
- ...obj.workflowInputs && { workflowInputs: import_smithy_client.SENSITIVE_STRING }
483
- }), "GetMigrationWorkflowResponseFilterSensitiveLog");
484
- var UpdateMigrationWorkflowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
485
- ...obj,
486
- ...obj.inputParameters && { inputParameters: import_smithy_client.SENSITIVE_STRING }
487
- }), "UpdateMigrationWorkflowRequestFilterSensitiveLog");
488
- var UpdateMigrationWorkflowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
489
- ...obj,
490
- ...obj.workflowInputs && { workflowInputs: import_smithy_client.SENSITIVE_STRING }
491
- }), "UpdateMigrationWorkflowResponseFilterSensitiveLog");
492
-
493
- // src/protocols/Aws_restJson1.ts
494
- var se_CreateTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
495
- const b = (0, import_core.requestBuilder)(input, context);
496
- const headers = {
497
- "content-type": "application/json"
498
- };
499
- b.bp("/template");
500
- let body;
501
- body = JSON.stringify(
502
- (0, import_smithy_client.take)(input, {
503
- clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
504
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
505
- templateDescription: [],
506
- templateName: [],
507
- templateSource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "templateSource")
508
- })
509
- );
510
- b.m("POST").h(headers).b(body);
511
- return b.build();
512
- }, "se_CreateTemplateCommand");
513
- var se_CreateWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
514
- const b = (0, import_core.requestBuilder)(input, context);
515
- const headers = {
516
- "content-type": "application/json"
517
- };
518
- b.bp("/migrationworkflow");
519
- let body;
520
- body = JSON.stringify(
521
- (0, import_smithy_client.take)(input, {
522
- applicationConfigurationId: [],
523
- description: [],
524
- inputParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inputParameters"),
525
- name: [],
526
- stepTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stepTargets"),
527
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
528
- templateId: []
529
- })
530
- );
531
- b.m("POST").h(headers).b(body);
532
- return b.build();
533
- }, "se_CreateWorkflowCommand");
534
- var se_CreateWorkflowStepCommand = /* @__PURE__ */ __name(async (input, context) => {
535
- const b = (0, import_core.requestBuilder)(input, context);
536
- const headers = {
537
- "content-type": "application/json"
538
- };
539
- b.bp("/workflowstep");
540
- let body;
541
- body = JSON.stringify(
542
- (0, import_smithy_client.take)(input, {
543
- description: [],
544
- name: [],
545
- next: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "next"),
546
- outputs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputs"),
547
- previous: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "previous"),
548
- stepActionType: [],
549
- stepGroupId: [],
550
- stepTarget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stepTarget"),
551
- workflowId: [],
552
- workflowStepAutomationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "workflowStepAutomationConfiguration")
553
- })
554
- );
555
- b.m("POST").h(headers).b(body);
556
- return b.build();
557
- }, "se_CreateWorkflowStepCommand");
558
- var se_CreateWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
559
- const b = (0, import_core.requestBuilder)(input, context);
560
- const headers = {
561
- "content-type": "application/json"
562
- };
563
- b.bp("/workflowstepgroups");
564
- let body;
565
- body = JSON.stringify(
566
- (0, import_smithy_client.take)(input, {
567
- description: [],
568
- name: [],
569
- next: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "next"),
570
- previous: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "previous"),
571
- workflowId: []
572
- })
573
- );
574
- b.m("POST").h(headers).b(body);
575
- return b.build();
576
- }, "se_CreateWorkflowStepGroupCommand");
577
- var se_DeleteTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
578
- const b = (0, import_core.requestBuilder)(input, context);
579
- const headers = {};
580
- b.bp("/template/{id}");
581
- b.p("id", () => input.id, "{id}", false);
582
- let body;
583
- b.m("DELETE").h(headers).b(body);
584
- return b.build();
585
- }, "se_DeleteTemplateCommand");
586
- var se_DeleteWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
587
- const b = (0, import_core.requestBuilder)(input, context);
588
- const headers = {};
589
- b.bp("/migrationworkflow/{id}");
590
- b.p("id", () => input.id, "{id}", false);
591
- let body;
592
- b.m("DELETE").h(headers).b(body);
593
- return b.build();
594
- }, "se_DeleteWorkflowCommand");
595
- var se_DeleteWorkflowStepCommand = /* @__PURE__ */ __name(async (input, context) => {
596
- const b = (0, import_core.requestBuilder)(input, context);
597
- const headers = {};
598
- b.bp("/workflowstep/{id}");
599
- b.p("id", () => input.id, "{id}", false);
600
- const query = (0, import_smithy_client.map)({
601
- [_sGI]: [, (0, import_smithy_client.expectNonNull)(input[_sGI], `stepGroupId`)],
602
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]
603
- });
604
- let body;
605
- b.m("DELETE").h(headers).q(query).b(body);
606
- return b.build();
607
- }, "se_DeleteWorkflowStepCommand");
608
- var se_DeleteWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
609
- const b = (0, import_core.requestBuilder)(input, context);
610
- const headers = {};
611
- b.bp("/workflowstepgroup/{id}");
612
- b.p("id", () => input.id, "{id}", false);
613
- const query = (0, import_smithy_client.map)({
614
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]
615
- });
616
- let body;
617
- b.m("DELETE").h(headers).q(query).b(body);
618
- return b.build();
619
- }, "se_DeleteWorkflowStepGroupCommand");
620
- var se_GetTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
621
- const b = (0, import_core.requestBuilder)(input, context);
622
- const headers = {};
623
- b.bp("/migrationworkflowtemplate/{id}");
624
- b.p("id", () => input.id, "{id}", false);
625
- let body;
626
- b.m("GET").h(headers).b(body);
627
- return b.build();
628
- }, "se_GetTemplateCommand");
629
- var se_GetTemplateStepCommand = /* @__PURE__ */ __name(async (input, context) => {
630
- const b = (0, import_core.requestBuilder)(input, context);
631
- const headers = {};
632
- b.bp("/templatestep/{id}");
633
- b.p("id", () => input.id, "{id}", false);
634
- const query = (0, import_smithy_client.map)({
635
- [_tI]: [, (0, import_smithy_client.expectNonNull)(input[_tI], `templateId`)],
636
- [_sGI]: [, (0, import_smithy_client.expectNonNull)(input[_sGI], `stepGroupId`)]
637
- });
638
- let body;
639
- b.m("GET").h(headers).q(query).b(body);
640
- return b.build();
641
- }, "se_GetTemplateStepCommand");
642
- var se_GetTemplateStepGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
643
- const b = (0, import_core.requestBuilder)(input, context);
644
- const headers = {};
645
- b.bp("/templates/{templateId}/stepgroups/{id}");
646
- b.p("templateId", () => input.templateId, "{templateId}", false);
647
- b.p("id", () => input.id, "{id}", false);
648
- let body;
649
- b.m("GET").h(headers).b(body);
650
- return b.build();
651
- }, "se_GetTemplateStepGroupCommand");
652
- var se_GetWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
653
- const b = (0, import_core.requestBuilder)(input, context);
654
- const headers = {};
655
- b.bp("/migrationworkflow/{id}");
656
- b.p("id", () => input.id, "{id}", false);
657
- let body;
658
- b.m("GET").h(headers).b(body);
659
- return b.build();
660
- }, "se_GetWorkflowCommand");
661
- var se_GetWorkflowStepCommand = /* @__PURE__ */ __name(async (input, context) => {
662
- const b = (0, import_core.requestBuilder)(input, context);
663
- const headers = {};
664
- b.bp("/workflowstep/{id}");
665
- b.p("id", () => input.id, "{id}", false);
666
- const query = (0, import_smithy_client.map)({
667
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)],
668
- [_sGI]: [, (0, import_smithy_client.expectNonNull)(input[_sGI], `stepGroupId`)]
669
- });
670
- let body;
671
- b.m("GET").h(headers).q(query).b(body);
672
- return b.build();
673
- }, "se_GetWorkflowStepCommand");
674
- var se_GetWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
675
- const b = (0, import_core.requestBuilder)(input, context);
676
- const headers = {};
677
- b.bp("/workflowstepgroup/{id}");
678
- b.p("id", () => input.id, "{id}", false);
679
- const query = (0, import_smithy_client.map)({
680
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]
681
- });
682
- let body;
683
- b.m("GET").h(headers).q(query).b(body);
684
- return b.build();
685
- }, "se_GetWorkflowStepGroupCommand");
686
- var se_ListPluginsCommand = /* @__PURE__ */ __name(async (input, context) => {
687
- const b = (0, import_core.requestBuilder)(input, context);
688
- const headers = {};
689
- b.bp("/plugins");
690
- const query = (0, import_smithy_client.map)({
691
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
692
- [_nT]: [, input[_nT]]
693
- });
694
- let body;
695
- b.m("GET").h(headers).q(query).b(body);
696
- return b.build();
697
- }, "se_ListPluginsCommand");
698
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
699
- const b = (0, import_core.requestBuilder)(input, context);
700
- const headers = {};
701
- b.bp("/tags/{resourceArn}");
702
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
703
- let body;
704
- b.m("GET").h(headers).b(body);
705
- return b.build();
706
- }, "se_ListTagsForResourceCommand");
707
- var se_ListTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
708
- const b = (0, import_core.requestBuilder)(input, context);
709
- const headers = {};
710
- b.bp("/migrationworkflowtemplates");
711
- const query = (0, import_smithy_client.map)({
712
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
713
- [_nT]: [, input[_nT]],
714
- [_n]: [, input[_n]]
715
- });
716
- let body;
717
- b.m("GET").h(headers).q(query).b(body);
718
- return b.build();
719
- }, "se_ListTemplatesCommand");
720
- var se_ListTemplateStepGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
721
- const b = (0, import_core.requestBuilder)(input, context);
722
- const headers = {};
723
- b.bp("/templatestepgroups/{templateId}");
724
- b.p("templateId", () => input.templateId, "{templateId}", false);
725
- const query = (0, import_smithy_client.map)({
726
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
727
- [_nT]: [, input[_nT]]
728
- });
729
- let body;
730
- b.m("GET").h(headers).q(query).b(body);
731
- return b.build();
732
- }, "se_ListTemplateStepGroupsCommand");
733
- var se_ListTemplateStepsCommand = /* @__PURE__ */ __name(async (input, context) => {
734
- const b = (0, import_core.requestBuilder)(input, context);
735
- const headers = {};
736
- b.bp("/templatesteps");
737
- const query = (0, import_smithy_client.map)({
738
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
739
- [_nT]: [, input[_nT]],
740
- [_tI]: [, (0, import_smithy_client.expectNonNull)(input[_tI], `templateId`)],
741
- [_sGI]: [, (0, import_smithy_client.expectNonNull)(input[_sGI], `stepGroupId`)]
742
- });
743
- let body;
744
- b.m("GET").h(headers).q(query).b(body);
745
- return b.build();
746
- }, "se_ListTemplateStepsCommand");
747
- var se_ListWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {
748
- const b = (0, import_core.requestBuilder)(input, context);
749
- const headers = {};
750
- b.bp("/migrationworkflows");
751
- const query = (0, import_smithy_client.map)({
752
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
753
- [_nT]: [, input[_nT]],
754
- [_tI]: [, input[_tI]],
755
- [_aACN]: [, input[_aACN]],
756
- [_s]: [, input[_s]],
757
- [_n]: [, input[_n]]
758
- });
759
- let body;
760
- b.m("GET").h(headers).q(query).b(body);
761
- return b.build();
762
- }, "se_ListWorkflowsCommand");
763
- var se_ListWorkflowStepGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
764
- const b = (0, import_core.requestBuilder)(input, context);
765
- const headers = {};
766
- b.bp("/workflowstepgroups");
767
- const query = (0, import_smithy_client.map)({
768
- [_nT]: [, input[_nT]],
769
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
770
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]
771
- });
772
- let body;
773
- b.m("GET").h(headers).q(query).b(body);
774
- return b.build();
775
- }, "se_ListWorkflowStepGroupsCommand");
776
- var se_ListWorkflowStepsCommand = /* @__PURE__ */ __name(async (input, context) => {
777
- const b = (0, import_core.requestBuilder)(input, context);
778
- const headers = {};
779
- b.bp("/workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps");
780
- b.p("workflowId", () => input.workflowId, "{workflowId}", false);
781
- b.p("stepGroupId", () => input.stepGroupId, "{stepGroupId}", false);
782
- const query = (0, import_smithy_client.map)({
783
- [_nT]: [, input[_nT]],
784
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
785
- });
786
- let body;
787
- b.m("GET").h(headers).q(query).b(body);
788
- return b.build();
789
- }, "se_ListWorkflowStepsCommand");
790
- var se_RetryWorkflowStepCommand = /* @__PURE__ */ __name(async (input, context) => {
791
- const b = (0, import_core.requestBuilder)(input, context);
792
- const headers = {};
793
- b.bp("/retryworkflowstep/{id}");
794
- b.p("id", () => input.id, "{id}", false);
795
- const query = (0, import_smithy_client.map)({
796
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)],
797
- [_sGI]: [, (0, import_smithy_client.expectNonNull)(input[_sGI], `stepGroupId`)]
798
- });
799
- let body;
800
- b.m("POST").h(headers).q(query).b(body);
801
- return b.build();
802
- }, "se_RetryWorkflowStepCommand");
803
- var se_StartWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
804
- const b = (0, import_core.requestBuilder)(input, context);
805
- const headers = {};
806
- b.bp("/migrationworkflow/{id}/start");
807
- b.p("id", () => input.id, "{id}", false);
808
- let body;
809
- b.m("POST").h(headers).b(body);
810
- return b.build();
811
- }, "se_StartWorkflowCommand");
812
- var se_StopWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
813
- const b = (0, import_core.requestBuilder)(input, context);
814
- const headers = {};
815
- b.bp("/migrationworkflow/{id}/stop");
816
- b.p("id", () => input.id, "{id}", false);
817
- let body;
818
- b.m("POST").h(headers).b(body);
819
- return b.build();
820
- }, "se_StopWorkflowCommand");
821
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
822
- const b = (0, import_core.requestBuilder)(input, context);
823
- const headers = {
824
- "content-type": "application/json"
825
- };
826
- b.bp("/tags/{resourceArn}");
827
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
828
- let body;
829
- body = JSON.stringify(
830
- (0, import_smithy_client.take)(input, {
831
- tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
832
- })
833
- );
834
- b.m("POST").h(headers).b(body);
835
- return b.build();
836
- }, "se_TagResourceCommand");
837
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
838
- const b = (0, import_core.requestBuilder)(input, context);
839
- const headers = {};
840
- b.bp("/tags/{resourceArn}");
841
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
842
- const query = (0, import_smithy_client.map)({
843
- [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
844
- });
845
- let body;
846
- b.m("DELETE").h(headers).q(query).b(body);
847
- return b.build();
848
- }, "se_UntagResourceCommand");
849
- var se_UpdateTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
850
- const b = (0, import_core.requestBuilder)(input, context);
851
- const headers = {
852
- "content-type": "application/json"
853
- };
854
- b.bp("/template/{id}");
855
- b.p("id", () => input.id, "{id}", false);
856
- let body;
857
- body = JSON.stringify(
858
- (0, import_smithy_client.take)(input, {
859
- clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
860
- templateDescription: [],
861
- templateName: []
862
- })
863
- );
864
- b.m("POST").h(headers).b(body);
865
- return b.build();
866
- }, "se_UpdateTemplateCommand");
867
- var se_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
868
- const b = (0, import_core.requestBuilder)(input, context);
869
- const headers = {
870
- "content-type": "application/json"
871
- };
872
- b.bp("/migrationworkflow/{id}");
873
- b.p("id", () => input.id, "{id}", false);
874
- let body;
875
- body = JSON.stringify(
876
- (0, import_smithy_client.take)(input, {
877
- description: [],
878
- inputParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inputParameters"),
879
- name: [],
880
- stepTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stepTargets")
881
- })
882
- );
883
- b.m("POST").h(headers).b(body);
884
- return b.build();
885
- }, "se_UpdateWorkflowCommand");
886
- var se_UpdateWorkflowStepCommand = /* @__PURE__ */ __name(async (input, context) => {
887
- const b = (0, import_core.requestBuilder)(input, context);
888
- const headers = {
889
- "content-type": "application/json"
890
- };
891
- b.bp("/workflowstep/{id}");
892
- b.p("id", () => input.id, "{id}", false);
893
- let body;
894
- body = JSON.stringify(
895
- (0, import_smithy_client.take)(input, {
896
- description: [],
897
- name: [],
898
- next: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "next"),
899
- outputs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputs"),
900
- previous: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "previous"),
901
- status: [],
902
- stepActionType: [],
903
- stepGroupId: [],
904
- stepTarget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stepTarget"),
905
- workflowId: [],
906
- workflowStepAutomationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "workflowStepAutomationConfiguration")
907
- })
908
- );
909
- b.m("POST").h(headers).b(body);
910
- return b.build();
911
- }, "se_UpdateWorkflowStepCommand");
912
- var se_UpdateWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
913
- const b = (0, import_core.requestBuilder)(input, context);
914
- const headers = {
915
- "content-type": "application/json"
916
- };
917
- b.bp("/workflowstepgroup/{id}");
918
- b.p("id", () => input.id, "{id}", false);
919
- const query = (0, import_smithy_client.map)({
920
- [_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]
921
- });
922
- let body;
923
- body = JSON.stringify(
924
- (0, import_smithy_client.take)(input, {
925
- description: [],
926
- name: [],
927
- next: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "next"),
928
- previous: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "previous")
929
- })
930
- );
931
- b.m("POST").h(headers).q(query).b(body);
932
- return b.build();
933
- }, "se_UpdateWorkflowStepGroupCommand");
934
- var de_CreateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
935
- if (output.statusCode !== 200 && output.statusCode >= 300) {
936
- return de_CommandError(output, context);
937
- }
938
- const contents = (0, import_smithy_client.map)({
939
- $metadata: deserializeMetadata(output)
940
- });
941
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
942
- const doc = (0, import_smithy_client.take)(data, {
943
- tags: import_smithy_client._json,
944
- templateArn: import_smithy_client.expectString,
945
- templateId: import_smithy_client.expectString
946
- });
947
- Object.assign(contents, doc);
948
- return contents;
949
- }, "de_CreateTemplateCommand");
950
- var de_CreateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
951
- if (output.statusCode !== 200 && output.statusCode >= 300) {
952
- return de_CommandError(output, context);
953
- }
954
- const contents = (0, import_smithy_client.map)({
955
- $metadata: deserializeMetadata(output)
956
- });
957
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
958
- const doc = (0, import_smithy_client.take)(data, {
959
- adsApplicationConfigurationId: import_smithy_client.expectString,
960
- arn: import_smithy_client.expectString,
961
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
962
- description: import_smithy_client.expectString,
963
- id: import_smithy_client.expectString,
964
- name: import_smithy_client.expectString,
965
- status: import_smithy_client.expectString,
966
- stepTargets: import_smithy_client._json,
967
- tags: import_smithy_client._json,
968
- templateId: import_smithy_client.expectString,
969
- workflowInputs: import_smithy_client._json
970
- });
971
- Object.assign(contents, doc);
972
- return contents;
973
- }, "de_CreateWorkflowCommand");
974
- var de_CreateWorkflowStepCommand = /* @__PURE__ */ __name(async (output, context) => {
975
- if (output.statusCode !== 200 && output.statusCode >= 300) {
976
- return de_CommandError(output, context);
977
- }
978
- const contents = (0, import_smithy_client.map)({
979
- $metadata: deserializeMetadata(output)
980
- });
981
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
982
- const doc = (0, import_smithy_client.take)(data, {
983
- id: import_smithy_client.expectString,
984
- name: import_smithy_client.expectString,
985
- stepGroupId: import_smithy_client.expectString,
986
- workflowId: import_smithy_client.expectString
987
- });
988
- Object.assign(contents, doc);
989
- return contents;
990
- }, "de_CreateWorkflowStepCommand");
991
- var de_CreateWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
992
- if (output.statusCode !== 200 && output.statusCode >= 300) {
993
- return de_CommandError(output, context);
994
- }
995
- const contents = (0, import_smithy_client.map)({
996
- $metadata: deserializeMetadata(output)
997
- });
998
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
999
- const doc = (0, import_smithy_client.take)(data, {
1000
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1001
- description: import_smithy_client.expectString,
1002
- id: import_smithy_client.expectString,
1003
- name: import_smithy_client.expectString,
1004
- next: import_smithy_client._json,
1005
- previous: import_smithy_client._json,
1006
- tools: import_smithy_client._json,
1007
- workflowId: import_smithy_client.expectString
1008
- });
1009
- Object.assign(contents, doc);
1010
- return contents;
1011
- }, "de_CreateWorkflowStepGroupCommand");
1012
- var de_DeleteTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
1013
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1014
- return de_CommandError(output, context);
1015
- }
1016
- const contents = (0, import_smithy_client.map)({
1017
- $metadata: deserializeMetadata(output)
1018
- });
1019
- await (0, import_smithy_client.collectBody)(output.body, context);
1020
- return contents;
1021
- }, "de_DeleteTemplateCommand");
1022
- var de_DeleteWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1023
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1024
- return de_CommandError(output, context);
1025
- }
1026
- const contents = (0, import_smithy_client.map)({
1027
- $metadata: deserializeMetadata(output)
1028
- });
1029
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1030
- const doc = (0, import_smithy_client.take)(data, {
1031
- arn: import_smithy_client.expectString,
1032
- id: import_smithy_client.expectString,
1033
- status: import_smithy_client.expectString
1034
- });
1035
- Object.assign(contents, doc);
1036
- return contents;
1037
- }, "de_DeleteWorkflowCommand");
1038
- var de_DeleteWorkflowStepCommand = /* @__PURE__ */ __name(async (output, context) => {
1039
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1040
- return de_CommandError(output, context);
1041
- }
1042
- const contents = (0, import_smithy_client.map)({
1043
- $metadata: deserializeMetadata(output)
1044
- });
1045
- await (0, import_smithy_client.collectBody)(output.body, context);
1046
- return contents;
1047
- }, "de_DeleteWorkflowStepCommand");
1048
- var de_DeleteWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1049
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1050
- return de_CommandError(output, context);
1051
- }
1052
- const contents = (0, import_smithy_client.map)({
1053
- $metadata: deserializeMetadata(output)
1054
- });
1055
- await (0, import_smithy_client.collectBody)(output.body, context);
1056
- return contents;
1057
- }, "de_DeleteWorkflowStepGroupCommand");
1058
- var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
1059
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1060
- return de_CommandError(output, context);
1061
- }
1062
- const contents = (0, import_smithy_client.map)({
1063
- $metadata: deserializeMetadata(output)
1064
- });
1065
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1066
- const doc = (0, import_smithy_client.take)(data, {
1067
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1068
- description: import_smithy_client.expectString,
1069
- id: import_smithy_client.expectString,
1070
- inputs: import_smithy_client._json,
1071
- name: import_smithy_client.expectString,
1072
- owner: import_smithy_client.expectString,
1073
- status: import_smithy_client.expectString,
1074
- statusMessage: import_smithy_client.expectString,
1075
- tags: import_smithy_client._json,
1076
- templateArn: import_smithy_client.expectString,
1077
- templateClass: import_smithy_client.expectString,
1078
- tools: import_smithy_client._json
1079
- });
1080
- Object.assign(contents, doc);
1081
- return contents;
1082
- }, "de_GetTemplateCommand");
1083
- var de_GetTemplateStepCommand = /* @__PURE__ */ __name(async (output, context) => {
1084
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1085
- return de_CommandError(output, context);
1086
- }
1087
- const contents = (0, import_smithy_client.map)({
1088
- $metadata: deserializeMetadata(output)
1089
- });
1090
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1091
- const doc = (0, import_smithy_client.take)(data, {
1092
- creationTime: import_smithy_client.expectString,
1093
- description: import_smithy_client.expectString,
1094
- id: import_smithy_client.expectString,
1095
- name: import_smithy_client.expectString,
1096
- next: import_smithy_client._json,
1097
- outputs: import_smithy_client._json,
1098
- previous: import_smithy_client._json,
1099
- stepActionType: import_smithy_client.expectString,
1100
- stepAutomationConfiguration: import_smithy_client._json,
1101
- stepGroupId: import_smithy_client.expectString,
1102
- templateId: import_smithy_client.expectString
1103
- });
1104
- Object.assign(contents, doc);
1105
- return contents;
1106
- }, "de_GetTemplateStepCommand");
1107
- var de_GetTemplateStepGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1108
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1109
- return de_CommandError(output, context);
1110
- }
1111
- const contents = (0, import_smithy_client.map)({
1112
- $metadata: deserializeMetadata(output)
1113
- });
1114
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1115
- const doc = (0, import_smithy_client.take)(data, {
1116
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1117
- description: import_smithy_client.expectString,
1118
- id: import_smithy_client.expectString,
1119
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1120
- name: import_smithy_client.expectString,
1121
- next: import_smithy_client._json,
1122
- previous: import_smithy_client._json,
1123
- status: import_smithy_client.expectString,
1124
- templateId: import_smithy_client.expectString,
1125
- tools: import_smithy_client._json
1126
- });
1127
- Object.assign(contents, doc);
1128
- return contents;
1129
- }, "de_GetTemplateStepGroupCommand");
1130
- var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1131
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1132
- return de_CommandError(output, context);
1133
- }
1134
- const contents = (0, import_smithy_client.map)({
1135
- $metadata: deserializeMetadata(output)
1136
- });
1137
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1138
- const doc = (0, import_smithy_client.take)(data, {
1139
- adsApplicationConfigurationId: import_smithy_client.expectString,
1140
- adsApplicationName: import_smithy_client.expectString,
1141
- arn: import_smithy_client.expectString,
1142
- completedSteps: import_smithy_client.expectInt32,
1143
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1144
- description: import_smithy_client.expectString,
1145
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1146
- id: import_smithy_client.expectString,
1147
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1148
- lastStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStartTime"),
1149
- lastStopTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStopTime"),
1150
- name: import_smithy_client.expectString,
1151
- status: import_smithy_client.expectString,
1152
- statusMessage: import_smithy_client.expectString,
1153
- tags: import_smithy_client._json,
1154
- templateId: import_smithy_client.expectString,
1155
- tools: import_smithy_client._json,
1156
- totalSteps: import_smithy_client.expectInt32,
1157
- workflowBucket: import_smithy_client.expectString,
1158
- workflowInputs: import_smithy_client._json
1159
- });
1160
- Object.assign(contents, doc);
1161
- return contents;
1162
- }, "de_GetWorkflowCommand");
1163
- var de_GetWorkflowStepCommand = /* @__PURE__ */ __name(async (output, context) => {
1164
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1165
- return de_CommandError(output, context);
1166
- }
1167
- const contents = (0, import_smithy_client.map)({
1168
- $metadata: deserializeMetadata(output)
1169
- });
1170
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1171
- const doc = (0, import_smithy_client.take)(data, {
1172
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1173
- description: import_smithy_client.expectString,
1174
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1175
- lastStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStartTime"),
1176
- name: import_smithy_client.expectString,
1177
- next: import_smithy_client._json,
1178
- noOfSrvCompleted: import_smithy_client.expectInt32,
1179
- noOfSrvFailed: import_smithy_client.expectInt32,
1180
- outputs: import_smithy_client._json,
1181
- owner: import_smithy_client.expectString,
1182
- previous: import_smithy_client._json,
1183
- scriptOutputLocation: import_smithy_client.expectString,
1184
- status: import_smithy_client.expectString,
1185
- statusMessage: import_smithy_client.expectString,
1186
- stepActionType: import_smithy_client.expectString,
1187
- stepGroupId: import_smithy_client.expectString,
1188
- stepId: import_smithy_client.expectString,
1189
- stepTarget: import_smithy_client._json,
1190
- totalNoOfSrv: import_smithy_client.expectInt32,
1191
- workflowId: import_smithy_client.expectString,
1192
- workflowStepAutomationConfiguration: import_smithy_client._json
1193
- });
1194
- Object.assign(contents, doc);
1195
- return contents;
1196
- }, "de_GetWorkflowStepCommand");
1197
- var de_GetWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1198
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1199
- return de_CommandError(output, context);
1200
- }
1201
- const contents = (0, import_smithy_client.map)({
1202
- $metadata: deserializeMetadata(output)
1203
- });
1204
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1205
- const doc = (0, import_smithy_client.take)(data, {
1206
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1207
- description: import_smithy_client.expectString,
1208
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1209
- id: import_smithy_client.expectString,
1210
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1211
- name: import_smithy_client.expectString,
1212
- next: import_smithy_client._json,
1213
- owner: import_smithy_client.expectString,
1214
- previous: import_smithy_client._json,
1215
- status: import_smithy_client.expectString,
1216
- tools: import_smithy_client._json,
1217
- workflowId: import_smithy_client.expectString
1218
- });
1219
- Object.assign(contents, doc);
1220
- return contents;
1221
- }, "de_GetWorkflowStepGroupCommand");
1222
- var de_ListPluginsCommand = /* @__PURE__ */ __name(async (output, context) => {
1223
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1224
- return de_CommandError(output, context);
1225
- }
1226
- const contents = (0, import_smithy_client.map)({
1227
- $metadata: deserializeMetadata(output)
1228
- });
1229
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1230
- const doc = (0, import_smithy_client.take)(data, {
1231
- nextToken: import_smithy_client.expectString,
1232
- plugins: import_smithy_client._json
1233
- });
1234
- Object.assign(contents, doc);
1235
- return contents;
1236
- }, "de_ListPluginsCommand");
1237
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1238
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1239
- return de_CommandError(output, context);
1240
- }
1241
- const contents = (0, import_smithy_client.map)({
1242
- $metadata: deserializeMetadata(output)
1243
- });
1244
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1245
- const doc = (0, import_smithy_client.take)(data, {
1246
- tags: import_smithy_client._json
1247
- });
1248
- Object.assign(contents, doc);
1249
- return contents;
1250
- }, "de_ListTagsForResourceCommand");
1251
- var de_ListTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
1252
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1253
- return de_CommandError(output, context);
1254
- }
1255
- const contents = (0, import_smithy_client.map)({
1256
- $metadata: deserializeMetadata(output)
1257
- });
1258
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1259
- const doc = (0, import_smithy_client.take)(data, {
1260
- nextToken: import_smithy_client.expectString,
1261
- templateSummary: import_smithy_client._json
1262
- });
1263
- Object.assign(contents, doc);
1264
- return contents;
1265
- }, "de_ListTemplatesCommand");
1266
- var de_ListTemplateStepGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1267
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1268
- return de_CommandError(output, context);
1269
- }
1270
- const contents = (0, import_smithy_client.map)({
1271
- $metadata: deserializeMetadata(output)
1272
- });
1273
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1274
- const doc = (0, import_smithy_client.take)(data, {
1275
- nextToken: import_smithy_client.expectString,
1276
- templateStepGroupSummary: import_smithy_client._json
1277
- });
1278
- Object.assign(contents, doc);
1279
- return contents;
1280
- }, "de_ListTemplateStepGroupsCommand");
1281
- var de_ListTemplateStepsCommand = /* @__PURE__ */ __name(async (output, context) => {
1282
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1283
- return de_CommandError(output, context);
1284
- }
1285
- const contents = (0, import_smithy_client.map)({
1286
- $metadata: deserializeMetadata(output)
1287
- });
1288
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1289
- const doc = (0, import_smithy_client.take)(data, {
1290
- nextToken: import_smithy_client.expectString,
1291
- templateStepSummaryList: import_smithy_client._json
1292
- });
1293
- Object.assign(contents, doc);
1294
- return contents;
1295
- }, "de_ListTemplateStepsCommand");
1296
- var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
1297
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1298
- return de_CommandError(output, context);
1299
- }
1300
- const contents = (0, import_smithy_client.map)({
1301
- $metadata: deserializeMetadata(output)
1302
- });
1303
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1304
- const doc = (0, import_smithy_client.take)(data, {
1305
- migrationWorkflowSummary: /* @__PURE__ */ __name((_) => de_MigrationWorkflowSummaryList(_, context), "migrationWorkflowSummary"),
1306
- nextToken: import_smithy_client.expectString
1307
- });
1308
- Object.assign(contents, doc);
1309
- return contents;
1310
- }, "de_ListWorkflowsCommand");
1311
- var de_ListWorkflowStepGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1312
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1313
- return de_CommandError(output, context);
1314
- }
1315
- const contents = (0, import_smithy_client.map)({
1316
- $metadata: deserializeMetadata(output)
1317
- });
1318
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1319
- const doc = (0, import_smithy_client.take)(data, {
1320
- nextToken: import_smithy_client.expectString,
1321
- workflowStepGroupsSummary: import_smithy_client._json
1322
- });
1323
- Object.assign(contents, doc);
1324
- return contents;
1325
- }, "de_ListWorkflowStepGroupsCommand");
1326
- var de_ListWorkflowStepsCommand = /* @__PURE__ */ __name(async (output, context) => {
1327
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1328
- return de_CommandError(output, context);
1329
- }
1330
- const contents = (0, import_smithy_client.map)({
1331
- $metadata: deserializeMetadata(output)
1332
- });
1333
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1334
- const doc = (0, import_smithy_client.take)(data, {
1335
- nextToken: import_smithy_client.expectString,
1336
- workflowStepsSummary: import_smithy_client._json
1337
- });
1338
- Object.assign(contents, doc);
1339
- return contents;
1340
- }, "de_ListWorkflowStepsCommand");
1341
- var de_RetryWorkflowStepCommand = /* @__PURE__ */ __name(async (output, context) => {
1342
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1343
- return de_CommandError(output, context);
1344
- }
1345
- const contents = (0, import_smithy_client.map)({
1346
- $metadata: deserializeMetadata(output)
1347
- });
1348
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1349
- const doc = (0, import_smithy_client.take)(data, {
1350
- id: import_smithy_client.expectString,
1351
- status: import_smithy_client.expectString,
1352
- stepGroupId: import_smithy_client.expectString,
1353
- workflowId: import_smithy_client.expectString
1354
- });
1355
- Object.assign(contents, doc);
1356
- return contents;
1357
- }, "de_RetryWorkflowStepCommand");
1358
- var de_StartWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1359
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1360
- return de_CommandError(output, context);
1361
- }
1362
- const contents = (0, import_smithy_client.map)({
1363
- $metadata: deserializeMetadata(output)
1364
- });
1365
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1366
- const doc = (0, import_smithy_client.take)(data, {
1367
- arn: import_smithy_client.expectString,
1368
- id: import_smithy_client.expectString,
1369
- lastStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStartTime"),
1370
- status: import_smithy_client.expectString,
1371
- statusMessage: import_smithy_client.expectString
1372
- });
1373
- Object.assign(contents, doc);
1374
- return contents;
1375
- }, "de_StartWorkflowCommand");
1376
- var de_StopWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1377
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1378
- return de_CommandError(output, context);
1379
- }
1380
- const contents = (0, import_smithy_client.map)({
1381
- $metadata: deserializeMetadata(output)
1382
- });
1383
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1384
- const doc = (0, import_smithy_client.take)(data, {
1385
- arn: import_smithy_client.expectString,
1386
- id: import_smithy_client.expectString,
1387
- lastStopTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastStopTime"),
1388
- status: import_smithy_client.expectString,
1389
- statusMessage: import_smithy_client.expectString
1390
- });
1391
- Object.assign(contents, doc);
1392
- return contents;
1393
- }, "de_StopWorkflowCommand");
1394
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1395
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1396
- return de_CommandError(output, context);
1397
- }
1398
- const contents = (0, import_smithy_client.map)({
1399
- $metadata: deserializeMetadata(output)
1400
- });
1401
- await (0, import_smithy_client.collectBody)(output.body, context);
1402
- return contents;
1403
- }, "de_TagResourceCommand");
1404
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1405
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1406
- return de_CommandError(output, context);
1407
- }
1408
- const contents = (0, import_smithy_client.map)({
1409
- $metadata: deserializeMetadata(output)
1410
- });
1411
- await (0, import_smithy_client.collectBody)(output.body, context);
1412
- return contents;
1413
- }, "de_UntagResourceCommand");
1414
- var de_UpdateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
1415
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1416
- return de_CommandError(output, context);
1417
- }
1418
- const contents = (0, import_smithy_client.map)({
1419
- $metadata: deserializeMetadata(output)
1420
- });
1421
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1422
- const doc = (0, import_smithy_client.take)(data, {
1423
- tags: import_smithy_client._json,
1424
- templateArn: import_smithy_client.expectString,
1425
- templateId: import_smithy_client.expectString
1426
- });
1427
- Object.assign(contents, doc);
1428
- return contents;
1429
- }, "de_UpdateTemplateCommand");
1430
- var de_UpdateWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
1431
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1432
- return de_CommandError(output, context);
1433
- }
1434
- const contents = (0, import_smithy_client.map)({
1435
- $metadata: deserializeMetadata(output)
1436
- });
1437
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1438
- const doc = (0, import_smithy_client.take)(data, {
1439
- adsApplicationConfigurationId: import_smithy_client.expectString,
1440
- arn: import_smithy_client.expectString,
1441
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1442
- description: import_smithy_client.expectString,
1443
- id: import_smithy_client.expectString,
1444
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1445
- name: import_smithy_client.expectString,
1446
- status: import_smithy_client.expectString,
1447
- stepTargets: import_smithy_client._json,
1448
- tags: import_smithy_client._json,
1449
- templateId: import_smithy_client.expectString,
1450
- workflowInputs: import_smithy_client._json
1451
- });
1452
- Object.assign(contents, doc);
1453
- return contents;
1454
- }, "de_UpdateWorkflowCommand");
1455
- var de_UpdateWorkflowStepCommand = /* @__PURE__ */ __name(async (output, context) => {
1456
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1457
- return de_CommandError(output, context);
1458
- }
1459
- const contents = (0, import_smithy_client.map)({
1460
- $metadata: deserializeMetadata(output)
1461
- });
1462
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1463
- const doc = (0, import_smithy_client.take)(data, {
1464
- id: import_smithy_client.expectString,
1465
- name: import_smithy_client.expectString,
1466
- stepGroupId: import_smithy_client.expectString,
1467
- workflowId: import_smithy_client.expectString
1468
- });
1469
- Object.assign(contents, doc);
1470
- return contents;
1471
- }, "de_UpdateWorkflowStepCommand");
1472
- var de_UpdateWorkflowStepGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1473
- if (output.statusCode !== 202 && output.statusCode >= 300) {
1474
- return de_CommandError(output, context);
1475
- }
1476
- const contents = (0, import_smithy_client.map)({
1477
- $metadata: deserializeMetadata(output)
1478
- });
1479
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1480
- const doc = (0, import_smithy_client.take)(data, {
1481
- description: import_smithy_client.expectString,
1482
- id: import_smithy_client.expectString,
1483
- lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1484
- name: import_smithy_client.expectString,
1485
- next: import_smithy_client._json,
1486
- previous: import_smithy_client._json,
1487
- tools: import_smithy_client._json,
1488
- workflowId: import_smithy_client.expectString
1489
- });
1490
- Object.assign(contents, doc);
1491
- return contents;
1492
- }, "de_UpdateWorkflowStepGroupCommand");
1493
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1494
- const parsedOutput = {
1495
- ...output,
1496
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1497
- };
1498
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1499
- switch (errorCode) {
1500
- case "AccessDeniedException":
1501
- case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1502
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1503
- case "ConflictException":
1504
- case "com.amazonaws.migrationhuborchestrator#ConflictException":
1505
- throw await de_ConflictExceptionRes(parsedOutput, context);
1506
- case "InternalServerException":
1507
- case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1508
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1509
- case "ThrottlingException":
1510
- case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1511
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1512
- case "ValidationException":
1513
- case "com.amazonaws.migrationhuborchestrator#ValidationException":
1514
- throw await de_ValidationExceptionRes(parsedOutput, context);
1515
- case "ResourceNotFoundException":
1516
- case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1517
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1518
- default:
1519
- const parsedBody = parsedOutput.body;
1520
- return throwDefaultError({
1521
- output,
1522
- parsedBody,
1523
- errorCode
1524
- });
1525
- }
1526
- }, "de_CommandError");
1527
- var throwDefaultError = (0, import_smithy_client.withBaseException)(MigrationHubOrchestratorServiceException);
1528
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1529
- const contents = (0, import_smithy_client.map)({});
1530
- const data = parsedOutput.body;
1531
- const doc = (0, import_smithy_client.take)(data, {
1532
- message: import_smithy_client.expectString
1533
- });
1534
- Object.assign(contents, doc);
1535
- const exception = new AccessDeniedException({
1536
- $metadata: deserializeMetadata(parsedOutput),
1537
- ...contents
1538
- });
1539
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1540
- }, "de_AccessDeniedExceptionRes");
1541
- var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1542
- const contents = (0, import_smithy_client.map)({});
1543
- const data = parsedOutput.body;
1544
- const doc = (0, import_smithy_client.take)(data, {
1545
- message: import_smithy_client.expectString
1546
- });
1547
- Object.assign(contents, doc);
1548
- const exception = new ConflictException({
1549
- $metadata: deserializeMetadata(parsedOutput),
1550
- ...contents
1551
- });
1552
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1553
- }, "de_ConflictExceptionRes");
1554
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1555
- const contents = (0, import_smithy_client.map)({});
1556
- const data = parsedOutput.body;
1557
- const doc = (0, import_smithy_client.take)(data, {
1558
- message: import_smithy_client.expectString
1559
- });
1560
- Object.assign(contents, doc);
1561
- const exception = new InternalServerException({
1562
- $metadata: deserializeMetadata(parsedOutput),
1563
- ...contents
1564
- });
1565
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1566
- }, "de_InternalServerExceptionRes");
1567
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1568
- const contents = (0, import_smithy_client.map)({});
1569
- const data = parsedOutput.body;
1570
- const doc = (0, import_smithy_client.take)(data, {
1571
- message: import_smithy_client.expectString
1572
- });
1573
- Object.assign(contents, doc);
1574
- const exception = new ResourceNotFoundException({
1575
- $metadata: deserializeMetadata(parsedOutput),
1576
- ...contents
1577
- });
1578
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1579
- }, "de_ResourceNotFoundExceptionRes");
1580
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1581
- const contents = (0, import_smithy_client.map)({});
1582
- const data = parsedOutput.body;
1583
- const doc = (0, import_smithy_client.take)(data, {
1584
- message: import_smithy_client.expectString
1585
- });
1586
- Object.assign(contents, doc);
1587
- const exception = new ThrottlingException({
1588
- $metadata: deserializeMetadata(parsedOutput),
1589
- ...contents
1590
- });
1591
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1592
- }, "de_ThrottlingExceptionRes");
1593
- var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1594
- const contents = (0, import_smithy_client.map)({});
1595
- const data = parsedOutput.body;
1596
- const doc = (0, import_smithy_client.take)(data, {
1597
- message: import_smithy_client.expectString
1598
- });
1599
- Object.assign(contents, doc);
1600
- const exception = new ValidationException({
1601
- $metadata: deserializeMetadata(parsedOutput),
1602
- ...contents
1603
- });
1604
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1605
- }, "de_ValidationExceptionRes");
1606
- var de_MigrationWorkflowSummary = /* @__PURE__ */ __name((output, context) => {
1607
- return (0, import_smithy_client.take)(output, {
1608
- adsApplicationConfigurationName: import_smithy_client.expectString,
1609
- completedSteps: import_smithy_client.expectInt32,
1610
- creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
1611
- endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
1612
- id: import_smithy_client.expectString,
1613
- name: import_smithy_client.expectString,
1614
- status: import_smithy_client.expectString,
1615
- statusMessage: import_smithy_client.expectString,
1616
- templateId: import_smithy_client.expectString,
1617
- totalSteps: import_smithy_client.expectInt32
1618
- });
1619
- }, "de_MigrationWorkflowSummary");
1620
- var de_MigrationWorkflowSummaryList = /* @__PURE__ */ __name((output, context) => {
1621
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1622
- return de_MigrationWorkflowSummary(entry, context);
1623
- });
1624
- return retVal;
1625
- }, "de_MigrationWorkflowSummaryList");
1626
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1627
- httpStatusCode: output.statusCode,
1628
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1629
- extendedRequestId: output.headers["x-amz-id-2"],
1630
- cfId: output.headers["x-amz-cf-id"]
1631
- }), "deserializeMetadata");
1632
- var _aACN = "adsApplicationConfigurationName";
1633
- var _mR = "maxResults";
1634
- var _n = "name";
1635
- var _nT = "nextToken";
1636
- var _s = "status";
1637
- var _sGI = "stepGroupId";
1638
- var _tI = "templateId";
1639
- var _tK = "tagKeys";
1640
- var _wI = "workflowId";
1641
-
1642
- // src/commands/CreateTemplateCommand.ts
1643
- var CreateTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1644
- return [
1645
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1646
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1647
- ];
1648
- }).s("AWSMigrationHubOrchestrator", "CreateTemplate", {}).n("MigrationHubOrchestratorClient", "CreateTemplateCommand").f(void 0, void 0).ser(se_CreateTemplateCommand).de(de_CreateTemplateCommand).build() {
1649
- static {
1650
- __name(this, "CreateTemplateCommand");
1651
- }
240
+ const TemplateStatus = {
241
+ CREATED: "CREATED",
242
+ CREATING: "CREATING",
243
+ CREATION_FAILED: "CREATION_FAILED",
244
+ PENDING_CREATION: "PENDING_CREATION",
245
+ READY: "READY",
1652
246
  };
1653
-
1654
- // src/commands/CreateWorkflowCommand.ts
1655
-
1656
-
1657
-
1658
- var CreateWorkflowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1659
- return [
1660
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1661
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1662
- ];
1663
- }).s("AWSMigrationHubOrchestrator", "CreateWorkflow", {}).n("MigrationHubOrchestratorClient", "CreateWorkflowCommand").f(CreateMigrationWorkflowRequestFilterSensitiveLog, CreateMigrationWorkflowResponseFilterSensitiveLog).ser(se_CreateWorkflowCommand).de(de_CreateWorkflowCommand).build() {
1664
- static {
1665
- __name(this, "CreateWorkflowCommand");
1666
- }
247
+ const PluginHealth = {
248
+ PLUGIN_HEALTHY: "HEALTHY",
249
+ PLUGIN_UNHEALTHY: "UNHEALTHY",
1667
250
  };
1668
-
1669
- // src/commands/CreateWorkflowStepCommand.ts
1670
-
1671
-
1672
-
1673
- var CreateWorkflowStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1674
- return [
1675
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1676
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1677
- ];
1678
- }).s("AWSMigrationHubOrchestrator", "CreateWorkflowStep", {}).n("MigrationHubOrchestratorClient", "CreateWorkflowStepCommand").f(void 0, void 0).ser(se_CreateWorkflowStepCommand).de(de_CreateWorkflowStepCommand).build() {
1679
- static {
1680
- __name(this, "CreateWorkflowStepCommand");
1681
- }
251
+ const StepActionType = {
252
+ AUTOMATED: "AUTOMATED",
253
+ MANUAL: "MANUAL",
1682
254
  };
1683
-
1684
- // src/commands/CreateWorkflowStepGroupCommand.ts
1685
-
1686
-
1687
-
1688
- var CreateWorkflowStepGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1689
- return [
1690
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1691
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1692
- ];
1693
- }).s("AWSMigrationHubOrchestrator", "CreateWorkflowStepGroup", {}).n("MigrationHubOrchestratorClient", "CreateWorkflowStepGroupCommand").f(void 0, void 0).ser(se_CreateWorkflowStepGroupCommand).de(de_CreateWorkflowStepGroupCommand).build() {
1694
- static {
1695
- __name(this, "CreateWorkflowStepGroupCommand");
1696
- }
255
+ const RunEnvironment = {
256
+ AWS: "AWS",
257
+ ONPREMISE: "ONPREMISE",
1697
258
  };
1698
-
1699
- // src/commands/DeleteTemplateCommand.ts
1700
-
1701
-
1702
-
1703
- var DeleteTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1704
- return [
1705
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1706
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1707
- ];
1708
- }).s("AWSMigrationHubOrchestrator", "DeleteTemplate", {}).n("MigrationHubOrchestratorClient", "DeleteTemplateCommand").f(void 0, void 0).ser(se_DeleteTemplateCommand).de(de_DeleteTemplateCommand).build() {
1709
- static {
1710
- __name(this, "DeleteTemplateCommand");
1711
- }
259
+ const TargetType = {
260
+ ALL: "ALL",
261
+ NONE: "NONE",
262
+ SINGLE: "SINGLE",
1712
263
  };
1713
-
1714
- // src/commands/DeleteWorkflowCommand.ts
1715
-
1716
-
1717
-
1718
- var DeleteWorkflowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1719
- return [
1720
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1721
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1722
- ];
1723
- }).s("AWSMigrationHubOrchestrator", "DeleteWorkflow", {}).n("MigrationHubOrchestratorClient", "DeleteWorkflowCommand").f(void 0, void 0).ser(se_DeleteWorkflowCommand).de(de_DeleteWorkflowCommand).build() {
1724
- static {
1725
- __name(this, "DeleteWorkflowCommand");
1726
- }
264
+ const Owner = {
265
+ AWSManaged: "AWS_MANAGED",
266
+ CUSTOM: "CUSTOM",
1727
267
  };
1728
-
1729
- // src/commands/DeleteWorkflowStepCommand.ts
1730
-
1731
-
1732
-
1733
- var DeleteWorkflowStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1734
- return [
1735
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1736
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1737
- ];
1738
- }).s("AWSMigrationHubOrchestrator", "DeleteWorkflowStep", {}).n("MigrationHubOrchestratorClient", "DeleteWorkflowStepCommand").f(void 0, void 0).ser(se_DeleteWorkflowStepCommand).de(de_DeleteWorkflowStepCommand).build() {
1739
- static {
1740
- __name(this, "DeleteWorkflowStepCommand");
1741
- }
268
+ const StepGroupStatus = {
269
+ AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
270
+ COMPLETED: "COMPLETED",
271
+ FAILED: "FAILED",
272
+ IN_PROGRESS: "IN_PROGRESS",
273
+ PAUSED: "PAUSED",
274
+ PAUSING: "PAUSING",
275
+ READY: "READY",
276
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
1742
277
  };
1743
-
1744
- // src/commands/DeleteWorkflowStepGroupCommand.ts
1745
-
1746
-
1747
-
1748
- var DeleteWorkflowStepGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1749
- return [
1750
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1751
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1752
- ];
1753
- }).s("AWSMigrationHubOrchestrator", "DeleteWorkflowStepGroup", {}).n("MigrationHubOrchestratorClient", "DeleteWorkflowStepGroupCommand").f(void 0, void 0).ser(se_DeleteWorkflowStepGroupCommand).de(de_DeleteWorkflowStepGroupCommand).build() {
1754
- static {
1755
- __name(this, "DeleteWorkflowStepGroupCommand");
1756
- }
278
+ exports.WorkflowStepOutputUnion = void 0;
279
+ (function (WorkflowStepOutputUnion) {
280
+ WorkflowStepOutputUnion.visit = (value, visitor) => {
281
+ if (value.integerValue !== undefined)
282
+ return visitor.integerValue(value.integerValue);
283
+ if (value.stringValue !== undefined)
284
+ return visitor.stringValue(value.stringValue);
285
+ if (value.listOfStringValue !== undefined)
286
+ return visitor.listOfStringValue(value.listOfStringValue);
287
+ return visitor._(value.$unknown[0], value.$unknown[1]);
288
+ };
289
+ })(exports.WorkflowStepOutputUnion || (exports.WorkflowStepOutputUnion = {}));
290
+ const StepStatus = {
291
+ AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
292
+ COMPLETED: "COMPLETED",
293
+ FAILED: "FAILED",
294
+ IN_PROGRESS: "IN_PROGRESS",
295
+ PAUSED: "PAUSED",
296
+ READY: "READY",
297
+ SKIPPED: "SKIPPED",
298
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
1757
299
  };
300
+ const CreateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
301
+ ...obj,
302
+ ...(obj.inputParameters && { inputParameters: smithyClient.SENSITIVE_STRING }),
303
+ });
304
+ const CreateMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
305
+ ...obj,
306
+ ...(obj.workflowInputs && { workflowInputs: smithyClient.SENSITIVE_STRING }),
307
+ });
308
+ const GetMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
309
+ ...obj,
310
+ ...(obj.workflowInputs && { workflowInputs: smithyClient.SENSITIVE_STRING }),
311
+ });
312
+ const UpdateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
313
+ ...obj,
314
+ ...(obj.inputParameters && { inputParameters: smithyClient.SENSITIVE_STRING }),
315
+ });
316
+ const UpdateMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
317
+ ...obj,
318
+ ...(obj.workflowInputs && { workflowInputs: smithyClient.SENSITIVE_STRING }),
319
+ });
1758
320
 
1759
- // src/commands/GetTemplateCommand.ts
1760
-
1761
-
1762
-
1763
- var GetTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1764
- return [
1765
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1766
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1767
- ];
1768
- }).s("AWSMigrationHubOrchestrator", "GetTemplate", {}).n("MigrationHubOrchestratorClient", "GetTemplateCommand").f(void 0, void 0).ser(se_GetTemplateCommand).de(de_GetTemplateCommand).build() {
1769
- static {
1770
- __name(this, "GetTemplateCommand");
1771
- }
321
+ const se_CreateTemplateCommand = async (input, context) => {
322
+ const b = core.requestBuilder(input, context);
323
+ const headers = {
324
+ "content-type": "application/json",
325
+ };
326
+ b.bp("/template");
327
+ let body;
328
+ body = JSON.stringify(smithyClient.take(input, {
329
+ clientToken: [true, (_) => _ ?? uuid.v4()],
330
+ tags: (_) => smithyClient._json(_),
331
+ templateDescription: [],
332
+ templateName: [],
333
+ templateSource: (_) => smithyClient._json(_),
334
+ }));
335
+ b.m("POST").h(headers).b(body);
336
+ return b.build();
1772
337
  };
1773
-
1774
- // src/commands/GetTemplateStepCommand.ts
1775
-
1776
-
1777
-
1778
- var GetTemplateStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1779
- return [
1780
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1781
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1782
- ];
1783
- }).s("AWSMigrationHubOrchestrator", "GetTemplateStep", {}).n("MigrationHubOrchestratorClient", "GetTemplateStepCommand").f(void 0, void 0).ser(se_GetTemplateStepCommand).de(de_GetTemplateStepCommand).build() {
1784
- static {
1785
- __name(this, "GetTemplateStepCommand");
1786
- }
338
+ const se_CreateWorkflowCommand = async (input, context) => {
339
+ const b = core.requestBuilder(input, context);
340
+ const headers = {
341
+ "content-type": "application/json",
342
+ };
343
+ b.bp("/migrationworkflow");
344
+ let body;
345
+ body = JSON.stringify(smithyClient.take(input, {
346
+ applicationConfigurationId: [],
347
+ description: [],
348
+ inputParameters: (_) => smithyClient._json(_),
349
+ name: [],
350
+ stepTargets: (_) => smithyClient._json(_),
351
+ tags: (_) => smithyClient._json(_),
352
+ templateId: [],
353
+ }));
354
+ b.m("POST").h(headers).b(body);
355
+ return b.build();
1787
356
  };
1788
-
1789
- // src/commands/GetTemplateStepGroupCommand.ts
1790
-
1791
-
1792
-
1793
- var GetTemplateStepGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1794
- return [
1795
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1796
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1797
- ];
1798
- }).s("AWSMigrationHubOrchestrator", "GetTemplateStepGroup", {}).n("MigrationHubOrchestratorClient", "GetTemplateStepGroupCommand").f(void 0, void 0).ser(se_GetTemplateStepGroupCommand).de(de_GetTemplateStepGroupCommand).build() {
1799
- static {
1800
- __name(this, "GetTemplateStepGroupCommand");
1801
- }
357
+ const se_CreateWorkflowStepCommand = async (input, context) => {
358
+ const b = core.requestBuilder(input, context);
359
+ const headers = {
360
+ "content-type": "application/json",
361
+ };
362
+ b.bp("/workflowstep");
363
+ let body;
364
+ body = JSON.stringify(smithyClient.take(input, {
365
+ description: [],
366
+ name: [],
367
+ next: (_) => smithyClient._json(_),
368
+ outputs: (_) => smithyClient._json(_),
369
+ previous: (_) => smithyClient._json(_),
370
+ stepActionType: [],
371
+ stepGroupId: [],
372
+ stepTarget: (_) => smithyClient._json(_),
373
+ workflowId: [],
374
+ workflowStepAutomationConfiguration: (_) => smithyClient._json(_),
375
+ }));
376
+ b.m("POST").h(headers).b(body);
377
+ return b.build();
1802
378
  };
1803
-
1804
- // src/commands/GetWorkflowCommand.ts
1805
-
1806
-
1807
-
1808
- var GetWorkflowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1809
- return [
1810
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1811
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1812
- ];
1813
- }).s("AWSMigrationHubOrchestrator", "GetWorkflow", {}).n("MigrationHubOrchestratorClient", "GetWorkflowCommand").f(void 0, GetMigrationWorkflowResponseFilterSensitiveLog).ser(se_GetWorkflowCommand).de(de_GetWorkflowCommand).build() {
1814
- static {
1815
- __name(this, "GetWorkflowCommand");
1816
- }
379
+ const se_CreateWorkflowStepGroupCommand = async (input, context) => {
380
+ const b = core.requestBuilder(input, context);
381
+ const headers = {
382
+ "content-type": "application/json",
383
+ };
384
+ b.bp("/workflowstepgroups");
385
+ let body;
386
+ body = JSON.stringify(smithyClient.take(input, {
387
+ description: [],
388
+ name: [],
389
+ next: (_) => smithyClient._json(_),
390
+ previous: (_) => smithyClient._json(_),
391
+ workflowId: [],
392
+ }));
393
+ b.m("POST").h(headers).b(body);
394
+ return b.build();
1817
395
  };
1818
-
1819
- // src/commands/GetWorkflowStepCommand.ts
1820
-
1821
-
1822
-
1823
- var GetWorkflowStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1824
- return [
1825
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1826
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1827
- ];
1828
- }).s("AWSMigrationHubOrchestrator", "GetWorkflowStep", {}).n("MigrationHubOrchestratorClient", "GetWorkflowStepCommand").f(void 0, void 0).ser(se_GetWorkflowStepCommand).de(de_GetWorkflowStepCommand).build() {
1829
- static {
1830
- __name(this, "GetWorkflowStepCommand");
1831
- }
396
+ const se_DeleteTemplateCommand = async (input, context) => {
397
+ const b = core.requestBuilder(input, context);
398
+ const headers = {};
399
+ b.bp("/template/{id}");
400
+ b.p("id", () => input.id, "{id}", false);
401
+ let body;
402
+ b.m("DELETE").h(headers).b(body);
403
+ return b.build();
1832
404
  };
1833
-
1834
- // src/commands/GetWorkflowStepGroupCommand.ts
1835
-
1836
-
1837
-
1838
- var GetWorkflowStepGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1839
- return [
1840
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1841
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1842
- ];
1843
- }).s("AWSMigrationHubOrchestrator", "GetWorkflowStepGroup", {}).n("MigrationHubOrchestratorClient", "GetWorkflowStepGroupCommand").f(void 0, void 0).ser(se_GetWorkflowStepGroupCommand).de(de_GetWorkflowStepGroupCommand).build() {
1844
- static {
1845
- __name(this, "GetWorkflowStepGroupCommand");
1846
- }
405
+ const se_DeleteWorkflowCommand = async (input, context) => {
406
+ const b = core.requestBuilder(input, context);
407
+ const headers = {};
408
+ b.bp("/migrationworkflow/{id}");
409
+ b.p("id", () => input.id, "{id}", false);
410
+ let body;
411
+ b.m("DELETE").h(headers).b(body);
412
+ return b.build();
1847
413
  };
1848
-
1849
- // src/commands/ListPluginsCommand.ts
1850
-
1851
-
1852
-
1853
- var ListPluginsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1854
- return [
1855
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1856
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1857
- ];
1858
- }).s("AWSMigrationHubOrchestrator", "ListPlugins", {}).n("MigrationHubOrchestratorClient", "ListPluginsCommand").f(void 0, void 0).ser(se_ListPluginsCommand).de(de_ListPluginsCommand).build() {
1859
- static {
1860
- __name(this, "ListPluginsCommand");
1861
- }
414
+ const se_DeleteWorkflowStepCommand = async (input, context) => {
415
+ const b = core.requestBuilder(input, context);
416
+ const headers = {};
417
+ b.bp("/workflowstep/{id}");
418
+ b.p("id", () => input.id, "{id}", false);
419
+ const query = smithyClient.map({
420
+ [_sGI]: [, smithyClient.expectNonNull(input[_sGI], `stepGroupId`)],
421
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
422
+ });
423
+ let body;
424
+ b.m("DELETE").h(headers).q(query).b(body);
425
+ return b.build();
1862
426
  };
1863
-
1864
- // src/commands/ListTagsForResourceCommand.ts
1865
-
1866
-
1867
-
1868
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1869
- return [
1870
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1871
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1872
- ];
1873
- }).s("AWSMigrationHubOrchestrator", "ListTagsForResource", {}).n("MigrationHubOrchestratorClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1874
- static {
1875
- __name(this, "ListTagsForResourceCommand");
1876
- }
427
+ const se_DeleteWorkflowStepGroupCommand = async (input, context) => {
428
+ const b = core.requestBuilder(input, context);
429
+ const headers = {};
430
+ b.bp("/workflowstepgroup/{id}");
431
+ b.p("id", () => input.id, "{id}", false);
432
+ const query = smithyClient.map({
433
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
434
+ });
435
+ let body;
436
+ b.m("DELETE").h(headers).q(query).b(body);
437
+ return b.build();
1877
438
  };
1878
-
1879
- // src/commands/ListTemplatesCommand.ts
1880
-
1881
-
1882
-
1883
- var ListTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1884
- return [
1885
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1886
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1887
- ];
1888
- }).s("AWSMigrationHubOrchestrator", "ListTemplates", {}).n("MigrationHubOrchestratorClient", "ListTemplatesCommand").f(void 0, void 0).ser(se_ListTemplatesCommand).de(de_ListTemplatesCommand).build() {
1889
- static {
1890
- __name(this, "ListTemplatesCommand");
1891
- }
439
+ const se_GetTemplateCommand = async (input, context) => {
440
+ const b = core.requestBuilder(input, context);
441
+ const headers = {};
442
+ b.bp("/migrationworkflowtemplate/{id}");
443
+ b.p("id", () => input.id, "{id}", false);
444
+ let body;
445
+ b.m("GET").h(headers).b(body);
446
+ return b.build();
1892
447
  };
1893
-
1894
- // src/commands/ListTemplateStepGroupsCommand.ts
1895
-
1896
-
1897
-
1898
- var ListTemplateStepGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1899
- return [
1900
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1901
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1902
- ];
1903
- }).s("AWSMigrationHubOrchestrator", "ListTemplateStepGroups", {}).n("MigrationHubOrchestratorClient", "ListTemplateStepGroupsCommand").f(void 0, void 0).ser(se_ListTemplateStepGroupsCommand).de(de_ListTemplateStepGroupsCommand).build() {
1904
- static {
1905
- __name(this, "ListTemplateStepGroupsCommand");
1906
- }
448
+ const se_GetTemplateStepCommand = async (input, context) => {
449
+ const b = core.requestBuilder(input, context);
450
+ const headers = {};
451
+ b.bp("/templatestep/{id}");
452
+ b.p("id", () => input.id, "{id}", false);
453
+ const query = smithyClient.map({
454
+ [_tI]: [, smithyClient.expectNonNull(input[_tI], `templateId`)],
455
+ [_sGI]: [, smithyClient.expectNonNull(input[_sGI], `stepGroupId`)],
456
+ });
457
+ let body;
458
+ b.m("GET").h(headers).q(query).b(body);
459
+ return b.build();
1907
460
  };
1908
-
1909
- // src/commands/ListTemplateStepsCommand.ts
1910
-
1911
-
1912
-
1913
- var ListTemplateStepsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1914
- return [
1915
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1916
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1917
- ];
1918
- }).s("AWSMigrationHubOrchestrator", "ListTemplateSteps", {}).n("MigrationHubOrchestratorClient", "ListTemplateStepsCommand").f(void 0, void 0).ser(se_ListTemplateStepsCommand).de(de_ListTemplateStepsCommand).build() {
1919
- static {
1920
- __name(this, "ListTemplateStepsCommand");
1921
- }
461
+ const se_GetTemplateStepGroupCommand = async (input, context) => {
462
+ const b = core.requestBuilder(input, context);
463
+ const headers = {};
464
+ b.bp("/templates/{templateId}/stepgroups/{id}");
465
+ b.p("templateId", () => input.templateId, "{templateId}", false);
466
+ b.p("id", () => input.id, "{id}", false);
467
+ let body;
468
+ b.m("GET").h(headers).b(body);
469
+ return b.build();
1922
470
  };
1923
-
1924
- // src/commands/ListWorkflowsCommand.ts
1925
-
1926
-
1927
-
1928
- var ListWorkflowsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1929
- return [
1930
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1931
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1932
- ];
1933
- }).s("AWSMigrationHubOrchestrator", "ListWorkflows", {}).n("MigrationHubOrchestratorClient", "ListWorkflowsCommand").f(void 0, void 0).ser(se_ListWorkflowsCommand).de(de_ListWorkflowsCommand).build() {
1934
- static {
1935
- __name(this, "ListWorkflowsCommand");
1936
- }
471
+ const se_GetWorkflowCommand = async (input, context) => {
472
+ const b = core.requestBuilder(input, context);
473
+ const headers = {};
474
+ b.bp("/migrationworkflow/{id}");
475
+ b.p("id", () => input.id, "{id}", false);
476
+ let body;
477
+ b.m("GET").h(headers).b(body);
478
+ return b.build();
1937
479
  };
1938
-
1939
- // src/commands/ListWorkflowStepGroupsCommand.ts
1940
-
1941
-
1942
-
1943
- var ListWorkflowStepGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1944
- return [
1945
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1946
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1947
- ];
1948
- }).s("AWSMigrationHubOrchestrator", "ListWorkflowStepGroups", {}).n("MigrationHubOrchestratorClient", "ListWorkflowStepGroupsCommand").f(void 0, void 0).ser(se_ListWorkflowStepGroupsCommand).de(de_ListWorkflowStepGroupsCommand).build() {
1949
- static {
1950
- __name(this, "ListWorkflowStepGroupsCommand");
1951
- }
480
+ const se_GetWorkflowStepCommand = async (input, context) => {
481
+ const b = core.requestBuilder(input, context);
482
+ const headers = {};
483
+ b.bp("/workflowstep/{id}");
484
+ b.p("id", () => input.id, "{id}", false);
485
+ const query = smithyClient.map({
486
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
487
+ [_sGI]: [, smithyClient.expectNonNull(input[_sGI], `stepGroupId`)],
488
+ });
489
+ let body;
490
+ b.m("GET").h(headers).q(query).b(body);
491
+ return b.build();
1952
492
  };
1953
-
1954
- // src/commands/ListWorkflowStepsCommand.ts
1955
-
1956
-
1957
-
1958
- var ListWorkflowStepsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1959
- return [
1960
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1961
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1962
- ];
1963
- }).s("AWSMigrationHubOrchestrator", "ListWorkflowSteps", {}).n("MigrationHubOrchestratorClient", "ListWorkflowStepsCommand").f(void 0, void 0).ser(se_ListWorkflowStepsCommand).de(de_ListWorkflowStepsCommand).build() {
1964
- static {
1965
- __name(this, "ListWorkflowStepsCommand");
1966
- }
493
+ const se_GetWorkflowStepGroupCommand = async (input, context) => {
494
+ const b = core.requestBuilder(input, context);
495
+ const headers = {};
496
+ b.bp("/workflowstepgroup/{id}");
497
+ b.p("id", () => input.id, "{id}", false);
498
+ const query = smithyClient.map({
499
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
500
+ });
501
+ let body;
502
+ b.m("GET").h(headers).q(query).b(body);
503
+ return b.build();
1967
504
  };
1968
-
1969
- // src/commands/RetryWorkflowStepCommand.ts
1970
-
1971
-
1972
-
1973
- var RetryWorkflowStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1974
- return [
1975
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1976
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1977
- ];
1978
- }).s("AWSMigrationHubOrchestrator", "RetryWorkflowStep", {}).n("MigrationHubOrchestratorClient", "RetryWorkflowStepCommand").f(void 0, void 0).ser(se_RetryWorkflowStepCommand).de(de_RetryWorkflowStepCommand).build() {
1979
- static {
1980
- __name(this, "RetryWorkflowStepCommand");
1981
- }
505
+ const se_ListPluginsCommand = async (input, context) => {
506
+ const b = core.requestBuilder(input, context);
507
+ const headers = {};
508
+ b.bp("/plugins");
509
+ const query = smithyClient.map({
510
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
511
+ [_nT]: [, input[_nT]],
512
+ });
513
+ let body;
514
+ b.m("GET").h(headers).q(query).b(body);
515
+ return b.build();
1982
516
  };
1983
-
1984
- // src/commands/StartWorkflowCommand.ts
1985
-
1986
-
1987
-
1988
- var StartWorkflowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1989
- return [
1990
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1991
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1992
- ];
1993
- }).s("AWSMigrationHubOrchestrator", "StartWorkflow", {}).n("MigrationHubOrchestratorClient", "StartWorkflowCommand").f(void 0, void 0).ser(se_StartWorkflowCommand).de(de_StartWorkflowCommand).build() {
1994
- static {
1995
- __name(this, "StartWorkflowCommand");
1996
- }
517
+ const se_ListTagsForResourceCommand = async (input, context) => {
518
+ const b = core.requestBuilder(input, context);
519
+ const headers = {};
520
+ b.bp("/tags/{resourceArn}");
521
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
522
+ let body;
523
+ b.m("GET").h(headers).b(body);
524
+ return b.build();
1997
525
  };
1998
-
1999
- // src/commands/StopWorkflowCommand.ts
2000
-
2001
-
2002
-
2003
- var StopWorkflowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2004
- return [
2005
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2006
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2007
- ];
2008
- }).s("AWSMigrationHubOrchestrator", "StopWorkflow", {}).n("MigrationHubOrchestratorClient", "StopWorkflowCommand").f(void 0, void 0).ser(se_StopWorkflowCommand).de(de_StopWorkflowCommand).build() {
2009
- static {
2010
- __name(this, "StopWorkflowCommand");
2011
- }
526
+ const se_ListTemplatesCommand = async (input, context) => {
527
+ const b = core.requestBuilder(input, context);
528
+ const headers = {};
529
+ b.bp("/migrationworkflowtemplates");
530
+ const query = smithyClient.map({
531
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
532
+ [_nT]: [, input[_nT]],
533
+ [_n]: [, input[_n]],
534
+ });
535
+ let body;
536
+ b.m("GET").h(headers).q(query).b(body);
537
+ return b.build();
2012
538
  };
2013
-
2014
- // src/commands/TagResourceCommand.ts
2015
-
2016
-
2017
-
2018
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2019
- return [
2020
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2021
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2022
- ];
2023
- }).s("AWSMigrationHubOrchestrator", "TagResource", {}).n("MigrationHubOrchestratorClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2024
- static {
2025
- __name(this, "TagResourceCommand");
2026
- }
539
+ const se_ListTemplateStepGroupsCommand = async (input, context) => {
540
+ const b = core.requestBuilder(input, context);
541
+ const headers = {};
542
+ b.bp("/templatestepgroups/{templateId}");
543
+ b.p("templateId", () => input.templateId, "{templateId}", false);
544
+ const query = smithyClient.map({
545
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
546
+ [_nT]: [, input[_nT]],
547
+ });
548
+ let body;
549
+ b.m("GET").h(headers).q(query).b(body);
550
+ return b.build();
2027
551
  };
2028
-
2029
- // src/commands/UntagResourceCommand.ts
2030
-
2031
-
2032
-
2033
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2034
- return [
2035
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2036
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2037
- ];
2038
- }).s("AWSMigrationHubOrchestrator", "UntagResource", {}).n("MigrationHubOrchestratorClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2039
- static {
2040
- __name(this, "UntagResourceCommand");
2041
- }
552
+ const se_ListTemplateStepsCommand = async (input, context) => {
553
+ const b = core.requestBuilder(input, context);
554
+ const headers = {};
555
+ b.bp("/templatesteps");
556
+ const query = smithyClient.map({
557
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
558
+ [_nT]: [, input[_nT]],
559
+ [_tI]: [, smithyClient.expectNonNull(input[_tI], `templateId`)],
560
+ [_sGI]: [, smithyClient.expectNonNull(input[_sGI], `stepGroupId`)],
561
+ });
562
+ let body;
563
+ b.m("GET").h(headers).q(query).b(body);
564
+ return b.build();
2042
565
  };
2043
-
2044
- // src/commands/UpdateTemplateCommand.ts
2045
-
2046
-
2047
-
2048
- var UpdateTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2049
- return [
2050
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2051
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2052
- ];
2053
- }).s("AWSMigrationHubOrchestrator", "UpdateTemplate", {}).n("MigrationHubOrchestratorClient", "UpdateTemplateCommand").f(void 0, void 0).ser(se_UpdateTemplateCommand).de(de_UpdateTemplateCommand).build() {
2054
- static {
2055
- __name(this, "UpdateTemplateCommand");
2056
- }
566
+ const se_ListWorkflowsCommand = async (input, context) => {
567
+ const b = core.requestBuilder(input, context);
568
+ const headers = {};
569
+ b.bp("/migrationworkflows");
570
+ const query = smithyClient.map({
571
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
572
+ [_nT]: [, input[_nT]],
573
+ [_tI]: [, input[_tI]],
574
+ [_aACN]: [, input[_aACN]],
575
+ [_s]: [, input[_s]],
576
+ [_n]: [, input[_n]],
577
+ });
578
+ let body;
579
+ b.m("GET").h(headers).q(query).b(body);
580
+ return b.build();
2057
581
  };
2058
-
2059
- // src/commands/UpdateWorkflowCommand.ts
2060
-
2061
-
2062
-
2063
- var UpdateWorkflowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2064
- return [
2065
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2066
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2067
- ];
2068
- }).s("AWSMigrationHubOrchestrator", "UpdateWorkflow", {}).n("MigrationHubOrchestratorClient", "UpdateWorkflowCommand").f(UpdateMigrationWorkflowRequestFilterSensitiveLog, UpdateMigrationWorkflowResponseFilterSensitiveLog).ser(se_UpdateWorkflowCommand).de(de_UpdateWorkflowCommand).build() {
2069
- static {
2070
- __name(this, "UpdateWorkflowCommand");
2071
- }
582
+ const se_ListWorkflowStepGroupsCommand = async (input, context) => {
583
+ const b = core.requestBuilder(input, context);
584
+ const headers = {};
585
+ b.bp("/workflowstepgroups");
586
+ const query = smithyClient.map({
587
+ [_nT]: [, input[_nT]],
588
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
589
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
590
+ });
591
+ let body;
592
+ b.m("GET").h(headers).q(query).b(body);
593
+ return b.build();
2072
594
  };
2073
-
2074
- // src/commands/UpdateWorkflowStepCommand.ts
2075
-
2076
-
2077
-
2078
- var UpdateWorkflowStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2079
- return [
2080
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2081
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2082
- ];
2083
- }).s("AWSMigrationHubOrchestrator", "UpdateWorkflowStep", {}).n("MigrationHubOrchestratorClient", "UpdateWorkflowStepCommand").f(void 0, void 0).ser(se_UpdateWorkflowStepCommand).de(de_UpdateWorkflowStepCommand).build() {
2084
- static {
2085
- __name(this, "UpdateWorkflowStepCommand");
2086
- }
595
+ const se_ListWorkflowStepsCommand = async (input, context) => {
596
+ const b = core.requestBuilder(input, context);
597
+ const headers = {};
598
+ b.bp("/workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps");
599
+ b.p("workflowId", () => input.workflowId, "{workflowId}", false);
600
+ b.p("stepGroupId", () => input.stepGroupId, "{stepGroupId}", false);
601
+ const query = smithyClient.map({
602
+ [_nT]: [, input[_nT]],
603
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
604
+ });
605
+ let body;
606
+ b.m("GET").h(headers).q(query).b(body);
607
+ return b.build();
2087
608
  };
2088
-
2089
- // src/commands/UpdateWorkflowStepGroupCommand.ts
2090
-
2091
-
2092
-
2093
- var UpdateWorkflowStepGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2094
- return [
2095
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2096
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2097
- ];
2098
- }).s("AWSMigrationHubOrchestrator", "UpdateWorkflowStepGroup", {}).n("MigrationHubOrchestratorClient", "UpdateWorkflowStepGroupCommand").f(void 0, void 0).ser(se_UpdateWorkflowStepGroupCommand).de(de_UpdateWorkflowStepGroupCommand).build() {
2099
- static {
2100
- __name(this, "UpdateWorkflowStepGroupCommand");
2101
- }
609
+ const se_RetryWorkflowStepCommand = async (input, context) => {
610
+ const b = core.requestBuilder(input, context);
611
+ const headers = {};
612
+ b.bp("/retryworkflowstep/{id}");
613
+ b.p("id", () => input.id, "{id}", false);
614
+ const query = smithyClient.map({
615
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
616
+ [_sGI]: [, smithyClient.expectNonNull(input[_sGI], `stepGroupId`)],
617
+ });
618
+ let body;
619
+ b.m("POST").h(headers).q(query).b(body);
620
+ return b.build();
2102
621
  };
622
+ const se_StartWorkflowCommand = async (input, context) => {
623
+ const b = core.requestBuilder(input, context);
624
+ const headers = {};
625
+ b.bp("/migrationworkflow/{id}/start");
626
+ b.p("id", () => input.id, "{id}", false);
627
+ let body;
628
+ b.m("POST").h(headers).b(body);
629
+ return b.build();
630
+ };
631
+ const se_StopWorkflowCommand = async (input, context) => {
632
+ const b = core.requestBuilder(input, context);
633
+ const headers = {};
634
+ b.bp("/migrationworkflow/{id}/stop");
635
+ b.p("id", () => input.id, "{id}", false);
636
+ let body;
637
+ b.m("POST").h(headers).b(body);
638
+ return b.build();
639
+ };
640
+ const se_TagResourceCommand = async (input, context) => {
641
+ const b = core.requestBuilder(input, context);
642
+ const headers = {
643
+ "content-type": "application/json",
644
+ };
645
+ b.bp("/tags/{resourceArn}");
646
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
647
+ let body;
648
+ body = JSON.stringify(smithyClient.take(input, {
649
+ tags: (_) => smithyClient._json(_),
650
+ }));
651
+ b.m("POST").h(headers).b(body);
652
+ return b.build();
653
+ };
654
+ const se_UntagResourceCommand = async (input, context) => {
655
+ const b = core.requestBuilder(input, context);
656
+ const headers = {};
657
+ b.bp("/tags/{resourceArn}");
658
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
659
+ const query = smithyClient.map({
660
+ [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
661
+ });
662
+ let body;
663
+ b.m("DELETE").h(headers).q(query).b(body);
664
+ return b.build();
665
+ };
666
+ const se_UpdateTemplateCommand = async (input, context) => {
667
+ const b = core.requestBuilder(input, context);
668
+ const headers = {
669
+ "content-type": "application/json",
670
+ };
671
+ b.bp("/template/{id}");
672
+ b.p("id", () => input.id, "{id}", false);
673
+ let body;
674
+ body = JSON.stringify(smithyClient.take(input, {
675
+ clientToken: [true, (_) => _ ?? uuid.v4()],
676
+ templateDescription: [],
677
+ templateName: [],
678
+ }));
679
+ b.m("POST").h(headers).b(body);
680
+ return b.build();
681
+ };
682
+ const se_UpdateWorkflowCommand = async (input, context) => {
683
+ const b = core.requestBuilder(input, context);
684
+ const headers = {
685
+ "content-type": "application/json",
686
+ };
687
+ b.bp("/migrationworkflow/{id}");
688
+ b.p("id", () => input.id, "{id}", false);
689
+ let body;
690
+ body = JSON.stringify(smithyClient.take(input, {
691
+ description: [],
692
+ inputParameters: (_) => smithyClient._json(_),
693
+ name: [],
694
+ stepTargets: (_) => smithyClient._json(_),
695
+ }));
696
+ b.m("POST").h(headers).b(body);
697
+ return b.build();
698
+ };
699
+ const se_UpdateWorkflowStepCommand = async (input, context) => {
700
+ const b = core.requestBuilder(input, context);
701
+ const headers = {
702
+ "content-type": "application/json",
703
+ };
704
+ b.bp("/workflowstep/{id}");
705
+ b.p("id", () => input.id, "{id}", false);
706
+ let body;
707
+ body = JSON.stringify(smithyClient.take(input, {
708
+ description: [],
709
+ name: [],
710
+ next: (_) => smithyClient._json(_),
711
+ outputs: (_) => smithyClient._json(_),
712
+ previous: (_) => smithyClient._json(_),
713
+ status: [],
714
+ stepActionType: [],
715
+ stepGroupId: [],
716
+ stepTarget: (_) => smithyClient._json(_),
717
+ workflowId: [],
718
+ workflowStepAutomationConfiguration: (_) => smithyClient._json(_),
719
+ }));
720
+ b.m("POST").h(headers).b(body);
721
+ return b.build();
722
+ };
723
+ const se_UpdateWorkflowStepGroupCommand = async (input, context) => {
724
+ const b = core.requestBuilder(input, context);
725
+ const headers = {
726
+ "content-type": "application/json",
727
+ };
728
+ b.bp("/workflowstepgroup/{id}");
729
+ b.p("id", () => input.id, "{id}", false);
730
+ const query = smithyClient.map({
731
+ [_wI]: [, smithyClient.expectNonNull(input[_wI], `workflowId`)],
732
+ });
733
+ let body;
734
+ body = JSON.stringify(smithyClient.take(input, {
735
+ description: [],
736
+ name: [],
737
+ next: (_) => smithyClient._json(_),
738
+ previous: (_) => smithyClient._json(_),
739
+ }));
740
+ b.m("POST").h(headers).q(query).b(body);
741
+ return b.build();
742
+ };
743
+ const de_CreateTemplateCommand = async (output, context) => {
744
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
745
+ return de_CommandError(output, context);
746
+ }
747
+ const contents = smithyClient.map({
748
+ $metadata: deserializeMetadata(output),
749
+ });
750
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
751
+ const doc = smithyClient.take(data, {
752
+ tags: smithyClient._json,
753
+ templateArn: smithyClient.expectString,
754
+ templateId: smithyClient.expectString,
755
+ });
756
+ Object.assign(contents, doc);
757
+ return contents;
758
+ };
759
+ const de_CreateWorkflowCommand = async (output, context) => {
760
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
761
+ return de_CommandError(output, context);
762
+ }
763
+ const contents = smithyClient.map({
764
+ $metadata: deserializeMetadata(output),
765
+ });
766
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
767
+ const doc = smithyClient.take(data, {
768
+ adsApplicationConfigurationId: smithyClient.expectString,
769
+ arn: smithyClient.expectString,
770
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
771
+ description: smithyClient.expectString,
772
+ id: smithyClient.expectString,
773
+ name: smithyClient.expectString,
774
+ status: smithyClient.expectString,
775
+ stepTargets: smithyClient._json,
776
+ tags: smithyClient._json,
777
+ templateId: smithyClient.expectString,
778
+ workflowInputs: smithyClient._json,
779
+ });
780
+ Object.assign(contents, doc);
781
+ return contents;
782
+ };
783
+ const de_CreateWorkflowStepCommand = async (output, context) => {
784
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
785
+ return de_CommandError(output, context);
786
+ }
787
+ const contents = smithyClient.map({
788
+ $metadata: deserializeMetadata(output),
789
+ });
790
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
791
+ const doc = smithyClient.take(data, {
792
+ id: smithyClient.expectString,
793
+ name: smithyClient.expectString,
794
+ stepGroupId: smithyClient.expectString,
795
+ workflowId: smithyClient.expectString,
796
+ });
797
+ Object.assign(contents, doc);
798
+ return contents;
799
+ };
800
+ const de_CreateWorkflowStepGroupCommand = async (output, context) => {
801
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
802
+ return de_CommandError(output, context);
803
+ }
804
+ const contents = smithyClient.map({
805
+ $metadata: deserializeMetadata(output),
806
+ });
807
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
808
+ const doc = smithyClient.take(data, {
809
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
810
+ description: smithyClient.expectString,
811
+ id: smithyClient.expectString,
812
+ name: smithyClient.expectString,
813
+ next: smithyClient._json,
814
+ previous: smithyClient._json,
815
+ tools: smithyClient._json,
816
+ workflowId: smithyClient.expectString,
817
+ });
818
+ Object.assign(contents, doc);
819
+ return contents;
820
+ };
821
+ const de_DeleteTemplateCommand = async (output, context) => {
822
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
823
+ return de_CommandError(output, context);
824
+ }
825
+ const contents = smithyClient.map({
826
+ $metadata: deserializeMetadata(output),
827
+ });
828
+ await smithyClient.collectBody(output.body, context);
829
+ return contents;
830
+ };
831
+ const de_DeleteWorkflowCommand = async (output, context) => {
832
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
833
+ return de_CommandError(output, context);
834
+ }
835
+ const contents = smithyClient.map({
836
+ $metadata: deserializeMetadata(output),
837
+ });
838
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
839
+ const doc = smithyClient.take(data, {
840
+ arn: smithyClient.expectString,
841
+ id: smithyClient.expectString,
842
+ status: smithyClient.expectString,
843
+ });
844
+ Object.assign(contents, doc);
845
+ return contents;
846
+ };
847
+ const de_DeleteWorkflowStepCommand = async (output, context) => {
848
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
849
+ return de_CommandError(output, context);
850
+ }
851
+ const contents = smithyClient.map({
852
+ $metadata: deserializeMetadata(output),
853
+ });
854
+ await smithyClient.collectBody(output.body, context);
855
+ return contents;
856
+ };
857
+ const de_DeleteWorkflowStepGroupCommand = async (output, context) => {
858
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
859
+ return de_CommandError(output, context);
860
+ }
861
+ const contents = smithyClient.map({
862
+ $metadata: deserializeMetadata(output),
863
+ });
864
+ await smithyClient.collectBody(output.body, context);
865
+ return contents;
866
+ };
867
+ const de_GetTemplateCommand = async (output, context) => {
868
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
869
+ return de_CommandError(output, context);
870
+ }
871
+ const contents = smithyClient.map({
872
+ $metadata: deserializeMetadata(output),
873
+ });
874
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
875
+ const doc = smithyClient.take(data, {
876
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
877
+ description: smithyClient.expectString,
878
+ id: smithyClient.expectString,
879
+ inputs: smithyClient._json,
880
+ name: smithyClient.expectString,
881
+ owner: smithyClient.expectString,
882
+ status: smithyClient.expectString,
883
+ statusMessage: smithyClient.expectString,
884
+ tags: smithyClient._json,
885
+ templateArn: smithyClient.expectString,
886
+ templateClass: smithyClient.expectString,
887
+ tools: smithyClient._json,
888
+ });
889
+ Object.assign(contents, doc);
890
+ return contents;
891
+ };
892
+ const de_GetTemplateStepCommand = async (output, context) => {
893
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
894
+ return de_CommandError(output, context);
895
+ }
896
+ const contents = smithyClient.map({
897
+ $metadata: deserializeMetadata(output),
898
+ });
899
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
900
+ const doc = smithyClient.take(data, {
901
+ creationTime: smithyClient.expectString,
902
+ description: smithyClient.expectString,
903
+ id: smithyClient.expectString,
904
+ name: smithyClient.expectString,
905
+ next: smithyClient._json,
906
+ outputs: smithyClient._json,
907
+ previous: smithyClient._json,
908
+ stepActionType: smithyClient.expectString,
909
+ stepAutomationConfiguration: smithyClient._json,
910
+ stepGroupId: smithyClient.expectString,
911
+ templateId: smithyClient.expectString,
912
+ });
913
+ Object.assign(contents, doc);
914
+ return contents;
915
+ };
916
+ const de_GetTemplateStepGroupCommand = async (output, context) => {
917
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
918
+ return de_CommandError(output, context);
919
+ }
920
+ const contents = smithyClient.map({
921
+ $metadata: deserializeMetadata(output),
922
+ });
923
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
924
+ const doc = smithyClient.take(data, {
925
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
926
+ description: smithyClient.expectString,
927
+ id: smithyClient.expectString,
928
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
929
+ name: smithyClient.expectString,
930
+ next: smithyClient._json,
931
+ previous: smithyClient._json,
932
+ status: smithyClient.expectString,
933
+ templateId: smithyClient.expectString,
934
+ tools: smithyClient._json,
935
+ });
936
+ Object.assign(contents, doc);
937
+ return contents;
938
+ };
939
+ const de_GetWorkflowCommand = async (output, context) => {
940
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
941
+ return de_CommandError(output, context);
942
+ }
943
+ const contents = smithyClient.map({
944
+ $metadata: deserializeMetadata(output),
945
+ });
946
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
947
+ const doc = smithyClient.take(data, {
948
+ adsApplicationConfigurationId: smithyClient.expectString,
949
+ adsApplicationName: smithyClient.expectString,
950
+ arn: smithyClient.expectString,
951
+ completedSteps: smithyClient.expectInt32,
952
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
953
+ description: smithyClient.expectString,
954
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
955
+ id: smithyClient.expectString,
956
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
957
+ lastStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
958
+ lastStopTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
959
+ name: smithyClient.expectString,
960
+ status: smithyClient.expectString,
961
+ statusMessage: smithyClient.expectString,
962
+ tags: smithyClient._json,
963
+ templateId: smithyClient.expectString,
964
+ tools: smithyClient._json,
965
+ totalSteps: smithyClient.expectInt32,
966
+ workflowBucket: smithyClient.expectString,
967
+ workflowInputs: smithyClient._json,
968
+ });
969
+ Object.assign(contents, doc);
970
+ return contents;
971
+ };
972
+ const de_GetWorkflowStepCommand = async (output, context) => {
973
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
974
+ return de_CommandError(output, context);
975
+ }
976
+ const contents = smithyClient.map({
977
+ $metadata: deserializeMetadata(output),
978
+ });
979
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
980
+ const doc = smithyClient.take(data, {
981
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
982
+ description: smithyClient.expectString,
983
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
984
+ lastStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
985
+ name: smithyClient.expectString,
986
+ next: smithyClient._json,
987
+ noOfSrvCompleted: smithyClient.expectInt32,
988
+ noOfSrvFailed: smithyClient.expectInt32,
989
+ outputs: smithyClient._json,
990
+ owner: smithyClient.expectString,
991
+ previous: smithyClient._json,
992
+ scriptOutputLocation: smithyClient.expectString,
993
+ status: smithyClient.expectString,
994
+ statusMessage: smithyClient.expectString,
995
+ stepActionType: smithyClient.expectString,
996
+ stepGroupId: smithyClient.expectString,
997
+ stepId: smithyClient.expectString,
998
+ stepTarget: smithyClient._json,
999
+ totalNoOfSrv: smithyClient.expectInt32,
1000
+ workflowId: smithyClient.expectString,
1001
+ workflowStepAutomationConfiguration: smithyClient._json,
1002
+ });
1003
+ Object.assign(contents, doc);
1004
+ return contents;
1005
+ };
1006
+ const de_GetWorkflowStepGroupCommand = async (output, context) => {
1007
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
+ return de_CommandError(output, context);
1009
+ }
1010
+ const contents = smithyClient.map({
1011
+ $metadata: deserializeMetadata(output),
1012
+ });
1013
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1014
+ const doc = smithyClient.take(data, {
1015
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1016
+ description: smithyClient.expectString,
1017
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1018
+ id: smithyClient.expectString,
1019
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1020
+ name: smithyClient.expectString,
1021
+ next: smithyClient._json,
1022
+ owner: smithyClient.expectString,
1023
+ previous: smithyClient._json,
1024
+ status: smithyClient.expectString,
1025
+ tools: smithyClient._json,
1026
+ workflowId: smithyClient.expectString,
1027
+ });
1028
+ Object.assign(contents, doc);
1029
+ return contents;
1030
+ };
1031
+ const de_ListPluginsCommand = async (output, context) => {
1032
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1033
+ return de_CommandError(output, context);
1034
+ }
1035
+ const contents = smithyClient.map({
1036
+ $metadata: deserializeMetadata(output),
1037
+ });
1038
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1039
+ const doc = smithyClient.take(data, {
1040
+ nextToken: smithyClient.expectString,
1041
+ plugins: smithyClient._json,
1042
+ });
1043
+ Object.assign(contents, doc);
1044
+ return contents;
1045
+ };
1046
+ const de_ListTagsForResourceCommand = async (output, context) => {
1047
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1048
+ return de_CommandError(output, context);
1049
+ }
1050
+ const contents = smithyClient.map({
1051
+ $metadata: deserializeMetadata(output),
1052
+ });
1053
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1054
+ const doc = smithyClient.take(data, {
1055
+ tags: smithyClient._json,
1056
+ });
1057
+ Object.assign(contents, doc);
1058
+ return contents;
1059
+ };
1060
+ const de_ListTemplatesCommand = async (output, context) => {
1061
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1062
+ return de_CommandError(output, context);
1063
+ }
1064
+ const contents = smithyClient.map({
1065
+ $metadata: deserializeMetadata(output),
1066
+ });
1067
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1068
+ const doc = smithyClient.take(data, {
1069
+ nextToken: smithyClient.expectString,
1070
+ templateSummary: smithyClient._json,
1071
+ });
1072
+ Object.assign(contents, doc);
1073
+ return contents;
1074
+ };
1075
+ const de_ListTemplateStepGroupsCommand = async (output, context) => {
1076
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
+ return de_CommandError(output, context);
1078
+ }
1079
+ const contents = smithyClient.map({
1080
+ $metadata: deserializeMetadata(output),
1081
+ });
1082
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1083
+ const doc = smithyClient.take(data, {
1084
+ nextToken: smithyClient.expectString,
1085
+ templateStepGroupSummary: smithyClient._json,
1086
+ });
1087
+ Object.assign(contents, doc);
1088
+ return contents;
1089
+ };
1090
+ const de_ListTemplateStepsCommand = async (output, context) => {
1091
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1092
+ return de_CommandError(output, context);
1093
+ }
1094
+ const contents = smithyClient.map({
1095
+ $metadata: deserializeMetadata(output),
1096
+ });
1097
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1098
+ const doc = smithyClient.take(data, {
1099
+ nextToken: smithyClient.expectString,
1100
+ templateStepSummaryList: smithyClient._json,
1101
+ });
1102
+ Object.assign(contents, doc);
1103
+ return contents;
1104
+ };
1105
+ const de_ListWorkflowsCommand = async (output, context) => {
1106
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1107
+ return de_CommandError(output, context);
1108
+ }
1109
+ const contents = smithyClient.map({
1110
+ $metadata: deserializeMetadata(output),
1111
+ });
1112
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1113
+ const doc = smithyClient.take(data, {
1114
+ migrationWorkflowSummary: (_) => de_MigrationWorkflowSummaryList(_),
1115
+ nextToken: smithyClient.expectString,
1116
+ });
1117
+ Object.assign(contents, doc);
1118
+ return contents;
1119
+ };
1120
+ const de_ListWorkflowStepGroupsCommand = async (output, context) => {
1121
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1122
+ return de_CommandError(output, context);
1123
+ }
1124
+ const contents = smithyClient.map({
1125
+ $metadata: deserializeMetadata(output),
1126
+ });
1127
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1128
+ const doc = smithyClient.take(data, {
1129
+ nextToken: smithyClient.expectString,
1130
+ workflowStepGroupsSummary: smithyClient._json,
1131
+ });
1132
+ Object.assign(contents, doc);
1133
+ return contents;
1134
+ };
1135
+ const de_ListWorkflowStepsCommand = async (output, context) => {
1136
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
+ return de_CommandError(output, context);
1138
+ }
1139
+ const contents = smithyClient.map({
1140
+ $metadata: deserializeMetadata(output),
1141
+ });
1142
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1143
+ const doc = smithyClient.take(data, {
1144
+ nextToken: smithyClient.expectString,
1145
+ workflowStepsSummary: smithyClient._json,
1146
+ });
1147
+ Object.assign(contents, doc);
1148
+ return contents;
1149
+ };
1150
+ const de_RetryWorkflowStepCommand = async (output, context) => {
1151
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1152
+ return de_CommandError(output, context);
1153
+ }
1154
+ const contents = smithyClient.map({
1155
+ $metadata: deserializeMetadata(output),
1156
+ });
1157
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1158
+ const doc = smithyClient.take(data, {
1159
+ id: smithyClient.expectString,
1160
+ status: smithyClient.expectString,
1161
+ stepGroupId: smithyClient.expectString,
1162
+ workflowId: smithyClient.expectString,
1163
+ });
1164
+ Object.assign(contents, doc);
1165
+ return contents;
1166
+ };
1167
+ const de_StartWorkflowCommand = async (output, context) => {
1168
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1169
+ return de_CommandError(output, context);
1170
+ }
1171
+ const contents = smithyClient.map({
1172
+ $metadata: deserializeMetadata(output),
1173
+ });
1174
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1175
+ const doc = smithyClient.take(data, {
1176
+ arn: smithyClient.expectString,
1177
+ id: smithyClient.expectString,
1178
+ lastStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1179
+ status: smithyClient.expectString,
1180
+ statusMessage: smithyClient.expectString,
1181
+ });
1182
+ Object.assign(contents, doc);
1183
+ return contents;
1184
+ };
1185
+ const de_StopWorkflowCommand = async (output, context) => {
1186
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1187
+ return de_CommandError(output, context);
1188
+ }
1189
+ const contents = smithyClient.map({
1190
+ $metadata: deserializeMetadata(output),
1191
+ });
1192
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1193
+ const doc = smithyClient.take(data, {
1194
+ arn: smithyClient.expectString,
1195
+ id: smithyClient.expectString,
1196
+ lastStopTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1197
+ status: smithyClient.expectString,
1198
+ statusMessage: smithyClient.expectString,
1199
+ });
1200
+ Object.assign(contents, doc);
1201
+ return contents;
1202
+ };
1203
+ const de_TagResourceCommand = async (output, context) => {
1204
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1205
+ return de_CommandError(output, context);
1206
+ }
1207
+ const contents = smithyClient.map({
1208
+ $metadata: deserializeMetadata(output),
1209
+ });
1210
+ await smithyClient.collectBody(output.body, context);
1211
+ return contents;
1212
+ };
1213
+ const de_UntagResourceCommand = async (output, context) => {
1214
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1215
+ return de_CommandError(output, context);
1216
+ }
1217
+ const contents = smithyClient.map({
1218
+ $metadata: deserializeMetadata(output),
1219
+ });
1220
+ await smithyClient.collectBody(output.body, context);
1221
+ return contents;
1222
+ };
1223
+ const de_UpdateTemplateCommand = async (output, context) => {
1224
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1225
+ return de_CommandError(output, context);
1226
+ }
1227
+ const contents = smithyClient.map({
1228
+ $metadata: deserializeMetadata(output),
1229
+ });
1230
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1231
+ const doc = smithyClient.take(data, {
1232
+ tags: smithyClient._json,
1233
+ templateArn: smithyClient.expectString,
1234
+ templateId: smithyClient.expectString,
1235
+ });
1236
+ Object.assign(contents, doc);
1237
+ return contents;
1238
+ };
1239
+ const de_UpdateWorkflowCommand = async (output, context) => {
1240
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1241
+ return de_CommandError(output, context);
1242
+ }
1243
+ const contents = smithyClient.map({
1244
+ $metadata: deserializeMetadata(output),
1245
+ });
1246
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1247
+ const doc = smithyClient.take(data, {
1248
+ adsApplicationConfigurationId: smithyClient.expectString,
1249
+ arn: smithyClient.expectString,
1250
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1251
+ description: smithyClient.expectString,
1252
+ id: smithyClient.expectString,
1253
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1254
+ name: smithyClient.expectString,
1255
+ status: smithyClient.expectString,
1256
+ stepTargets: smithyClient._json,
1257
+ tags: smithyClient._json,
1258
+ templateId: smithyClient.expectString,
1259
+ workflowInputs: smithyClient._json,
1260
+ });
1261
+ Object.assign(contents, doc);
1262
+ return contents;
1263
+ };
1264
+ const de_UpdateWorkflowStepCommand = async (output, context) => {
1265
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1266
+ return de_CommandError(output, context);
1267
+ }
1268
+ const contents = smithyClient.map({
1269
+ $metadata: deserializeMetadata(output),
1270
+ });
1271
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1272
+ const doc = smithyClient.take(data, {
1273
+ id: smithyClient.expectString,
1274
+ name: smithyClient.expectString,
1275
+ stepGroupId: smithyClient.expectString,
1276
+ workflowId: smithyClient.expectString,
1277
+ });
1278
+ Object.assign(contents, doc);
1279
+ return contents;
1280
+ };
1281
+ const de_UpdateWorkflowStepGroupCommand = async (output, context) => {
1282
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1283
+ return de_CommandError(output, context);
1284
+ }
1285
+ const contents = smithyClient.map({
1286
+ $metadata: deserializeMetadata(output),
1287
+ });
1288
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1289
+ const doc = smithyClient.take(data, {
1290
+ description: smithyClient.expectString,
1291
+ id: smithyClient.expectString,
1292
+ lastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1293
+ name: smithyClient.expectString,
1294
+ next: smithyClient._json,
1295
+ previous: smithyClient._json,
1296
+ tools: smithyClient._json,
1297
+ workflowId: smithyClient.expectString,
1298
+ });
1299
+ Object.assign(contents, doc);
1300
+ return contents;
1301
+ };
1302
+ const de_CommandError = async (output, context) => {
1303
+ const parsedOutput = {
1304
+ ...output,
1305
+ body: await core$1.parseJsonErrorBody(output.body, context),
1306
+ };
1307
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1308
+ switch (errorCode) {
1309
+ case "AccessDeniedException":
1310
+ case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
1311
+ throw await de_AccessDeniedExceptionRes(parsedOutput);
1312
+ case "ConflictException":
1313
+ case "com.amazonaws.migrationhuborchestrator#ConflictException":
1314
+ throw await de_ConflictExceptionRes(parsedOutput);
1315
+ case "InternalServerException":
1316
+ case "com.amazonaws.migrationhuborchestrator#InternalServerException":
1317
+ throw await de_InternalServerExceptionRes(parsedOutput);
1318
+ case "ThrottlingException":
1319
+ case "com.amazonaws.migrationhuborchestrator#ThrottlingException":
1320
+ throw await de_ThrottlingExceptionRes(parsedOutput);
1321
+ case "ValidationException":
1322
+ case "com.amazonaws.migrationhuborchestrator#ValidationException":
1323
+ throw await de_ValidationExceptionRes(parsedOutput);
1324
+ case "ResourceNotFoundException":
1325
+ case "com.amazonaws.migrationhuborchestrator#ResourceNotFoundException":
1326
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1327
+ default:
1328
+ const parsedBody = parsedOutput.body;
1329
+ return throwDefaultError({
1330
+ output,
1331
+ parsedBody,
1332
+ errorCode,
1333
+ });
1334
+ }
1335
+ };
1336
+ const throwDefaultError = smithyClient.withBaseException(MigrationHubOrchestratorServiceException);
1337
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1338
+ const contents = smithyClient.map({});
1339
+ const data = parsedOutput.body;
1340
+ const doc = smithyClient.take(data, {
1341
+ message: smithyClient.expectString,
1342
+ });
1343
+ Object.assign(contents, doc);
1344
+ const exception = new AccessDeniedException({
1345
+ $metadata: deserializeMetadata(parsedOutput),
1346
+ ...contents,
1347
+ });
1348
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1349
+ };
1350
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1351
+ const contents = smithyClient.map({});
1352
+ const data = parsedOutput.body;
1353
+ const doc = smithyClient.take(data, {
1354
+ message: smithyClient.expectString,
1355
+ });
1356
+ Object.assign(contents, doc);
1357
+ const exception = new ConflictException({
1358
+ $metadata: deserializeMetadata(parsedOutput),
1359
+ ...contents,
1360
+ });
1361
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1362
+ };
1363
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1364
+ const contents = smithyClient.map({});
1365
+ const data = parsedOutput.body;
1366
+ const doc = smithyClient.take(data, {
1367
+ message: smithyClient.expectString,
1368
+ });
1369
+ Object.assign(contents, doc);
1370
+ const exception = new InternalServerException({
1371
+ $metadata: deserializeMetadata(parsedOutput),
1372
+ ...contents,
1373
+ });
1374
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1375
+ };
1376
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1377
+ const contents = smithyClient.map({});
1378
+ const data = parsedOutput.body;
1379
+ const doc = smithyClient.take(data, {
1380
+ message: smithyClient.expectString,
1381
+ });
1382
+ Object.assign(contents, doc);
1383
+ const exception = new ResourceNotFoundException({
1384
+ $metadata: deserializeMetadata(parsedOutput),
1385
+ ...contents,
1386
+ });
1387
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1388
+ };
1389
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1390
+ const contents = smithyClient.map({});
1391
+ const data = parsedOutput.body;
1392
+ const doc = smithyClient.take(data, {
1393
+ message: smithyClient.expectString,
1394
+ });
1395
+ Object.assign(contents, doc);
1396
+ const exception = new ThrottlingException({
1397
+ $metadata: deserializeMetadata(parsedOutput),
1398
+ ...contents,
1399
+ });
1400
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1401
+ };
1402
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1403
+ const contents = smithyClient.map({});
1404
+ const data = parsedOutput.body;
1405
+ const doc = smithyClient.take(data, {
1406
+ message: smithyClient.expectString,
1407
+ });
1408
+ Object.assign(contents, doc);
1409
+ const exception = new ValidationException({
1410
+ $metadata: deserializeMetadata(parsedOutput),
1411
+ ...contents,
1412
+ });
1413
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1414
+ };
1415
+ const de_MigrationWorkflowSummary = (output, context) => {
1416
+ return smithyClient.take(output, {
1417
+ adsApplicationConfigurationName: smithyClient.expectString,
1418
+ completedSteps: smithyClient.expectInt32,
1419
+ creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1420
+ endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1421
+ id: smithyClient.expectString,
1422
+ name: smithyClient.expectString,
1423
+ status: smithyClient.expectString,
1424
+ statusMessage: smithyClient.expectString,
1425
+ templateId: smithyClient.expectString,
1426
+ totalSteps: smithyClient.expectInt32,
1427
+ });
1428
+ };
1429
+ const de_MigrationWorkflowSummaryList = (output, context) => {
1430
+ const retVal = (output || [])
1431
+ .filter((e) => e != null)
1432
+ .map((entry) => {
1433
+ return de_MigrationWorkflowSummary(entry);
1434
+ });
1435
+ return retVal;
1436
+ };
1437
+ const deserializeMetadata = (output) => ({
1438
+ httpStatusCode: output.statusCode,
1439
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1440
+ extendedRequestId: output.headers["x-amz-id-2"],
1441
+ cfId: output.headers["x-amz-cf-id"],
1442
+ });
1443
+ const _aACN = "adsApplicationConfigurationName";
1444
+ const _mR = "maxResults";
1445
+ const _n = "name";
1446
+ const _nT = "nextToken";
1447
+ const _s = "status";
1448
+ const _sGI = "stepGroupId";
1449
+ const _tI = "templateId";
1450
+ const _tK = "tagKeys";
1451
+ const _wI = "workflowId";
1452
+
1453
+ class CreateTemplateCommand extends smithyClient.Command
1454
+ .classBuilder()
1455
+ .ep(commonParams)
1456
+ .m(function (Command, cs, config, o) {
1457
+ return [
1458
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1459
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1460
+ ];
1461
+ })
1462
+ .s("AWSMigrationHubOrchestrator", "CreateTemplate", {})
1463
+ .n("MigrationHubOrchestratorClient", "CreateTemplateCommand")
1464
+ .f(void 0, void 0)
1465
+ .ser(se_CreateTemplateCommand)
1466
+ .de(de_CreateTemplateCommand)
1467
+ .build() {
1468
+ }
1469
+
1470
+ class CreateWorkflowCommand extends smithyClient.Command
1471
+ .classBuilder()
1472
+ .ep(commonParams)
1473
+ .m(function (Command, cs, config, o) {
1474
+ return [
1475
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1476
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1477
+ ];
1478
+ })
1479
+ .s("AWSMigrationHubOrchestrator", "CreateWorkflow", {})
1480
+ .n("MigrationHubOrchestratorClient", "CreateWorkflowCommand")
1481
+ .f(CreateMigrationWorkflowRequestFilterSensitiveLog, CreateMigrationWorkflowResponseFilterSensitiveLog)
1482
+ .ser(se_CreateWorkflowCommand)
1483
+ .de(de_CreateWorkflowCommand)
1484
+ .build() {
1485
+ }
1486
+
1487
+ class CreateWorkflowStepCommand extends smithyClient.Command
1488
+ .classBuilder()
1489
+ .ep(commonParams)
1490
+ .m(function (Command, cs, config, o) {
1491
+ return [
1492
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1493
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1494
+ ];
1495
+ })
1496
+ .s("AWSMigrationHubOrchestrator", "CreateWorkflowStep", {})
1497
+ .n("MigrationHubOrchestratorClient", "CreateWorkflowStepCommand")
1498
+ .f(void 0, void 0)
1499
+ .ser(se_CreateWorkflowStepCommand)
1500
+ .de(de_CreateWorkflowStepCommand)
1501
+ .build() {
1502
+ }
1503
+
1504
+ class CreateWorkflowStepGroupCommand extends smithyClient.Command
1505
+ .classBuilder()
1506
+ .ep(commonParams)
1507
+ .m(function (Command, cs, config, o) {
1508
+ return [
1509
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1510
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1511
+ ];
1512
+ })
1513
+ .s("AWSMigrationHubOrchestrator", "CreateWorkflowStepGroup", {})
1514
+ .n("MigrationHubOrchestratorClient", "CreateWorkflowStepGroupCommand")
1515
+ .f(void 0, void 0)
1516
+ .ser(se_CreateWorkflowStepGroupCommand)
1517
+ .de(de_CreateWorkflowStepGroupCommand)
1518
+ .build() {
1519
+ }
1520
+
1521
+ class DeleteTemplateCommand extends smithyClient.Command
1522
+ .classBuilder()
1523
+ .ep(commonParams)
1524
+ .m(function (Command, cs, config, o) {
1525
+ return [
1526
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1527
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1528
+ ];
1529
+ })
1530
+ .s("AWSMigrationHubOrchestrator", "DeleteTemplate", {})
1531
+ .n("MigrationHubOrchestratorClient", "DeleteTemplateCommand")
1532
+ .f(void 0, void 0)
1533
+ .ser(se_DeleteTemplateCommand)
1534
+ .de(de_DeleteTemplateCommand)
1535
+ .build() {
1536
+ }
1537
+
1538
+ class DeleteWorkflowCommand extends smithyClient.Command
1539
+ .classBuilder()
1540
+ .ep(commonParams)
1541
+ .m(function (Command, cs, config, o) {
1542
+ return [
1543
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1544
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1545
+ ];
1546
+ })
1547
+ .s("AWSMigrationHubOrchestrator", "DeleteWorkflow", {})
1548
+ .n("MigrationHubOrchestratorClient", "DeleteWorkflowCommand")
1549
+ .f(void 0, void 0)
1550
+ .ser(se_DeleteWorkflowCommand)
1551
+ .de(de_DeleteWorkflowCommand)
1552
+ .build() {
1553
+ }
1554
+
1555
+ class DeleteWorkflowStepCommand extends smithyClient.Command
1556
+ .classBuilder()
1557
+ .ep(commonParams)
1558
+ .m(function (Command, cs, config, o) {
1559
+ return [
1560
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1561
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1562
+ ];
1563
+ })
1564
+ .s("AWSMigrationHubOrchestrator", "DeleteWorkflowStep", {})
1565
+ .n("MigrationHubOrchestratorClient", "DeleteWorkflowStepCommand")
1566
+ .f(void 0, void 0)
1567
+ .ser(se_DeleteWorkflowStepCommand)
1568
+ .de(de_DeleteWorkflowStepCommand)
1569
+ .build() {
1570
+ }
1571
+
1572
+ class DeleteWorkflowStepGroupCommand extends smithyClient.Command
1573
+ .classBuilder()
1574
+ .ep(commonParams)
1575
+ .m(function (Command, cs, config, o) {
1576
+ return [
1577
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1578
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1579
+ ];
1580
+ })
1581
+ .s("AWSMigrationHubOrchestrator", "DeleteWorkflowStepGroup", {})
1582
+ .n("MigrationHubOrchestratorClient", "DeleteWorkflowStepGroupCommand")
1583
+ .f(void 0, void 0)
1584
+ .ser(se_DeleteWorkflowStepGroupCommand)
1585
+ .de(de_DeleteWorkflowStepGroupCommand)
1586
+ .build() {
1587
+ }
1588
+
1589
+ class GetTemplateCommand extends smithyClient.Command
1590
+ .classBuilder()
1591
+ .ep(commonParams)
1592
+ .m(function (Command, cs, config, o) {
1593
+ return [
1594
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1595
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1596
+ ];
1597
+ })
1598
+ .s("AWSMigrationHubOrchestrator", "GetTemplate", {})
1599
+ .n("MigrationHubOrchestratorClient", "GetTemplateCommand")
1600
+ .f(void 0, void 0)
1601
+ .ser(se_GetTemplateCommand)
1602
+ .de(de_GetTemplateCommand)
1603
+ .build() {
1604
+ }
1605
+
1606
+ class GetTemplateStepCommand extends smithyClient.Command
1607
+ .classBuilder()
1608
+ .ep(commonParams)
1609
+ .m(function (Command, cs, config, o) {
1610
+ return [
1611
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1612
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1613
+ ];
1614
+ })
1615
+ .s("AWSMigrationHubOrchestrator", "GetTemplateStep", {})
1616
+ .n("MigrationHubOrchestratorClient", "GetTemplateStepCommand")
1617
+ .f(void 0, void 0)
1618
+ .ser(se_GetTemplateStepCommand)
1619
+ .de(de_GetTemplateStepCommand)
1620
+ .build() {
1621
+ }
1622
+
1623
+ class GetTemplateStepGroupCommand extends smithyClient.Command
1624
+ .classBuilder()
1625
+ .ep(commonParams)
1626
+ .m(function (Command, cs, config, o) {
1627
+ return [
1628
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1629
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1630
+ ];
1631
+ })
1632
+ .s("AWSMigrationHubOrchestrator", "GetTemplateStepGroup", {})
1633
+ .n("MigrationHubOrchestratorClient", "GetTemplateStepGroupCommand")
1634
+ .f(void 0, void 0)
1635
+ .ser(se_GetTemplateStepGroupCommand)
1636
+ .de(de_GetTemplateStepGroupCommand)
1637
+ .build() {
1638
+ }
1639
+
1640
+ class GetWorkflowCommand extends smithyClient.Command
1641
+ .classBuilder()
1642
+ .ep(commonParams)
1643
+ .m(function (Command, cs, config, o) {
1644
+ return [
1645
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1646
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1647
+ ];
1648
+ })
1649
+ .s("AWSMigrationHubOrchestrator", "GetWorkflow", {})
1650
+ .n("MigrationHubOrchestratorClient", "GetWorkflowCommand")
1651
+ .f(void 0, GetMigrationWorkflowResponseFilterSensitiveLog)
1652
+ .ser(se_GetWorkflowCommand)
1653
+ .de(de_GetWorkflowCommand)
1654
+ .build() {
1655
+ }
1656
+
1657
+ class GetWorkflowStepCommand extends smithyClient.Command
1658
+ .classBuilder()
1659
+ .ep(commonParams)
1660
+ .m(function (Command, cs, config, o) {
1661
+ return [
1662
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1663
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1664
+ ];
1665
+ })
1666
+ .s("AWSMigrationHubOrchestrator", "GetWorkflowStep", {})
1667
+ .n("MigrationHubOrchestratorClient", "GetWorkflowStepCommand")
1668
+ .f(void 0, void 0)
1669
+ .ser(se_GetWorkflowStepCommand)
1670
+ .de(de_GetWorkflowStepCommand)
1671
+ .build() {
1672
+ }
1673
+
1674
+ class GetWorkflowStepGroupCommand extends smithyClient.Command
1675
+ .classBuilder()
1676
+ .ep(commonParams)
1677
+ .m(function (Command, cs, config, o) {
1678
+ return [
1679
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1680
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1681
+ ];
1682
+ })
1683
+ .s("AWSMigrationHubOrchestrator", "GetWorkflowStepGroup", {})
1684
+ .n("MigrationHubOrchestratorClient", "GetWorkflowStepGroupCommand")
1685
+ .f(void 0, void 0)
1686
+ .ser(se_GetWorkflowStepGroupCommand)
1687
+ .de(de_GetWorkflowStepGroupCommand)
1688
+ .build() {
1689
+ }
1690
+
1691
+ class ListPluginsCommand extends smithyClient.Command
1692
+ .classBuilder()
1693
+ .ep(commonParams)
1694
+ .m(function (Command, cs, config, o) {
1695
+ return [
1696
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1697
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1698
+ ];
1699
+ })
1700
+ .s("AWSMigrationHubOrchestrator", "ListPlugins", {})
1701
+ .n("MigrationHubOrchestratorClient", "ListPluginsCommand")
1702
+ .f(void 0, void 0)
1703
+ .ser(se_ListPluginsCommand)
1704
+ .de(de_ListPluginsCommand)
1705
+ .build() {
1706
+ }
1707
+
1708
+ class ListTagsForResourceCommand extends smithyClient.Command
1709
+ .classBuilder()
1710
+ .ep(commonParams)
1711
+ .m(function (Command, cs, config, o) {
1712
+ return [
1713
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1714
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1715
+ ];
1716
+ })
1717
+ .s("AWSMigrationHubOrchestrator", "ListTagsForResource", {})
1718
+ .n("MigrationHubOrchestratorClient", "ListTagsForResourceCommand")
1719
+ .f(void 0, void 0)
1720
+ .ser(se_ListTagsForResourceCommand)
1721
+ .de(de_ListTagsForResourceCommand)
1722
+ .build() {
1723
+ }
1724
+
1725
+ class ListTemplatesCommand extends smithyClient.Command
1726
+ .classBuilder()
1727
+ .ep(commonParams)
1728
+ .m(function (Command, cs, config, o) {
1729
+ return [
1730
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1731
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1732
+ ];
1733
+ })
1734
+ .s("AWSMigrationHubOrchestrator", "ListTemplates", {})
1735
+ .n("MigrationHubOrchestratorClient", "ListTemplatesCommand")
1736
+ .f(void 0, void 0)
1737
+ .ser(se_ListTemplatesCommand)
1738
+ .de(de_ListTemplatesCommand)
1739
+ .build() {
1740
+ }
1741
+
1742
+ class ListTemplateStepGroupsCommand extends smithyClient.Command
1743
+ .classBuilder()
1744
+ .ep(commonParams)
1745
+ .m(function (Command, cs, config, o) {
1746
+ return [
1747
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1748
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1749
+ ];
1750
+ })
1751
+ .s("AWSMigrationHubOrchestrator", "ListTemplateStepGroups", {})
1752
+ .n("MigrationHubOrchestratorClient", "ListTemplateStepGroupsCommand")
1753
+ .f(void 0, void 0)
1754
+ .ser(se_ListTemplateStepGroupsCommand)
1755
+ .de(de_ListTemplateStepGroupsCommand)
1756
+ .build() {
1757
+ }
1758
+
1759
+ class ListTemplateStepsCommand extends smithyClient.Command
1760
+ .classBuilder()
1761
+ .ep(commonParams)
1762
+ .m(function (Command, cs, config, o) {
1763
+ return [
1764
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1765
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1766
+ ];
1767
+ })
1768
+ .s("AWSMigrationHubOrchestrator", "ListTemplateSteps", {})
1769
+ .n("MigrationHubOrchestratorClient", "ListTemplateStepsCommand")
1770
+ .f(void 0, void 0)
1771
+ .ser(se_ListTemplateStepsCommand)
1772
+ .de(de_ListTemplateStepsCommand)
1773
+ .build() {
1774
+ }
1775
+
1776
+ class ListWorkflowsCommand extends smithyClient.Command
1777
+ .classBuilder()
1778
+ .ep(commonParams)
1779
+ .m(function (Command, cs, config, o) {
1780
+ return [
1781
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1782
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1783
+ ];
1784
+ })
1785
+ .s("AWSMigrationHubOrchestrator", "ListWorkflows", {})
1786
+ .n("MigrationHubOrchestratorClient", "ListWorkflowsCommand")
1787
+ .f(void 0, void 0)
1788
+ .ser(se_ListWorkflowsCommand)
1789
+ .de(de_ListWorkflowsCommand)
1790
+ .build() {
1791
+ }
1792
+
1793
+ class ListWorkflowStepGroupsCommand extends smithyClient.Command
1794
+ .classBuilder()
1795
+ .ep(commonParams)
1796
+ .m(function (Command, cs, config, o) {
1797
+ return [
1798
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1799
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1800
+ ];
1801
+ })
1802
+ .s("AWSMigrationHubOrchestrator", "ListWorkflowStepGroups", {})
1803
+ .n("MigrationHubOrchestratorClient", "ListWorkflowStepGroupsCommand")
1804
+ .f(void 0, void 0)
1805
+ .ser(se_ListWorkflowStepGroupsCommand)
1806
+ .de(de_ListWorkflowStepGroupsCommand)
1807
+ .build() {
1808
+ }
1809
+
1810
+ class ListWorkflowStepsCommand extends smithyClient.Command
1811
+ .classBuilder()
1812
+ .ep(commonParams)
1813
+ .m(function (Command, cs, config, o) {
1814
+ return [
1815
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1816
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1817
+ ];
1818
+ })
1819
+ .s("AWSMigrationHubOrchestrator", "ListWorkflowSteps", {})
1820
+ .n("MigrationHubOrchestratorClient", "ListWorkflowStepsCommand")
1821
+ .f(void 0, void 0)
1822
+ .ser(se_ListWorkflowStepsCommand)
1823
+ .de(de_ListWorkflowStepsCommand)
1824
+ .build() {
1825
+ }
1826
+
1827
+ class RetryWorkflowStepCommand extends smithyClient.Command
1828
+ .classBuilder()
1829
+ .ep(commonParams)
1830
+ .m(function (Command, cs, config, o) {
1831
+ return [
1832
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1833
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1834
+ ];
1835
+ })
1836
+ .s("AWSMigrationHubOrchestrator", "RetryWorkflowStep", {})
1837
+ .n("MigrationHubOrchestratorClient", "RetryWorkflowStepCommand")
1838
+ .f(void 0, void 0)
1839
+ .ser(se_RetryWorkflowStepCommand)
1840
+ .de(de_RetryWorkflowStepCommand)
1841
+ .build() {
1842
+ }
1843
+
1844
+ class StartWorkflowCommand extends smithyClient.Command
1845
+ .classBuilder()
1846
+ .ep(commonParams)
1847
+ .m(function (Command, cs, config, o) {
1848
+ return [
1849
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1850
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1851
+ ];
1852
+ })
1853
+ .s("AWSMigrationHubOrchestrator", "StartWorkflow", {})
1854
+ .n("MigrationHubOrchestratorClient", "StartWorkflowCommand")
1855
+ .f(void 0, void 0)
1856
+ .ser(se_StartWorkflowCommand)
1857
+ .de(de_StartWorkflowCommand)
1858
+ .build() {
1859
+ }
1860
+
1861
+ class StopWorkflowCommand extends smithyClient.Command
1862
+ .classBuilder()
1863
+ .ep(commonParams)
1864
+ .m(function (Command, cs, config, o) {
1865
+ return [
1866
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1867
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1868
+ ];
1869
+ })
1870
+ .s("AWSMigrationHubOrchestrator", "StopWorkflow", {})
1871
+ .n("MigrationHubOrchestratorClient", "StopWorkflowCommand")
1872
+ .f(void 0, void 0)
1873
+ .ser(se_StopWorkflowCommand)
1874
+ .de(de_StopWorkflowCommand)
1875
+ .build() {
1876
+ }
1877
+
1878
+ class TagResourceCommand extends smithyClient.Command
1879
+ .classBuilder()
1880
+ .ep(commonParams)
1881
+ .m(function (Command, cs, config, o) {
1882
+ return [
1883
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1884
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1885
+ ];
1886
+ })
1887
+ .s("AWSMigrationHubOrchestrator", "TagResource", {})
1888
+ .n("MigrationHubOrchestratorClient", "TagResourceCommand")
1889
+ .f(void 0, void 0)
1890
+ .ser(se_TagResourceCommand)
1891
+ .de(de_TagResourceCommand)
1892
+ .build() {
1893
+ }
1894
+
1895
+ class UntagResourceCommand extends smithyClient.Command
1896
+ .classBuilder()
1897
+ .ep(commonParams)
1898
+ .m(function (Command, cs, config, o) {
1899
+ return [
1900
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1901
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1902
+ ];
1903
+ })
1904
+ .s("AWSMigrationHubOrchestrator", "UntagResource", {})
1905
+ .n("MigrationHubOrchestratorClient", "UntagResourceCommand")
1906
+ .f(void 0, void 0)
1907
+ .ser(se_UntagResourceCommand)
1908
+ .de(de_UntagResourceCommand)
1909
+ .build() {
1910
+ }
1911
+
1912
+ class UpdateTemplateCommand extends smithyClient.Command
1913
+ .classBuilder()
1914
+ .ep(commonParams)
1915
+ .m(function (Command, cs, config, o) {
1916
+ return [
1917
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1918
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1919
+ ];
1920
+ })
1921
+ .s("AWSMigrationHubOrchestrator", "UpdateTemplate", {})
1922
+ .n("MigrationHubOrchestratorClient", "UpdateTemplateCommand")
1923
+ .f(void 0, void 0)
1924
+ .ser(se_UpdateTemplateCommand)
1925
+ .de(de_UpdateTemplateCommand)
1926
+ .build() {
1927
+ }
1928
+
1929
+ class UpdateWorkflowCommand extends smithyClient.Command
1930
+ .classBuilder()
1931
+ .ep(commonParams)
1932
+ .m(function (Command, cs, config, o) {
1933
+ return [
1934
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1935
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1936
+ ];
1937
+ })
1938
+ .s("AWSMigrationHubOrchestrator", "UpdateWorkflow", {})
1939
+ .n("MigrationHubOrchestratorClient", "UpdateWorkflowCommand")
1940
+ .f(UpdateMigrationWorkflowRequestFilterSensitiveLog, UpdateMigrationWorkflowResponseFilterSensitiveLog)
1941
+ .ser(se_UpdateWorkflowCommand)
1942
+ .de(de_UpdateWorkflowCommand)
1943
+ .build() {
1944
+ }
1945
+
1946
+ class UpdateWorkflowStepCommand extends smithyClient.Command
1947
+ .classBuilder()
1948
+ .ep(commonParams)
1949
+ .m(function (Command, cs, config, o) {
1950
+ return [
1951
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1952
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1953
+ ];
1954
+ })
1955
+ .s("AWSMigrationHubOrchestrator", "UpdateWorkflowStep", {})
1956
+ .n("MigrationHubOrchestratorClient", "UpdateWorkflowStepCommand")
1957
+ .f(void 0, void 0)
1958
+ .ser(se_UpdateWorkflowStepCommand)
1959
+ .de(de_UpdateWorkflowStepCommand)
1960
+ .build() {
1961
+ }
1962
+
1963
+ class UpdateWorkflowStepGroupCommand extends smithyClient.Command
1964
+ .classBuilder()
1965
+ .ep(commonParams)
1966
+ .m(function (Command, cs, config, o) {
1967
+ return [
1968
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1969
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1970
+ ];
1971
+ })
1972
+ .s("AWSMigrationHubOrchestrator", "UpdateWorkflowStepGroup", {})
1973
+ .n("MigrationHubOrchestratorClient", "UpdateWorkflowStepGroupCommand")
1974
+ .f(void 0, void 0)
1975
+ .ser(se_UpdateWorkflowStepGroupCommand)
1976
+ .de(de_UpdateWorkflowStepGroupCommand)
1977
+ .build() {
1978
+ }
1979
+
1980
+ const commands = {
1981
+ CreateTemplateCommand,
1982
+ CreateWorkflowCommand,
1983
+ CreateWorkflowStepCommand,
1984
+ CreateWorkflowStepGroupCommand,
1985
+ DeleteTemplateCommand,
1986
+ DeleteWorkflowCommand,
1987
+ DeleteWorkflowStepCommand,
1988
+ DeleteWorkflowStepGroupCommand,
1989
+ GetTemplateCommand,
1990
+ GetTemplateStepCommand,
1991
+ GetTemplateStepGroupCommand,
1992
+ GetWorkflowCommand,
1993
+ GetWorkflowStepCommand,
1994
+ GetWorkflowStepGroupCommand,
1995
+ ListPluginsCommand,
1996
+ ListTagsForResourceCommand,
1997
+ ListTemplatesCommand,
1998
+ ListTemplateStepGroupsCommand,
1999
+ ListTemplateStepsCommand,
2000
+ ListWorkflowsCommand,
2001
+ ListWorkflowStepGroupsCommand,
2002
+ ListWorkflowStepsCommand,
2003
+ RetryWorkflowStepCommand,
2004
+ StartWorkflowCommand,
2005
+ StopWorkflowCommand,
2006
+ TagResourceCommand,
2007
+ UntagResourceCommand,
2008
+ UpdateTemplateCommand,
2009
+ UpdateWorkflowCommand,
2010
+ UpdateWorkflowStepCommand,
2011
+ UpdateWorkflowStepGroupCommand,
2012
+ };
2013
+ class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {
2014
+ }
2015
+ smithyClient.createAggregatedClient(commands, MigrationHubOrchestrator);
2103
2016
 
2104
- // src/MigrationHubOrchestrator.ts
2105
- var commands = {
2106
- CreateTemplateCommand,
2107
- CreateWorkflowCommand,
2108
- CreateWorkflowStepCommand,
2109
- CreateWorkflowStepGroupCommand,
2110
- DeleteTemplateCommand,
2111
- DeleteWorkflowCommand,
2112
- DeleteWorkflowStepCommand,
2113
- DeleteWorkflowStepGroupCommand,
2114
- GetTemplateCommand,
2115
- GetTemplateStepCommand,
2116
- GetTemplateStepGroupCommand,
2117
- GetWorkflowCommand,
2118
- GetWorkflowStepCommand,
2119
- GetWorkflowStepGroupCommand,
2120
- ListPluginsCommand,
2121
- ListTagsForResourceCommand,
2122
- ListTemplatesCommand,
2123
- ListTemplateStepGroupsCommand,
2124
- ListTemplateStepsCommand,
2125
- ListWorkflowsCommand,
2126
- ListWorkflowStepGroupsCommand,
2127
- ListWorkflowStepsCommand,
2128
- RetryWorkflowStepCommand,
2129
- StartWorkflowCommand,
2130
- StopWorkflowCommand,
2131
- TagResourceCommand,
2132
- UntagResourceCommand,
2133
- UpdateTemplateCommand,
2134
- UpdateWorkflowCommand,
2135
- UpdateWorkflowStepCommand,
2136
- UpdateWorkflowStepGroupCommand
2137
- };
2138
- var MigrationHubOrchestrator = class extends MigrationHubOrchestratorClient {
2139
- static {
2140
- __name(this, "MigrationHubOrchestrator");
2141
- }
2142
- };
2143
- (0, import_smithy_client.createAggregatedClient)(commands, MigrationHubOrchestrator);
2144
-
2145
- // src/pagination/ListPluginsPaginator.ts
2146
-
2147
- var paginateListPlugins = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListPluginsCommand, "nextToken", "nextToken", "maxResults");
2148
-
2149
- // src/pagination/ListTemplateStepGroupsPaginator.ts
2150
-
2151
- var paginateListTemplateStepGroups = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListTemplateStepGroupsCommand, "nextToken", "nextToken", "maxResults");
2152
-
2153
- // src/pagination/ListTemplateStepsPaginator.ts
2154
-
2155
- var paginateListTemplateSteps = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListTemplateStepsCommand, "nextToken", "nextToken", "maxResults");
2156
-
2157
- // src/pagination/ListTemplatesPaginator.ts
2158
-
2159
- var paginateListTemplates = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults");
2017
+ const paginateListPlugins = core.createPaginator(MigrationHubOrchestratorClient, ListPluginsCommand, "nextToken", "nextToken", "maxResults");
2160
2018
 
2161
- // src/pagination/ListWorkflowStepGroupsPaginator.ts
2019
+ const paginateListTemplateStepGroups = core.createPaginator(MigrationHubOrchestratorClient, ListTemplateStepGroupsCommand, "nextToken", "nextToken", "maxResults");
2162
2020
 
2163
- var paginateListWorkflowStepGroups = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListWorkflowStepGroupsCommand, "nextToken", "nextToken", "maxResults");
2021
+ const paginateListTemplateSteps = core.createPaginator(MigrationHubOrchestratorClient, ListTemplateStepsCommand, "nextToken", "nextToken", "maxResults");
2164
2022
 
2165
- // src/pagination/ListWorkflowStepsPaginator.ts
2023
+ const paginateListTemplates = core.createPaginator(MigrationHubOrchestratorClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults");
2166
2024
 
2167
- var paginateListWorkflowSteps = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListWorkflowStepsCommand, "nextToken", "nextToken", "maxResults");
2025
+ const paginateListWorkflowStepGroups = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepGroupsCommand, "nextToken", "nextToken", "maxResults");
2168
2026
 
2169
- // src/pagination/ListWorkflowsPaginator.ts
2027
+ const paginateListWorkflowSteps = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowStepsCommand, "nextToken", "nextToken", "maxResults");
2170
2028
 
2171
- var paginateListWorkflows = (0, import_core.createPaginator)(MigrationHubOrchestratorClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");
2172
- // Annotate the CommonJS export names for ESM import in node:
2029
+ const paginateListWorkflows = core.createPaginator(MigrationHubOrchestratorClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");
2173
2030
 
2174
- 0 && (module.exports = {
2175
- MigrationHubOrchestratorServiceException,
2176
- __Client,
2177
- MigrationHubOrchestratorClient,
2178
- MigrationHubOrchestrator,
2179
- $Command,
2180
- CreateTemplateCommand,
2181
- CreateWorkflowCommand,
2182
- CreateWorkflowStepCommand,
2183
- CreateWorkflowStepGroupCommand,
2184
- DeleteTemplateCommand,
2185
- DeleteWorkflowCommand,
2186
- DeleteWorkflowStepCommand,
2187
- DeleteWorkflowStepGroupCommand,
2188
- GetTemplateCommand,
2189
- GetTemplateStepCommand,
2190
- GetTemplateStepGroupCommand,
2191
- GetWorkflowCommand,
2192
- GetWorkflowStepCommand,
2193
- GetWorkflowStepGroupCommand,
2194
- ListPluginsCommand,
2195
- ListTagsForResourceCommand,
2196
- ListTemplateStepGroupsCommand,
2197
- ListTemplateStepsCommand,
2198
- ListTemplatesCommand,
2199
- ListWorkflowStepGroupsCommand,
2200
- ListWorkflowStepsCommand,
2201
- ListWorkflowsCommand,
2202
- RetryWorkflowStepCommand,
2203
- StartWorkflowCommand,
2204
- StopWorkflowCommand,
2205
- TagResourceCommand,
2206
- UntagResourceCommand,
2207
- UpdateTemplateCommand,
2208
- UpdateWorkflowCommand,
2209
- UpdateWorkflowStepCommand,
2210
- UpdateWorkflowStepGroupCommand,
2211
- paginateListPlugins,
2212
- paginateListTemplateStepGroups,
2213
- paginateListTemplateSteps,
2214
- paginateListTemplates,
2215
- paginateListWorkflowStepGroups,
2216
- paginateListWorkflowSteps,
2217
- paginateListWorkflows,
2218
- AccessDeniedException,
2219
- ResourceNotFoundException,
2220
- ValidationException,
2221
- StepInput,
2222
- MigrationWorkflowStatusEnum,
2223
- InternalServerException,
2224
- ThrottlingException,
2225
- ConflictException,
2226
- TemplateSource,
2227
- DataType,
2228
- TemplateStatus,
2229
- PluginHealth,
2230
- StepActionType,
2231
- RunEnvironment,
2232
- TargetType,
2233
- Owner,
2234
- StepGroupStatus,
2235
- WorkflowStepOutputUnion,
2236
- StepStatus,
2237
- CreateMigrationWorkflowRequestFilterSensitiveLog,
2238
- CreateMigrationWorkflowResponseFilterSensitiveLog,
2239
- GetMigrationWorkflowResponseFilterSensitiveLog,
2240
- UpdateMigrationWorkflowRequestFilterSensitiveLog,
2241
- UpdateMigrationWorkflowResponseFilterSensitiveLog
2031
+ Object.defineProperty(exports, "$Command", {
2032
+ enumerable: true,
2033
+ get: function () { return smithyClient.Command; }
2242
2034
  });
2243
-
2035
+ Object.defineProperty(exports, "__Client", {
2036
+ enumerable: true,
2037
+ get: function () { return smithyClient.Client; }
2038
+ });
2039
+ exports.AccessDeniedException = AccessDeniedException;
2040
+ exports.ConflictException = ConflictException;
2041
+ exports.CreateMigrationWorkflowRequestFilterSensitiveLog = CreateMigrationWorkflowRequestFilterSensitiveLog;
2042
+ exports.CreateMigrationWorkflowResponseFilterSensitiveLog = CreateMigrationWorkflowResponseFilterSensitiveLog;
2043
+ exports.CreateTemplateCommand = CreateTemplateCommand;
2044
+ exports.CreateWorkflowCommand = CreateWorkflowCommand;
2045
+ exports.CreateWorkflowStepCommand = CreateWorkflowStepCommand;
2046
+ exports.CreateWorkflowStepGroupCommand = CreateWorkflowStepGroupCommand;
2047
+ exports.DataType = DataType;
2048
+ exports.DeleteTemplateCommand = DeleteTemplateCommand;
2049
+ exports.DeleteWorkflowCommand = DeleteWorkflowCommand;
2050
+ exports.DeleteWorkflowStepCommand = DeleteWorkflowStepCommand;
2051
+ exports.DeleteWorkflowStepGroupCommand = DeleteWorkflowStepGroupCommand;
2052
+ exports.GetMigrationWorkflowResponseFilterSensitiveLog = GetMigrationWorkflowResponseFilterSensitiveLog;
2053
+ exports.GetTemplateCommand = GetTemplateCommand;
2054
+ exports.GetTemplateStepCommand = GetTemplateStepCommand;
2055
+ exports.GetTemplateStepGroupCommand = GetTemplateStepGroupCommand;
2056
+ exports.GetWorkflowCommand = GetWorkflowCommand;
2057
+ exports.GetWorkflowStepCommand = GetWorkflowStepCommand;
2058
+ exports.GetWorkflowStepGroupCommand = GetWorkflowStepGroupCommand;
2059
+ exports.InternalServerException = InternalServerException;
2060
+ exports.ListPluginsCommand = ListPluginsCommand;
2061
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2062
+ exports.ListTemplateStepGroupsCommand = ListTemplateStepGroupsCommand;
2063
+ exports.ListTemplateStepsCommand = ListTemplateStepsCommand;
2064
+ exports.ListTemplatesCommand = ListTemplatesCommand;
2065
+ exports.ListWorkflowStepGroupsCommand = ListWorkflowStepGroupsCommand;
2066
+ exports.ListWorkflowStepsCommand = ListWorkflowStepsCommand;
2067
+ exports.ListWorkflowsCommand = ListWorkflowsCommand;
2068
+ exports.MigrationHubOrchestrator = MigrationHubOrchestrator;
2069
+ exports.MigrationHubOrchestratorClient = MigrationHubOrchestratorClient;
2070
+ exports.MigrationHubOrchestratorServiceException = MigrationHubOrchestratorServiceException;
2071
+ exports.MigrationWorkflowStatusEnum = MigrationWorkflowStatusEnum;
2072
+ exports.Owner = Owner;
2073
+ exports.PluginHealth = PluginHealth;
2074
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2075
+ exports.RetryWorkflowStepCommand = RetryWorkflowStepCommand;
2076
+ exports.RunEnvironment = RunEnvironment;
2077
+ exports.StartWorkflowCommand = StartWorkflowCommand;
2078
+ exports.StepActionType = StepActionType;
2079
+ exports.StepGroupStatus = StepGroupStatus;
2080
+ exports.StepStatus = StepStatus;
2081
+ exports.StopWorkflowCommand = StopWorkflowCommand;
2082
+ exports.TagResourceCommand = TagResourceCommand;
2083
+ exports.TargetType = TargetType;
2084
+ exports.TemplateStatus = TemplateStatus;
2085
+ exports.ThrottlingException = ThrottlingException;
2086
+ exports.UntagResourceCommand = UntagResourceCommand;
2087
+ exports.UpdateMigrationWorkflowRequestFilterSensitiveLog = UpdateMigrationWorkflowRequestFilterSensitiveLog;
2088
+ exports.UpdateMigrationWorkflowResponseFilterSensitiveLog = UpdateMigrationWorkflowResponseFilterSensitiveLog;
2089
+ exports.UpdateTemplateCommand = UpdateTemplateCommand;
2090
+ exports.UpdateWorkflowCommand = UpdateWorkflowCommand;
2091
+ exports.UpdateWorkflowStepCommand = UpdateWorkflowStepCommand;
2092
+ exports.UpdateWorkflowStepGroupCommand = UpdateWorkflowStepGroupCommand;
2093
+ exports.ValidationException = ValidationException;
2094
+ exports.paginateListPlugins = paginateListPlugins;
2095
+ exports.paginateListTemplateStepGroups = paginateListTemplateStepGroups;
2096
+ exports.paginateListTemplateSteps = paginateListTemplateSteps;
2097
+ exports.paginateListTemplates = paginateListTemplates;
2098
+ exports.paginateListWorkflowStepGroups = paginateListWorkflowStepGroups;
2099
+ exports.paginateListWorkflowSteps = paginateListWorkflowSteps;
2100
+ exports.paginateListWorkflows = paginateListWorkflows;