@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
@@ -42,7 +42,7 @@ export interface GetWorkflowExecutionCommandOutput extends GetWorkflowExecutionR
42
42
  * // workflowExecutionId: "STRING_VALUE",
43
43
  * // imageBuildVersionArn: "STRING_VALUE",
44
44
  * // type: "BUILD" || "TEST" || "DISTRIBUTION",
45
- * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETED",
45
+ * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETED" || "CANCELLED",
46
46
  * // message: "STRING_VALUE",
47
47
  * // totalStepCount: Number("int"),
48
48
  * // totalStepsSucceeded: Number("int"),
@@ -50,6 +50,7 @@ export interface GetWorkflowExecutionCommandOutput extends GetWorkflowExecutionR
50
50
  * // totalStepsSkipped: Number("int"),
51
51
  * // startTime: "STRING_VALUE",
52
52
  * // endTime: "STRING_VALUE",
53
+ * // parallelGroup: "STRING_VALUE",
53
54
  * // };
54
55
  *
55
56
  * ```
@@ -45,7 +45,7 @@ export interface GetWorkflowStepExecutionCommandOutput extends GetWorkflowStepEx
45
45
  * // name: "STRING_VALUE",
46
46
  * // description: "STRING_VALUE",
47
47
  * // action: "STRING_VALUE",
48
- * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED",
48
+ * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED" || "CANCELLED",
49
49
  * // rollbackStatus: "RUNNING" || "COMPLETED" || "SKIPPED" || "FAILED",
50
50
  * // message: "STRING_VALUE",
51
51
  * // inputs: "STRING_VALUE",
@@ -83,6 +83,22 @@ export interface ListImagePipelinesCommandOutput extends ListImagePipelinesRespo
83
83
  * // ],
84
84
  * // },
85
85
  * // },
86
+ * // executionRole: "STRING_VALUE",
87
+ * // workflows: [ // WorkflowConfigurationList
88
+ * // { // WorkflowConfiguration
89
+ * // workflowArn: "STRING_VALUE", // required
90
+ * // parameters: [ // WorkflowParameterList
91
+ * // { // WorkflowParameter
92
+ * // name: "STRING_VALUE", // required
93
+ * // value: [ // WorkflowParameterValueList // required
94
+ * // "STRING_VALUE",
95
+ * // ],
96
+ * // },
97
+ * // ],
98
+ * // parallelGroup: "STRING_VALUE",
99
+ * // onFailure: "CONTINUE" || "ABORT",
100
+ * // },
101
+ * // ],
86
102
  * // },
87
103
  * // ],
88
104
  * // nextToken: "STRING_VALUE",
@@ -0,0 +1,110 @@
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 { ListWaitingWorkflowStepsRequest, ListWaitingWorkflowStepsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListWaitingWorkflowStepsCommand}.
14
+ */
15
+ export interface ListWaitingWorkflowStepsCommandInput extends ListWaitingWorkflowStepsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWaitingWorkflowStepsCommand}.
21
+ */
22
+ export interface ListWaitingWorkflowStepsCommandOutput extends ListWaitingWorkflowStepsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Get a list of workflow steps that are waiting for action for workflows
27
+ * in your Amazon Web Services account.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ImagebuilderClient, ListWaitingWorkflowStepsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
32
+ * // const { ImagebuilderClient, ListWaitingWorkflowStepsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
33
+ * const client = new ImagebuilderClient(config);
34
+ * const input = { // ListWaitingWorkflowStepsRequest
35
+ * maxResults: Number("int"),
36
+ * nextToken: "STRING_VALUE",
37
+ * };
38
+ * const command = new ListWaitingWorkflowStepsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListWaitingWorkflowStepsResponse
41
+ * // steps: [ // WorkflowStepExecutionList
42
+ * // { // WorkflowStepExecution
43
+ * // stepExecutionId: "STRING_VALUE",
44
+ * // imageBuildVersionArn: "STRING_VALUE",
45
+ * // workflowExecutionId: "STRING_VALUE",
46
+ * // workflowBuildVersionArn: "STRING_VALUE",
47
+ * // name: "STRING_VALUE",
48
+ * // action: "STRING_VALUE",
49
+ * // startTime: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // nextToken: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListWaitingWorkflowStepsCommandInput - {@link ListWaitingWorkflowStepsCommandInput}
58
+ * @returns {@link ListWaitingWorkflowStepsCommandOutput}
59
+ * @see {@link ListWaitingWorkflowStepsCommandInput} for command's `input` shape.
60
+ * @see {@link ListWaitingWorkflowStepsCommandOutput} for command's `response` shape.
61
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
62
+ *
63
+ * @throws {@link CallRateLimitExceededException} (client fault)
64
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
65
+ *
66
+ * @throws {@link ClientException} (client fault)
67
+ * <p>These errors are usually caused by a client action, such as using an action or
68
+ * resource on behalf of a user that doesn't have permissions to use the action or
69
+ * resource, or specifying an invalid resource identifier.</p>
70
+ *
71
+ * @throws {@link ForbiddenException} (client fault)
72
+ * <p>You are not authorized to perform the requested operation.</p>
73
+ *
74
+ * @throws {@link InvalidPaginationTokenException} (client fault)
75
+ * <p>You have provided an invalid pagination token in your request.</p>
76
+ *
77
+ * @throws {@link InvalidRequestException} (client fault)
78
+ * <p>You have requested an action that that the service doesn't support.</p>
79
+ *
80
+ * @throws {@link ServiceException} (server fault)
81
+ * <p>This exception is thrown when the service encounters an unrecoverable
82
+ * exception.</p>
83
+ *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The service is unable to process your request at this time.</p>
86
+ *
87
+ * @throws {@link ImagebuilderServiceException}
88
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
89
+ *
90
+ */
91
+ export declare class ListWaitingWorkflowStepsCommand extends $Command<ListWaitingWorkflowStepsCommandInput, ListWaitingWorkflowStepsCommandOutput, ImagebuilderClientResolvedConfig> {
92
+ readonly input: ListWaitingWorkflowStepsCommandInput;
93
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
+ /**
95
+ * @public
96
+ */
97
+ constructor(input: ListWaitingWorkflowStepsCommandInput);
98
+ /**
99
+ * @internal
100
+ */
101
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWaitingWorkflowStepsCommandInput, ListWaitingWorkflowStepsCommandOutput>;
102
+ /**
103
+ * @internal
104
+ */
105
+ private serialize;
106
+ /**
107
+ * @internal
108
+ */
109
+ private deserialize;
110
+ }
@@ -0,0 +1,118 @@
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 { ListWorkflowBuildVersionsRequest, ListWorkflowBuildVersionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListWorkflowBuildVersionsCommand}.
14
+ */
15
+ export interface ListWorkflowBuildVersionsCommandInput extends ListWorkflowBuildVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWorkflowBuildVersionsCommand}.
21
+ */
22
+ export interface ListWorkflowBuildVersionsCommandOutput extends ListWorkflowBuildVersionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of build versions for 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, ListWorkflowBuildVersionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, ListWorkflowBuildVersionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // ListWorkflowBuildVersionsRequest
34
+ * workflowVersionArn: "STRING_VALUE", // required
35
+ * maxResults: Number("int"),
36
+ * nextToken: "STRING_VALUE",
37
+ * };
38
+ * const command = new ListWorkflowBuildVersionsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListWorkflowBuildVersionsResponse
41
+ * // workflowSummaryList: [ // WorkflowSummaryList
42
+ * // { // WorkflowSummary
43
+ * // arn: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // version: "STRING_VALUE",
46
+ * // description: "STRING_VALUE",
47
+ * // changeDescription: "STRING_VALUE",
48
+ * // type: "BUILD" || "TEST" || "DISTRIBUTION",
49
+ * // owner: "STRING_VALUE",
50
+ * // state: { // WorkflowState
51
+ * // status: "DEPRECATED",
52
+ * // reason: "STRING_VALUE",
53
+ * // },
54
+ * // dateCreated: "STRING_VALUE",
55
+ * // tags: { // TagMap
56
+ * // "<keys>": "STRING_VALUE",
57
+ * // },
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListWorkflowBuildVersionsCommandInput - {@link ListWorkflowBuildVersionsCommandInput}
66
+ * @returns {@link ListWorkflowBuildVersionsCommandOutput}
67
+ * @see {@link ListWorkflowBuildVersionsCommandInput} for command's `input` shape.
68
+ * @see {@link ListWorkflowBuildVersionsCommandOutput} for command's `response` shape.
69
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
70
+ *
71
+ * @throws {@link CallRateLimitExceededException} (client fault)
72
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
73
+ *
74
+ * @throws {@link ClientException} (client fault)
75
+ * <p>These errors are usually caused by a client action, such as using an action or
76
+ * resource on behalf of a user that doesn't have permissions to use the action or
77
+ * resource, or specifying an invalid resource identifier.</p>
78
+ *
79
+ * @throws {@link ForbiddenException} (client fault)
80
+ * <p>You are not authorized to perform the requested operation.</p>
81
+ *
82
+ * @throws {@link InvalidPaginationTokenException} (client fault)
83
+ * <p>You have provided an invalid pagination token in your request.</p>
84
+ *
85
+ * @throws {@link InvalidRequestException} (client fault)
86
+ * <p>You have requested an action that that the service doesn't support.</p>
87
+ *
88
+ * @throws {@link ServiceException} (server fault)
89
+ * <p>This exception is thrown when the service encounters an unrecoverable
90
+ * exception.</p>
91
+ *
92
+ * @throws {@link ServiceUnavailableException} (server fault)
93
+ * <p>The service is unable to process your request at this time.</p>
94
+ *
95
+ * @throws {@link ImagebuilderServiceException}
96
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
97
+ *
98
+ */
99
+ export declare class ListWorkflowBuildVersionsCommand extends $Command<ListWorkflowBuildVersionsCommandInput, ListWorkflowBuildVersionsCommandOutput, ImagebuilderClientResolvedConfig> {
100
+ readonly input: ListWorkflowBuildVersionsCommandInput;
101
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
+ /**
103
+ * @public
104
+ */
105
+ constructor(input: ListWorkflowBuildVersionsCommandInput);
106
+ /**
107
+ * @internal
108
+ */
109
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowBuildVersionsCommandInput, ListWorkflowBuildVersionsCommandOutput>;
110
+ /**
111
+ * @internal
112
+ */
113
+ private serialize;
114
+ /**
115
+ * @internal
116
+ */
117
+ private deserialize;
118
+ }
@@ -45,7 +45,7 @@ export interface ListWorkflowExecutionsCommandOutput extends ListWorkflowExecuti
45
45
  * // workflowBuildVersionArn: "STRING_VALUE",
46
46
  * // workflowExecutionId: "STRING_VALUE",
47
47
  * // type: "BUILD" || "TEST" || "DISTRIBUTION",
48
- * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETED",
48
+ * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETED" || "CANCELLED",
49
49
  * // message: "STRING_VALUE",
50
50
  * // totalStepCount: Number("int"),
51
51
  * // totalStepsSucceeded: Number("int"),
@@ -53,6 +53,7 @@ export interface ListWorkflowExecutionsCommandOutput extends ListWorkflowExecuti
53
53
  * // totalStepsSkipped: Number("int"),
54
54
  * // startTime: "STRING_VALUE",
55
55
  * // endTime: "STRING_VALUE",
56
+ * // parallelGroup: "STRING_VALUE",
56
57
  * // },
57
58
  * // ],
58
59
  * // imageBuildVersionArn: "STRING_VALUE",
@@ -23,7 +23,7 @@ export interface ListWorkflowStepExecutionsCommandOutput extends ListWorkflowSte
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Shows runtime data for each step in a runtime instance of the workflow
26
+ * <p>Returns runtime data for each step in a runtime instance of the workflow
27
27
  * that you specify in the request.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
@@ -46,7 +46,7 @@ export interface ListWorkflowStepExecutionsCommandOutput extends ListWorkflowSte
46
46
  * // name: "STRING_VALUE",
47
47
  * // description: "STRING_VALUE",
48
48
  * // action: "STRING_VALUE",
49
- * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED",
49
+ * // status: "PENDING" || "SKIPPED" || "RUNNING" || "COMPLETED" || "FAILED" || "CANCELLED",
50
50
  * // rollbackStatus: "RUNNING" || "COMPLETED" || "SKIPPED" || "FAILED",
51
51
  * // message: "STRING_VALUE",
52
52
  * // inputs: "STRING_VALUE",
@@ -0,0 +1,119 @@
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 { ListWorkflowsRequest, ListWorkflowsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListWorkflowsCommand}.
14
+ */
15
+ export interface ListWorkflowsCommandInput extends ListWorkflowsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWorkflowsCommand}.
21
+ */
22
+ export interface ListWorkflowsCommandOutput extends ListWorkflowsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists workflow build versions based on filtering parameters.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ImagebuilderClient, ListWorkflowsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
31
+ * // const { ImagebuilderClient, ListWorkflowsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
32
+ * const client = new ImagebuilderClient(config);
33
+ * const input = { // ListWorkflowsRequest
34
+ * owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
35
+ * filters: [ // FilterList
36
+ * { // Filter
37
+ * name: "STRING_VALUE",
38
+ * values: [ // FilterValues
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * ],
43
+ * byName: true || false,
44
+ * maxResults: Number("int"),
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListWorkflowsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListWorkflowsResponse
50
+ * // workflowVersionList: [ // WorkflowVersionList
51
+ * // { // WorkflowVersion
52
+ * // arn: "STRING_VALUE",
53
+ * // name: "STRING_VALUE",
54
+ * // version: "STRING_VALUE",
55
+ * // description: "STRING_VALUE",
56
+ * // type: "BUILD" || "TEST" || "DISTRIBUTION",
57
+ * // owner: "STRING_VALUE",
58
+ * // dateCreated: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListWorkflowsCommandInput - {@link ListWorkflowsCommandInput}
67
+ * @returns {@link ListWorkflowsCommandOutput}
68
+ * @see {@link ListWorkflowsCommandInput} for command's `input` shape.
69
+ * @see {@link ListWorkflowsCommandOutput} for command's `response` shape.
70
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
71
+ *
72
+ * @throws {@link CallRateLimitExceededException} (client fault)
73
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
74
+ *
75
+ * @throws {@link ClientException} (client fault)
76
+ * <p>These errors are usually caused by a client action, such as using an action or
77
+ * resource on behalf of a user that doesn't have permissions to use the action or
78
+ * resource, or specifying an invalid resource identifier.</p>
79
+ *
80
+ * @throws {@link ForbiddenException} (client fault)
81
+ * <p>You are not authorized to perform the requested operation.</p>
82
+ *
83
+ * @throws {@link InvalidPaginationTokenException} (client fault)
84
+ * <p>You have provided an invalid pagination token in your request.</p>
85
+ *
86
+ * @throws {@link InvalidRequestException} (client fault)
87
+ * <p>You have requested an action that that the service doesn't support.</p>
88
+ *
89
+ * @throws {@link ServiceException} (server fault)
90
+ * <p>This exception is thrown when the service encounters an unrecoverable
91
+ * exception.</p>
92
+ *
93
+ * @throws {@link ServiceUnavailableException} (server fault)
94
+ * <p>The service is unable to process your request at this time.</p>
95
+ *
96
+ * @throws {@link ImagebuilderServiceException}
97
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
98
+ *
99
+ */
100
+ export declare class ListWorkflowsCommand extends $Command<ListWorkflowsCommandInput, ListWorkflowsCommandOutput, ImagebuilderClientResolvedConfig> {
101
+ readonly input: ListWorkflowsCommandInput;
102
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
+ /**
104
+ * @public
105
+ */
106
+ constructor(input: ListWorkflowsCommandInput);
107
+ /**
108
+ * @internal
109
+ */
110
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowsCommandInput, ListWorkflowsCommandOutput>;
111
+ /**
112
+ * @internal
113
+ */
114
+ private serialize;
115
+ /**
116
+ * @internal
117
+ */
118
+ private deserialize;
119
+ }
@@ -0,0 +1,115 @@
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 { SendWorkflowStepActionRequest, SendWorkflowStepActionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendWorkflowStepActionCommand}.
14
+ */
15
+ export interface SendWorkflowStepActionCommandInput extends SendWorkflowStepActionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendWorkflowStepActionCommand}.
21
+ */
22
+ export interface SendWorkflowStepActionCommandOutput extends SendWorkflowStepActionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Pauses or resumes image creation when the associated workflow runs a
27
+ * <code>WaitForAction</code> step.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ImagebuilderClient, SendWorkflowStepActionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
32
+ * // const { ImagebuilderClient, SendWorkflowStepActionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
33
+ * const client = new ImagebuilderClient(config);
34
+ * const input = { // SendWorkflowStepActionRequest
35
+ * stepExecutionId: "STRING_VALUE", // required
36
+ * imageBuildVersionArn: "STRING_VALUE", // required
37
+ * action: "RESUME" || "STOP", // required
38
+ * reason: "STRING_VALUE",
39
+ * clientToken: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new SendWorkflowStepActionCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // SendWorkflowStepActionResponse
44
+ * // stepExecutionId: "STRING_VALUE",
45
+ * // imageBuildVersionArn: "STRING_VALUE",
46
+ * // clientToken: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param SendWorkflowStepActionCommandInput - {@link SendWorkflowStepActionCommandInput}
52
+ * @returns {@link SendWorkflowStepActionCommandOutput}
53
+ * @see {@link SendWorkflowStepActionCommandInput} for command's `input` shape.
54
+ * @see {@link SendWorkflowStepActionCommandOutput} for command's `response` shape.
55
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
56
+ *
57
+ * @throws {@link CallRateLimitExceededException} (client fault)
58
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
59
+ *
60
+ * @throws {@link ClientException} (client fault)
61
+ * <p>These errors are usually caused by a client action, such as using an action or
62
+ * resource on behalf of a user that doesn't have permissions to use the action or
63
+ * resource, or specifying an invalid resource identifier.</p>
64
+ *
65
+ * @throws {@link ForbiddenException} (client fault)
66
+ * <p>You are not authorized to perform the requested operation.</p>
67
+ *
68
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
69
+ * <p>You have specified a client token for an operation using parameter values that differ
70
+ * from a previous request that used the same client token.</p>
71
+ *
72
+ * @throws {@link InvalidParameterValueException} (client fault)
73
+ * <p>The value that you provided for the specified parameter is invalid.</p>
74
+ *
75
+ * @throws {@link InvalidRequestException} (client fault)
76
+ * <p>You have requested an action that that the service doesn't support.</p>
77
+ *
78
+ * @throws {@link ResourceInUseException} (client fault)
79
+ * <p>The resource that you are trying to operate on is currently in use. Review the message
80
+ * details and retry later.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>At least one of the resources referenced by your request does not exist.</p>
84
+ *
85
+ * @throws {@link ServiceException} (server fault)
86
+ * <p>This exception is thrown when the service encounters an unrecoverable
87
+ * exception.</p>
88
+ *
89
+ * @throws {@link ServiceUnavailableException} (server fault)
90
+ * <p>The service is unable to process your request at this time.</p>
91
+ *
92
+ * @throws {@link ImagebuilderServiceException}
93
+ * <p>Base exception class for all service exceptions from Imagebuilder service.</p>
94
+ *
95
+ */
96
+ export declare class SendWorkflowStepActionCommand extends $Command<SendWorkflowStepActionCommandInput, SendWorkflowStepActionCommandOutput, ImagebuilderClientResolvedConfig> {
97
+ readonly input: SendWorkflowStepActionCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: SendWorkflowStepActionCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendWorkflowStepActionCommandInput, SendWorkflowStepActionCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }
@@ -24,7 +24,8 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
24
24
  /**
25
25
  * @public
26
26
  * <p>Updates an image pipeline. Image pipelines enable you to automate the creation and
27
- * distribution of images.</p>
27
+ * distribution of images. You must specify exactly one recipe for your image, using either
28
+ * a <code>containerRecipeArn</code> or an <code>imageRecipeArn</code>.</p>
28
29
  * <note>
29
30
  * <p>UpdateImagePipeline does not support selective updates for the pipeline. You must
30
31
  * specify all of the required properties in the update request, not just the
@@ -64,6 +65,22 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
64
65
  * ],
65
66
  * },
66
67
  * },
68
+ * workflows: [ // WorkflowConfigurationList
69
+ * { // WorkflowConfiguration
70
+ * workflowArn: "STRING_VALUE", // required
71
+ * parameters: [ // WorkflowParameterList
72
+ * { // WorkflowParameter
73
+ * name: "STRING_VALUE", // required
74
+ * value: [ // WorkflowParameterValueList // required
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * },
78
+ * ],
79
+ * parallelGroup: "STRING_VALUE",
80
+ * onFailure: "CONTINUE" || "ABORT",
81
+ * },
82
+ * ],
83
+ * executionRole: "STRING_VALUE",
67
84
  * };
68
85
  * const command = new UpdateImagePipelineCommand(input);
69
86
  * const response = await client.send(command);
@@ -8,6 +8,7 @@ export * from "./CreateImagePipelineCommand";
8
8
  export * from "./CreateImageRecipeCommand";
9
9
  export * from "./CreateInfrastructureConfigurationCommand";
10
10
  export * from "./CreateLifecyclePolicyCommand";
11
+ export * from "./CreateWorkflowCommand";
11
12
  export * from "./DeleteComponentCommand";
12
13
  export * from "./DeleteContainerRecipeCommand";
13
14
  export * from "./DeleteDistributionConfigurationCommand";
@@ -16,6 +17,7 @@ export * from "./DeleteImagePipelineCommand";
16
17
  export * from "./DeleteImageRecipeCommand";
17
18
  export * from "./DeleteInfrastructureConfigurationCommand";
18
19
  export * from "./DeleteLifecyclePolicyCommand";
20
+ export * from "./DeleteWorkflowCommand";
19
21
  export * from "./GetComponentCommand";
20
22
  export * from "./GetComponentPolicyCommand";
21
23
  export * from "./GetContainerRecipeCommand";
@@ -29,6 +31,7 @@ export * from "./GetImageRecipePolicyCommand";
29
31
  export * from "./GetInfrastructureConfigurationCommand";
30
32
  export * from "./GetLifecycleExecutionCommand";
31
33
  export * from "./GetLifecyclePolicyCommand";
34
+ export * from "./GetWorkflowCommand";
32
35
  export * from "./GetWorkflowExecutionCommand";
33
36
  export * from "./GetWorkflowStepExecutionCommand";
34
37
  export * from "./ImportComponentCommand";
@@ -50,12 +53,16 @@ export * from "./ListLifecycleExecutionResourcesCommand";
50
53
  export * from "./ListLifecycleExecutionsCommand";
51
54
  export * from "./ListLifecyclePoliciesCommand";
52
55
  export * from "./ListTagsForResourceCommand";
56
+ export * from "./ListWaitingWorkflowStepsCommand";
57
+ export * from "./ListWorkflowBuildVersionsCommand";
53
58
  export * from "./ListWorkflowExecutionsCommand";
54
59
  export * from "./ListWorkflowStepExecutionsCommand";
60
+ export * from "./ListWorkflowsCommand";
55
61
  export * from "./PutComponentPolicyCommand";
56
62
  export * from "./PutContainerRecipePolicyCommand";
57
63
  export * from "./PutImagePolicyCommand";
58
64
  export * from "./PutImageRecipePolicyCommand";
65
+ export * from "./SendWorkflowStepActionCommand";
59
66
  export * from "./StartImagePipelineExecutionCommand";
60
67
  export * from "./StartResourceStateUpdateCommand";
61
68
  export * from "./TagResourceCommand";