@aws-sdk/client-imagebuilder 3.468.0 → 3.472.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 +56 -0
- package/dist-cjs/Imagebuilder.js +14 -0
- package/dist-cjs/commands/CreateWorkflowCommand.js +51 -0
- package/dist-cjs/commands/DeleteWorkflowCommand.js +51 -0
- package/dist-cjs/commands/GetWorkflowCommand.js +51 -0
- package/dist-cjs/commands/ListWaitingWorkflowStepsCommand.js +51 -0
- package/dist-cjs/commands/ListWorkflowBuildVersionsCommand.js +51 -0
- package/dist-cjs/commands/ListWorkflowsCommand.js +51 -0
- package/dist-cjs/commands/SendWorkflowStepActionCommand.js +51 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +19 -6
- package/dist-cjs/pagination/ListWaitingWorkflowStepsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowBuildVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +565 -3
- package/dist-es/Imagebuilder.js +14 -0
- package/dist-es/commands/CreateWorkflowCommand.js +47 -0
- package/dist-es/commands/DeleteWorkflowCommand.js +47 -0
- package/dist-es/commands/GetWorkflowCommand.js +47 -0
- package/dist-es/commands/ListWaitingWorkflowStepsCommand.js +47 -0
- package/dist-es/commands/ListWorkflowBuildVersionsCommand.js +47 -0
- package/dist-es/commands/ListWorkflowsCommand.js +47 -0
- package/dist-es/commands/SendWorkflowStepActionCommand.js +47 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +18 -5
- package/dist-es/pagination/ListWaitingWorkflowStepsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowBuildVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +548 -0
- package/dist-types/Imagebuilder.d.ts +49 -0
- package/dist-types/ImagebuilderClient.d.ts +9 -2
- package/dist-types/commands/CreateImageCommand.d.ts +16 -0
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +16 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +126 -0
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +98 -0
- package/dist-types/commands/GetImageCommand.d.ts +16 -0
- package/dist-types/commands/GetImagePipelineCommand.d.ts +16 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +122 -0
- package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +2 -1
- package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +16 -0
- package/dist-types/commands/ListWaitingWorkflowStepsCommand.d.ts +110 -0
- package/dist-types/commands/ListWorkflowBuildVersionsCommand.d.ts +118 -0
- package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +2 -2
- package/dist-types/commands/ListWorkflowsCommand.d.ts +119 -0
- package/dist-types/commands/SendWorkflowStepActionCommand.d.ts +115 -0
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +18 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +786 -61
- package/dist-types/pagination/ListWaitingWorkflowStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowBuildVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +119 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListWaitingWorkflowStepsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWorkflowBuildVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SendWorkflowStepActionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +170 -6
- package/dist-types/ts3.4/pagination/ListWaitingWorkflowStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowBuildVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +13 -13
|
@@ -9,6 +9,7 @@ import { CreateImagePipelineCommandInput, CreateImagePipelineCommandOutput } fro
|
|
|
9
9
|
import { CreateImageRecipeCommandInput, CreateImageRecipeCommandOutput } from "./commands/CreateImageRecipeCommand";
|
|
10
10
|
import { CreateInfrastructureConfigurationCommandInput, CreateInfrastructureConfigurationCommandOutput } from "./commands/CreateInfrastructureConfigurationCommand";
|
|
11
11
|
import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
|
|
12
|
+
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
12
13
|
import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
|
|
13
14
|
import { DeleteContainerRecipeCommandInput, DeleteContainerRecipeCommandOutput } from "./commands/DeleteContainerRecipeCommand";
|
|
14
15
|
import { DeleteDistributionConfigurationCommandInput, DeleteDistributionConfigurationCommandOutput } from "./commands/DeleteDistributionConfigurationCommand";
|
|
@@ -17,6 +18,7 @@ import { DeleteImagePipelineCommandInput, DeleteImagePipelineCommandOutput } fro
|
|
|
17
18
|
import { DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput } from "./commands/DeleteImageRecipeCommand";
|
|
18
19
|
import { DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput } from "./commands/DeleteInfrastructureConfigurationCommand";
|
|
19
20
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
21
|
+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
20
22
|
import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
|
|
21
23
|
import { GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput } from "./commands/GetComponentPolicyCommand";
|
|
22
24
|
import { GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput } from "./commands/GetContainerRecipeCommand";
|
|
@@ -30,6 +32,7 @@ import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } f
|
|
|
30
32
|
import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
|
|
31
33
|
import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "./commands/GetLifecycleExecutionCommand";
|
|
32
34
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
35
|
+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
33
36
|
import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
|
|
34
37
|
import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
|
|
35
38
|
import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
|
|
@@ -51,12 +54,16 @@ import { ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionReso
|
|
|
51
54
|
import { ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput } from "./commands/ListLifecycleExecutionsCommand";
|
|
52
55
|
import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
|
|
53
56
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
57
|
+
import { ListWaitingWorkflowStepsCommandInput, ListWaitingWorkflowStepsCommandOutput } from "./commands/ListWaitingWorkflowStepsCommand";
|
|
58
|
+
import { ListWorkflowBuildVersionsCommandInput, ListWorkflowBuildVersionsCommandOutput } from "./commands/ListWorkflowBuildVersionsCommand";
|
|
54
59
|
import { ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput } from "./commands/ListWorkflowExecutionsCommand";
|
|
60
|
+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
|
|
55
61
|
import { ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput } from "./commands/ListWorkflowStepExecutionsCommand";
|
|
56
62
|
import { PutComponentPolicyCommandInput, PutComponentPolicyCommandOutput } from "./commands/PutComponentPolicyCommand";
|
|
57
63
|
import { PutContainerRecipePolicyCommandInput, PutContainerRecipePolicyCommandOutput } from "./commands/PutContainerRecipePolicyCommand";
|
|
58
64
|
import { PutImagePolicyCommandInput, PutImagePolicyCommandOutput } from "./commands/PutImagePolicyCommand";
|
|
59
65
|
import { PutImageRecipePolicyCommandInput, PutImageRecipePolicyCommandOutput } from "./commands/PutImageRecipePolicyCommand";
|
|
66
|
+
import { SendWorkflowStepActionCommandInput, SendWorkflowStepActionCommandOutput } from "./commands/SendWorkflowStepActionCommand";
|
|
60
67
|
import { StartImagePipelineExecutionCommandInput, StartImagePipelineExecutionCommandOutput } from "./commands/StartImagePipelineExecutionCommand";
|
|
61
68
|
import { StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput } from "./commands/StartResourceStateUpdateCommand";
|
|
62
69
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -127,6 +134,12 @@ export interface Imagebuilder {
|
|
|
127
134
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLifecyclePolicyCommandOutput>;
|
|
128
135
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
129
136
|
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link CreateWorkflowCommand}
|
|
139
|
+
*/
|
|
140
|
+
createWorkflow(args: CreateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowCommandOutput>;
|
|
141
|
+
createWorkflow(args: CreateWorkflowCommandInput, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
142
|
+
createWorkflow(args: CreateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
130
143
|
/**
|
|
131
144
|
* @see {@link DeleteComponentCommand}
|
|
132
145
|
*/
|
|
@@ -175,6 +188,12 @@ export interface Imagebuilder {
|
|
|
175
188
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
176
189
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
177
190
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link DeleteWorkflowCommand}
|
|
193
|
+
*/
|
|
194
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowCommandOutput>;
|
|
195
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
196
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
178
197
|
/**
|
|
179
198
|
* @see {@link GetComponentCommand}
|
|
180
199
|
*/
|
|
@@ -253,6 +272,12 @@ export interface Imagebuilder {
|
|
|
253
272
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
254
273
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
255
274
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
275
|
+
/**
|
|
276
|
+
* @see {@link GetWorkflowCommand}
|
|
277
|
+
*/
|
|
278
|
+
getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
|
|
279
|
+
getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
280
|
+
getWorkflow(args: GetWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
256
281
|
/**
|
|
257
282
|
* @see {@link GetWorkflowExecutionCommand}
|
|
258
283
|
*/
|
|
@@ -379,12 +404,30 @@ export interface Imagebuilder {
|
|
|
379
404
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
380
405
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
381
406
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
407
|
+
/**
|
|
408
|
+
* @see {@link ListWaitingWorkflowStepsCommand}
|
|
409
|
+
*/
|
|
410
|
+
listWaitingWorkflowSteps(args: ListWaitingWorkflowStepsCommandInput, options?: __HttpHandlerOptions): Promise<ListWaitingWorkflowStepsCommandOutput>;
|
|
411
|
+
listWaitingWorkflowSteps(args: ListWaitingWorkflowStepsCommandInput, cb: (err: any, data?: ListWaitingWorkflowStepsCommandOutput) => void): void;
|
|
412
|
+
listWaitingWorkflowSteps(args: ListWaitingWorkflowStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWaitingWorkflowStepsCommandOutput) => void): void;
|
|
413
|
+
/**
|
|
414
|
+
* @see {@link ListWorkflowBuildVersionsCommand}
|
|
415
|
+
*/
|
|
416
|
+
listWorkflowBuildVersions(args: ListWorkflowBuildVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowBuildVersionsCommandOutput>;
|
|
417
|
+
listWorkflowBuildVersions(args: ListWorkflowBuildVersionsCommandInput, cb: (err: any, data?: ListWorkflowBuildVersionsCommandOutput) => void): void;
|
|
418
|
+
listWorkflowBuildVersions(args: ListWorkflowBuildVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowBuildVersionsCommandOutput) => void): void;
|
|
382
419
|
/**
|
|
383
420
|
* @see {@link ListWorkflowExecutionsCommand}
|
|
384
421
|
*/
|
|
385
422
|
listWorkflowExecutions(args: ListWorkflowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowExecutionsCommandOutput>;
|
|
386
423
|
listWorkflowExecutions(args: ListWorkflowExecutionsCommandInput, cb: (err: any, data?: ListWorkflowExecutionsCommandOutput) => void): void;
|
|
387
424
|
listWorkflowExecutions(args: ListWorkflowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowExecutionsCommandOutput) => void): void;
|
|
425
|
+
/**
|
|
426
|
+
* @see {@link ListWorkflowsCommand}
|
|
427
|
+
*/
|
|
428
|
+
listWorkflows(args: ListWorkflowsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowsCommandOutput>;
|
|
429
|
+
listWorkflows(args: ListWorkflowsCommandInput, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
430
|
+
listWorkflows(args: ListWorkflowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
388
431
|
/**
|
|
389
432
|
* @see {@link ListWorkflowStepExecutionsCommand}
|
|
390
433
|
*/
|
|
@@ -415,6 +458,12 @@ export interface Imagebuilder {
|
|
|
415
458
|
putImageRecipePolicy(args: PutImageRecipePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutImageRecipePolicyCommandOutput>;
|
|
416
459
|
putImageRecipePolicy(args: PutImageRecipePolicyCommandInput, cb: (err: any, data?: PutImageRecipePolicyCommandOutput) => void): void;
|
|
417
460
|
putImageRecipePolicy(args: PutImageRecipePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageRecipePolicyCommandOutput) => void): void;
|
|
461
|
+
/**
|
|
462
|
+
* @see {@link SendWorkflowStepActionCommand}
|
|
463
|
+
*/
|
|
464
|
+
sendWorkflowStepAction(args: SendWorkflowStepActionCommandInput, options?: __HttpHandlerOptions): Promise<SendWorkflowStepActionCommandOutput>;
|
|
465
|
+
sendWorkflowStepAction(args: SendWorkflowStepActionCommandInput, cb: (err: any, data?: SendWorkflowStepActionCommandOutput) => void): void;
|
|
466
|
+
sendWorkflowStepAction(args: SendWorkflowStepActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendWorkflowStepActionCommandOutput) => void): void;
|
|
418
467
|
/**
|
|
419
468
|
* @see {@link StartImagePipelineExecutionCommand}
|
|
420
469
|
*/
|
|
@@ -18,6 +18,7 @@ import { CreateImagePipelineCommandInput, CreateImagePipelineCommandOutput } fro
|
|
|
18
18
|
import { CreateImageRecipeCommandInput, CreateImageRecipeCommandOutput } from "./commands/CreateImageRecipeCommand";
|
|
19
19
|
import { CreateInfrastructureConfigurationCommandInput, CreateInfrastructureConfigurationCommandOutput } from "./commands/CreateInfrastructureConfigurationCommand";
|
|
20
20
|
import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
|
|
21
|
+
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
21
22
|
import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
|
|
22
23
|
import { DeleteContainerRecipeCommandInput, DeleteContainerRecipeCommandOutput } from "./commands/DeleteContainerRecipeCommand";
|
|
23
24
|
import { DeleteDistributionConfigurationCommandInput, DeleteDistributionConfigurationCommandOutput } from "./commands/DeleteDistributionConfigurationCommand";
|
|
@@ -26,6 +27,7 @@ import { DeleteImagePipelineCommandInput, DeleteImagePipelineCommandOutput } fro
|
|
|
26
27
|
import { DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput } from "./commands/DeleteImageRecipeCommand";
|
|
27
28
|
import { DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput } from "./commands/DeleteInfrastructureConfigurationCommand";
|
|
28
29
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
30
|
+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
29
31
|
import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
|
|
30
32
|
import { GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput } from "./commands/GetComponentPolicyCommand";
|
|
31
33
|
import { GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput } from "./commands/GetContainerRecipeCommand";
|
|
@@ -39,6 +41,7 @@ import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } f
|
|
|
39
41
|
import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
|
|
40
42
|
import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "./commands/GetLifecycleExecutionCommand";
|
|
41
43
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
44
|
+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
42
45
|
import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
|
|
43
46
|
import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
|
|
44
47
|
import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
|
|
@@ -60,12 +63,16 @@ import { ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionReso
|
|
|
60
63
|
import { ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput } from "./commands/ListLifecycleExecutionsCommand";
|
|
61
64
|
import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
|
|
62
65
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
66
|
+
import { ListWaitingWorkflowStepsCommandInput, ListWaitingWorkflowStepsCommandOutput } from "./commands/ListWaitingWorkflowStepsCommand";
|
|
67
|
+
import { ListWorkflowBuildVersionsCommandInput, ListWorkflowBuildVersionsCommandOutput } from "./commands/ListWorkflowBuildVersionsCommand";
|
|
63
68
|
import { ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput } from "./commands/ListWorkflowExecutionsCommand";
|
|
69
|
+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
|
|
64
70
|
import { ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput } from "./commands/ListWorkflowStepExecutionsCommand";
|
|
65
71
|
import { PutComponentPolicyCommandInput, PutComponentPolicyCommandOutput } from "./commands/PutComponentPolicyCommand";
|
|
66
72
|
import { PutContainerRecipePolicyCommandInput, PutContainerRecipePolicyCommandOutput } from "./commands/PutContainerRecipePolicyCommand";
|
|
67
73
|
import { PutImagePolicyCommandInput, PutImagePolicyCommandOutput } from "./commands/PutImagePolicyCommand";
|
|
68
74
|
import { PutImageRecipePolicyCommandInput, PutImageRecipePolicyCommandOutput } from "./commands/PutImageRecipePolicyCommand";
|
|
75
|
+
import { SendWorkflowStepActionCommandInput, SendWorkflowStepActionCommandOutput } from "./commands/SendWorkflowStepActionCommand";
|
|
69
76
|
import { StartImagePipelineExecutionCommandInput, StartImagePipelineExecutionCommandOutput } from "./commands/StartImagePipelineExecutionCommand";
|
|
70
77
|
import { StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput } from "./commands/StartResourceStateUpdateCommand";
|
|
71
78
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -80,11 +87,11 @@ export { __Client };
|
|
|
80
87
|
/**
|
|
81
88
|
* @public
|
|
82
89
|
*/
|
|
83
|
-
export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
|
|
90
|
+
export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | CreateWorkflowCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | DeleteWorkflowCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetWorkflowCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWaitingWorkflowStepsCommandInput | ListWorkflowBuildVersionsCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | ListWorkflowsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | SendWorkflowStepActionCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
|
|
84
91
|
/**
|
|
85
92
|
* @public
|
|
86
93
|
*/
|
|
87
|
-
export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
|
|
94
|
+
export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | CreateWorkflowCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteWorkflowCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetWorkflowCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWaitingWorkflowStepsCommandOutput | ListWorkflowBuildVersionsCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | ListWorkflowsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | SendWorkflowStepActionCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
|
|
88
95
|
/**
|
|
89
96
|
* @public
|
|
90
97
|
*/
|
|
@@ -56,6 +56,22 @@ export interface CreateImageCommandOutput extends CreateImageResponse, __Metadat
|
|
|
56
56
|
* ],
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
|
+
* workflows: [ // WorkflowConfigurationList
|
|
60
|
+
* { // WorkflowConfiguration
|
|
61
|
+
* workflowArn: "STRING_VALUE", // required
|
|
62
|
+
* parameters: [ // WorkflowParameterList
|
|
63
|
+
* { // WorkflowParameter
|
|
64
|
+
* name: "STRING_VALUE", // required
|
|
65
|
+
* value: [ // WorkflowParameterValueList // required
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* parallelGroup: "STRING_VALUE",
|
|
71
|
+
* onFailure: "CONTINUE" || "ABORT",
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* executionRole: "STRING_VALUE",
|
|
59
75
|
* };
|
|
60
76
|
* const command = new CreateImageCommand(input);
|
|
61
77
|
* const response = await client.send(command);
|
|
@@ -62,6 +62,22 @@ export interface CreateImagePipelineCommandOutput extends CreateImagePipelineRes
|
|
|
62
62
|
* ],
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
|
+
* workflows: [ // WorkflowConfigurationList
|
|
66
|
+
* { // WorkflowConfiguration
|
|
67
|
+
* workflowArn: "STRING_VALUE", // required
|
|
68
|
+
* parameters: [ // WorkflowParameterList
|
|
69
|
+
* { // WorkflowParameter
|
|
70
|
+
* name: "STRING_VALUE", // required
|
|
71
|
+
* value: [ // WorkflowParameterValueList // required
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* parallelGroup: "STRING_VALUE",
|
|
77
|
+
* onFailure: "CONTINUE" || "ABORT",
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* executionRole: "STRING_VALUE",
|
|
65
81
|
* };
|
|
66
82
|
* const command = new CreateImagePipelineCommand(input);
|
|
67
83
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
5
|
+
import { CreateWorkflowRequest, CreateWorkflowResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWorkflowCommandInput extends CreateWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWorkflowCommandOutput extends CreateWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Create a new workflow or a new version of an existing workflow.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ImagebuilderClient, CreateWorkflowCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
31
|
+
* // const { ImagebuilderClient, CreateWorkflowCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
32
|
+
* const client = new ImagebuilderClient(config);
|
|
33
|
+
* const input = { // CreateWorkflowRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* semanticVersion: "STRING_VALUE", // required
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* changeDescription: "STRING_VALUE",
|
|
38
|
+
* data: "STRING_VALUE",
|
|
39
|
+
* uri: "STRING_VALUE",
|
|
40
|
+
* kmsKeyId: "STRING_VALUE",
|
|
41
|
+
* tags: { // TagMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* clientToken: "STRING_VALUE", // required
|
|
45
|
+
* type: "BUILD" || "TEST" || "DISTRIBUTION", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new CreateWorkflowCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // CreateWorkflowResponse
|
|
50
|
+
* // clientToken: "STRING_VALUE",
|
|
51
|
+
* // workflowBuildVersionArn: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateWorkflowCommandInput - {@link CreateWorkflowCommandInput}
|
|
57
|
+
* @returns {@link CreateWorkflowCommandOutput}
|
|
58
|
+
* @see {@link CreateWorkflowCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateWorkflowCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
63
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ClientException} (client fault)
|
|
66
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
67
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
68
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
71
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
74
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
75
|
+
* from a previous request that used the same client token.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
78
|
+
* <p>You have specified two or more mutually exclusive parameters. Review the error message
|
|
79
|
+
* for details.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
82
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidVersionNumberException} (client fault)
|
|
85
|
+
* <p>Your version number is out of bounds or does not follow the required syntax.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
88
|
+
* <p>The resource that you are trying to operate on is currently in use. Review the message
|
|
89
|
+
* details and retry later.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ServiceException} (server fault)
|
|
92
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
93
|
+
* exception.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
96
|
+
* <p>You have exceeded the number of permitted resources or operations for this service.
|
|
97
|
+
* For service quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder">EC2 Image Builder endpoints and
|
|
98
|
+
* quotas</a>.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
101
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ImagebuilderServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from Imagebuilder service.</p>
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
export declare class CreateWorkflowCommand extends $Command<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, ImagebuilderClientResolvedConfig> {
|
|
108
|
+
readonly input: CreateWorkflowCommandInput;
|
|
109
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
constructor(input: CreateWorkflowCommandInput);
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkflowCommandInput, CreateWorkflowCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private serialize;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
private deserialize;
|
|
126
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
5
|
+
import { DeleteWorkflowRequest, DeleteWorkflowResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteWorkflowCommandInput extends DeleteWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWorkflowCommandOutput extends DeleteWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a specific workflow resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ImagebuilderClient, DeleteWorkflowCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
31
|
+
* // const { ImagebuilderClient, DeleteWorkflowCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
32
|
+
* const client = new ImagebuilderClient(config);
|
|
33
|
+
* const input = { // DeleteWorkflowRequest
|
|
34
|
+
* workflowBuildVersionArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteWorkflowCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DeleteWorkflowResponse
|
|
39
|
+
* // workflowBuildVersionArn: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeleteWorkflowCommandInput - {@link DeleteWorkflowCommandInput}
|
|
45
|
+
* @returns {@link DeleteWorkflowCommandOutput}
|
|
46
|
+
* @see {@link DeleteWorkflowCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeleteWorkflowCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
51
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ClientException} (client fault)
|
|
54
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
55
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
56
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
59
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
62
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceDependencyException} (client fault)
|
|
65
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
66
|
+
* this action. See the error message for more details.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceException} (server fault)
|
|
69
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
70
|
+
* exception.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
73
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ImagebuilderServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Imagebuilder service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class DeleteWorkflowCommand extends $Command<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, ImagebuilderClientResolvedConfig> {
|
|
80
|
+
readonly input: DeleteWorkflowCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: DeleteWorkflowCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -315,6 +315,22 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
|
|
|
315
315
|
* // },
|
|
316
316
|
* // deprecationTime: new Date("TIMESTAMP"),
|
|
317
317
|
* // lifecycleExecutionId: "STRING_VALUE",
|
|
318
|
+
* // executionRole: "STRING_VALUE",
|
|
319
|
+
* // workflows: [ // WorkflowConfigurationList
|
|
320
|
+
* // { // WorkflowConfiguration
|
|
321
|
+
* // workflowArn: "STRING_VALUE", // required
|
|
322
|
+
* // parameters: [ // WorkflowParameterList
|
|
323
|
+
* // { // WorkflowParameter
|
|
324
|
+
* // name: "STRING_VALUE", // required
|
|
325
|
+
* // value: [ // WorkflowParameterValueList // required
|
|
326
|
+
* // "STRING_VALUE",
|
|
327
|
+
* // ],
|
|
328
|
+
* // },
|
|
329
|
+
* // ],
|
|
330
|
+
* // parallelGroup: "STRING_VALUE",
|
|
331
|
+
* // onFailure: "CONTINUE" || "ABORT",
|
|
332
|
+
* // },
|
|
333
|
+
* // ],
|
|
318
334
|
* // },
|
|
319
335
|
* // };
|
|
320
336
|
*
|
|
@@ -73,6 +73,22 @@ export interface GetImagePipelineCommandOutput extends GetImagePipelineResponse,
|
|
|
73
73
|
* // ],
|
|
74
74
|
* // },
|
|
75
75
|
* // },
|
|
76
|
+
* // executionRole: "STRING_VALUE",
|
|
77
|
+
* // workflows: [ // WorkflowConfigurationList
|
|
78
|
+
* // { // WorkflowConfiguration
|
|
79
|
+
* // workflowArn: "STRING_VALUE", // required
|
|
80
|
+
* // parameters: [ // WorkflowParameterList
|
|
81
|
+
* // { // WorkflowParameter
|
|
82
|
+
* // name: "STRING_VALUE", // required
|
|
83
|
+
* // value: [ // WorkflowParameterValueList // required
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // parallelGroup: "STRING_VALUE",
|
|
89
|
+
* // onFailure: "CONTINUE" || "ABORT",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
76
92
|
* // },
|
|
77
93
|
* // };
|
|
78
94
|
*
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
5
|
+
import { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWorkflowCommandInput extends GetWorkflowRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get a workflow resource object.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ImagebuilderClient, GetWorkflowCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
31
|
+
* // const { ImagebuilderClient, GetWorkflowCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
32
|
+
* const client = new ImagebuilderClient(config);
|
|
33
|
+
* const input = { // GetWorkflowRequest
|
|
34
|
+
* workflowBuildVersionArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetWorkflowCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // GetWorkflowResponse
|
|
39
|
+
* // workflow: { // Workflow
|
|
40
|
+
* // arn: "STRING_VALUE",
|
|
41
|
+
* // name: "STRING_VALUE",
|
|
42
|
+
* // version: "STRING_VALUE",
|
|
43
|
+
* // description: "STRING_VALUE",
|
|
44
|
+
* // changeDescription: "STRING_VALUE",
|
|
45
|
+
* // type: "BUILD" || "TEST" || "DISTRIBUTION",
|
|
46
|
+
* // state: { // WorkflowState
|
|
47
|
+
* // status: "DEPRECATED",
|
|
48
|
+
* // reason: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // owner: "STRING_VALUE",
|
|
51
|
+
* // data: "STRING_VALUE",
|
|
52
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
53
|
+
* // dateCreated: "STRING_VALUE",
|
|
54
|
+
* // tags: { // TagMap
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // parameters: [ // WorkflowParameterDetailList
|
|
58
|
+
* // { // WorkflowParameterDetail
|
|
59
|
+
* // name: "STRING_VALUE", // required
|
|
60
|
+
* // type: "STRING_VALUE", // required
|
|
61
|
+
* // defaultValue: [ // WorkflowParameterValueList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // description: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param GetWorkflowCommandInput - {@link GetWorkflowCommandInput}
|
|
73
|
+
* @returns {@link GetWorkflowCommandOutput}
|
|
74
|
+
* @see {@link GetWorkflowCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link GetWorkflowCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
79
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ClientException} (client fault)
|
|
82
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
83
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
84
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
87
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
90
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceException} (server fault)
|
|
93
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
94
|
+
* exception.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
97
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ImagebuilderServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from Imagebuilder service.</p>
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
export declare class GetWorkflowCommand extends $Command<GetWorkflowCommandInput, GetWorkflowCommandOutput, ImagebuilderClientResolvedConfig> {
|
|
104
|
+
readonly input: GetWorkflowCommandInput;
|
|
105
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
constructor(input: GetWorkflowCommandInput);
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowCommandInput, GetWorkflowCommandOutput>;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
private serialize;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private deserialize;
|
|
122
|
+
}
|