@aws-sdk/client-imagebuilder 3.470.0 → 3.473.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/Imagebuilder.js +14 -0
  3. package/dist-cjs/commands/CreateWorkflowCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteWorkflowCommand.js +51 -0
  5. package/dist-cjs/commands/GetWorkflowCommand.js +51 -0
  6. package/dist-cjs/commands/ListWaitingWorkflowStepsCommand.js +51 -0
  7. package/dist-cjs/commands/ListWorkflowBuildVersionsCommand.js +51 -0
  8. package/dist-cjs/commands/ListWorkflowsCommand.js +51 -0
  9. package/dist-cjs/commands/SendWorkflowStepActionCommand.js +51 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +19 -6
  12. package/dist-cjs/pagination/ListWaitingWorkflowStepsPaginator.js +29 -0
  13. package/dist-cjs/pagination/ListWorkflowBuildVersionsPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +3 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +565 -3
  17. package/dist-es/Imagebuilder.js +14 -0
  18. package/dist-es/commands/CreateWorkflowCommand.js +47 -0
  19. package/dist-es/commands/DeleteWorkflowCommand.js +47 -0
  20. package/dist-es/commands/GetWorkflowCommand.js +47 -0
  21. package/dist-es/commands/ListWaitingWorkflowStepsCommand.js +47 -0
  22. package/dist-es/commands/ListWorkflowBuildVersionsCommand.js +47 -0
  23. package/dist-es/commands/ListWorkflowsCommand.js +47 -0
  24. package/dist-es/commands/SendWorkflowStepActionCommand.js +47 -0
  25. package/dist-es/commands/index.js +7 -0
  26. package/dist-es/models/models_0.js +18 -5
  27. package/dist-es/pagination/ListWaitingWorkflowStepsPaginator.js +25 -0
  28. package/dist-es/pagination/ListWorkflowBuildVersionsPaginator.js +25 -0
  29. package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +3 -0
  31. package/dist-es/protocols/Aws_restJson1.js +548 -0
  32. package/dist-types/Imagebuilder.d.ts +49 -0
  33. package/dist-types/ImagebuilderClient.d.ts +9 -2
  34. package/dist-types/commands/CreateImageCommand.d.ts +16 -0
  35. package/dist-types/commands/CreateImagePipelineCommand.d.ts +16 -0
  36. package/dist-types/commands/CreateWorkflowCommand.d.ts +126 -0
  37. package/dist-types/commands/DeleteWorkflowCommand.d.ts +98 -0
  38. package/dist-types/commands/GetImageCommand.d.ts +16 -0
  39. package/dist-types/commands/GetImagePipelineCommand.d.ts +16 -0
  40. package/dist-types/commands/GetWorkflowCommand.d.ts +122 -0
  41. package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +2 -1
  42. package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +1 -1
  43. package/dist-types/commands/ListImagePipelinesCommand.d.ts +16 -0
  44. package/dist-types/commands/ListWaitingWorkflowStepsCommand.d.ts +110 -0
  45. package/dist-types/commands/ListWorkflowBuildVersionsCommand.d.ts +118 -0
  46. package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +2 -1
  47. package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +2 -2
  48. package/dist-types/commands/ListWorkflowsCommand.d.ts +119 -0
  49. package/dist-types/commands/SendWorkflowStepActionCommand.d.ts +115 -0
  50. package/dist-types/commands/UpdateImagePipelineCommand.d.ts +18 -1
  51. package/dist-types/commands/index.d.ts +7 -0
  52. package/dist-types/models/models_0.d.ts +786 -61
  53. package/dist-types/pagination/ListWaitingWorkflowStepsPaginator.d.ts +7 -0
  54. package/dist-types/pagination/ListWorkflowBuildVersionsPaginator.d.ts +7 -0
  55. package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
  56. package/dist-types/pagination/index.d.ts +3 -0
  57. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  58. package/dist-types/ts3.4/Imagebuilder.d.ts +119 -0
  59. package/dist-types/ts3.4/ImagebuilderClient.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
  63. package/dist-types/ts3.4/commands/ListWaitingWorkflowStepsCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/ListWorkflowBuildVersionsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/SendWorkflowStepActionCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +170 -6
  69. package/dist-types/ts3.4/pagination/ListWaitingWorkflowStepsPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/ListWorkflowBuildVersionsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  74. package/package.json +2 -2
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListWaitingWorkflowStepsCommandInput, ListWaitingWorkflowStepsCommandOutput } from "../commands/ListWaitingWorkflowStepsCommand";
3
+ import { ImagebuilderPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListWaitingWorkflowSteps(config: ImagebuilderPaginationConfiguration, input: ListWaitingWorkflowStepsCommandInput, ...additionalArguments: any): Paginator<ListWaitingWorkflowStepsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListWorkflowBuildVersionsCommandInput, ListWorkflowBuildVersionsCommandOutput } from "../commands/ListWorkflowBuildVersionsCommand";
3
+ import { ImagebuilderPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListWorkflowBuildVersions(config: ImagebuilderPaginationConfiguration, input: ListWorkflowBuildVersionsCommandInput, ...additionalArguments: any): Paginator<ListWorkflowBuildVersionsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "../commands/ListWorkflowsCommand";
3
+ import { ImagebuilderPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListWorkflows(config: ImagebuilderPaginationConfiguration, input: ListWorkflowsCommandInput, ...additionalArguments: any): Paginator<ListWorkflowsCommandOutput>;
@@ -15,5 +15,8 @@ export * from "./ListInfrastructureConfigurationsPaginator";
15
15
  export * from "./ListLifecycleExecutionResourcesPaginator";
16
16
  export * from "./ListLifecycleExecutionsPaginator";
17
17
  export * from "./ListLifecyclePoliciesPaginator";
18
+ export * from "./ListWaitingWorkflowStepsPaginator";
19
+ export * from "./ListWorkflowBuildVersionsPaginator";
18
20
  export * from "./ListWorkflowExecutionsPaginator";
19
21
  export * from "./ListWorkflowStepExecutionsPaginator";
22
+ export * from "./ListWorkflowsPaginator";
@@ -10,6 +10,7 @@ import { CreateImagePipelineCommandInput, CreateImagePipelineCommandOutput } fro
10
10
  import { CreateImageRecipeCommandInput, CreateImageRecipeCommandOutput } from "../commands/CreateImageRecipeCommand";
11
11
  import { CreateInfrastructureConfigurationCommandInput, CreateInfrastructureConfigurationCommandOutput } from "../commands/CreateInfrastructureConfigurationCommand";
12
12
  import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "../commands/CreateLifecyclePolicyCommand";
13
+ import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "../commands/CreateWorkflowCommand";
13
14
  import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "../commands/DeleteComponentCommand";
14
15
  import { DeleteContainerRecipeCommandInput, DeleteContainerRecipeCommandOutput } from "../commands/DeleteContainerRecipeCommand";
15
16
  import { DeleteDistributionConfigurationCommandInput, DeleteDistributionConfigurationCommandOutput } from "../commands/DeleteDistributionConfigurationCommand";
@@ -18,6 +19,7 @@ import { DeleteImagePipelineCommandInput, DeleteImagePipelineCommandOutput } fro
18
19
  import { DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput } from "../commands/DeleteImageRecipeCommand";
19
20
  import { DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput } from "../commands/DeleteInfrastructureConfigurationCommand";
20
21
  import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "../commands/DeleteLifecyclePolicyCommand";
22
+ import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "../commands/DeleteWorkflowCommand";
21
23
  import { GetComponentCommandInput, GetComponentCommandOutput } from "../commands/GetComponentCommand";
22
24
  import { GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput } from "../commands/GetComponentPolicyCommand";
23
25
  import { GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput } from "../commands/GetContainerRecipeCommand";
@@ -31,6 +33,7 @@ import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } f
31
33
  import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "../commands/GetInfrastructureConfigurationCommand";
32
34
  import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "../commands/GetLifecycleExecutionCommand";
33
35
  import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "../commands/GetLifecyclePolicyCommand";
36
+ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "../commands/GetWorkflowCommand";
34
37
  import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "../commands/GetWorkflowExecutionCommand";
35
38
  import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "../commands/GetWorkflowStepExecutionCommand";
36
39
  import { ImportComponentCommandInput, ImportComponentCommandOutput } from "../commands/ImportComponentCommand";
@@ -52,12 +55,16 @@ import { ListLifecycleExecutionResourcesCommandInput, ListLifecycleExecutionReso
52
55
  import { ListLifecycleExecutionsCommandInput, ListLifecycleExecutionsCommandOutput } from "../commands/ListLifecycleExecutionsCommand";
53
56
  import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "../commands/ListLifecyclePoliciesCommand";
54
57
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
58
+ import { ListWaitingWorkflowStepsCommandInput, ListWaitingWorkflowStepsCommandOutput } from "../commands/ListWaitingWorkflowStepsCommand";
59
+ import { ListWorkflowBuildVersionsCommandInput, ListWorkflowBuildVersionsCommandOutput } from "../commands/ListWorkflowBuildVersionsCommand";
55
60
  import { ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput } from "../commands/ListWorkflowExecutionsCommand";
61
+ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "../commands/ListWorkflowsCommand";
56
62
  import { ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput } from "../commands/ListWorkflowStepExecutionsCommand";
57
63
  import { PutComponentPolicyCommandInput, PutComponentPolicyCommandOutput } from "../commands/PutComponentPolicyCommand";
58
64
  import { PutContainerRecipePolicyCommandInput, PutContainerRecipePolicyCommandOutput } from "../commands/PutContainerRecipePolicyCommand";
59
65
  import { PutImagePolicyCommandInput, PutImagePolicyCommandOutput } from "../commands/PutImagePolicyCommand";
60
66
  import { PutImageRecipePolicyCommandInput, PutImageRecipePolicyCommandOutput } from "../commands/PutImageRecipePolicyCommand";
67
+ import { SendWorkflowStepActionCommandInput, SendWorkflowStepActionCommandOutput } from "../commands/SendWorkflowStepActionCommand";
61
68
  import { StartImagePipelineExecutionCommandInput, StartImagePipelineExecutionCommandOutput } from "../commands/StartImagePipelineExecutionCommand";
62
69
  import { StartResourceStateUpdateCommandInput, StartResourceStateUpdateCommandOutput } from "../commands/StartResourceStateUpdateCommand";
63
70
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -106,6 +113,10 @@ export declare const se_CreateInfrastructureConfigurationCommand: (input: Create
106
113
  * serializeAws_restJson1CreateLifecyclePolicyCommand
107
114
  */
108
115
  export declare const se_CreateLifecyclePolicyCommand: (input: CreateLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
+ /**
117
+ * serializeAws_restJson1CreateWorkflowCommand
118
+ */
119
+ export declare const se_CreateWorkflowCommand: (input: CreateWorkflowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
120
  /**
110
121
  * serializeAws_restJson1DeleteComponentCommand
111
122
  */
@@ -138,6 +149,10 @@ export declare const se_DeleteInfrastructureConfigurationCommand: (input: Delete
138
149
  * serializeAws_restJson1DeleteLifecyclePolicyCommand
139
150
  */
140
151
  export declare const se_DeleteLifecyclePolicyCommand: (input: DeleteLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
152
+ /**
153
+ * serializeAws_restJson1DeleteWorkflowCommand
154
+ */
155
+ export declare const se_DeleteWorkflowCommand: (input: DeleteWorkflowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
141
156
  /**
142
157
  * serializeAws_restJson1GetComponentCommand
143
158
  */
@@ -190,6 +205,10 @@ export declare const se_GetLifecycleExecutionCommand: (input: GetLifecycleExecut
190
205
  * serializeAws_restJson1GetLifecyclePolicyCommand
191
206
  */
192
207
  export declare const se_GetLifecyclePolicyCommand: (input: GetLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
208
+ /**
209
+ * serializeAws_restJson1GetWorkflowCommand
210
+ */
211
+ export declare const se_GetWorkflowCommand: (input: GetWorkflowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
193
212
  /**
194
213
  * serializeAws_restJson1GetWorkflowExecutionCommand
195
214
  */
@@ -274,10 +293,22 @@ export declare const se_ListLifecyclePoliciesCommand: (input: ListLifecyclePolic
274
293
  * serializeAws_restJson1ListTagsForResourceCommand
275
294
  */
276
295
  export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
296
+ /**
297
+ * serializeAws_restJson1ListWaitingWorkflowStepsCommand
298
+ */
299
+ export declare const se_ListWaitingWorkflowStepsCommand: (input: ListWaitingWorkflowStepsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
300
+ /**
301
+ * serializeAws_restJson1ListWorkflowBuildVersionsCommand
302
+ */
303
+ export declare const se_ListWorkflowBuildVersionsCommand: (input: ListWorkflowBuildVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
277
304
  /**
278
305
  * serializeAws_restJson1ListWorkflowExecutionsCommand
279
306
  */
280
307
  export declare const se_ListWorkflowExecutionsCommand: (input: ListWorkflowExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
308
+ /**
309
+ * serializeAws_restJson1ListWorkflowsCommand
310
+ */
311
+ export declare const se_ListWorkflowsCommand: (input: ListWorkflowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
281
312
  /**
282
313
  * serializeAws_restJson1ListWorkflowStepExecutionsCommand
283
314
  */
@@ -298,6 +329,10 @@ export declare const se_PutImagePolicyCommand: (input: PutImagePolicyCommandInpu
298
329
  * serializeAws_restJson1PutImageRecipePolicyCommand
299
330
  */
300
331
  export declare const se_PutImageRecipePolicyCommand: (input: PutImageRecipePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
332
+ /**
333
+ * serializeAws_restJson1SendWorkflowStepActionCommand
334
+ */
335
+ export declare const se_SendWorkflowStepActionCommand: (input: SendWorkflowStepActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
301
336
  /**
302
337
  * serializeAws_restJson1StartImagePipelineExecutionCommand
303
338
  */
@@ -370,6 +405,10 @@ export declare const de_CreateInfrastructureConfigurationCommand: (output: __Htt
370
405
  * deserializeAws_restJson1CreateLifecyclePolicyCommand
371
406
  */
372
407
  export declare const de_CreateLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLifecyclePolicyCommandOutput>;
408
+ /**
409
+ * deserializeAws_restJson1CreateWorkflowCommand
410
+ */
411
+ export declare const de_CreateWorkflowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkflowCommandOutput>;
373
412
  /**
374
413
  * deserializeAws_restJson1DeleteComponentCommand
375
414
  */
@@ -402,6 +441,10 @@ export declare const de_DeleteInfrastructureConfigurationCommand: (output: __Htt
402
441
  * deserializeAws_restJson1DeleteLifecyclePolicyCommand
403
442
  */
404
443
  export declare const de_DeleteLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLifecyclePolicyCommandOutput>;
444
+ /**
445
+ * deserializeAws_restJson1DeleteWorkflowCommand
446
+ */
447
+ export declare const de_DeleteWorkflowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkflowCommandOutput>;
405
448
  /**
406
449
  * deserializeAws_restJson1GetComponentCommand
407
450
  */
@@ -454,6 +497,10 @@ export declare const de_GetLifecycleExecutionCommand: (output: __HttpResponse, c
454
497
  * deserializeAws_restJson1GetLifecyclePolicyCommand
455
498
  */
456
499
  export declare const de_GetLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLifecyclePolicyCommandOutput>;
500
+ /**
501
+ * deserializeAws_restJson1GetWorkflowCommand
502
+ */
503
+ export declare const de_GetWorkflowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkflowCommandOutput>;
457
504
  /**
458
505
  * deserializeAws_restJson1GetWorkflowExecutionCommand
459
506
  */
@@ -538,10 +585,22 @@ export declare const de_ListLifecyclePoliciesCommand: (output: __HttpResponse, c
538
585
  * deserializeAws_restJson1ListTagsForResourceCommand
539
586
  */
540
587
  export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
588
+ /**
589
+ * deserializeAws_restJson1ListWaitingWorkflowStepsCommand
590
+ */
591
+ export declare const de_ListWaitingWorkflowStepsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWaitingWorkflowStepsCommandOutput>;
592
+ /**
593
+ * deserializeAws_restJson1ListWorkflowBuildVersionsCommand
594
+ */
595
+ export declare const de_ListWorkflowBuildVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkflowBuildVersionsCommandOutput>;
541
596
  /**
542
597
  * deserializeAws_restJson1ListWorkflowExecutionsCommand
543
598
  */
544
599
  export declare const de_ListWorkflowExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkflowExecutionsCommandOutput>;
600
+ /**
601
+ * deserializeAws_restJson1ListWorkflowsCommand
602
+ */
603
+ export declare const de_ListWorkflowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkflowsCommandOutput>;
545
604
  /**
546
605
  * deserializeAws_restJson1ListWorkflowStepExecutionsCommand
547
606
  */
@@ -562,6 +621,10 @@ export declare const de_PutImagePolicyCommand: (output: __HttpResponse, context:
562
621
  * deserializeAws_restJson1PutImageRecipePolicyCommand
563
622
  */
564
623
  export declare const de_PutImageRecipePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutImageRecipePolicyCommandOutput>;
624
+ /**
625
+ * deserializeAws_restJson1SendWorkflowStepActionCommand
626
+ */
627
+ export declare const de_SendWorkflowStepActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendWorkflowStepActionCommandOutput>;
565
628
  /**
566
629
  * deserializeAws_restJson1StartImagePipelineExecutionCommand
567
630
  */
@@ -39,6 +39,10 @@ import {
39
39
  CreateLifecyclePolicyCommandInput,
40
40
  CreateLifecyclePolicyCommandOutput,
41
41
  } from "./commands/CreateLifecyclePolicyCommand";
42
+ import {
43
+ CreateWorkflowCommandInput,
44
+ CreateWorkflowCommandOutput,
45
+ } from "./commands/CreateWorkflowCommand";
42
46
  import {
43
47
  DeleteComponentCommandInput,
44
48
  DeleteComponentCommandOutput,
@@ -71,6 +75,10 @@ import {
71
75
  DeleteLifecyclePolicyCommandInput,
72
76
  DeleteLifecyclePolicyCommandOutput,
73
77
  } from "./commands/DeleteLifecyclePolicyCommand";
78
+ import {
79
+ DeleteWorkflowCommandInput,
80
+ DeleteWorkflowCommandOutput,
81
+ } from "./commands/DeleteWorkflowCommand";
74
82
  import {
75
83
  GetComponentCommandInput,
76
84
  GetComponentCommandOutput,
@@ -123,6 +131,10 @@ import {
123
131
  GetLifecyclePolicyCommandInput,
124
132
  GetLifecyclePolicyCommandOutput,
125
133
  } from "./commands/GetLifecyclePolicyCommand";
134
+ import {
135
+ GetWorkflowCommandInput,
136
+ GetWorkflowCommandOutput,
137
+ } from "./commands/GetWorkflowCommand";
126
138
  import {
127
139
  GetWorkflowExecutionCommandInput,
128
140
  GetWorkflowExecutionCommandOutput,
@@ -207,10 +219,22 @@ import {
207
219
  ListTagsForResourceCommandInput,
208
220
  ListTagsForResourceCommandOutput,
209
221
  } from "./commands/ListTagsForResourceCommand";
222
+ import {
223
+ ListWaitingWorkflowStepsCommandInput,
224
+ ListWaitingWorkflowStepsCommandOutput,
225
+ } from "./commands/ListWaitingWorkflowStepsCommand";
226
+ import {
227
+ ListWorkflowBuildVersionsCommandInput,
228
+ ListWorkflowBuildVersionsCommandOutput,
229
+ } from "./commands/ListWorkflowBuildVersionsCommand";
210
230
  import {
211
231
  ListWorkflowExecutionsCommandInput,
212
232
  ListWorkflowExecutionsCommandOutput,
213
233
  } from "./commands/ListWorkflowExecutionsCommand";
234
+ import {
235
+ ListWorkflowsCommandInput,
236
+ ListWorkflowsCommandOutput,
237
+ } from "./commands/ListWorkflowsCommand";
214
238
  import {
215
239
  ListWorkflowStepExecutionsCommandInput,
216
240
  ListWorkflowStepExecutionsCommandOutput,
@@ -231,6 +255,10 @@ import {
231
255
  PutImageRecipePolicyCommandInput,
232
256
  PutImageRecipePolicyCommandOutput,
233
257
  } from "./commands/PutImageRecipePolicyCommand";
258
+ import {
259
+ SendWorkflowStepActionCommandInput,
260
+ SendWorkflowStepActionCommandOutput,
261
+ } from "./commands/SendWorkflowStepActionCommand";
234
262
  import {
235
263
  StartImagePipelineExecutionCommandInput,
236
264
  StartImagePipelineExecutionCommandOutput,
@@ -401,6 +429,19 @@ export interface Imagebuilder {
401
429
  options: __HttpHandlerOptions,
402
430
  cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void
403
431
  ): void;
432
+ createWorkflow(
433
+ args: CreateWorkflowCommandInput,
434
+ options?: __HttpHandlerOptions
435
+ ): Promise<CreateWorkflowCommandOutput>;
436
+ createWorkflow(
437
+ args: CreateWorkflowCommandInput,
438
+ cb: (err: any, data?: CreateWorkflowCommandOutput) => void
439
+ ): void;
440
+ createWorkflow(
441
+ args: CreateWorkflowCommandInput,
442
+ options: __HttpHandlerOptions,
443
+ cb: (err: any, data?: CreateWorkflowCommandOutput) => void
444
+ ): void;
404
445
  deleteComponent(
405
446
  args: DeleteComponentCommandInput,
406
447
  options?: __HttpHandlerOptions
@@ -511,6 +552,19 @@ export interface Imagebuilder {
511
552
  options: __HttpHandlerOptions,
512
553
  cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void
513
554
  ): void;
555
+ deleteWorkflow(
556
+ args: DeleteWorkflowCommandInput,
557
+ options?: __HttpHandlerOptions
558
+ ): Promise<DeleteWorkflowCommandOutput>;
559
+ deleteWorkflow(
560
+ args: DeleteWorkflowCommandInput,
561
+ cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
562
+ ): void;
563
+ deleteWorkflow(
564
+ args: DeleteWorkflowCommandInput,
565
+ options: __HttpHandlerOptions,
566
+ cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
567
+ ): void;
514
568
  getComponent(
515
569
  args: GetComponentCommandInput,
516
570
  options?: __HttpHandlerOptions
@@ -680,6 +734,19 @@ export interface Imagebuilder {
680
734
  options: __HttpHandlerOptions,
681
735
  cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void
682
736
  ): void;
737
+ getWorkflow(
738
+ args: GetWorkflowCommandInput,
739
+ options?: __HttpHandlerOptions
740
+ ): Promise<GetWorkflowCommandOutput>;
741
+ getWorkflow(
742
+ args: GetWorkflowCommandInput,
743
+ cb: (err: any, data?: GetWorkflowCommandOutput) => void
744
+ ): void;
745
+ getWorkflow(
746
+ args: GetWorkflowCommandInput,
747
+ options: __HttpHandlerOptions,
748
+ cb: (err: any, data?: GetWorkflowCommandOutput) => void
749
+ ): void;
683
750
  getWorkflowExecution(
684
751
  args: GetWorkflowExecutionCommandInput,
685
752
  options?: __HttpHandlerOptions
@@ -953,6 +1020,32 @@ export interface Imagebuilder {
953
1020
  options: __HttpHandlerOptions,
954
1021
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
955
1022
  ): void;
1023
+ listWaitingWorkflowSteps(
1024
+ args: ListWaitingWorkflowStepsCommandInput,
1025
+ options?: __HttpHandlerOptions
1026
+ ): Promise<ListWaitingWorkflowStepsCommandOutput>;
1027
+ listWaitingWorkflowSteps(
1028
+ args: ListWaitingWorkflowStepsCommandInput,
1029
+ cb: (err: any, data?: ListWaitingWorkflowStepsCommandOutput) => void
1030
+ ): void;
1031
+ listWaitingWorkflowSteps(
1032
+ args: ListWaitingWorkflowStepsCommandInput,
1033
+ options: __HttpHandlerOptions,
1034
+ cb: (err: any, data?: ListWaitingWorkflowStepsCommandOutput) => void
1035
+ ): void;
1036
+ listWorkflowBuildVersions(
1037
+ args: ListWorkflowBuildVersionsCommandInput,
1038
+ options?: __HttpHandlerOptions
1039
+ ): Promise<ListWorkflowBuildVersionsCommandOutput>;
1040
+ listWorkflowBuildVersions(
1041
+ args: ListWorkflowBuildVersionsCommandInput,
1042
+ cb: (err: any, data?: ListWorkflowBuildVersionsCommandOutput) => void
1043
+ ): void;
1044
+ listWorkflowBuildVersions(
1045
+ args: ListWorkflowBuildVersionsCommandInput,
1046
+ options: __HttpHandlerOptions,
1047
+ cb: (err: any, data?: ListWorkflowBuildVersionsCommandOutput) => void
1048
+ ): void;
956
1049
  listWorkflowExecutions(
957
1050
  args: ListWorkflowExecutionsCommandInput,
958
1051
  options?: __HttpHandlerOptions
@@ -966,6 +1059,19 @@ export interface Imagebuilder {
966
1059
  options: __HttpHandlerOptions,
967
1060
  cb: (err: any, data?: ListWorkflowExecutionsCommandOutput) => void
968
1061
  ): void;
1062
+ listWorkflows(
1063
+ args: ListWorkflowsCommandInput,
1064
+ options?: __HttpHandlerOptions
1065
+ ): Promise<ListWorkflowsCommandOutput>;
1066
+ listWorkflows(
1067
+ args: ListWorkflowsCommandInput,
1068
+ cb: (err: any, data?: ListWorkflowsCommandOutput) => void
1069
+ ): void;
1070
+ listWorkflows(
1071
+ args: ListWorkflowsCommandInput,
1072
+ options: __HttpHandlerOptions,
1073
+ cb: (err: any, data?: ListWorkflowsCommandOutput) => void
1074
+ ): void;
969
1075
  listWorkflowStepExecutions(
970
1076
  args: ListWorkflowStepExecutionsCommandInput,
971
1077
  options?: __HttpHandlerOptions
@@ -1031,6 +1137,19 @@ export interface Imagebuilder {
1031
1137
  options: __HttpHandlerOptions,
1032
1138
  cb: (err: any, data?: PutImageRecipePolicyCommandOutput) => void
1033
1139
  ): void;
1140
+ sendWorkflowStepAction(
1141
+ args: SendWorkflowStepActionCommandInput,
1142
+ options?: __HttpHandlerOptions
1143
+ ): Promise<SendWorkflowStepActionCommandOutput>;
1144
+ sendWorkflowStepAction(
1145
+ args: SendWorkflowStepActionCommandInput,
1146
+ cb: (err: any, data?: SendWorkflowStepActionCommandOutput) => void
1147
+ ): void;
1148
+ sendWorkflowStepAction(
1149
+ args: SendWorkflowStepActionCommandInput,
1150
+ options: __HttpHandlerOptions,
1151
+ cb: (err: any, data?: SendWorkflowStepActionCommandOutput) => void
1152
+ ): void;
1034
1153
  startImagePipelineExecution(
1035
1154
  args: StartImagePipelineExecutionCommandInput,
1036
1155
  options?: __HttpHandlerOptions
@@ -85,6 +85,10 @@ import {
85
85
  CreateLifecyclePolicyCommandInput,
86
86
  CreateLifecyclePolicyCommandOutput,
87
87
  } from "./commands/CreateLifecyclePolicyCommand";
88
+ import {
89
+ CreateWorkflowCommandInput,
90
+ CreateWorkflowCommandOutput,
91
+ } from "./commands/CreateWorkflowCommand";
88
92
  import {
89
93
  DeleteComponentCommandInput,
90
94
  DeleteComponentCommandOutput,
@@ -117,6 +121,10 @@ import {
117
121
  DeleteLifecyclePolicyCommandInput,
118
122
  DeleteLifecyclePolicyCommandOutput,
119
123
  } from "./commands/DeleteLifecyclePolicyCommand";
124
+ import {
125
+ DeleteWorkflowCommandInput,
126
+ DeleteWorkflowCommandOutput,
127
+ } from "./commands/DeleteWorkflowCommand";
120
128
  import {
121
129
  GetComponentCommandInput,
122
130
  GetComponentCommandOutput,
@@ -169,6 +177,10 @@ import {
169
177
  GetLifecyclePolicyCommandInput,
170
178
  GetLifecyclePolicyCommandOutput,
171
179
  } from "./commands/GetLifecyclePolicyCommand";
180
+ import {
181
+ GetWorkflowCommandInput,
182
+ GetWorkflowCommandOutput,
183
+ } from "./commands/GetWorkflowCommand";
172
184
  import {
173
185
  GetWorkflowExecutionCommandInput,
174
186
  GetWorkflowExecutionCommandOutput,
@@ -253,10 +265,22 @@ import {
253
265
  ListTagsForResourceCommandInput,
254
266
  ListTagsForResourceCommandOutput,
255
267
  } from "./commands/ListTagsForResourceCommand";
268
+ import {
269
+ ListWaitingWorkflowStepsCommandInput,
270
+ ListWaitingWorkflowStepsCommandOutput,
271
+ } from "./commands/ListWaitingWorkflowStepsCommand";
272
+ import {
273
+ ListWorkflowBuildVersionsCommandInput,
274
+ ListWorkflowBuildVersionsCommandOutput,
275
+ } from "./commands/ListWorkflowBuildVersionsCommand";
256
276
  import {
257
277
  ListWorkflowExecutionsCommandInput,
258
278
  ListWorkflowExecutionsCommandOutput,
259
279
  } from "./commands/ListWorkflowExecutionsCommand";
280
+ import {
281
+ ListWorkflowsCommandInput,
282
+ ListWorkflowsCommandOutput,
283
+ } from "./commands/ListWorkflowsCommand";
260
284
  import {
261
285
  ListWorkflowStepExecutionsCommandInput,
262
286
  ListWorkflowStepExecutionsCommandOutput,
@@ -277,6 +301,10 @@ import {
277
301
  PutImageRecipePolicyCommandInput,
278
302
  PutImageRecipePolicyCommandOutput,
279
303
  } from "./commands/PutImageRecipePolicyCommand";
304
+ import {
305
+ SendWorkflowStepActionCommandInput,
306
+ SendWorkflowStepActionCommandOutput,
307
+ } from "./commands/SendWorkflowStepActionCommand";
280
308
  import {
281
309
  StartImagePipelineExecutionCommandInput,
282
310
  StartImagePipelineExecutionCommandOutput,
@@ -327,6 +355,7 @@ export type ServiceInputTypes =
327
355
  | CreateImageRecipeCommandInput
328
356
  | CreateInfrastructureConfigurationCommandInput
329
357
  | CreateLifecyclePolicyCommandInput
358
+ | CreateWorkflowCommandInput
330
359
  | DeleteComponentCommandInput
331
360
  | DeleteContainerRecipeCommandInput
332
361
  | DeleteDistributionConfigurationCommandInput
@@ -335,6 +364,7 @@ export type ServiceInputTypes =
335
364
  | DeleteImageRecipeCommandInput
336
365
  | DeleteInfrastructureConfigurationCommandInput
337
366
  | DeleteLifecyclePolicyCommandInput
367
+ | DeleteWorkflowCommandInput
338
368
  | GetComponentCommandInput
339
369
  | GetComponentPolicyCommandInput
340
370
  | GetContainerRecipeCommandInput
@@ -348,6 +378,7 @@ export type ServiceInputTypes =
348
378
  | GetInfrastructureConfigurationCommandInput
349
379
  | GetLifecycleExecutionCommandInput
350
380
  | GetLifecyclePolicyCommandInput
381
+ | GetWorkflowCommandInput
351
382
  | GetWorkflowExecutionCommandInput
352
383
  | GetWorkflowStepExecutionCommandInput
353
384
  | ImportComponentCommandInput
@@ -369,12 +400,16 @@ export type ServiceInputTypes =
369
400
  | ListLifecycleExecutionsCommandInput
370
401
  | ListLifecyclePoliciesCommandInput
371
402
  | ListTagsForResourceCommandInput
403
+ | ListWaitingWorkflowStepsCommandInput
404
+ | ListWorkflowBuildVersionsCommandInput
372
405
  | ListWorkflowExecutionsCommandInput
373
406
  | ListWorkflowStepExecutionsCommandInput
407
+ | ListWorkflowsCommandInput
374
408
  | PutComponentPolicyCommandInput
375
409
  | PutContainerRecipePolicyCommandInput
376
410
  | PutImagePolicyCommandInput
377
411
  | PutImageRecipePolicyCommandInput
412
+ | SendWorkflowStepActionCommandInput
378
413
  | StartImagePipelineExecutionCommandInput
379
414
  | StartResourceStateUpdateCommandInput
380
415
  | TagResourceCommandInput
@@ -394,6 +429,7 @@ export type ServiceOutputTypes =
394
429
  | CreateImageRecipeCommandOutput
395
430
  | CreateInfrastructureConfigurationCommandOutput
396
431
  | CreateLifecyclePolicyCommandOutput
432
+ | CreateWorkflowCommandOutput
397
433
  | DeleteComponentCommandOutput
398
434
  | DeleteContainerRecipeCommandOutput
399
435
  | DeleteDistributionConfigurationCommandOutput
@@ -402,6 +438,7 @@ export type ServiceOutputTypes =
402
438
  | DeleteImageRecipeCommandOutput
403
439
  | DeleteInfrastructureConfigurationCommandOutput
404
440
  | DeleteLifecyclePolicyCommandOutput
441
+ | DeleteWorkflowCommandOutput
405
442
  | GetComponentCommandOutput
406
443
  | GetComponentPolicyCommandOutput
407
444
  | GetContainerRecipeCommandOutput
@@ -415,6 +452,7 @@ export type ServiceOutputTypes =
415
452
  | GetInfrastructureConfigurationCommandOutput
416
453
  | GetLifecycleExecutionCommandOutput
417
454
  | GetLifecyclePolicyCommandOutput
455
+ | GetWorkflowCommandOutput
418
456
  | GetWorkflowExecutionCommandOutput
419
457
  | GetWorkflowStepExecutionCommandOutput
420
458
  | ImportComponentCommandOutput
@@ -436,12 +474,16 @@ export type ServiceOutputTypes =
436
474
  | ListLifecycleExecutionsCommandOutput
437
475
  | ListLifecyclePoliciesCommandOutput
438
476
  | ListTagsForResourceCommandOutput
477
+ | ListWaitingWorkflowStepsCommandOutput
478
+ | ListWorkflowBuildVersionsCommandOutput
439
479
  | ListWorkflowExecutionsCommandOutput
440
480
  | ListWorkflowStepExecutionsCommandOutput
481
+ | ListWorkflowsCommandOutput
441
482
  | PutComponentPolicyCommandOutput
442
483
  | PutContainerRecipePolicyCommandOutput
443
484
  | PutImagePolicyCommandOutput
444
485
  | PutImageRecipePolicyCommandOutput
486
+ | SendWorkflowStepActionCommandOutput
445
487
  | StartImagePipelineExecutionCommandOutput
446
488
  | StartResourceStateUpdateCommandOutput
447
489
  | TagResourceCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ImagebuilderClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ImagebuilderClient";
14
+ import {
15
+ CreateWorkflowRequest,
16
+ CreateWorkflowResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreateWorkflowCommandInput extends CreateWorkflowRequest {}
20
+ export interface CreateWorkflowCommandOutput
21
+ extends CreateWorkflowResponse,
22
+ __MetadataBearer {}
23
+ export declare class CreateWorkflowCommand extends $Command<
24
+ CreateWorkflowCommandInput,
25
+ CreateWorkflowCommandOutput,
26
+ ImagebuilderClientResolvedConfig
27
+ > {
28
+ readonly input: CreateWorkflowCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateWorkflowCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ImagebuilderClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<CreateWorkflowCommandInput, CreateWorkflowCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ImagebuilderClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ImagebuilderClient";
14
+ import {
15
+ DeleteWorkflowRequest,
16
+ DeleteWorkflowResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DeleteWorkflowCommandInput extends DeleteWorkflowRequest {}
20
+ export interface DeleteWorkflowCommandOutput
21
+ extends DeleteWorkflowResponse,
22
+ __MetadataBearer {}
23
+ export declare class DeleteWorkflowCommand extends $Command<
24
+ DeleteWorkflowCommandInput,
25
+ DeleteWorkflowCommandOutput,
26
+ ImagebuilderClientResolvedConfig
27
+ > {
28
+ readonly input: DeleteWorkflowCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteWorkflowCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ImagebuilderClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ImagebuilderClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ImagebuilderClient";
14
+ import { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface GetWorkflowCommandInput extends GetWorkflowRequest {}
17
+ export interface GetWorkflowCommandOutput
18
+ extends GetWorkflowResponse,
19
+ __MetadataBearer {}
20
+ export declare class GetWorkflowCommand extends $Command<
21
+ GetWorkflowCommandInput,
22
+ GetWorkflowCommandOutput,
23
+ ImagebuilderClientResolvedConfig
24
+ > {
25
+ readonly input: GetWorkflowCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: GetWorkflowCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: ImagebuilderClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<GetWorkflowCommandInput, GetWorkflowCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }