@aws-sdk/client-imagebuilder 3.300.0 → 3.303.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 (118) hide show
  1. package/README.md +51 -3
  2. package/dist-cjs/Imagebuilder.js +90 -0
  3. package/dist-cjs/commands/GetWorkflowExecutionCommand.js +45 -0
  4. package/dist-cjs/commands/GetWorkflowStepExecutionCommand.js +45 -0
  5. package/dist-cjs/commands/ListImageScanFindingAggregationsCommand.js +45 -0
  6. package/dist-cjs/commands/ListImageScanFindingsCommand.js +45 -0
  7. package/dist-cjs/commands/ListWorkflowExecutionsCommand.js +45 -0
  8. package/dist-cjs/commands/ListWorkflowStepExecutionsCommand.js +45 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +3 -3
  11. package/dist-cjs/models/models_0.js +113 -92
  12. package/dist-cjs/pagination/ListImageScanFindingAggregationsPaginator.js +28 -0
  13. package/dist-cjs/pagination/ListImageScanFindingsPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListWorkflowExecutionsPaginator.js +29 -0
  15. package/dist-cjs/pagination/ListWorkflowStepExecutionsPaginator.js +29 -0
  16. package/dist-cjs/pagination/index.js +4 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +945 -13
  18. package/dist-es/Imagebuilder.js +90 -0
  19. package/dist-es/commands/GetWorkflowExecutionCommand.js +41 -0
  20. package/dist-es/commands/GetWorkflowStepExecutionCommand.js +41 -0
  21. package/dist-es/commands/ListImageScanFindingAggregationsCommand.js +41 -0
  22. package/dist-es/commands/ListImageScanFindingsCommand.js +41 -0
  23. package/dist-es/commands/ListWorkflowExecutionsCommand.js +41 -0
  24. package/dist-es/commands/ListWorkflowStepExecutionsCommand.js +41 -0
  25. package/dist-es/commands/index.js +6 -0
  26. package/dist-es/endpoint/ruleset.js +3 -3
  27. package/dist-es/models/models_0.js +112 -91
  28. package/dist-es/pagination/ListImageScanFindingAggregationsPaginator.js +24 -0
  29. package/dist-es/pagination/ListImageScanFindingsPaginator.js +25 -0
  30. package/dist-es/pagination/ListWorkflowExecutionsPaginator.js +25 -0
  31. package/dist-es/pagination/ListWorkflowStepExecutionsPaginator.js +25 -0
  32. package/dist-es/pagination/index.js +4 -0
  33. package/dist-es/protocols/Aws_restJson1.js +931 -12
  34. package/dist-types/Imagebuilder.d.ts +165 -75
  35. package/dist-types/ImagebuilderClient.d.ts +11 -5
  36. package/dist-types/commands/CancelImageCreationCommand.d.ts +9 -8
  37. package/dist-types/commands/CreateComponentCommand.d.ts +19 -16
  38. package/dist-types/commands/CreateContainerRecipeCommand.d.ts +25 -21
  39. package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +35 -32
  40. package/dist-types/commands/CreateImageCommand.d.ts +26 -13
  41. package/dist-types/commands/CreateImagePipelineCommand.d.ts +25 -13
  42. package/dist-types/commands/CreateImageRecipeCommand.d.ts +25 -22
  43. package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +21 -18
  44. package/dist-types/commands/DeleteComponentCommand.d.ts +10 -9
  45. package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +9 -8
  46. package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +10 -9
  47. package/dist-types/commands/DeleteImageCommand.d.ts +17 -15
  48. package/dist-types/commands/DeleteImagePipelineCommand.d.ts +10 -9
  49. package/dist-types/commands/DeleteImageRecipeCommand.d.ts +10 -9
  50. package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +10 -9
  51. package/dist-types/commands/GetComponentCommand.d.ts +8 -7
  52. package/dist-types/commands/GetComponentPolicyCommand.d.ts +5 -4
  53. package/dist-types/commands/GetContainerRecipeCommand.d.ts +7 -6
  54. package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +4 -3
  55. package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +8 -7
  56. package/dist-types/commands/GetImageCommand.d.ts +8 -7
  57. package/dist-types/commands/GetImagePipelineCommand.d.ts +8 -7
  58. package/dist-types/commands/GetImagePolicyCommand.d.ts +5 -4
  59. package/dist-types/commands/GetImageRecipeCommand.d.ts +8 -7
  60. package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +5 -4
  61. package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +8 -7
  62. package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +85 -0
  63. package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +85 -0
  64. package/dist-types/commands/ImportComponentCommand.d.ts +12 -11
  65. package/dist-types/commands/ImportVmImageCommand.d.ts +14 -14
  66. package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +9 -7
  67. package/dist-types/commands/ListComponentsCommand.d.ts +13 -12
  68. package/dist-types/commands/ListContainerRecipesCommand.d.ts +10 -9
  69. package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +10 -9
  70. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +11 -10
  71. package/dist-types/commands/ListImagePackagesCommand.d.ts +9 -7
  72. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +10 -9
  73. package/dist-types/commands/ListImagePipelinesCommand.d.ts +10 -9
  74. package/dist-types/commands/ListImageRecipesCommand.d.ts +11 -10
  75. package/dist-types/commands/ListImageScanFindingAggregationsCommand.d.ts +120 -0
  76. package/dist-types/commands/ListImageScanFindingsCommand.d.ts +96 -0
  77. package/dist-types/commands/ListImagesCommand.d.ts +12 -11
  78. package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +11 -10
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
  80. package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +90 -0
  81. package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +90 -0
  82. package/dist-types/commands/PutComponentPolicyCommand.d.ts +10 -9
  83. package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +15 -7
  84. package/dist-types/commands/PutImagePolicyCommand.d.ts +9 -8
  85. package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +10 -9
  86. package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +10 -9
  87. package/dist-types/commands/TagResourceCommand.d.ts +5 -4
  88. package/dist-types/commands/UntagResourceCommand.d.ts +5 -4
  89. package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +31 -30
  90. package/dist-types/commands/UpdateImagePipelineCommand.d.ts +24 -14
  91. package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +17 -16
  92. package/dist-types/commands/index.d.ts +6 -0
  93. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  94. package/dist-types/models/models_0.d.ts +1712 -524
  95. package/dist-types/pagination/ListImageScanFindingAggregationsPaginator.d.ts +7 -0
  96. package/dist-types/pagination/ListImageScanFindingsPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListWorkflowExecutionsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/ListWorkflowStepExecutionsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/index.d.ts +4 -0
  100. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  101. package/dist-types/ts3.4/Imagebuilder.d.ts +102 -0
  102. package/dist-types/ts3.4/ImagebuilderClient.d.ts +36 -0
  103. package/dist-types/ts3.4/commands/GetWorkflowExecutionCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/GetWorkflowStepExecutionCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/ListImageScanFindingAggregationsCommand.d.ts +41 -0
  106. package/dist-types/ts3.4/commands/ListImageScanFindingsCommand.d.ts +41 -0
  107. package/dist-types/ts3.4/commands/ListWorkflowExecutionsCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ListWorkflowStepExecutionsCommand.d.ts +41 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  111. package/dist-types/ts3.4/models/models_0.d.ts +372 -76
  112. package/dist-types/ts3.4/pagination/ListImageScanFindingAggregationsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/ListImageScanFindingsPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/ListWorkflowExecutionsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/ListWorkflowStepExecutionsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  117. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  118. package/package.json +34 -34
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { ListImageScanFindingsRequest, ListImageScanFindingsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListImageScanFindingsCommand}.
10
+ */
11
+ export interface ListImageScanFindingsCommandInput extends ListImageScanFindingsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListImageScanFindingsCommand}.
17
+ */
18
+ export interface ListImageScanFindingsCommandOutput extends ListImageScanFindingsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns a list of image scan findings for your account.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { ImagebuilderClient, ListImageScanFindingsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
27
+ * // const { ImagebuilderClient, ListImageScanFindingsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
28
+ * const client = new ImagebuilderClient(config);
29
+ * const input = { // ListImageScanFindingsRequest
30
+ * filters: [ // ImageScanFindingsFilterList
31
+ * { // ImageScanFindingsFilter
32
+ * name: "STRING_VALUE",
33
+ * values: [ // ImageScanFindingsFilterValues
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * },
37
+ * ],
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListImageScanFindingsCommand(input);
42
+ * const response = await client.send(command);
43
+ * ```
44
+ *
45
+ * @param ListImageScanFindingsCommandInput - {@link ListImageScanFindingsCommandInput}
46
+ * @returns {@link ListImageScanFindingsCommandOutput}
47
+ * @see {@link ListImageScanFindingsCommandInput} for command's `input` shape.
48
+ * @see {@link ListImageScanFindingsCommandOutput} for command's `response` shape.
49
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
50
+ *
51
+ * @throws {@link CallRateLimitExceededException} (client fault)
52
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
53
+ *
54
+ * @throws {@link ClientException} (client fault)
55
+ * <p>These errors are usually caused by a client action, such as using an action or
56
+ * resource on behalf of a user that doesn't have permissions to use the action or
57
+ * resource, or specifying an invalid resource identifier.</p>
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ * <p>You are not authorized to perform the requested operation.</p>
61
+ *
62
+ * @throws {@link InvalidPaginationTokenException} (client fault)
63
+ * <p>You have provided an invalid pagination token in your request.</p>
64
+ *
65
+ * @throws {@link InvalidRequestException} (client fault)
66
+ * <p>You have requested an action that that the service doesn't support.</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
+ *
76
+ */
77
+ export declare class ListImageScanFindingsCommand extends $Command<ListImageScanFindingsCommandInput, ListImageScanFindingsCommandOutput, ImagebuilderClientResolvedConfig> {
78
+ readonly input: ListImageScanFindingsCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: ListImageScanFindingsCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImageScanFindingsCommandInput, ListImageScanFindingsCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -19,20 +19,20 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Returns the list of images that you have access to. Newly created images
23
- * can take up to two minutes to appear in the ListImages API Results.</p>
22
+ * <p>Returns the list of images that you have access to. Newly created images can take up
23
+ * to two minutes to appear in the ListImages API Results.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
27
27
  * import { ImagebuilderClient, ListImagesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
28
28
  * // const { ImagebuilderClient, ListImagesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
29
29
  * const client = new ImagebuilderClient(config);
30
- * const input = {
30
+ * const input = { // ListImagesRequest
31
31
  * owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
32
- * filters: [
33
- * {
32
+ * filters: [ // FilterList
33
+ * { // Filter
34
34
  * name: "STRING_VALUE",
35
- * values: [
35
+ * values: [ // FilterValues
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * },
@@ -56,9 +56,9 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
56
56
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
57
57
  *
58
58
  * @throws {@link ClientException} (client fault)
59
- * <p>These errors are usually caused by a client action, such as using an action or resource on
60
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
61
- * invalid resource identifier.</p>
59
+ * <p>These errors are usually caused by a client action, such as using an action or
60
+ * resource on behalf of a user that doesn't have permissions to use the action or
61
+ * resource, or specifying an invalid resource identifier.</p>
62
62
  *
63
63
  * @throws {@link ForbiddenException} (client fault)
64
64
  * <p>You are not authorized to perform the requested operation.</p>
@@ -67,10 +67,11 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
67
67
  * <p>You have provided an invalid pagination token in your request.</p>
68
68
  *
69
69
  * @throws {@link InvalidRequestException} (client fault)
70
- * <p>You have made a request for an action that is not supported by the service.</p>
70
+ * <p>You have requested an action that that the service doesn't support.</p>
71
71
  *
72
72
  * @throws {@link ServiceException} (server fault)
73
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
73
+ * <p>This exception is thrown when the service encounters an unrecoverable
74
+ * exception.</p>
74
75
  *
75
76
  * @throws {@link ServiceUnavailableException} (server fault)
76
77
  * <p>The service is unable to process your request at this time.</p>
@@ -19,18 +19,18 @@ export interface ListInfrastructureConfigurationsCommandOutput extends ListInfra
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Returns a list of infrastructure configurations.</p>
22
+ * <p>Returns a list of infrastructure configurations.</p>
23
23
  * @example
24
24
  * Use a bare-bones client and the command you need to make an API call.
25
25
  * ```javascript
26
26
  * import { ImagebuilderClient, ListInfrastructureConfigurationsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
27
27
  * // const { ImagebuilderClient, ListInfrastructureConfigurationsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
28
28
  * const client = new ImagebuilderClient(config);
29
- * const input = {
30
- * filters: [
31
- * {
29
+ * const input = { // ListInfrastructureConfigurationsRequest
30
+ * filters: [ // FilterList
31
+ * { // Filter
32
32
  * name: "STRING_VALUE",
33
- * values: [
33
+ * values: [ // FilterValues
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * },
@@ -52,9 +52,9 @@ export interface ListInfrastructureConfigurationsCommandOutput extends ListInfra
52
52
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
53
53
  *
54
54
  * @throws {@link ClientException} (client fault)
55
- * <p>These errors are usually caused by a client action, such as using an action or resource on
56
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
57
- * invalid resource identifier.</p>
55
+ * <p>These errors are usually caused by a client action, such as using an action or
56
+ * resource on behalf of a user that doesn't have permissions to use the action or
57
+ * resource, or specifying an invalid resource identifier.</p>
58
58
  *
59
59
  * @throws {@link ForbiddenException} (client fault)
60
60
  * <p>You are not authorized to perform the requested operation.</p>
@@ -63,10 +63,11 @@ export interface ListInfrastructureConfigurationsCommandOutput extends ListInfra
63
63
  * <p>You have provided an invalid pagination token in your request.</p>
64
64
  *
65
65
  * @throws {@link InvalidRequestException} (client fault)
66
- * <p>You have made a request for an action that is not supported by the service.</p>
66
+ * <p>You have requested an action that that the service doesn't support.</p>
67
67
  *
68
68
  * @throws {@link ServiceException} (server fault)
69
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
69
+ * <p>This exception is thrown when the service encounters an unrecoverable
70
+ * exception.</p>
70
71
  *
71
72
  * @throws {@link ServiceUnavailableException} (server fault)
72
73
  * <p>The service is unable to process your request at this time.</p>
@@ -19,14 +19,14 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Returns the list of tags for the specified resource.</p>
22
+ * <p>Returns the list of tags for the specified resource.</p>
23
23
  * @example
24
24
  * Use a bare-bones client and the command you need to make an API call.
25
25
  * ```javascript
26
26
  * import { ImagebuilderClient, ListTagsForResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
27
27
  * // const { ImagebuilderClient, ListTagsForResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
28
28
  * const client = new ImagebuilderClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -47,7 +47,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
47
47
  * <p>At least one of the resources referenced by your request does not exist.</p>
48
48
  *
49
49
  * @throws {@link ServiceException} (server fault)
50
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
50
+ * <p>This exception is thrown when the service encounters an unrecoverable
51
+ * exception.</p>
51
52
  *
52
53
  *
53
54
  */
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { ListWorkflowExecutionsRequest, ListWorkflowExecutionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListWorkflowExecutionsCommand}.
10
+ */
11
+ export interface ListWorkflowExecutionsCommandInput extends ListWorkflowExecutionsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListWorkflowExecutionsCommand}.
17
+ */
18
+ export interface ListWorkflowExecutionsCommandOutput extends ListWorkflowExecutionsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns a list of workflow runtime instance metadata objects for a specific image build
23
+ * version.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { ImagebuilderClient, ListWorkflowExecutionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
28
+ * // const { ImagebuilderClient, ListWorkflowExecutionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
29
+ * const client = new ImagebuilderClient(config);
30
+ * const input = { // ListWorkflowExecutionsRequest
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * imageBuildVersionArn: "STRING_VALUE", // required
34
+ * };
35
+ * const command = new ListWorkflowExecutionsCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param ListWorkflowExecutionsCommandInput - {@link ListWorkflowExecutionsCommandInput}
40
+ * @returns {@link ListWorkflowExecutionsCommandOutput}
41
+ * @see {@link ListWorkflowExecutionsCommandInput} for command's `input` shape.
42
+ * @see {@link ListWorkflowExecutionsCommandOutput} for command's `response` shape.
43
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
44
+ *
45
+ * @throws {@link CallRateLimitExceededException} (client fault)
46
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
47
+ *
48
+ * @throws {@link ClientException} (client fault)
49
+ * <p>These errors are usually caused by a client action, such as using an action or
50
+ * resource on behalf of a user that doesn't have permissions to use the action or
51
+ * resource, or specifying an invalid resource identifier.</p>
52
+ *
53
+ * @throws {@link ForbiddenException} (client fault)
54
+ * <p>You are not authorized to perform the requested operation.</p>
55
+ *
56
+ * @throws {@link InvalidPaginationTokenException} (client fault)
57
+ * <p>You have provided an invalid pagination token in your request.</p>
58
+ *
59
+ * @throws {@link InvalidRequestException} (client fault)
60
+ * <p>You have requested an action that that the service doesn't support.</p>
61
+ *
62
+ * @throws {@link ServiceException} (server fault)
63
+ * <p>This exception is thrown when the service encounters an unrecoverable
64
+ * exception.</p>
65
+ *
66
+ * @throws {@link ServiceUnavailableException} (server fault)
67
+ * <p>The service is unable to process your request at this time.</p>
68
+ *
69
+ *
70
+ */
71
+ export declare class ListWorkflowExecutionsCommand extends $Command<ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput, ImagebuilderClientResolvedConfig> {
72
+ readonly input: ListWorkflowExecutionsCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: ListWorkflowExecutionsCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowExecutionsCommandInput, ListWorkflowExecutionsCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
5
+ import { ListWorkflowStepExecutionsRequest, ListWorkflowStepExecutionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListWorkflowStepExecutionsCommand}.
10
+ */
11
+ export interface ListWorkflowStepExecutionsCommandInput extends ListWorkflowStepExecutionsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListWorkflowStepExecutionsCommand}.
17
+ */
18
+ export interface ListWorkflowStepExecutionsCommandOutput extends ListWorkflowStepExecutionsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Shows runtime data for each step in a runtime instance of the workflow
23
+ * that you specify in the request.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { ImagebuilderClient, ListWorkflowStepExecutionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
28
+ * // const { ImagebuilderClient, ListWorkflowStepExecutionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
29
+ * const client = new ImagebuilderClient(config);
30
+ * const input = { // ListWorkflowStepExecutionsRequest
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * workflowExecutionId: "STRING_VALUE", // required
34
+ * };
35
+ * const command = new ListWorkflowStepExecutionsCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param ListWorkflowStepExecutionsCommandInput - {@link ListWorkflowStepExecutionsCommandInput}
40
+ * @returns {@link ListWorkflowStepExecutionsCommandOutput}
41
+ * @see {@link ListWorkflowStepExecutionsCommandInput} for command's `input` shape.
42
+ * @see {@link ListWorkflowStepExecutionsCommandOutput} for command's `response` shape.
43
+ * @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
44
+ *
45
+ * @throws {@link CallRateLimitExceededException} (client fault)
46
+ * <p>You have exceeded the permitted request rate for the specific operation.</p>
47
+ *
48
+ * @throws {@link ClientException} (client fault)
49
+ * <p>These errors are usually caused by a client action, such as using an action or
50
+ * resource on behalf of a user that doesn't have permissions to use the action or
51
+ * resource, or specifying an invalid resource identifier.</p>
52
+ *
53
+ * @throws {@link ForbiddenException} (client fault)
54
+ * <p>You are not authorized to perform the requested operation.</p>
55
+ *
56
+ * @throws {@link InvalidPaginationTokenException} (client fault)
57
+ * <p>You have provided an invalid pagination token in your request.</p>
58
+ *
59
+ * @throws {@link InvalidRequestException} (client fault)
60
+ * <p>You have requested an action that that the service doesn't support.</p>
61
+ *
62
+ * @throws {@link ServiceException} (server fault)
63
+ * <p>This exception is thrown when the service encounters an unrecoverable
64
+ * exception.</p>
65
+ *
66
+ * @throws {@link ServiceUnavailableException} (server fault)
67
+ * <p>The service is unable to process your request at this time.</p>
68
+ *
69
+ *
70
+ */
71
+ export declare class ListWorkflowStepExecutionsCommand extends $Command<ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput, ImagebuilderClientResolvedConfig> {
72
+ readonly input: ListWorkflowStepExecutionsCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: ListWorkflowStepExecutionsCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowStepExecutionsCommandInput, ListWorkflowStepExecutionsCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -19,16 +19,16 @@ export interface PutComponentPolicyCommandOutput extends PutComponentPolicyRespo
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Applies a policy to a component. We recommend that you call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> to share resources. If you call the Image Builder API
23
- * <code>PutComponentPolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be visible to
24
- * all principals with whom the resource is shared.</p>
22
+ * <p>Applies a policy to a component. We recommend that you call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> to share resources. If you call the Image Builder API
23
+ * <code>PutComponentPolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be
24
+ * visible to all principals with whom the resource is shared.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.
27
27
  * ```javascript
28
28
  * import { ImagebuilderClient, PutComponentPolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
29
29
  * // const { ImagebuilderClient, PutComponentPolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
30
30
  * const client = new ImagebuilderClient(config);
31
- * const input = {
31
+ * const input = { // PutComponentPolicyRequest
32
32
  * componentArn: "STRING_VALUE", // required
33
33
  * policy: "STRING_VALUE", // required
34
34
  * };
@@ -46,9 +46,9 @@ export interface PutComponentPolicyCommandOutput extends PutComponentPolicyRespo
46
46
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
47
47
  *
48
48
  * @throws {@link ClientException} (client fault)
49
- * <p>These errors are usually caused by a client action, such as using an action or resource on
50
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
51
- * invalid resource identifier.</p>
49
+ * <p>These errors are usually caused by a client action, such as using an action or
50
+ * resource on behalf of a user that doesn't have permissions to use the action or
51
+ * resource, or specifying an invalid resource identifier.</p>
52
52
  *
53
53
  * @throws {@link ForbiddenException} (client fault)
54
54
  * <p>You are not authorized to perform the requested operation.</p>
@@ -57,13 +57,14 @@ export interface PutComponentPolicyCommandOutput extends PutComponentPolicyRespo
57
57
  * <p>The value that you provided for the specified parameter is invalid.</p>
58
58
  *
59
59
  * @throws {@link InvalidRequestException} (client fault)
60
- * <p>You have made a request for an action that is not supported by the service.</p>
60
+ * <p>You have requested an action that that the service doesn't support.</p>
61
61
  *
62
62
  * @throws {@link ResourceNotFoundException} (client fault)
63
63
  * <p>At least one of the resources referenced by your request does not exist.</p>
64
64
  *
65
65
  * @throws {@link ServiceException} (server fault)
66
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
66
+ * <p>This exception is thrown when the service encounters an unrecoverable
67
+ * exception.</p>
67
68
  *
68
69
  * @throws {@link ServiceUnavailableException} (server fault)
69
70
  * <p>The service is unable to process your request at this time.</p>
@@ -19,14 +19,21 @@ export interface PutContainerRecipePolicyCommandOutput extends PutContainerRecip
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API <code>PutContainerImagePolicy</code>, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.</p>
22
+ * <p>Applies a policy to a container image. We recommend that you call the RAM API
23
+ * CreateResourceShare
24
+ * (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share
25
+ * resources. If you call the Image Builder API <code>PutContainerImagePolicy</code>, you must also
26
+ * call the RAM API PromoteResourceShareCreatedFromPolicy
27
+ * (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
28
+ * in order for the resource to be visible to all principals with whom the resource is
29
+ * shared.</p>
23
30
  * @example
24
31
  * Use a bare-bones client and the command you need to make an API call.
25
32
  * ```javascript
26
33
  * import { ImagebuilderClient, PutContainerRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
27
34
  * // const { ImagebuilderClient, PutContainerRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
28
35
  * const client = new ImagebuilderClient(config);
29
- * const input = {
36
+ * const input = { // PutContainerRecipePolicyRequest
30
37
  * containerRecipeArn: "STRING_VALUE", // required
31
38
  * policy: "STRING_VALUE", // required
32
39
  * };
@@ -44,9 +51,9 @@ export interface PutContainerRecipePolicyCommandOutput extends PutContainerRecip
44
51
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
45
52
  *
46
53
  * @throws {@link ClientException} (client fault)
47
- * <p>These errors are usually caused by a client action, such as using an action or resource on
48
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
49
- * invalid resource identifier.</p>
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>
50
57
  *
51
58
  * @throws {@link ForbiddenException} (client fault)
52
59
  * <p>You are not authorized to perform the requested operation.</p>
@@ -55,13 +62,14 @@ export interface PutContainerRecipePolicyCommandOutput extends PutContainerRecip
55
62
  * <p>The value that you provided for the specified parameter is invalid.</p>
56
63
  *
57
64
  * @throws {@link InvalidRequestException} (client fault)
58
- * <p>You have made a request for an action that is not supported by the service.</p>
65
+ * <p>You have requested an action that that the service doesn't support.</p>
59
66
  *
60
67
  * @throws {@link ResourceNotFoundException} (client fault)
61
68
  * <p>At least one of the resources referenced by your request does not exist.</p>
62
69
  *
63
70
  * @throws {@link ServiceException} (server fault)
64
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
71
+ * <p>This exception is thrown when the service encounters an unrecoverable
72
+ * exception.</p>
65
73
  *
66
74
  * @throws {@link ServiceUnavailableException} (server fault)
67
75
  * <p>The service is unable to process your request at this time.</p>
@@ -20,15 +20,15 @@ export interface PutImagePolicyCommandOutput extends PutImagePolicyResponse, __M
20
20
  /**
21
21
  * @public
22
22
  * <p>Applies a policy to an image. We recommend that you call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> to share resources. If you call the Image Builder API
23
- * <code>PutImagePolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be visible to
24
- * all principals with whom the resource is shared.</p>
23
+ * <code>PutImagePolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be
24
+ * visible to all principals with whom the resource is shared.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.
27
27
  * ```javascript
28
28
  * import { ImagebuilderClient, PutImagePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
29
29
  * // const { ImagebuilderClient, PutImagePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
30
30
  * const client = new ImagebuilderClient(config);
31
- * const input = {
31
+ * const input = { // PutImagePolicyRequest
32
32
  * imageArn: "STRING_VALUE", // required
33
33
  * policy: "STRING_VALUE", // required
34
34
  * };
@@ -46,9 +46,9 @@ export interface PutImagePolicyCommandOutput extends PutImagePolicyResponse, __M
46
46
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
47
47
  *
48
48
  * @throws {@link ClientException} (client fault)
49
- * <p>These errors are usually caused by a client action, such as using an action or resource on
50
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
51
- * invalid resource identifier.</p>
49
+ * <p>These errors are usually caused by a client action, such as using an action or
50
+ * resource on behalf of a user that doesn't have permissions to use the action or
51
+ * resource, or specifying an invalid resource identifier.</p>
52
52
  *
53
53
  * @throws {@link ForbiddenException} (client fault)
54
54
  * <p>You are not authorized to perform the requested operation.</p>
@@ -57,13 +57,14 @@ export interface PutImagePolicyCommandOutput extends PutImagePolicyResponse, __M
57
57
  * <p>The value that you provided for the specified parameter is invalid.</p>
58
58
  *
59
59
  * @throws {@link InvalidRequestException} (client fault)
60
- * <p>You have made a request for an action that is not supported by the service.</p>
60
+ * <p>You have requested an action that that the service doesn't support.</p>
61
61
  *
62
62
  * @throws {@link ResourceNotFoundException} (client fault)
63
63
  * <p>At least one of the resources referenced by your request does not exist.</p>
64
64
  *
65
65
  * @throws {@link ServiceException} (server fault)
66
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
66
+ * <p>This exception is thrown when the service encounters an unrecoverable
67
+ * exception.</p>
67
68
  *
68
69
  * @throws {@link ServiceUnavailableException} (server fault)
69
70
  * <p>The service is unable to process your request at this time.</p>
@@ -19,16 +19,16 @@ export interface PutImageRecipePolicyCommandOutput extends PutImageRecipePolicyR
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Applies a policy to an image recipe. We recommend that you call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> to share resources. If you call the Image Builder API
23
- * <code>PutImageRecipePolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be visible to
24
- * all principals with whom the resource is shared.</p>
22
+ * <p>Applies a policy to an image recipe. We recommend that you call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> to share resources. If you call the Image Builder API
23
+ * <code>PutImageRecipePolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be
24
+ * visible to all principals with whom the resource is shared.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.
27
27
  * ```javascript
28
28
  * import { ImagebuilderClient, PutImageRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
29
29
  * // const { ImagebuilderClient, PutImageRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
30
30
  * const client = new ImagebuilderClient(config);
31
- * const input = {
31
+ * const input = { // PutImageRecipePolicyRequest
32
32
  * imageRecipeArn: "STRING_VALUE", // required
33
33
  * policy: "STRING_VALUE", // required
34
34
  * };
@@ -46,9 +46,9 @@ export interface PutImageRecipePolicyCommandOutput extends PutImageRecipePolicyR
46
46
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
47
47
  *
48
48
  * @throws {@link ClientException} (client fault)
49
- * <p>These errors are usually caused by a client action, such as using an action or resource on
50
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
51
- * invalid resource identifier.</p>
49
+ * <p>These errors are usually caused by a client action, such as using an action or
50
+ * resource on behalf of a user that doesn't have permissions to use the action or
51
+ * resource, or specifying an invalid resource identifier.</p>
52
52
  *
53
53
  * @throws {@link ForbiddenException} (client fault)
54
54
  * <p>You are not authorized to perform the requested operation.</p>
@@ -57,13 +57,14 @@ export interface PutImageRecipePolicyCommandOutput extends PutImageRecipePolicyR
57
57
  * <p>The value that you provided for the specified parameter is invalid.</p>
58
58
  *
59
59
  * @throws {@link InvalidRequestException} (client fault)
60
- * <p>You have made a request for an action that is not supported by the service.</p>
60
+ * <p>You have requested an action that that the service doesn't support.</p>
61
61
  *
62
62
  * @throws {@link ResourceNotFoundException} (client fault)
63
63
  * <p>At least one of the resources referenced by your request does not exist.</p>
64
64
  *
65
65
  * @throws {@link ServiceException} (server fault)
66
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
66
+ * <p>This exception is thrown when the service encounters an unrecoverable
67
+ * exception.</p>
67
68
  *
68
69
  * @throws {@link ServiceUnavailableException} (server fault)
69
70
  * <p>The service is unable to process your request at this time.</p>