@aws-sdk/client-imagebuilder 3.301.0 → 3.306.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 +8 -7
  37. package/dist-types/commands/CreateComponentCommand.d.ts +16 -13
  38. package/dist-types/commands/CreateContainerRecipeCommand.d.ts +13 -9
  39. package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +15 -12
  40. package/dist-types/commands/CreateImageCommand.d.ts +23 -10
  41. package/dist-types/commands/CreateImagePipelineCommand.d.ts +21 -9
  42. package/dist-types/commands/CreateImageRecipeCommand.d.ts +13 -10
  43. package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +13 -10
  44. package/dist-types/commands/DeleteComponentCommand.d.ts +9 -8
  45. package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +8 -7
  46. package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +9 -8
  47. package/dist-types/commands/DeleteImageCommand.d.ts +16 -14
  48. package/dist-types/commands/DeleteImagePipelineCommand.d.ts +9 -8
  49. package/dist-types/commands/DeleteImageRecipeCommand.d.ts +9 -8
  50. package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +9 -8
  51. package/dist-types/commands/GetComponentCommand.d.ts +7 -6
  52. package/dist-types/commands/GetComponentPolicyCommand.d.ts +4 -3
  53. package/dist-types/commands/GetContainerRecipeCommand.d.ts +6 -5
  54. package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +3 -2
  55. package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +7 -6
  56. package/dist-types/commands/GetImageCommand.d.ts +7 -6
  57. package/dist-types/commands/GetImagePipelineCommand.d.ts +7 -6
  58. package/dist-types/commands/GetImagePolicyCommand.d.ts +4 -3
  59. package/dist-types/commands/GetImageRecipeCommand.d.ts +7 -6
  60. package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +4 -3
  61. package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +7 -6
  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 +10 -9
  65. package/dist-types/commands/ImportVmImageCommand.d.ts +12 -12
  66. package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +8 -6
  67. package/dist-types/commands/ListComponentsCommand.d.ts +9 -8
  68. package/dist-types/commands/ListContainerRecipesCommand.d.ts +6 -5
  69. package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +6 -5
  70. package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +7 -6
  71. package/dist-types/commands/ListImagePackagesCommand.d.ts +8 -6
  72. package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +6 -5
  73. package/dist-types/commands/ListImagePipelinesCommand.d.ts +6 -5
  74. package/dist-types/commands/ListImageRecipesCommand.d.ts +7 -6
  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 +8 -7
  78. package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +7 -6
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -2
  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 +9 -8
  83. package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +14 -6
  84. package/dist-types/commands/PutImagePolicyCommand.d.ts +8 -7
  85. package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +9 -8
  86. package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +9 -8
  87. package/dist-types/commands/TagResourceCommand.d.ts +3 -2
  88. package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
  89. package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +11 -10
  90. package/dist-types/commands/UpdateImagePipelineCommand.d.ts +21 -11
  91. package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +10 -9
  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
@@ -19,7 +19,7 @@ export interface UpdateDistributionConfigurationCommandOutput extends UpdateDist
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Updates a new distribution configuration. Distribution configurations define and
22
+ * <p>Updates a new distribution configuration. Distribution configurations define and
23
23
  * configure the outputs of your pipeline.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
@@ -117,30 +117,31 @@ export interface UpdateDistributionConfigurationCommandOutput extends UpdateDist
117
117
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
118
118
  *
119
119
  * @throws {@link ClientException} (client fault)
120
- * <p>These errors are usually caused by a client action, such as using an action or resource on
121
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
122
- * invalid resource identifier.</p>
120
+ * <p>These errors are usually caused by a client action, such as using an action or
121
+ * resource on behalf of a user that doesn't have permissions to use the action or
122
+ * resource, or specifying an invalid resource identifier.</p>
123
123
  *
124
124
  * @throws {@link ForbiddenException} (client fault)
125
125
  * <p>You are not authorized to perform the requested operation.</p>
126
126
  *
127
127
  * @throws {@link IdempotentParameterMismatchException} (client fault)
128
- * <p>You have specified a client token for an operation using parameter values that differ from
129
- * a previous request that used the same client token.</p>
128
+ * <p>You have specified a client token for an operation using parameter values that differ
129
+ * from a previous request that used the same client token.</p>
130
130
  *
131
131
  * @throws {@link InvalidParameterCombinationException} (client fault)
132
- * <p>You have specified two or more mutually exclusive parameters. Review the error message for
133
- * details.</p>
132
+ * <p>You have specified two or more mutually exclusive parameters. Review the error message
133
+ * for details.</p>
134
134
  *
135
135
  * @throws {@link InvalidRequestException} (client fault)
136
- * <p>You have made a request for an action that is not supported by the service.</p>
136
+ * <p>You have requested an action that that the service doesn't support.</p>
137
137
  *
138
138
  * @throws {@link ResourceInUseException} (client fault)
139
139
  * <p>The resource that you are trying to operate on is currently in use. Review the message
140
140
  * details and retry later.</p>
141
141
  *
142
142
  * @throws {@link ServiceException} (server fault)
143
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
143
+ * <p>This exception is thrown when the service encounters an unrecoverable
144
+ * exception.</p>
144
145
  *
145
146
  * @throws {@link ServiceUnavailableException} (server fault)
146
147
  * <p>The service is unable to process your request at this time.</p>
@@ -19,12 +19,12 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Updates an image pipeline. Image pipelines enable you to automate the creation and
22
+ * <p>Updates an image pipeline. Image pipelines enable you to automate the creation and
23
23
  * distribution of images.</p>
24
24
  * <note>
25
- * <p>UpdateImagePipeline does not support selective updates for the pipeline.
26
- * You must specify all of the required properties in the update request, not just
27
- * the properties that have changed.</p>
25
+ * <p>UpdateImagePipeline does not support selective updates for the pipeline. You must
26
+ * specify all of the required properties in the update request, not just the
27
+ * properties that have changed.</p>
28
28
  * </note>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
@@ -51,6 +51,15 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
51
51
  * },
52
52
  * status: "DISABLED" || "ENABLED",
53
53
  * clientToken: "STRING_VALUE", // required
54
+ * imageScanningConfiguration: { // ImageScanningConfiguration
55
+ * imageScanningEnabled: true || false,
56
+ * ecrConfiguration: { // EcrConfiguration
57
+ * repositoryName: "STRING_VALUE",
58
+ * containerTags: [ // StringList
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * },
62
+ * },
54
63
  * };
55
64
  * const command = new UpdateImagePipelineCommand(input);
56
65
  * const response = await client.send(command);
@@ -66,26 +75,27 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
66
75
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
67
76
  *
68
77
  * @throws {@link ClientException} (client fault)
69
- * <p>These errors are usually caused by a client action, such as using an action or resource on
70
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
71
- * invalid resource identifier.</p>
78
+ * <p>These errors are usually caused by a client action, such as using an action or
79
+ * resource on behalf of a user that doesn't have permissions to use the action or
80
+ * resource, or specifying an invalid resource identifier.</p>
72
81
  *
73
82
  * @throws {@link ForbiddenException} (client fault)
74
83
  * <p>You are not authorized to perform the requested operation.</p>
75
84
  *
76
85
  * @throws {@link IdempotentParameterMismatchException} (client fault)
77
- * <p>You have specified a client token for an operation using parameter values that differ from
78
- * a previous request that used the same client token.</p>
86
+ * <p>You have specified a client token for an operation using parameter values that differ
87
+ * from a previous request that used the same client token.</p>
79
88
  *
80
89
  * @throws {@link InvalidRequestException} (client fault)
81
- * <p>You have made a request for an action that is not supported by the service.</p>
90
+ * <p>You have requested an action that that the service doesn't support.</p>
82
91
  *
83
92
  * @throws {@link ResourceInUseException} (client fault)
84
93
  * <p>The resource that you are trying to operate on is currently in use. Review the message
85
94
  * details and retry later.</p>
86
95
  *
87
96
  * @throws {@link ServiceException} (server fault)
88
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
97
+ * <p>This exception is thrown when the service encounters an unrecoverable
98
+ * exception.</p>
89
99
  *
90
100
  * @throws {@link ServiceUnavailableException} (server fault)
91
101
  * <p>The service is unable to process your request at this time.</p>
@@ -19,8 +19,8 @@ export interface UpdateInfrastructureConfigurationCommandOutput extends UpdateIn
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p> Updates a new infrastructure configuration. An infrastructure configuration defines the
23
- * environment in which your image will be built and tested.</p>
22
+ * <p>Updates a new infrastructure configuration. An infrastructure configuration defines
23
+ * the environment in which your image will be built and tested.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
@@ -70,26 +70,27 @@ export interface UpdateInfrastructureConfigurationCommandOutput extends UpdateIn
70
70
  * <p>You have exceeded the permitted request rate for the specific operation.</p>
71
71
  *
72
72
  * @throws {@link ClientException} (client fault)
73
- * <p>These errors are usually caused by a client action, such as using an action or resource on
74
- * behalf of a user that doesn't have permissions to use the action or resource, or specifying an
75
- * invalid resource identifier.</p>
73
+ * <p>These errors are usually caused by a client action, such as using an action or
74
+ * resource on behalf of a user that doesn't have permissions to use the action or
75
+ * resource, or specifying an invalid resource identifier.</p>
76
76
  *
77
77
  * @throws {@link ForbiddenException} (client fault)
78
78
  * <p>You are not authorized to perform the requested operation.</p>
79
79
  *
80
80
  * @throws {@link IdempotentParameterMismatchException} (client fault)
81
- * <p>You have specified a client token for an operation using parameter values that differ from
82
- * a previous request that used the same client token.</p>
81
+ * <p>You have specified a client token for an operation using parameter values that differ
82
+ * from a previous request that used the same client token.</p>
83
83
  *
84
84
  * @throws {@link InvalidRequestException} (client fault)
85
- * <p>You have made a request for an action that is not supported by the service.</p>
85
+ * <p>You have requested an action that that the service doesn't support.</p>
86
86
  *
87
87
  * @throws {@link ResourceInUseException} (client fault)
88
88
  * <p>The resource that you are trying to operate on is currently in use. Review the message
89
89
  * details and retry later.</p>
90
90
  *
91
91
  * @throws {@link ServiceException} (server fault)
92
- * <p>This exception is thrown when the service encounters an unrecoverable exception.</p>
92
+ * <p>This exception is thrown when the service encounters an unrecoverable
93
+ * exception.</p>
93
94
  *
94
95
  * @throws {@link ServiceUnavailableException} (server fault)
95
96
  * <p>The service is unable to process your request at this time.</p>
@@ -24,6 +24,8 @@ export * from "./GetImagePolicyCommand";
24
24
  export * from "./GetImageRecipeCommand";
25
25
  export * from "./GetImageRecipePolicyCommand";
26
26
  export * from "./GetInfrastructureConfigurationCommand";
27
+ export * from "./GetWorkflowExecutionCommand";
28
+ export * from "./GetWorkflowStepExecutionCommand";
27
29
  export * from "./ImportComponentCommand";
28
30
  export * from "./ImportVmImageCommand";
29
31
  export * from "./ListComponentBuildVersionsCommand";
@@ -35,9 +37,13 @@ export * from "./ListImagePackagesCommand";
35
37
  export * from "./ListImagePipelineImagesCommand";
36
38
  export * from "./ListImagePipelinesCommand";
37
39
  export * from "./ListImageRecipesCommand";
40
+ export * from "./ListImageScanFindingAggregationsCommand";
41
+ export * from "./ListImageScanFindingsCommand";
38
42
  export * from "./ListImagesCommand";
39
43
  export * from "./ListInfrastructureConfigurationsCommand";
40
44
  export * from "./ListTagsForResourceCommand";
45
+ export * from "./ListWorkflowExecutionsCommand";
46
+ export * from "./ListWorkflowStepExecutionsCommand";
41
47
  export * from "./PutComponentPolicyCommand";
42
48
  export * from "./PutContainerRecipePolicyCommand";
43
49
  export * from "./PutImagePolicyCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;