@aws-sdk/client-migrationhuborchestrator 3.523.0 → 3.525.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 (80) hide show
  1. package/README.md +26 -2
  2. package/dist-cjs/index.js +210 -5
  3. package/dist-es/MigrationHubOrchestrator.js +6 -0
  4. package/dist-es/commands/CreateTemplateCommand.js +24 -0
  5. package/dist-es/commands/DeleteTemplateCommand.js +24 -0
  6. package/dist-es/commands/UpdateTemplateCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +26 -0
  9. package/dist-es/protocols/Aws_restJson1.js +107 -1
  10. package/dist-types/MigrationHubOrchestrator.d.ts +23 -2
  11. package/dist-types/MigrationHubOrchestratorClient.d.ts +7 -4
  12. package/dist-types/commands/CreateTemplateCommand.d.ts +86 -0
  13. package/dist-types/commands/CreateWorkflowCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateWorkflowStepCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteTemplateCommand.d.ts +71 -0
  16. package/dist-types/commands/GetTemplateCommand.d.ts +8 -1
  17. package/dist-types/commands/GetWorkflowStepCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateTemplateCommand.d.ts +80 -0
  19. package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/index.d.ts +2 -2
  22. package/dist-types/models/models_0.d.ts +223 -4
  23. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  24. package/dist-types/ts3.4/MigrationHubOrchestrator.d.ts +51 -0
  25. package/dist-types/ts3.4/MigrationHubOrchestratorClient.d.ts +18 -0
  26. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +29 -0
  27. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +29 -0
  28. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +29 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +63 -2
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  32. package/package.json +20 -18
  33. package/dist-cjs/MigrationHubOrchestrator.js +0 -1
  34. package/dist-cjs/MigrationHubOrchestratorClient.js +0 -1
  35. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  36. package/dist-cjs/commands/CreateWorkflowCommand.js +0 -1
  37. package/dist-cjs/commands/CreateWorkflowStepCommand.js +0 -1
  38. package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +0 -1
  39. package/dist-cjs/commands/DeleteWorkflowCommand.js +0 -1
  40. package/dist-cjs/commands/DeleteWorkflowStepCommand.js +0 -1
  41. package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +0 -1
  42. package/dist-cjs/commands/GetTemplateCommand.js +0 -1
  43. package/dist-cjs/commands/GetTemplateStepCommand.js +0 -1
  44. package/dist-cjs/commands/GetTemplateStepGroupCommand.js +0 -1
  45. package/dist-cjs/commands/GetWorkflowCommand.js +0 -1
  46. package/dist-cjs/commands/GetWorkflowStepCommand.js +0 -1
  47. package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +0 -1
  48. package/dist-cjs/commands/ListPluginsCommand.js +0 -1
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  50. package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +0 -1
  51. package/dist-cjs/commands/ListTemplateStepsCommand.js +0 -1
  52. package/dist-cjs/commands/ListTemplatesCommand.js +0 -1
  53. package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +0 -1
  54. package/dist-cjs/commands/ListWorkflowStepsCommand.js +0 -1
  55. package/dist-cjs/commands/ListWorkflowsCommand.js +0 -1
  56. package/dist-cjs/commands/RetryWorkflowStepCommand.js +0 -1
  57. package/dist-cjs/commands/StartWorkflowCommand.js +0 -1
  58. package/dist-cjs/commands/StopWorkflowCommand.js +0 -1
  59. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  60. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  61. package/dist-cjs/commands/UpdateWorkflowCommand.js +0 -1
  62. package/dist-cjs/commands/UpdateWorkflowStepCommand.js +0 -1
  63. package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +0 -1
  64. package/dist-cjs/commands/index.js +0 -1
  65. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  66. package/dist-cjs/extensionConfiguration.js +0 -1
  67. package/dist-cjs/models/MigrationHubOrchestratorServiceException.js +0 -1
  68. package/dist-cjs/models/index.js +0 -1
  69. package/dist-cjs/models/models_0.js +0 -1
  70. package/dist-cjs/pagination/Interfaces.js +0 -1
  71. package/dist-cjs/pagination/ListPluginsPaginator.js +0 -1
  72. package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +0 -1
  73. package/dist-cjs/pagination/ListTemplateStepsPaginator.js +0 -1
  74. package/dist-cjs/pagination/ListTemplatesPaginator.js +0 -1
  75. package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +0 -1
  76. package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +0 -1
  77. package/dist-cjs/pagination/ListWorkflowsPaginator.js +0 -1
  78. package/dist-cjs/pagination/index.js +0 -1
  79. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  80. package/dist-cjs/runtimeExtensions.js +0 -1
@@ -84,7 +84,7 @@ export interface CreateMigrationWorkflowRequest {
84
84
  name: string | undefined;
85
85
  description?: string;
86
86
  templateId: string | undefined;
87
- applicationConfigurationId: string | undefined;
87
+ applicationConfigurationId?: string;
88
88
  inputParameters: Record<string, StepInput> | undefined;
89
89
  stepTargets?: string[];
90
90
  tags?: Record<string, string>;
@@ -236,6 +236,46 @@ export interface UpdateMigrationWorkflowResponse {
236
236
  lastModifiedTime?: Date;
237
237
  tags?: Record<string, string>;
238
238
  }
239
+ export declare class ConflictException extends __BaseException {
240
+ readonly name: "ConflictException";
241
+ readonly $fault: "client";
242
+ $retryable: {};
243
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
244
+ }
245
+ export type TemplateSource =
246
+ | TemplateSource.WorkflowIdMember
247
+ | TemplateSource.$UnknownMember;
248
+ export declare namespace TemplateSource {
249
+ interface WorkflowIdMember {
250
+ workflowId: string;
251
+ $unknown?: never;
252
+ }
253
+ interface $UnknownMember {
254
+ workflowId?: never;
255
+ $unknown: [string, any];
256
+ }
257
+ interface Visitor<T> {
258
+ workflowId: (value: string) => T;
259
+ _: (name: string, value: any) => T;
260
+ }
261
+ const visit: <T>(value: TemplateSource, visitor: Visitor<T>) => T;
262
+ }
263
+ export interface CreateTemplateRequest {
264
+ templateName: string | undefined;
265
+ templateDescription?: string;
266
+ templateSource: TemplateSource | undefined;
267
+ clientToken?: string;
268
+ tags?: Record<string, string>;
269
+ }
270
+ export interface CreateTemplateResponse {
271
+ templateId?: string;
272
+ templateArn?: string;
273
+ tags?: Record<string, string>;
274
+ }
275
+ export interface DeleteTemplateRequest {
276
+ id: string | undefined;
277
+ }
278
+ export interface DeleteTemplateResponse {}
239
279
  export interface GetMigrationWorkflowTemplateRequest {
240
280
  id: string | undefined;
241
281
  }
@@ -253,17 +293,26 @@ export interface TemplateInput {
253
293
  }
254
294
  export declare const TemplateStatus: {
255
295
  readonly CREATED: "CREATED";
296
+ readonly CREATING: "CREATING";
297
+ readonly CREATION_FAILED: "CREATION_FAILED";
298
+ readonly PENDING_CREATION: "PENDING_CREATION";
299
+ readonly READY: "READY";
256
300
  };
257
301
  export type TemplateStatus =
258
302
  (typeof TemplateStatus)[keyof typeof TemplateStatus];
259
303
  export interface GetMigrationWorkflowTemplateResponse {
260
304
  id?: string;
305
+ templateArn?: string;
261
306
  name?: string;
262
307
  description?: string;
263
308
  inputs?: TemplateInput[];
264
309
  tools?: Tool[];
265
- status?: TemplateStatus;
266
310
  creationTime?: Date;
311
+ owner?: string;
312
+ status?: TemplateStatus;
313
+ statusMessage?: string;
314
+ templateClass?: string;
315
+ tags?: Record<string, string>;
267
316
  }
268
317
  export interface ListMigrationWorkflowTemplatesRequest {
269
318
  maxResults?: number;
@@ -280,6 +329,17 @@ export interface ListMigrationWorkflowTemplatesResponse {
280
329
  nextToken?: string;
281
330
  templateSummary: TemplateSummary[] | undefined;
282
331
  }
332
+ export interface UpdateTemplateRequest {
333
+ id: string | undefined;
334
+ templateName?: string;
335
+ templateDescription?: string;
336
+ clientToken?: string;
337
+ }
338
+ export interface UpdateTemplateResponse {
339
+ templateId?: string;
340
+ templateArn?: string;
341
+ tags?: Record<string, string>;
342
+ }
283
343
  export interface ListPluginsRequest {
284
344
  maxResults?: number;
285
345
  nextToken?: string;
@@ -523,6 +583,7 @@ export declare const StepStatus: {
523
583
  readonly IN_PROGRESS: "IN_PROGRESS";
524
584
  readonly PAUSED: "PAUSED";
525
585
  readonly READY: "READY";
586
+ readonly SKIPPED: "SKIPPED";
526
587
  readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
527
588
  };
528
589
  export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateTemplateCommandInput,
8
+ CreateTemplateCommandOutput,
9
+ } from "../commands/CreateTemplateCommand";
6
10
  import {
7
11
  CreateWorkflowCommandInput,
8
12
  CreateWorkflowCommandOutput,
@@ -15,6 +19,10 @@ import {
15
19
  CreateWorkflowStepGroupCommandInput,
16
20
  CreateWorkflowStepGroupCommandOutput,
17
21
  } from "../commands/CreateWorkflowStepGroupCommand";
22
+ import {
23
+ DeleteTemplateCommandInput,
24
+ DeleteTemplateCommandOutput,
25
+ } from "../commands/DeleteTemplateCommand";
18
26
  import {
19
27
  DeleteWorkflowCommandInput,
20
28
  DeleteWorkflowCommandOutput,
@@ -103,6 +111,10 @@ import {
103
111
  UntagResourceCommandInput,
104
112
  UntagResourceCommandOutput,
105
113
  } from "../commands/UntagResourceCommand";
114
+ import {
115
+ UpdateTemplateCommandInput,
116
+ UpdateTemplateCommandOutput,
117
+ } from "../commands/UpdateTemplateCommand";
106
118
  import {
107
119
  UpdateWorkflowCommandInput,
108
120
  UpdateWorkflowCommandOutput,
@@ -115,6 +127,10 @@ import {
115
127
  UpdateWorkflowStepGroupCommandInput,
116
128
  UpdateWorkflowStepGroupCommandOutput,
117
129
  } from "../commands/UpdateWorkflowStepGroupCommand";
130
+ export declare const se_CreateTemplateCommand: (
131
+ input: CreateTemplateCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
118
134
  export declare const se_CreateWorkflowCommand: (
119
135
  input: CreateWorkflowCommandInput,
120
136
  context: __SerdeContext
@@ -127,6 +143,10 @@ export declare const se_CreateWorkflowStepGroupCommand: (
127
143
  input: CreateWorkflowStepGroupCommandInput,
128
144
  context: __SerdeContext
129
145
  ) => Promise<__HttpRequest>;
146
+ export declare const se_DeleteTemplateCommand: (
147
+ input: DeleteTemplateCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
130
150
  export declare const se_DeleteWorkflowCommand: (
131
151
  input: DeleteWorkflowCommandInput,
132
152
  context: __SerdeContext
@@ -215,6 +235,10 @@ export declare const se_UntagResourceCommand: (
215
235
  input: UntagResourceCommandInput,
216
236
  context: __SerdeContext
217
237
  ) => Promise<__HttpRequest>;
238
+ export declare const se_UpdateTemplateCommand: (
239
+ input: UpdateTemplateCommandInput,
240
+ context: __SerdeContext
241
+ ) => Promise<__HttpRequest>;
218
242
  export declare const se_UpdateWorkflowCommand: (
219
243
  input: UpdateWorkflowCommandInput,
220
244
  context: __SerdeContext
@@ -227,6 +251,10 @@ export declare const se_UpdateWorkflowStepGroupCommand: (
227
251
  input: UpdateWorkflowStepGroupCommandInput,
228
252
  context: __SerdeContext
229
253
  ) => Promise<__HttpRequest>;
254
+ export declare const de_CreateTemplateCommand: (
255
+ output: __HttpResponse,
256
+ context: __SerdeContext
257
+ ) => Promise<CreateTemplateCommandOutput>;
230
258
  export declare const de_CreateWorkflowCommand: (
231
259
  output: __HttpResponse,
232
260
  context: __SerdeContext
@@ -239,6 +267,10 @@ export declare const de_CreateWorkflowStepGroupCommand: (
239
267
  output: __HttpResponse,
240
268
  context: __SerdeContext
241
269
  ) => Promise<CreateWorkflowStepGroupCommandOutput>;
270
+ export declare const de_DeleteTemplateCommand: (
271
+ output: __HttpResponse,
272
+ context: __SerdeContext
273
+ ) => Promise<DeleteTemplateCommandOutput>;
242
274
  export declare const de_DeleteWorkflowCommand: (
243
275
  output: __HttpResponse,
244
276
  context: __SerdeContext
@@ -327,6 +359,10 @@ export declare const de_UntagResourceCommand: (
327
359
  output: __HttpResponse,
328
360
  context: __SerdeContext
329
361
  ) => Promise<UntagResourceCommandOutput>;
362
+ export declare const de_UpdateTemplateCommand: (
363
+ output: __HttpResponse,
364
+ context: __SerdeContext
365
+ ) => Promise<UpdateTemplateCommandOutput>;
330
366
  export declare const de_UpdateWorkflowCommand: (
331
367
  output: __HttpResponse,
332
368
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhuborchestrator",
3
3
  "description": "AWS SDK for JavaScript Migrationhuborchestrator Client for Node.js, Browser and React Native",
4
- "version": "3.523.0",
4
+ "version": "3.525.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-migrationhuborchestrator",
@@ -20,49 +20,51 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.523.0",
24
- "@aws-sdk/core": "3.523.0",
25
- "@aws-sdk/credential-provider-node": "3.523.0",
23
+ "@aws-sdk/client-sts": "3.525.0",
24
+ "@aws-sdk/core": "3.525.0",
25
+ "@aws-sdk/credential-provider-node": "3.525.0",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.523.0",
30
- "@aws-sdk/region-config-resolver": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.525.0",
30
+ "@aws-sdk/region-config-resolver": "3.525.0",
31
31
  "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.525.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.523.0",
35
- "@smithy/config-resolver": "^2.1.3",
36
- "@smithy/core": "^1.3.4",
34
+ "@aws-sdk/util-user-agent-node": "3.525.0",
35
+ "@smithy/config-resolver": "^2.1.4",
36
+ "@smithy/core": "^1.3.5",
37
37
  "@smithy/fetch-http-handler": "^2.4.3",
38
38
  "@smithy/hash-node": "^2.1.3",
39
39
  "@smithy/invalid-dependency": "^2.1.3",
40
40
  "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.3",
42
- "@smithy/middleware-retry": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.4",
42
+ "@smithy/middleware-retry": "^2.1.4",
43
43
  "@smithy/middleware-serde": "^2.1.3",
44
44
  "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.3",
45
+ "@smithy/node-config-provider": "^2.2.4",
46
46
  "@smithy/node-http-handler": "^2.4.1",
47
47
  "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.1",
48
+ "@smithy/smithy-client": "^2.4.2",
49
49
  "@smithy/types": "^2.10.1",
50
50
  "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.3",
55
- "@smithy/util-defaults-mode-node": "^2.2.2",
56
- "@smithy/util-endpoints": "^1.1.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.4",
55
+ "@smithy/util-defaults-mode-node": "^2.2.3",
56
+ "@smithy/util-endpoints": "^1.1.4",
57
57
  "@smithy/util-middleware": "^2.1.3",
58
58
  "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
60
- "tslib": "^2.5.0"
60
+ "tslib": "^2.5.0",
61
+ "uuid": "^8.3.2"
61
62
  },
62
63
  "devDependencies": {
63
64
  "@smithy/service-client-documentation-generator": "^2.1.1",
64
65
  "@tsconfig/node14": "1.0.3",
65
66
  "@types/node": "^14.14.31",
67
+ "@types/uuid": "^9.0.4",
66
68
  "concurrently": "7.0.0",
67
69
  "downlevel-dts": "0.10.1",
68
70
  "rimraf": "3.0.2",
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");