@@ -345,6 +345,32 @@ namespace imagebuilder
345
345
return SubmitAsync (&ImagebuilderClient::CreateLifecyclePolicy, request, handler, context);
346
346
}
347
347
348
+ /* *
349
+ * <p>Create a new workflow or a new version of an existing workflow.</p><p><h3>See
350
+ * Also:</h3> <a
351
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateWorkflow">AWS
352
+ * API Reference</a></p>
353
+ */
354
+ virtual Model::CreateWorkflowOutcome CreateWorkflow (const Model::CreateWorkflowRequest& request) const ;
355
+
356
+ /* *
357
+ * A Callable wrapper for CreateWorkflow that returns a future to the operation so that it can be executed in parallel to other requests.
358
+ */
359
+ template <typename CreateWorkflowRequestT = Model::CreateWorkflowRequest>
360
+ Model::CreateWorkflowOutcomeCallable CreateWorkflowCallable (const CreateWorkflowRequestT& request) const
361
+ {
362
+ return SubmitCallable (&ImagebuilderClient::CreateWorkflow, request);
363
+ }
364
+
365
+ /* *
366
+ * An Async wrapper for CreateWorkflow that queues the request into a thread executor and triggers associated callback when operation has finished.
367
+ */
368
+ template <typename CreateWorkflowRequestT = Model::CreateWorkflowRequest>
369
+ void CreateWorkflowAsync (const CreateWorkflowRequestT& request, const CreateWorkflowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
370
+ {
371
+ return SubmitAsync (&ImagebuilderClient::CreateWorkflow, request, handler, context);
372
+ }
373
+
348
374
/* *
349
375
* <p>Deletes a component build version.</p><p><h3>See Also:</h3> <a
350
376
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponent">AWS
@@ -558,6 +584,31 @@ namespace imagebuilder
558
584
return SubmitAsync (&ImagebuilderClient::DeleteLifecyclePolicy, request, handler, context);
559
585
}
560
586
587
+ /* *
588
+ * <p>Deletes a specific workflow resource.</p><p><h3>See Also:</h3> <a
589
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteWorkflow">AWS
590
+ * API Reference</a></p>
591
+ */
592
+ virtual Model::DeleteWorkflowOutcome DeleteWorkflow (const Model::DeleteWorkflowRequest& request) const ;
593
+
594
+ /* *
595
+ * A Callable wrapper for DeleteWorkflow that returns a future to the operation so that it can be executed in parallel to other requests.
596
+ */
597
+ template <typename DeleteWorkflowRequestT = Model::DeleteWorkflowRequest>
598
+ Model::DeleteWorkflowOutcomeCallable DeleteWorkflowCallable (const DeleteWorkflowRequestT& request) const
599
+ {
600
+ return SubmitCallable (&ImagebuilderClient::DeleteWorkflow, request);
601
+ }
602
+
603
+ /* *
604
+ * An Async wrapper for DeleteWorkflow that queues the request into a thread executor and triggers associated callback when operation has finished.
605
+ */
606
+ template <typename DeleteWorkflowRequestT = Model::DeleteWorkflowRequest>
607
+ void DeleteWorkflowAsync (const DeleteWorkflowRequestT& request, const DeleteWorkflowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
608
+ {
609
+ return SubmitAsync (&ImagebuilderClient::DeleteWorkflow, request, handler, context);
610
+ }
611
+
561
612
/* *
562
613
* <p>Gets a component object.</p><p><h3>See Also:</h3> <a
563
614
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent">AWS
@@ -885,6 +936,31 @@ namespace imagebuilder
885
936
return SubmitAsync (&ImagebuilderClient::GetLifecyclePolicy, request, handler, context);
886
937
}
887
938
939
+ /* *
940
+ * <p>Get a workflow resource object.</p><p><h3>See Also:</h3> <a
941
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflow">AWS
942
+ * API Reference</a></p>
943
+ */
944
+ virtual Model::GetWorkflowOutcome GetWorkflow (const Model::GetWorkflowRequest& request) const ;
945
+
946
+ /* *
947
+ * A Callable wrapper for GetWorkflow that returns a future to the operation so that it can be executed in parallel to other requests.
948
+ */
949
+ template <typename GetWorkflowRequestT = Model::GetWorkflowRequest>
950
+ Model::GetWorkflowOutcomeCallable GetWorkflowCallable (const GetWorkflowRequestT& request) const
951
+ {
952
+ return SubmitCallable (&ImagebuilderClient::GetWorkflow, request);
953
+ }
954
+
955
+ /* *
956
+ * An Async wrapper for GetWorkflow that queues the request into a thread executor and triggers associated callback when operation has finished.
957
+ */
958
+ template <typename GetWorkflowRequestT = Model::GetWorkflowRequest>
959
+ void GetWorkflowAsync (const GetWorkflowRequestT& request, const GetWorkflowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
960
+ {
961
+ return SubmitAsync (&ImagebuilderClient::GetWorkflow, request, handler, context);
962
+ }
963
+
888
964
/* *
889
965
* <p>Get the runtime information that was logged for a specific runtime instance
890
966
* of the workflow.</p><p><h3>See Also:</h3> <a
@@ -1461,6 +1537,58 @@ namespace imagebuilder
1461
1537
return SubmitAsync (&ImagebuilderClient::ListTagsForResource, request, handler, context);
1462
1538
}
1463
1539
1540
+ /* *
1541
+ * <p>Get a list of workflow steps that are waiting for action for workflows in
1542
+ * your Amazon Web Services account.</p><p><h3>See Also:</h3> <a
1543
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWaitingWorkflowSteps">AWS
1544
+ * API Reference</a></p>
1545
+ */
1546
+ virtual Model::ListWaitingWorkflowStepsOutcome ListWaitingWorkflowSteps (const Model::ListWaitingWorkflowStepsRequest& request) const ;
1547
+
1548
+ /* *
1549
+ * A Callable wrapper for ListWaitingWorkflowSteps that returns a future to the operation so that it can be executed in parallel to other requests.
1550
+ */
1551
+ template <typename ListWaitingWorkflowStepsRequestT = Model::ListWaitingWorkflowStepsRequest>
1552
+ Model::ListWaitingWorkflowStepsOutcomeCallable ListWaitingWorkflowStepsCallable (const ListWaitingWorkflowStepsRequestT& request) const
1553
+ {
1554
+ return SubmitCallable (&ImagebuilderClient::ListWaitingWorkflowSteps, request);
1555
+ }
1556
+
1557
+ /* *
1558
+ * An Async wrapper for ListWaitingWorkflowSteps that queues the request into a thread executor and triggers associated callback when operation has finished.
1559
+ */
1560
+ template <typename ListWaitingWorkflowStepsRequestT = Model::ListWaitingWorkflowStepsRequest>
1561
+ void ListWaitingWorkflowStepsAsync (const ListWaitingWorkflowStepsRequestT& request, const ListWaitingWorkflowStepsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
1562
+ {
1563
+ return SubmitAsync (&ImagebuilderClient::ListWaitingWorkflowSteps, request, handler, context);
1564
+ }
1565
+
1566
+ /* *
1567
+ * <p>Returns a list of build versions for a specific workflow
1568
+ * resource.</p><p><h3>See Also:</h3> <a
1569
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowBuildVersions">AWS
1570
+ * API Reference</a></p>
1571
+ */
1572
+ virtual Model::ListWorkflowBuildVersionsOutcome ListWorkflowBuildVersions (const Model::ListWorkflowBuildVersionsRequest& request) const ;
1573
+
1574
+ /* *
1575
+ * A Callable wrapper for ListWorkflowBuildVersions that returns a future to the operation so that it can be executed in parallel to other requests.
1576
+ */
1577
+ template <typename ListWorkflowBuildVersionsRequestT = Model::ListWorkflowBuildVersionsRequest>
1578
+ Model::ListWorkflowBuildVersionsOutcomeCallable ListWorkflowBuildVersionsCallable (const ListWorkflowBuildVersionsRequestT& request) const
1579
+ {
1580
+ return SubmitCallable (&ImagebuilderClient::ListWorkflowBuildVersions, request);
1581
+ }
1582
+
1583
+ /* *
1584
+ * An Async wrapper for ListWorkflowBuildVersions that queues the request into a thread executor and triggers associated callback when operation has finished.
1585
+ */
1586
+ template <typename ListWorkflowBuildVersionsRequestT = Model::ListWorkflowBuildVersionsRequest>
1587
+ void ListWorkflowBuildVersionsAsync (const ListWorkflowBuildVersionsRequestT& request, const ListWorkflowBuildVersionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
1588
+ {
1589
+ return SubmitAsync (&ImagebuilderClient::ListWorkflowBuildVersions, request, handler, context);
1590
+ }
1591
+
1464
1592
/* *
1465
1593
* <p>Returns a list of workflow runtime instance metadata objects for a specific
1466
1594
* image build version.</p><p><h3>See Also:</h3> <a
@@ -1488,7 +1616,7 @@ namespace imagebuilder
1488
1616
}
1489
1617
1490
1618
/* *
1491
- * <p>Shows runtime data for each step in a runtime instance of the workflow that
1619
+ * <p>Returns runtime data for each step in a runtime instance of the workflow that
1492
1620
* you specify in the request.</p><p><h3>See Also:</h3> <a
1493
1621
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutions">AWS
1494
1622
* API Reference</a></p>
@@ -1513,6 +1641,32 @@ namespace imagebuilder
1513
1641
return SubmitAsync (&ImagebuilderClient::ListWorkflowStepExecutions, request, handler, context);
1514
1642
}
1515
1643
1644
+ /* *
1645
+ * <p>Lists workflow build versions based on filtering parameters.</p><p><h3>See
1646
+ * Also:</h3> <a
1647
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflows">AWS
1648
+ * API Reference</a></p>
1649
+ */
1650
+ virtual Model::ListWorkflowsOutcome ListWorkflows (const Model::ListWorkflowsRequest& request) const ;
1651
+
1652
+ /* *
1653
+ * A Callable wrapper for ListWorkflows that returns a future to the operation so that it can be executed in parallel to other requests.
1654
+ */
1655
+ template <typename ListWorkflowsRequestT = Model::ListWorkflowsRequest>
1656
+ Model::ListWorkflowsOutcomeCallable ListWorkflowsCallable (const ListWorkflowsRequestT& request) const
1657
+ {
1658
+ return SubmitCallable (&ImagebuilderClient::ListWorkflows, request);
1659
+ }
1660
+
1661
+ /* *
1662
+ * An Async wrapper for ListWorkflows that queues the request into a thread executor and triggers associated callback when operation has finished.
1663
+ */
1664
+ template <typename ListWorkflowsRequestT = Model::ListWorkflowsRequest>
1665
+ void ListWorkflowsAsync (const ListWorkflowsRequestT& request, const ListWorkflowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
1666
+ {
1667
+ return SubmitAsync (&ImagebuilderClient::ListWorkflows, request, handler, context);
1668
+ }
1669
+
1516
1670
/* *
1517
1671
* <p>Applies a policy to a component. We recommend that you call the RAM API <a
1518
1672
* href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a>
@@ -1640,6 +1794,32 @@ namespace imagebuilder
1640
1794
return SubmitAsync (&ImagebuilderClient::PutImageRecipePolicy, request, handler, context);
1641
1795
}
1642
1796
1797
+ /* *
1798
+ * <p>Pauses or resumes image creation when the associated workflow runs a
1799
+ * <code>WaitForAction</code> step.</p><p><h3>See Also:</h3> <a
1800
+ * href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/SendWorkflowStepAction">AWS
1801
+ * API Reference</a></p>
1802
+ */
1803
+ virtual Model::SendWorkflowStepActionOutcome SendWorkflowStepAction (const Model::SendWorkflowStepActionRequest& request) const ;
1804
+
1805
+ /* *
1806
+ * A Callable wrapper for SendWorkflowStepAction that returns a future to the operation so that it can be executed in parallel to other requests.
1807
+ */
1808
+ template <typename SendWorkflowStepActionRequestT = Model::SendWorkflowStepActionRequest>
1809
+ Model::SendWorkflowStepActionOutcomeCallable SendWorkflowStepActionCallable (const SendWorkflowStepActionRequestT& request) const
1810
+ {
1811
+ return SubmitCallable (&ImagebuilderClient::SendWorkflowStepAction, request);
1812
+ }
1813
+
1814
+ /* *
1815
+ * An Async wrapper for SendWorkflowStepAction that queues the request into a thread executor and triggers associated callback when operation has finished.
1816
+ */
1817
+ template <typename SendWorkflowStepActionRequestT = Model::SendWorkflowStepActionRequest>
1818
+ void SendWorkflowStepActionAsync (const SendWorkflowStepActionRequestT& request, const SendWorkflowStepActionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr ) const
1819
+ {
1820
+ return SubmitAsync (&ImagebuilderClient::SendWorkflowStepAction, request, handler, context);
1821
+ }
1822
+
1643
1823
/* *
1644
1824
* <p>Manually triggers a pipeline to create an image.</p><p><h3>See Also:</h3>
1645
1825
* <a
@@ -1770,8 +1950,10 @@ namespace imagebuilder
1770
1950
1771
1951
/* *
1772
1952
* <p>Updates an image pipeline. Image pipelines enable you to automate the
1773
- * creation and distribution of images.</p> <p>UpdateImagePipeline does not
1774
- * support selective updates for the pipeline. You must specify all of the required
1953
+ * creation and distribution of images. You must specify exactly one recipe for
1954
+ * your image, using either a <code>containerRecipeArn</code> or an
1955
+ * <code>imageRecipeArn</code>.</p> <p>UpdateImagePipeline does not support
1956
+ * selective updates for the pipeline. You must specify all of the required
1775
1957
* properties in the update request, not just the properties that have changed.</p>
1776
1958
* <p><h3>See Also:</h3> <a
1777
1959
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline">AWS
0 commit comments