@aws-sdk/client-migrationhuborchestrator 3.521.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.
- package/README.md +26 -2
- package/dist-cjs/index.js +210 -5
- package/dist-es/MigrationHubOrchestrator.js +6 -0
- package/dist-es/commands/CreateTemplateCommand.js +24 -0
- package/dist-es/commands/DeleteTemplateCommand.js +24 -0
- package/dist-es/commands/UpdateTemplateCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_restJson1.js +107 -1
- package/dist-types/MigrationHubOrchestrator.d.ts +23 -2
- package/dist-types/MigrationHubOrchestratorClient.d.ts +7 -4
- package/dist-types/commands/CreateTemplateCommand.d.ts +86 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkflowStepCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTemplateCommand.d.ts +71 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +8 -1
- package/dist-types/commands/GetWorkflowStepCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTemplateCommand.d.ts +80 -0
- package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +223 -4
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/MigrationHubOrchestrator.d.ts +51 -0
- package/dist-types/ts3.4/MigrationHubOrchestratorClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +37 -35
- package/dist-cjs/MigrationHubOrchestrator.js +0 -1
- package/dist-cjs/MigrationHubOrchestratorClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/CreateWorkflowCommand.js +0 -1
- package/dist-cjs/commands/CreateWorkflowStepCommand.js +0 -1
- package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteWorkflowCommand.js +0 -1
- package/dist-cjs/commands/DeleteWorkflowStepCommand.js +0 -1
- package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +0 -1
- package/dist-cjs/commands/GetTemplateCommand.js +0 -1
- package/dist-cjs/commands/GetTemplateStepCommand.js +0 -1
- package/dist-cjs/commands/GetTemplateStepGroupCommand.js +0 -1
- package/dist-cjs/commands/GetWorkflowCommand.js +0 -1
- package/dist-cjs/commands/GetWorkflowStepCommand.js +0 -1
- package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +0 -1
- package/dist-cjs/commands/ListPluginsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListTemplateStepsCommand.js +0 -1
- package/dist-cjs/commands/ListTemplatesCommand.js +0 -1
- package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListWorkflowStepsCommand.js +0 -1
- package/dist-cjs/commands/ListWorkflowsCommand.js +0 -1
- package/dist-cjs/commands/RetryWorkflowStepCommand.js +0 -1
- package/dist-cjs/commands/StartWorkflowCommand.js +0 -1
- package/dist-cjs/commands/StopWorkflowCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateWorkflowCommand.js +0 -1
- package/dist-cjs/commands/UpdateWorkflowStepCommand.js +0 -1
- package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/MigrationHubOrchestratorServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListPluginsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTemplateStepsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTemplatesPaginator.js +0 -1
- package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +0 -1
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
3
4
|
import { MigrationHubOrchestratorServiceException as __BaseException } from "../models/MigrationHubOrchestratorServiceException";
|
|
4
|
-
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
+
export const se_CreateTemplateCommand = async (input, context) => {
|
|
7
|
+
const b = rb(input, context);
|
|
8
|
+
const headers = {
|
|
9
|
+
"content-type": "application/json",
|
|
10
|
+
};
|
|
11
|
+
b.bp("/template");
|
|
12
|
+
let body;
|
|
13
|
+
body = JSON.stringify(take(input, {
|
|
14
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
15
|
+
tags: (_) => _json(_),
|
|
16
|
+
templateDescription: [],
|
|
17
|
+
templateName: [],
|
|
18
|
+
templateSource: (_) => _json(_),
|
|
19
|
+
}));
|
|
20
|
+
b.m("POST").h(headers).b(body);
|
|
21
|
+
return b.build();
|
|
22
|
+
};
|
|
5
23
|
export const se_CreateWorkflowCommand = async (input, context) => {
|
|
6
24
|
const b = rb(input, context);
|
|
7
25
|
const headers = {
|
|
@@ -60,6 +78,15 @@ export const se_CreateWorkflowStepGroupCommand = async (input, context) => {
|
|
|
60
78
|
b.m("POST").h(headers).b(body);
|
|
61
79
|
return b.build();
|
|
62
80
|
};
|
|
81
|
+
export const se_DeleteTemplateCommand = async (input, context) => {
|
|
82
|
+
const b = rb(input, context);
|
|
83
|
+
const headers = {};
|
|
84
|
+
b.bp("/template/{id}");
|
|
85
|
+
b.p("id", () => input.id, "{id}", false);
|
|
86
|
+
let body;
|
|
87
|
+
b.m("DELETE").h(headers).b(body);
|
|
88
|
+
return b.build();
|
|
89
|
+
};
|
|
63
90
|
export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
64
91
|
const b = rb(input, context);
|
|
65
92
|
const headers = {};
|
|
@@ -324,6 +351,22 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
324
351
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
325
352
|
return b.build();
|
|
326
353
|
};
|
|
354
|
+
export const se_UpdateTemplateCommand = async (input, context) => {
|
|
355
|
+
const b = rb(input, context);
|
|
356
|
+
const headers = {
|
|
357
|
+
"content-type": "application/json",
|
|
358
|
+
};
|
|
359
|
+
b.bp("/template/{id}");
|
|
360
|
+
b.p("id", () => input.id, "{id}", false);
|
|
361
|
+
let body;
|
|
362
|
+
body = JSON.stringify(take(input, {
|
|
363
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
364
|
+
templateDescription: [],
|
|
365
|
+
templateName: [],
|
|
366
|
+
}));
|
|
367
|
+
b.m("POST").h(headers).b(body);
|
|
368
|
+
return b.build();
|
|
369
|
+
};
|
|
327
370
|
export const se_UpdateWorkflowCommand = async (input, context) => {
|
|
328
371
|
const b = rb(input, context);
|
|
329
372
|
const headers = {
|
|
@@ -385,6 +428,22 @@ export const se_UpdateWorkflowStepGroupCommand = async (input, context) => {
|
|
|
385
428
|
b.m("POST").h(headers).q(query).b(body);
|
|
386
429
|
return b.build();
|
|
387
430
|
};
|
|
431
|
+
export const de_CreateTemplateCommand = async (output, context) => {
|
|
432
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
433
|
+
return de_CommandError(output, context);
|
|
434
|
+
}
|
|
435
|
+
const contents = map({
|
|
436
|
+
$metadata: deserializeMetadata(output),
|
|
437
|
+
});
|
|
438
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
439
|
+
const doc = take(data, {
|
|
440
|
+
tags: _json,
|
|
441
|
+
templateArn: __expectString,
|
|
442
|
+
templateId: __expectString,
|
|
443
|
+
});
|
|
444
|
+
Object.assign(contents, doc);
|
|
445
|
+
return contents;
|
|
446
|
+
};
|
|
388
447
|
export const de_CreateWorkflowCommand = async (output, context) => {
|
|
389
448
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
390
449
|
return de_CommandError(output, context);
|
|
@@ -447,6 +506,16 @@ export const de_CreateWorkflowStepGroupCommand = async (output, context) => {
|
|
|
447
506
|
Object.assign(contents, doc);
|
|
448
507
|
return contents;
|
|
449
508
|
};
|
|
509
|
+
export const de_DeleteTemplateCommand = async (output, context) => {
|
|
510
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
511
|
+
return de_CommandError(output, context);
|
|
512
|
+
}
|
|
513
|
+
const contents = map({
|
|
514
|
+
$metadata: deserializeMetadata(output),
|
|
515
|
+
});
|
|
516
|
+
await collectBody(output.body, context);
|
|
517
|
+
return contents;
|
|
518
|
+
};
|
|
450
519
|
export const de_DeleteWorkflowCommand = async (output, context) => {
|
|
451
520
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
452
521
|
return de_CommandError(output, context);
|
|
@@ -497,7 +566,12 @@ export const de_GetTemplateCommand = async (output, context) => {
|
|
|
497
566
|
id: __expectString,
|
|
498
567
|
inputs: _json,
|
|
499
568
|
name: __expectString,
|
|
569
|
+
owner: __expectString,
|
|
500
570
|
status: __expectString,
|
|
571
|
+
statusMessage: __expectString,
|
|
572
|
+
tags: _json,
|
|
573
|
+
templateArn: __expectString,
|
|
574
|
+
templateClass: __expectString,
|
|
501
575
|
tools: _json,
|
|
502
576
|
});
|
|
503
577
|
Object.assign(contents, doc);
|
|
@@ -834,6 +908,22 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
834
908
|
await collectBody(output.body, context);
|
|
835
909
|
return contents;
|
|
836
910
|
};
|
|
911
|
+
export const de_UpdateTemplateCommand = async (output, context) => {
|
|
912
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
913
|
+
return de_CommandError(output, context);
|
|
914
|
+
}
|
|
915
|
+
const contents = map({
|
|
916
|
+
$metadata: deserializeMetadata(output),
|
|
917
|
+
});
|
|
918
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
919
|
+
const doc = take(data, {
|
|
920
|
+
tags: _json,
|
|
921
|
+
templateArn: __expectString,
|
|
922
|
+
templateId: __expectString,
|
|
923
|
+
});
|
|
924
|
+
Object.assign(contents, doc);
|
|
925
|
+
return contents;
|
|
926
|
+
};
|
|
837
927
|
export const de_UpdateWorkflowCommand = async (output, context) => {
|
|
838
928
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
839
929
|
return de_CommandError(output, context);
|
|
@@ -907,6 +997,9 @@ const de_CommandError = async (output, context) => {
|
|
|
907
997
|
case "AccessDeniedException":
|
|
908
998
|
case "com.amazonaws.migrationhuborchestrator#AccessDeniedException":
|
|
909
999
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1000
|
+
case "ConflictException":
|
|
1001
|
+
case "com.amazonaws.migrationhuborchestrator#ConflictException":
|
|
1002
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
910
1003
|
case "InternalServerException":
|
|
911
1004
|
case "com.amazonaws.migrationhuborchestrator#InternalServerException":
|
|
912
1005
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -942,6 +1035,19 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
942
1035
|
});
|
|
943
1036
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
944
1037
|
};
|
|
1038
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1039
|
+
const contents = map({});
|
|
1040
|
+
const data = parsedOutput.body;
|
|
1041
|
+
const doc = take(data, {
|
|
1042
|
+
message: __expectString,
|
|
1043
|
+
});
|
|
1044
|
+
Object.assign(contents, doc);
|
|
1045
|
+
const exception = new ConflictException({
|
|
1046
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1047
|
+
...contents,
|
|
1048
|
+
});
|
|
1049
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1050
|
+
};
|
|
945
1051
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
946
1052
|
const contents = map({});
|
|
947
1053
|
const data = parsedOutput.body;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./commands/CreateTemplateCommand";
|
|
2
3
|
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
3
4
|
import { CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput } from "./commands/CreateWorkflowStepCommand";
|
|
4
5
|
import { CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput } from "./commands/CreateWorkflowStepGroupCommand";
|
|
6
|
+
import { DeleteTemplateCommandInput, DeleteTemplateCommandOutput } from "./commands/DeleteTemplateCommand";
|
|
5
7
|
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
6
8
|
import { DeleteWorkflowStepCommandInput, DeleteWorkflowStepCommandOutput } from "./commands/DeleteWorkflowStepCommand";
|
|
7
9
|
import { DeleteWorkflowStepGroupCommandInput, DeleteWorkflowStepGroupCommandOutput } from "./commands/DeleteWorkflowStepGroupCommand";
|
|
@@ -24,11 +26,18 @@ import { StartWorkflowCommandInput, StartWorkflowCommandOutput } from "./command
|
|
|
24
26
|
import { StopWorkflowCommandInput, StopWorkflowCommandOutput } from "./commands/StopWorkflowCommand";
|
|
25
27
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
28
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
29
|
+
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
27
30
|
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
28
31
|
import { UpdateWorkflowStepCommandInput, UpdateWorkflowStepCommandOutput } from "./commands/UpdateWorkflowStepCommand";
|
|
29
32
|
import { UpdateWorkflowStepGroupCommandInput, UpdateWorkflowStepGroupCommandOutput } from "./commands/UpdateWorkflowStepGroupCommand";
|
|
30
33
|
import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
|
|
31
34
|
export interface MigrationHubOrchestrator {
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link CreateTemplateCommand}
|
|
37
|
+
*/
|
|
38
|
+
createTemplate(args: CreateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateTemplateCommandOutput>;
|
|
39
|
+
createTemplate(args: CreateTemplateCommandInput, cb: (err: any, data?: CreateTemplateCommandOutput) => void): void;
|
|
40
|
+
createTemplate(args: CreateTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTemplateCommandOutput) => void): void;
|
|
32
41
|
/**
|
|
33
42
|
* @see {@link CreateWorkflowCommand}
|
|
34
43
|
*/
|
|
@@ -47,6 +56,12 @@ export interface MigrationHubOrchestrator {
|
|
|
47
56
|
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowStepGroupCommandOutput>;
|
|
48
57
|
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void): void;
|
|
49
58
|
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DeleteTemplateCommand}
|
|
61
|
+
*/
|
|
62
|
+
deleteTemplate(args: DeleteTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTemplateCommandOutput>;
|
|
63
|
+
deleteTemplate(args: DeleteTemplateCommandInput, cb: (err: any, data?: DeleteTemplateCommandOutput) => void): void;
|
|
64
|
+
deleteTemplate(args: DeleteTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTemplateCommandOutput) => void): void;
|
|
50
65
|
/**
|
|
51
66
|
* @see {@link DeleteWorkflowCommand}
|
|
52
67
|
*/
|
|
@@ -179,6 +194,12 @@ export interface MigrationHubOrchestrator {
|
|
|
179
194
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
180
195
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
181
196
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link UpdateTemplateCommand}
|
|
199
|
+
*/
|
|
200
|
+
updateTemplate(args: UpdateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTemplateCommandOutput>;
|
|
201
|
+
updateTemplate(args: UpdateTemplateCommandInput, cb: (err: any, data?: UpdateTemplateCommandOutput) => void): void;
|
|
202
|
+
updateTemplate(args: UpdateTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTemplateCommandOutput) => void): void;
|
|
182
203
|
/**
|
|
183
204
|
* @see {@link UpdateWorkflowCommand}
|
|
184
205
|
*/
|
|
@@ -201,8 +222,8 @@ export interface MigrationHubOrchestrator {
|
|
|
201
222
|
/**
|
|
202
223
|
* @public
|
|
203
224
|
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
204
|
-
* actions and data types for AWS Migration Hub Orchestrator.
|
|
205
|
-
* request parameters and
|
|
225
|
+
* actions and data types for AWS Migration Hub Orchestrator. The topic for each action shows the API
|
|
226
|
+
* request parameters and responses. Alternatively, you can use one of the AWS SDKs to
|
|
206
227
|
* access an API that is tailored to the programming language or platform that you're
|
|
207
228
|
* using.</p>
|
|
208
229
|
*/
|
|
@@ -7,9 +7,11 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./commands/CreateTemplateCommand";
|
|
10
11
|
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
11
12
|
import { CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput } from "./commands/CreateWorkflowStepCommand";
|
|
12
13
|
import { CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput } from "./commands/CreateWorkflowStepGroupCommand";
|
|
14
|
+
import { DeleteTemplateCommandInput, DeleteTemplateCommandOutput } from "./commands/DeleteTemplateCommand";
|
|
13
15
|
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
14
16
|
import { DeleteWorkflowStepCommandInput, DeleteWorkflowStepCommandOutput } from "./commands/DeleteWorkflowStepCommand";
|
|
15
17
|
import { DeleteWorkflowStepGroupCommandInput, DeleteWorkflowStepGroupCommandOutput } from "./commands/DeleteWorkflowStepGroupCommand";
|
|
@@ -32,6 +34,7 @@ import { StartWorkflowCommandInput, StartWorkflowCommandOutput } from "./command
|
|
|
32
34
|
import { StopWorkflowCommandInput, StopWorkflowCommandOutput } from "./commands/StopWorkflowCommand";
|
|
33
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
|
+
import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
35
38
|
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
36
39
|
import { UpdateWorkflowStepCommandInput, UpdateWorkflowStepCommandOutput } from "./commands/UpdateWorkflowStepCommand";
|
|
37
40
|
import { UpdateWorkflowStepGroupCommandInput, UpdateWorkflowStepGroupCommandOutput } from "./commands/UpdateWorkflowStepGroupCommand";
|
|
@@ -41,11 +44,11 @@ export { __Client };
|
|
|
41
44
|
/**
|
|
42
45
|
* @public
|
|
43
46
|
*/
|
|
44
|
-
export type ServiceInputTypes = CreateWorkflowCommandInput | CreateWorkflowStepCommandInput | CreateWorkflowStepGroupCommandInput | DeleteWorkflowCommandInput | DeleteWorkflowStepCommandInput | DeleteWorkflowStepGroupCommandInput | GetTemplateCommandInput | GetTemplateStepCommandInput | GetTemplateStepGroupCommandInput | GetWorkflowCommandInput | GetWorkflowStepCommandInput | GetWorkflowStepGroupCommandInput | ListPluginsCommandInput | ListTagsForResourceCommandInput | ListTemplateStepGroupsCommandInput | ListTemplateStepsCommandInput | ListTemplatesCommandInput | ListWorkflowStepGroupsCommandInput | ListWorkflowStepsCommandInput | ListWorkflowsCommandInput | RetryWorkflowStepCommandInput | StartWorkflowCommandInput | StopWorkflowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWorkflowCommandInput | UpdateWorkflowStepCommandInput | UpdateWorkflowStepGroupCommandInput;
|
|
47
|
+
export type ServiceInputTypes = CreateTemplateCommandInput | CreateWorkflowCommandInput | CreateWorkflowStepCommandInput | CreateWorkflowStepGroupCommandInput | DeleteTemplateCommandInput | DeleteWorkflowCommandInput | DeleteWorkflowStepCommandInput | DeleteWorkflowStepGroupCommandInput | GetTemplateCommandInput | GetTemplateStepCommandInput | GetTemplateStepGroupCommandInput | GetWorkflowCommandInput | GetWorkflowStepCommandInput | GetWorkflowStepGroupCommandInput | ListPluginsCommandInput | ListTagsForResourceCommandInput | ListTemplateStepGroupsCommandInput | ListTemplateStepsCommandInput | ListTemplatesCommandInput | ListWorkflowStepGroupsCommandInput | ListWorkflowStepsCommandInput | ListWorkflowsCommandInput | RetryWorkflowStepCommandInput | StartWorkflowCommandInput | StopWorkflowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTemplateCommandInput | UpdateWorkflowCommandInput | UpdateWorkflowStepCommandInput | UpdateWorkflowStepGroupCommandInput;
|
|
45
48
|
/**
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
|
-
export type ServiceOutputTypes = CreateWorkflowCommandOutput | CreateWorkflowStepCommandOutput | CreateWorkflowStepGroupCommandOutput | DeleteWorkflowCommandOutput | DeleteWorkflowStepCommandOutput | DeleteWorkflowStepGroupCommandOutput | GetTemplateCommandOutput | GetTemplateStepCommandOutput | GetTemplateStepGroupCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepCommandOutput | GetWorkflowStepGroupCommandOutput | ListPluginsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateStepGroupsCommandOutput | ListTemplateStepsCommandOutput | ListTemplatesCommandOutput | ListWorkflowStepGroupsCommandOutput | ListWorkflowStepsCommandOutput | ListWorkflowsCommandOutput | RetryWorkflowStepCommandOutput | StartWorkflowCommandOutput | StopWorkflowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWorkflowCommandOutput | UpdateWorkflowStepCommandOutput | UpdateWorkflowStepGroupCommandOutput;
|
|
51
|
+
export type ServiceOutputTypes = CreateTemplateCommandOutput | CreateWorkflowCommandOutput | CreateWorkflowStepCommandOutput | CreateWorkflowStepGroupCommandOutput | DeleteTemplateCommandOutput | DeleteWorkflowCommandOutput | DeleteWorkflowStepCommandOutput | DeleteWorkflowStepGroupCommandOutput | GetTemplateCommandOutput | GetTemplateStepCommandOutput | GetTemplateStepGroupCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepCommandOutput | GetWorkflowStepGroupCommandOutput | ListPluginsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateStepGroupsCommandOutput | ListTemplateStepsCommandOutput | ListTemplatesCommandOutput | ListWorkflowStepGroupsCommandOutput | ListWorkflowStepsCommandOutput | ListWorkflowsCommandOutput | RetryWorkflowStepCommandOutput | StartWorkflowCommandOutput | StopWorkflowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTemplateCommandOutput | UpdateWorkflowCommandOutput | UpdateWorkflowStepCommandOutput | UpdateWorkflowStepGroupCommandOutput;
|
|
49
52
|
/**
|
|
50
53
|
* @public
|
|
51
54
|
*/
|
|
@@ -181,8 +184,8 @@ export interface MigrationHubOrchestratorClientResolvedConfig extends MigrationH
|
|
|
181
184
|
/**
|
|
182
185
|
* @public
|
|
183
186
|
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
184
|
-
* actions and data types for AWS Migration Hub Orchestrator.
|
|
185
|
-
* request parameters and
|
|
187
|
+
* actions and data types for AWS Migration Hub Orchestrator. The topic for each action shows the API
|
|
188
|
+
* request parameters and responses. Alternatively, you can use one of the AWS SDKs to
|
|
186
189
|
* access an API that is tailored to the programming language or platform that you're
|
|
187
190
|
* using.</p>
|
|
188
191
|
*/
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { CreateTemplateRequest, CreateTemplateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link CreateTemplateCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface CreateTemplateCommandInput extends CreateTemplateRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link CreateTemplateCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const CreateTemplateCommand_base: {
|
|
24
|
+
new (input: CreateTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTemplateCommandInput, CreateTemplateCommandOutput, MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Creates a migration workflow template.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { MigrationHubOrchestratorClient, CreateTemplateCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
34
|
+
* // const { MigrationHubOrchestratorClient, CreateTemplateCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
35
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
36
|
+
* const input = { // CreateTemplateRequest
|
|
37
|
+
* templateName: "STRING_VALUE", // required
|
|
38
|
+
* templateDescription: "STRING_VALUE",
|
|
39
|
+
* templateSource: { // TemplateSource Union: only one key present
|
|
40
|
+
* workflowId: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* tags: { // TagMap
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateTemplateCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateTemplateResponse
|
|
50
|
+
* // templateId: "STRING_VALUE",
|
|
51
|
+
* // templateArn: "STRING_VALUE",
|
|
52
|
+
* // tags: { // StringMap
|
|
53
|
+
* // "<keys>": "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param CreateTemplateCommandInput - {@link CreateTemplateCommandInput}
|
|
60
|
+
* @returns {@link CreateTemplateCommandOutput}
|
|
61
|
+
* @see {@link CreateTemplateCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link CreateTemplateCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConflictException} (client fault)
|
|
69
|
+
* <p>This exception is thrown when an attempt to update or delete
|
|
70
|
+
* a resource would cause an inconsistent state.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>An internal error has occurred.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link MigrationHubOrchestratorServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from MigrationHubOrchestrator service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class CreateTemplateCommand extends CreateTemplateCommand_base {
|
|
86
|
+
}
|
|
@@ -37,7 +37,7 @@ declare const CreateWorkflowCommand_base: {
|
|
|
37
37
|
* name: "STRING_VALUE", // required
|
|
38
38
|
* description: "STRING_VALUE",
|
|
39
39
|
* templateId: "STRING_VALUE", // required
|
|
40
|
-
* applicationConfigurationId: "STRING_VALUE",
|
|
40
|
+
* applicationConfigurationId: "STRING_VALUE",
|
|
41
41
|
* inputParameters: { // StepInputParameters // required
|
|
42
42
|
* "<keys>": { // StepInput Union: only one key present
|
|
43
43
|
* integerValue: Number("int"),
|
|
@@ -63,7 +63,7 @@ declare const CreateWorkflowStepCommand_base: {
|
|
|
63
63
|
* value: { // WorkflowStepOutputUnion Union: only one key present
|
|
64
64
|
* integerValue: Number("int"),
|
|
65
65
|
* stringValue: "STRING_VALUE",
|
|
66
|
-
* listOfStringValue: [
|
|
66
|
+
* listOfStringValue: [ // MaxStringList
|
|
67
67
|
* "STRING_VALUE",
|
|
68
68
|
* ],
|
|
69
69
|
* },
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { DeleteTemplateRequest, DeleteTemplateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link DeleteTemplateCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DeleteTemplateCommandInput extends DeleteTemplateRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link DeleteTemplateCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteTemplateCommandOutput extends DeleteTemplateResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const DeleteTemplateCommand_base: {
|
|
24
|
+
new (input: DeleteTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTemplateCommandInput, DeleteTemplateCommandOutput, MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Deletes a migration workflow template.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { MigrationHubOrchestratorClient, DeleteTemplateCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
34
|
+
* // const { MigrationHubOrchestratorClient, DeleteTemplateCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
35
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
36
|
+
* const input = { // DeleteTemplateRequest
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteTemplateCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteTemplateCommandInput - {@link DeleteTemplateCommandInput}
|
|
46
|
+
* @returns {@link DeleteTemplateCommandOutput}
|
|
47
|
+
* @see {@link DeleteTemplateCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteTemplateCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>An internal error has occurred.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The resource is not available.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request was denied due to request throttling.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link MigrationHubOrchestratorServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from MigrationHubOrchestrator service.</p>
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class DeleteTemplateCommand extends DeleteTemplateCommand_base {
|
|
71
|
+
}
|
|
@@ -40,6 +40,7 @@ declare const GetTemplateCommand_base: {
|
|
|
40
40
|
* const response = await client.send(command);
|
|
41
41
|
* // { // GetMigrationWorkflowTemplateResponse
|
|
42
42
|
* // id: "STRING_VALUE",
|
|
43
|
+
* // templateArn: "STRING_VALUE",
|
|
43
44
|
* // name: "STRING_VALUE",
|
|
44
45
|
* // description: "STRING_VALUE",
|
|
45
46
|
* // inputs: [ // TemplateInputList
|
|
@@ -55,8 +56,14 @@ declare const GetTemplateCommand_base: {
|
|
|
55
56
|
* // url: "STRING_VALUE",
|
|
56
57
|
* // },
|
|
57
58
|
* // ],
|
|
58
|
-
* // status: "STRING_VALUE",
|
|
59
59
|
* // creationTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // owner: "STRING_VALUE",
|
|
61
|
+
* // status: "STRING_VALUE",
|
|
62
|
+
* // statusMessage: "STRING_VALUE",
|
|
63
|
+
* // templateClass: "STRING_VALUE",
|
|
64
|
+
* // tags: { // StringMap
|
|
65
|
+
* // "<keys>": "STRING_VALUE",
|
|
66
|
+
* // },
|
|
60
67
|
* // };
|
|
61
68
|
*
|
|
62
69
|
* ```
|
|
@@ -72,7 +72,7 @@ declare const GetWorkflowStepCommand_base: {
|
|
|
72
72
|
* // value: { // WorkflowStepOutputUnion Union: only one key present
|
|
73
73
|
* // integerValue: Number("int"),
|
|
74
74
|
* // stringValue: "STRING_VALUE",
|
|
75
|
-
* // listOfStringValue: [
|
|
75
|
+
* // listOfStringValue: [ // MaxStringList
|
|
76
76
|
* // "STRING_VALUE",
|
|
77
77
|
* // ],
|
|
78
78
|
* // },
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { UpdateTemplateRequest, UpdateTemplateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateTemplateCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateTemplateCommandInput extends UpdateTemplateRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateTemplateCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateTemplateCommand_base: {
|
|
24
|
+
new (input: UpdateTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTemplateCommandInput, UpdateTemplateCommandOutput, MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Updates a migration workflow template.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { MigrationHubOrchestratorClient, UpdateTemplateCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
34
|
+
* // const { MigrationHubOrchestratorClient, UpdateTemplateCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
35
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
36
|
+
* const input = { // UpdateTemplateRequest
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* templateName: "STRING_VALUE",
|
|
39
|
+
* templateDescription: "STRING_VALUE",
|
|
40
|
+
* clientToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateTemplateCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdateTemplateResponse
|
|
45
|
+
* // templateId: "STRING_VALUE",
|
|
46
|
+
* // templateArn: "STRING_VALUE",
|
|
47
|
+
* // tags: { // StringMap
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param UpdateTemplateCommandInput - {@link UpdateTemplateCommandInput}
|
|
55
|
+
* @returns {@link UpdateTemplateCommandOutput}
|
|
56
|
+
* @see {@link UpdateTemplateCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link UpdateTemplateCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>An internal error has occurred.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The resource is not available.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link MigrationHubOrchestratorServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from MigrationHubOrchestrator service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class UpdateTemplateCommand extends UpdateTemplateCommand_base {
|
|
80
|
+
}
|
|
@@ -64,7 +64,7 @@ declare const UpdateWorkflowStepCommand_base: {
|
|
|
64
64
|
* value: { // WorkflowStepOutputUnion Union: only one key present
|
|
65
65
|
* integerValue: Number("int"),
|
|
66
66
|
* stringValue: "STRING_VALUE",
|
|
67
|
-
* listOfStringValue: [
|
|
67
|
+
* listOfStringValue: [ // MaxStringList
|
|
68
68
|
* "STRING_VALUE",
|
|
69
69
|
* ],
|
|
70
70
|
* },
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export * from "./CreateTemplateCommand";
|
|
1
2
|
export * from "./CreateWorkflowCommand";
|
|
2
3
|
export * from "./CreateWorkflowStepCommand";
|
|
3
4
|
export * from "./CreateWorkflowStepGroupCommand";
|
|
5
|
+
export * from "./DeleteTemplateCommand";
|
|
4
6
|
export * from "./DeleteWorkflowCommand";
|
|
5
7
|
export * from "./DeleteWorkflowStepCommand";
|
|
6
8
|
export * from "./DeleteWorkflowStepGroupCommand";
|
|
@@ -23,6 +25,7 @@ export * from "./StartWorkflowCommand";
|
|
|
23
25
|
export * from "./StopWorkflowCommand";
|
|
24
26
|
export * from "./TagResourceCommand";
|
|
25
27
|
export * from "./UntagResourceCommand";
|
|
28
|
+
export * from "./UpdateTemplateCommand";
|
|
26
29
|
export * from "./UpdateWorkflowCommand";
|
|
27
30
|
export * from "./UpdateWorkflowStepCommand";
|
|
28
31
|
export * from "./UpdateWorkflowStepGroupCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
3
|
-
* actions and data types for AWS Migration Hub Orchestrator.
|
|
4
|
-
* request parameters and
|
|
3
|
+
* actions and data types for AWS Migration Hub Orchestrator. The topic for each action shows the API
|
|
4
|
+
* request parameters and responses. Alternatively, you can use one of the AWS SDKs to
|
|
5
5
|
* access an API that is tailored to the programming language or platform that you're
|
|
6
6
|
* using.</p>
|
|
7
7
|
*
|