@aws-sdk/client-imagebuilder 3.34.0 → 3.37.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 (536) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Imagebuilder.js +1 -8
  3. package/{dist/cjs → dist-cjs}/ImagebuilderClient.js +8 -20
  4. package/{dist/cjs → dist-cjs}/commands/CancelImageCreationCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/CreateComponentCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/CreateContainerRecipeCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateDistributionConfigurationCommand.js +2 -28
  8. package/{dist/cjs → dist-cjs}/commands/CreateImageCommand.js +2 -29
  9. package/{dist/cjs → dist-cjs}/commands/CreateImagePipelineCommand.js +2 -28
  10. package/{dist/cjs → dist-cjs}/commands/CreateImageRecipeCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/CreateInfrastructureConfigurationCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/DeleteComponentCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DeleteContainerRecipeCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DeleteDistributionConfigurationCommand.js +2 -27
  15. package/dist-cjs/commands/DeleteImageCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/DeleteImagePipelineCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/DeleteImageRecipeCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DeleteInfrastructureConfigurationCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/GetComponentCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/GetComponentPolicyCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/GetContainerRecipeCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/GetContainerRecipePolicyCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/GetDistributionConfigurationCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/GetImageCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/GetImagePipelineCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/GetImagePolicyCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/GetImageRecipeCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/GetImageRecipePolicyCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/GetInfrastructureConfigurationCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/ImportComponentCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/ListComponentBuildVersionsCommand.js +2 -36
  32. package/{dist/cjs → dist-cjs}/commands/ListComponentsCommand.js +2 -36
  33. package/{dist/cjs → dist-cjs}/commands/ListContainerRecipesCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/ListDistributionConfigurationsCommand.js +2 -27
  35. package/{dist/cjs → dist-cjs}/commands/ListImageBuildVersionsCommand.js +2 -27
  36. package/{dist/cjs → dist-cjs}/commands/ListImagePackagesCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/ListImagePipelineImagesCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/ListImagePipelinesCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/commands/ListImageRecipesCommand.js +2 -27
  40. package/{dist/cjs → dist-cjs}/commands/ListImagesCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/commands/ListInfrastructureConfigurationsCommand.js +2 -27
  42. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  43. package/{dist/cjs → dist-cjs}/commands/PutComponentPolicyCommand.js +2 -29
  44. package/{dist/cjs → dist-cjs}/commands/PutContainerRecipePolicyCommand.js +2 -27
  45. package/{dist/cjs → dist-cjs}/commands/PutImagePolicyCommand.js +2 -29
  46. package/{dist/cjs → dist-cjs}/commands/PutImageRecipePolicyCommand.js +2 -29
  47. package/{dist/cjs → dist-cjs}/commands/StartImagePipelineExecutionCommand.js +2 -27
  48. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  49. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  50. package/{dist/cjs → dist-cjs}/commands/UpdateDistributionConfigurationCommand.js +2 -28
  51. package/{dist/cjs → dist-cjs}/commands/UpdateImagePipelineCommand.js +2 -33
  52. package/{dist/cjs → dist-cjs}/commands/UpdateInfrastructureConfigurationCommand.js +2 -28
  53. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  54. package/{dist/cjs → dist-cjs}/index.js +0 -1
  55. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  56. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -469
  57. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  58. package/{dist/cjs → dist-cjs}/pagination/ListComponentBuildVersionsPaginator.js +1 -12
  59. package/{dist/cjs → dist-cjs}/pagination/ListComponentsPaginator.js +1 -12
  60. package/{dist/cjs → dist-cjs}/pagination/ListContainerRecipesPaginator.js +1 -12
  61. package/{dist/cjs → dist-cjs}/pagination/ListDistributionConfigurationsPaginator.js +1 -12
  62. package/{dist/cjs → dist-cjs}/pagination/ListImageBuildVersionsPaginator.js +1 -12
  63. package/{dist/cjs → dist-cjs}/pagination/ListImagePackagesPaginator.js +1 -12
  64. package/{dist/cjs → dist-cjs}/pagination/ListImagePipelineImagesPaginator.js +1 -12
  65. package/{dist/cjs → dist-cjs}/pagination/ListImagePipelinesPaginator.js +1 -12
  66. package/{dist/cjs → dist-cjs}/pagination/ListImageRecipesPaginator.js +1 -12
  67. package/{dist/cjs → dist-cjs}/pagination/ListImagesPaginator.js +1 -12
  68. package/{dist/cjs → dist-cjs}/pagination/ListInfrastructureConfigurationsPaginator.js +1 -12
  69. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +46 -52
  70. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  71. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  72. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  73. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  74. package/{dist/es → dist-es}/Imagebuilder.js +1 -2
  75. package/{dist/es → dist-es}/ImagebuilderClient.js +1 -2
  76. package/{dist/es → dist-es}/commands/CancelImageCreationCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/CreateComponentCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/CreateContainerRecipeCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/CreateDistributionConfigurationCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/CreateImageCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/CreateImagePipelineCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/CreateImageRecipeCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/CreateInfrastructureConfigurationCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/DeleteComponentCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/DeleteContainerRecipeCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/DeleteDistributionConfigurationCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/DeleteImageCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/DeleteImagePipelineCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/DeleteImageRecipeCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/DeleteInfrastructureConfigurationCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/GetComponentCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/GetComponentPolicyCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/GetContainerRecipeCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/GetContainerRecipePolicyCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/GetDistributionConfigurationCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/GetImageCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/GetImagePipelineCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/GetImagePolicyCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/GetImageRecipeCommand.js +2 -3
  100. package/{dist/es → dist-es}/commands/GetImageRecipePolicyCommand.js +2 -3
  101. package/{dist/es → dist-es}/commands/GetInfrastructureConfigurationCommand.js +2 -3
  102. package/{dist/es → dist-es}/commands/ImportComponentCommand.js +2 -3
  103. package/{dist/es → dist-es}/commands/ListComponentBuildVersionsCommand.js +2 -3
  104. package/{dist/es → dist-es}/commands/ListComponentsCommand.js +2 -3
  105. package/{dist/es → dist-es}/commands/ListContainerRecipesCommand.js +2 -3
  106. package/{dist/es → dist-es}/commands/ListDistributionConfigurationsCommand.js +2 -3
  107. package/{dist/es → dist-es}/commands/ListImageBuildVersionsCommand.js +2 -3
  108. package/{dist/es → dist-es}/commands/ListImagePackagesCommand.js +2 -3
  109. package/{dist/es → dist-es}/commands/ListImagePipelineImagesCommand.js +2 -3
  110. package/{dist/es → dist-es}/commands/ListImagePipelinesCommand.js +2 -3
  111. package/{dist/es → dist-es}/commands/ListImageRecipesCommand.js +2 -3
  112. package/{dist/es → dist-es}/commands/ListImagesCommand.js +2 -3
  113. package/{dist/es → dist-es}/commands/ListInfrastructureConfigurationsCommand.js +2 -3
  114. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  115. package/{dist/es → dist-es}/commands/PutComponentPolicyCommand.js +2 -3
  116. package/{dist/es → dist-es}/commands/PutContainerRecipePolicyCommand.js +2 -3
  117. package/{dist/es → dist-es}/commands/PutImagePolicyCommand.js +2 -3
  118. package/{dist/es → dist-es}/commands/PutImageRecipePolicyCommand.js +2 -3
  119. package/{dist/es → dist-es}/commands/StartImagePipelineExecutionCommand.js +2 -3
  120. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  121. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  122. package/{dist/es → dist-es}/commands/UpdateDistributionConfigurationCommand.js +2 -3
  123. package/{dist/es → dist-es}/commands/UpdateImagePipelineCommand.js +2 -3
  124. package/{dist/es → dist-es}/commands/UpdateInfrastructureConfigurationCommand.js +2 -3
  125. package/{dist/es → dist-es}/endpoints.js +1 -2
  126. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  127. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  128. package/{dist/es → dist-es}/models/models_0.js +0 -1
  129. package/dist-es/pagination/Interfaces.js +1 -0
  130. package/{dist/es → dist-es}/pagination/ListComponentBuildVersionsPaginator.js +1 -2
  131. package/{dist/es → dist-es}/pagination/ListComponentsPaginator.js +1 -2
  132. package/{dist/es → dist-es}/pagination/ListContainerRecipesPaginator.js +1 -2
  133. package/{dist/es → dist-es}/pagination/ListDistributionConfigurationsPaginator.js +1 -2
  134. package/{dist/es → dist-es}/pagination/ListImageBuildVersionsPaginator.js +1 -2
  135. package/{dist/es → dist-es}/pagination/ListImagePackagesPaginator.js +1 -2
  136. package/{dist/es → dist-es}/pagination/ListImagePipelineImagesPaginator.js +1 -2
  137. package/{dist/es → dist-es}/pagination/ListImagePipelinesPaginator.js +1 -2
  138. package/{dist/es → dist-es}/pagination/ListImageRecipesPaginator.js +1 -2
  139. package/{dist/es → dist-es}/pagination/ListImagesPaginator.js +1 -2
  140. package/{dist/es → dist-es}/pagination/ListInfrastructureConfigurationsPaginator.js +1 -2
  141. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  142. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  143. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  144. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  145. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  146. package/{dist/types → dist-types}/Imagebuilder.d.ts +4 -4
  147. package/{dist/types → dist-types}/ImagebuilderClient.d.ts +8 -8
  148. package/{dist/types → dist-types}/commands/CancelImageCreationCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/CreateComponentCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/CreateContainerRecipeCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/CreateDistributionConfigurationCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/CreateImageCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/CreateImagePipelineCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/CreateImageRecipeCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/DeleteComponentCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/DeleteContainerRecipeCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/DeleteDistributionConfigurationCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/DeleteImageCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/DeleteImagePipelineCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/DeleteImageRecipeCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/GetComponentCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/GetComponentPolicyCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/GetContainerRecipeCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/GetContainerRecipePolicyCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/GetDistributionConfigurationCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/GetImageCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/GetImagePipelineCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/GetImagePolicyCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/GetImageRecipeCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/GetImageRecipePolicyCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/GetInfrastructureConfigurationCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/ImportComponentCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/ListComponentBuildVersionsCommand.d.ts +3 -3
  176. package/{dist/types → dist-types}/commands/ListComponentsCommand.d.ts +3 -3
  177. package/{dist/types → dist-types}/commands/ListContainerRecipesCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/ListDistributionConfigurationsCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/ListImageBuildVersionsCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/ListImagePackagesCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/ListImagePipelineImagesCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/ListImagePipelinesCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/commands/ListImageRecipesCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/commands/ListImagesCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/commands/PutComponentPolicyCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/commands/PutContainerRecipePolicyCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/commands/PutImagePolicyCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/commands/PutImageRecipePolicyCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/commands/StartImagePipelineExecutionCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/commands/UpdateDistributionConfigurationCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/commands/UpdateImagePipelineCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  198. package/{index.ts → dist-types/index.d.ts} +0 -0
  199. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  200. package/{dist/types → dist-types}/models/models_0.d.ts +26 -44
  201. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  202. package/{dist/types → dist-types}/pagination/ListComponentBuildVersionsPaginator.d.ts +1 -1
  203. package/{dist/types → dist-types}/pagination/ListComponentsPaginator.d.ts +1 -1
  204. package/{dist/types → dist-types}/pagination/ListContainerRecipesPaginator.d.ts +1 -1
  205. package/{dist/types → dist-types}/pagination/ListDistributionConfigurationsPaginator.d.ts +1 -1
  206. package/{dist/types → dist-types}/pagination/ListImageBuildVersionsPaginator.d.ts +1 -1
  207. package/{dist/types → dist-types}/pagination/ListImagePackagesPaginator.d.ts +1 -1
  208. package/{dist/types → dist-types}/pagination/ListImagePipelineImagesPaginator.d.ts +1 -1
  209. package/{dist/types → dist-types}/pagination/ListImagePipelinesPaginator.d.ts +1 -1
  210. package/{dist/types → dist-types}/pagination/ListImageRecipesPaginator.d.ts +1 -1
  211. package/{dist/types → dist-types}/pagination/ListImagesPaginator.d.ts +1 -1
  212. package/{dist/types → dist-types}/pagination/ListInfrastructureConfigurationsPaginator.d.ts +1 -1
  213. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  214. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  215. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  216. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  217. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  218. package/{dist/types → dist-types}/ts3.4/Imagebuilder.d.ts +52 -215
  219. package/{dist/types → dist-types}/ts3.4/ImagebuilderClient.d.ts +32 -100
  220. package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +17 -0
  221. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
  222. package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +17 -0
  223. package/{dist/types → dist-types}/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +4 -23
  224. package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +17 -0
  225. package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +17 -0
  226. package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +17 -0
  227. package/{dist/types → dist-types}/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +4 -23
  228. package/{dist/types → dist-types}/ts3.4/commands/DeleteComponentCommand.d.ts +4 -22
  229. package/{dist/types → dist-types}/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +4 -22
  230. package/{dist/types → dist-types}/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +4 -22
  231. package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +17 -0
  232. package/{dist/types → dist-types}/ts3.4/commands/DeleteImagePipelineCommand.d.ts +4 -22
  233. package/{dist/types → dist-types}/ts3.4/commands/DeleteImageRecipeCommand.d.ts +4 -22
  234. package/{dist/types → dist-types}/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +4 -22
  235. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
  236. package/{dist/types → dist-types}/ts3.4/commands/GetComponentPolicyCommand.d.ts +4 -22
  237. package/{dist/types → dist-types}/ts3.4/commands/GetContainerRecipeCommand.d.ts +4 -22
  238. package/{dist/types → dist-types}/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +4 -22
  239. package/{dist/types → dist-types}/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +4 -22
  240. package/dist-types/ts3.4/commands/GetImageCommand.d.ts +17 -0
  241. package/{dist/types → dist-types}/ts3.4/commands/GetImagePipelineCommand.d.ts +4 -22
  242. package/{dist/types → dist-types}/ts3.4/commands/GetImagePolicyCommand.d.ts +4 -22
  243. package/{dist/types → dist-types}/ts3.4/commands/GetImageRecipeCommand.d.ts +4 -22
  244. package/{dist/types → dist-types}/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +4 -22
  245. package/{dist/types → dist-types}/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +4 -22
  246. package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +17 -0
  247. package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +17 -0
  248. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
  249. package/{dist/types → dist-types}/ts3.4/commands/ListContainerRecipesCommand.d.ts +4 -22
  250. package/{dist/types → dist-types}/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +4 -22
  251. package/{dist/types → dist-types}/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +4 -22
  252. package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +17 -0
  253. package/{dist/types → dist-types}/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +4 -22
  254. package/{dist/types → dist-types}/ts3.4/commands/ListImagePipelinesCommand.d.ts +4 -22
  255. package/{dist/types → dist-types}/ts3.4/commands/ListImageRecipesCommand.d.ts +4 -22
  256. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +17 -0
  257. package/{dist/types → dist-types}/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +4 -22
  258. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  259. package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +17 -0
  260. package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +17 -0
  261. package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +17 -0
  262. package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +17 -0
  263. package/{dist/types → dist-types}/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +4 -22
  264. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  265. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  266. package/{dist/types → dist-types}/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +4 -23
  267. package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +17 -0
  268. package/{dist/types → dist-types}/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +4 -23
  269. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  270. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  271. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  272. package/dist-types/ts3.4/models/models_0.d.ts +2285 -0
  273. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  274. package/{dist/types → dist-types}/ts3.4/pagination/ListComponentBuildVersionsPaginator.d.ts +1 -1
  275. package/{dist/types → dist-types}/ts3.4/pagination/ListComponentsPaginator.d.ts +1 -1
  276. package/{dist/types → dist-types}/ts3.4/pagination/ListContainerRecipesPaginator.d.ts +1 -1
  277. package/{dist/types → dist-types}/ts3.4/pagination/ListDistributionConfigurationsPaginator.d.ts +1 -1
  278. package/{dist/types → dist-types}/ts3.4/pagination/ListImageBuildVersionsPaginator.d.ts +1 -1
  279. package/{dist/types → dist-types}/ts3.4/pagination/ListImagePackagesPaginator.d.ts +1 -1
  280. package/{dist/types → dist-types}/ts3.4/pagination/ListImagePipelineImagesPaginator.d.ts +1 -1
  281. package/{dist/types → dist-types}/ts3.4/pagination/ListImagePipelinesPaginator.d.ts +1 -1
  282. package/{dist/types → dist-types}/ts3.4/pagination/ListImageRecipesPaginator.d.ts +1 -1
  283. package/{dist/types → dist-types}/ts3.4/pagination/ListImagesPaginator.d.ts +1 -1
  284. package/{dist/types → dist-types}/ts3.4/pagination/ListInfrastructureConfigurationsPaginator.d.ts +1 -1
  285. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  286. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  287. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  288. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  289. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  290. package/package.json +45 -42
  291. package/Imagebuilder.ts +0 -1830
  292. package/ImagebuilderClient.ts +0 -463
  293. package/commands/CancelImageCreationCommand.ts +0 -95
  294. package/commands/CreateComponentCommand.ts +0 -95
  295. package/commands/CreateContainerRecipeCommand.ts +0 -94
  296. package/commands/CreateDistributionConfigurationCommand.ts +0 -103
  297. package/commands/CreateImageCommand.ts +0 -96
  298. package/commands/CreateImagePipelineCommand.ts +0 -95
  299. package/commands/CreateImageRecipeCommand.ts +0 -95
  300. package/commands/CreateInfrastructureConfigurationCommand.ts +0 -106
  301. package/commands/DeleteComponentCommand.ts +0 -94
  302. package/commands/DeleteContainerRecipeCommand.ts +0 -94
  303. package/commands/DeleteDistributionConfigurationCommand.ts +0 -102
  304. package/commands/DeleteImageCommand.ts +0 -114
  305. package/commands/DeleteImagePipelineCommand.ts +0 -94
  306. package/commands/DeleteImageRecipeCommand.ts +0 -94
  307. package/commands/DeleteInfrastructureConfigurationCommand.ts +0 -105
  308. package/commands/GetComponentCommand.ts +0 -94
  309. package/commands/GetComponentPolicyCommand.ts +0 -94
  310. package/commands/GetContainerRecipeCommand.ts +0 -94
  311. package/commands/GetContainerRecipePolicyCommand.ts +0 -94
  312. package/commands/GetDistributionConfigurationCommand.ts +0 -99
  313. package/commands/GetImageCommand.ts +0 -94
  314. package/commands/GetImagePipelineCommand.ts +0 -94
  315. package/commands/GetImagePolicyCommand.ts +0 -94
  316. package/commands/GetImageRecipeCommand.ts +0 -94
  317. package/commands/GetImageRecipePolicyCommand.ts +0 -94
  318. package/commands/GetInfrastructureConfigurationCommand.ts +0 -102
  319. package/commands/ImportComponentCommand.ts +0 -94
  320. package/commands/ListComponentBuildVersionsCommand.ts +0 -106
  321. package/commands/ListComponentsCommand.ts +0 -103
  322. package/commands/ListContainerRecipesCommand.ts +0 -94
  323. package/commands/ListDistributionConfigurationsCommand.ts +0 -102
  324. package/commands/ListImageBuildVersionsCommand.ts +0 -94
  325. package/commands/ListImagePackagesCommand.ts +0 -94
  326. package/commands/ListImagePipelineImagesCommand.ts +0 -94
  327. package/commands/ListImagePipelinesCommand.ts +0 -94
  328. package/commands/ListImageRecipesCommand.ts +0 -94
  329. package/commands/ListImagesCommand.ts +0 -94
  330. package/commands/ListInfrastructureConfigurationsCommand.ts +0 -102
  331. package/commands/ListTagsForResourceCommand.ts +0 -94
  332. package/commands/PutComponentPolicyCommand.ts +0 -96
  333. package/commands/PutContainerRecipePolicyCommand.ts +0 -94
  334. package/commands/PutImagePolicyCommand.ts +0 -96
  335. package/commands/PutImageRecipePolicyCommand.ts +0 -96
  336. package/commands/StartImagePipelineExecutionCommand.ts +0 -99
  337. package/commands/TagResourceCommand.ts +0 -94
  338. package/commands/UntagResourceCommand.ts +0 -94
  339. package/commands/UpdateDistributionConfigurationCommand.ts +0 -103
  340. package/commands/UpdateImagePipelineCommand.ts +0 -100
  341. package/commands/UpdateInfrastructureConfigurationCommand.ts +0 -106
  342. package/dist/cjs/Imagebuilder.js.map +0 -1
  343. package/dist/cjs/ImagebuilderClient.js.map +0 -1
  344. package/dist/cjs/commands/CancelImageCreationCommand.js.map +0 -1
  345. package/dist/cjs/commands/CreateComponentCommand.js.map +0 -1
  346. package/dist/cjs/commands/CreateContainerRecipeCommand.js.map +0 -1
  347. package/dist/cjs/commands/CreateDistributionConfigurationCommand.js.map +0 -1
  348. package/dist/cjs/commands/CreateImageCommand.js.map +0 -1
  349. package/dist/cjs/commands/CreateImagePipelineCommand.js.map +0 -1
  350. package/dist/cjs/commands/CreateImageRecipeCommand.js.map +0 -1
  351. package/dist/cjs/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
  352. package/dist/cjs/commands/DeleteComponentCommand.js.map +0 -1
  353. package/dist/cjs/commands/DeleteContainerRecipeCommand.js.map +0 -1
  354. package/dist/cjs/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
  355. package/dist/cjs/commands/DeleteImageCommand.js +0 -81
  356. package/dist/cjs/commands/DeleteImageCommand.js.map +0 -1
  357. package/dist/cjs/commands/DeleteImagePipelineCommand.js.map +0 -1
  358. package/dist/cjs/commands/DeleteImageRecipeCommand.js.map +0 -1
  359. package/dist/cjs/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
  360. package/dist/cjs/commands/GetComponentCommand.js.map +0 -1
  361. package/dist/cjs/commands/GetComponentPolicyCommand.js.map +0 -1
  362. package/dist/cjs/commands/GetContainerRecipeCommand.js.map +0 -1
  363. package/dist/cjs/commands/GetContainerRecipePolicyCommand.js.map +0 -1
  364. package/dist/cjs/commands/GetDistributionConfigurationCommand.js.map +0 -1
  365. package/dist/cjs/commands/GetImageCommand.js.map +0 -1
  366. package/dist/cjs/commands/GetImagePipelineCommand.js.map +0 -1
  367. package/dist/cjs/commands/GetImagePolicyCommand.js.map +0 -1
  368. package/dist/cjs/commands/GetImageRecipeCommand.js.map +0 -1
  369. package/dist/cjs/commands/GetImageRecipePolicyCommand.js.map +0 -1
  370. package/dist/cjs/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
  371. package/dist/cjs/commands/ImportComponentCommand.js.map +0 -1
  372. package/dist/cjs/commands/ListComponentBuildVersionsCommand.js.map +0 -1
  373. package/dist/cjs/commands/ListComponentsCommand.js.map +0 -1
  374. package/dist/cjs/commands/ListContainerRecipesCommand.js.map +0 -1
  375. package/dist/cjs/commands/ListDistributionConfigurationsCommand.js.map +0 -1
  376. package/dist/cjs/commands/ListImageBuildVersionsCommand.js.map +0 -1
  377. package/dist/cjs/commands/ListImagePackagesCommand.js.map +0 -1
  378. package/dist/cjs/commands/ListImagePipelineImagesCommand.js.map +0 -1
  379. package/dist/cjs/commands/ListImagePipelinesCommand.js.map +0 -1
  380. package/dist/cjs/commands/ListImageRecipesCommand.js.map +0 -1
  381. package/dist/cjs/commands/ListImagesCommand.js.map +0 -1
  382. package/dist/cjs/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
  383. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  384. package/dist/cjs/commands/PutComponentPolicyCommand.js.map +0 -1
  385. package/dist/cjs/commands/PutContainerRecipePolicyCommand.js.map +0 -1
  386. package/dist/cjs/commands/PutImagePolicyCommand.js.map +0 -1
  387. package/dist/cjs/commands/PutImageRecipePolicyCommand.js.map +0 -1
  388. package/dist/cjs/commands/StartImagePipelineExecutionCommand.js.map +0 -1
  389. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  390. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  391. package/dist/cjs/commands/UpdateDistributionConfigurationCommand.js.map +0 -1
  392. package/dist/cjs/commands/UpdateImagePipelineCommand.js.map +0 -1
  393. package/dist/cjs/commands/UpdateInfrastructureConfigurationCommand.js.map +0 -1
  394. package/dist/cjs/endpoints.js.map +0 -1
  395. package/dist/cjs/index.js.map +0 -1
  396. package/dist/cjs/models/index.js.map +0 -1
  397. package/dist/cjs/models/models_0.js.map +0 -1
  398. package/dist/cjs/package.json +0 -93
  399. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  400. package/dist/cjs/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
  401. package/dist/cjs/pagination/ListComponentsPaginator.js.map +0 -1
  402. package/dist/cjs/pagination/ListContainerRecipesPaginator.js.map +0 -1
  403. package/dist/cjs/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
  404. package/dist/cjs/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
  405. package/dist/cjs/pagination/ListImagePackagesPaginator.js.map +0 -1
  406. package/dist/cjs/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
  407. package/dist/cjs/pagination/ListImagePipelinesPaginator.js.map +0 -1
  408. package/dist/cjs/pagination/ListImageRecipesPaginator.js.map +0 -1
  409. package/dist/cjs/pagination/ListImagesPaginator.js.map +0 -1
  410. package/dist/cjs/pagination/ListInfrastructureConfigurationsPaginator.js.map +0 -1
  411. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  412. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  413. package/dist/cjs/runtimeConfig.js.map +0 -1
  414. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  415. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  416. package/dist/es/Imagebuilder.js.map +0 -1
  417. package/dist/es/ImagebuilderClient.js.map +0 -1
  418. package/dist/es/commands/CancelImageCreationCommand.js.map +0 -1
  419. package/dist/es/commands/CreateComponentCommand.js.map +0 -1
  420. package/dist/es/commands/CreateContainerRecipeCommand.js.map +0 -1
  421. package/dist/es/commands/CreateDistributionConfigurationCommand.js.map +0 -1
  422. package/dist/es/commands/CreateImageCommand.js.map +0 -1
  423. package/dist/es/commands/CreateImagePipelineCommand.js.map +0 -1
  424. package/dist/es/commands/CreateImageRecipeCommand.js.map +0 -1
  425. package/dist/es/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
  426. package/dist/es/commands/DeleteComponentCommand.js.map +0 -1
  427. package/dist/es/commands/DeleteContainerRecipeCommand.js.map +0 -1
  428. package/dist/es/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
  429. package/dist/es/commands/DeleteImageCommand.js.map +0 -1
  430. package/dist/es/commands/DeleteImagePipelineCommand.js.map +0 -1
  431. package/dist/es/commands/DeleteImageRecipeCommand.js.map +0 -1
  432. package/dist/es/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
  433. package/dist/es/commands/GetComponentCommand.js.map +0 -1
  434. package/dist/es/commands/GetComponentPolicyCommand.js.map +0 -1
  435. package/dist/es/commands/GetContainerRecipeCommand.js.map +0 -1
  436. package/dist/es/commands/GetContainerRecipePolicyCommand.js.map +0 -1
  437. package/dist/es/commands/GetDistributionConfigurationCommand.js.map +0 -1
  438. package/dist/es/commands/GetImageCommand.js.map +0 -1
  439. package/dist/es/commands/GetImagePipelineCommand.js.map +0 -1
  440. package/dist/es/commands/GetImagePolicyCommand.js.map +0 -1
  441. package/dist/es/commands/GetImageRecipeCommand.js.map +0 -1
  442. package/dist/es/commands/GetImageRecipePolicyCommand.js.map +0 -1
  443. package/dist/es/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
  444. package/dist/es/commands/ImportComponentCommand.js.map +0 -1
  445. package/dist/es/commands/ListComponentBuildVersionsCommand.js.map +0 -1
  446. package/dist/es/commands/ListComponentsCommand.js.map +0 -1
  447. package/dist/es/commands/ListContainerRecipesCommand.js.map +0 -1
  448. package/dist/es/commands/ListDistributionConfigurationsCommand.js.map +0 -1
  449. package/dist/es/commands/ListImageBuildVersionsCommand.js.map +0 -1
  450. package/dist/es/commands/ListImagePackagesCommand.js.map +0 -1
  451. package/dist/es/commands/ListImagePipelineImagesCommand.js.map +0 -1
  452. package/dist/es/commands/ListImagePipelinesCommand.js.map +0 -1
  453. package/dist/es/commands/ListImageRecipesCommand.js.map +0 -1
  454. package/dist/es/commands/ListImagesCommand.js.map +0 -1
  455. package/dist/es/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
  456. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  457. package/dist/es/commands/PutComponentPolicyCommand.js.map +0 -1
  458. package/dist/es/commands/PutContainerRecipePolicyCommand.js.map +0 -1
  459. package/dist/es/commands/PutImagePolicyCommand.js.map +0 -1
  460. package/dist/es/commands/PutImageRecipePolicyCommand.js.map +0 -1
  461. package/dist/es/commands/StartImagePipelineExecutionCommand.js.map +0 -1
  462. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  463. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  464. package/dist/es/commands/UpdateDistributionConfigurationCommand.js.map +0 -1
  465. package/dist/es/commands/UpdateImagePipelineCommand.js.map +0 -1
  466. package/dist/es/commands/UpdateInfrastructureConfigurationCommand.js.map +0 -1
  467. package/dist/es/endpoints.js.map +0 -1
  468. package/dist/es/index.js +0 -65
  469. package/dist/es/index.js.map +0 -1
  470. package/dist/es/models/index.js +0 -2
  471. package/dist/es/models/index.js.map +0 -1
  472. package/dist/es/models/models_0.js.map +0 -1
  473. package/dist/es/package.json +0 -93
  474. package/dist/es/pagination/Interfaces.js +0 -2
  475. package/dist/es/pagination/Interfaces.js.map +0 -1
  476. package/dist/es/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
  477. package/dist/es/pagination/ListComponentsPaginator.js.map +0 -1
  478. package/dist/es/pagination/ListContainerRecipesPaginator.js.map +0 -1
  479. package/dist/es/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
  480. package/dist/es/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
  481. package/dist/es/pagination/ListImagePackagesPaginator.js.map +0 -1
  482. package/dist/es/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
  483. package/dist/es/pagination/ListImagePipelinesPaginator.js.map +0 -1
  484. package/dist/es/pagination/ListImageRecipesPaginator.js.map +0 -1
  485. package/dist/es/pagination/ListImagesPaginator.js.map +0 -1
  486. package/dist/es/pagination/ListInfrastructureConfigurationsPaginator.js.map +0 -1
  487. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  488. package/dist/es/runtimeConfig.browser.js.map +0 -1
  489. package/dist/es/runtimeConfig.js.map +0 -1
  490. package/dist/es/runtimeConfig.native.js.map +0 -1
  491. package/dist/es/runtimeConfig.shared.js.map +0 -1
  492. package/dist/types/ts3.4/commands/CancelImageCreationCommand.d.ts +0 -36
  493. package/dist/types/ts3.4/commands/CreateComponentCommand.d.ts +0 -36
  494. package/dist/types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +0 -35
  495. package/dist/types/ts3.4/commands/CreateImageCommand.d.ts +0 -37
  496. package/dist/types/ts3.4/commands/CreateImagePipelineCommand.d.ts +0 -36
  497. package/dist/types/ts3.4/commands/CreateImageRecipeCommand.d.ts +0 -36
  498. package/dist/types/ts3.4/commands/DeleteImageCommand.d.ts +0 -55
  499. package/dist/types/ts3.4/commands/GetComponentCommand.d.ts +0 -35
  500. package/dist/types/ts3.4/commands/GetImageCommand.d.ts +0 -35
  501. package/dist/types/ts3.4/commands/ImportComponentCommand.d.ts +0 -35
  502. package/dist/types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +0 -44
  503. package/dist/types/ts3.4/commands/ListComponentsCommand.d.ts +0 -44
  504. package/dist/types/ts3.4/commands/ListImagePackagesCommand.d.ts +0 -35
  505. package/dist/types/ts3.4/commands/ListImagesCommand.d.ts +0 -35
  506. package/dist/types/ts3.4/commands/PutComponentPolicyCommand.d.ts +0 -37
  507. package/dist/types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +0 -35
  508. package/dist/types/ts3.4/commands/PutImagePolicyCommand.d.ts +0 -37
  509. package/dist/types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +0 -37
  510. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  511. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  512. package/dist/types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +0 -41
  513. package/dist/types/ts3.4/models/models_0.d.ts +0 -4427
  514. package/endpoints.ts +0 -57
  515. package/jest.config.js +0 -4
  516. package/models/models_0.ts +0 -5429
  517. package/pagination/Interfaces.ts +0 -7
  518. package/pagination/ListComponentBuildVersionsPaginator.ts +0 -58
  519. package/pagination/ListComponentsPaginator.ts +0 -58
  520. package/pagination/ListContainerRecipesPaginator.ts +0 -58
  521. package/pagination/ListDistributionConfigurationsPaginator.ts +0 -58
  522. package/pagination/ListImageBuildVersionsPaginator.ts +0 -58
  523. package/pagination/ListImagePackagesPaginator.ts +0 -58
  524. package/pagination/ListImagePipelineImagesPaginator.ts +0 -58
  525. package/pagination/ListImagePipelinesPaginator.ts +0 -58
  526. package/pagination/ListImageRecipesPaginator.ts +0 -58
  527. package/pagination/ListImagesPaginator.ts +0 -54
  528. package/pagination/ListInfrastructureConfigurationsPaginator.ts +0 -58
  529. package/protocols/Aws_restJson1.ts +0 -8983
  530. package/runtimeConfig.browser.ts +0 -40
  531. package/runtimeConfig.native.ts +0 -16
  532. package/runtimeConfig.shared.ts +0 -16
  533. package/runtimeConfig.ts +0 -45
  534. package/tsconfig.es.json +0 -10
  535. package/tsconfig.json +0 -31
  536. package/tsconfig.types.json +0 -8
@@ -1,463 +0,0 @@
1
- import {
2
- CancelImageCreationCommandInput,
3
- CancelImageCreationCommandOutput,
4
- } from "./commands/CancelImageCreationCommand";
5
- import { CreateComponentCommandInput, CreateComponentCommandOutput } from "./commands/CreateComponentCommand";
6
- import {
7
- CreateContainerRecipeCommandInput,
8
- CreateContainerRecipeCommandOutput,
9
- } from "./commands/CreateContainerRecipeCommand";
10
- import {
11
- CreateDistributionConfigurationCommandInput,
12
- CreateDistributionConfigurationCommandOutput,
13
- } from "./commands/CreateDistributionConfigurationCommand";
14
- import { CreateImageCommandInput, CreateImageCommandOutput } from "./commands/CreateImageCommand";
15
- import {
16
- CreateImagePipelineCommandInput,
17
- CreateImagePipelineCommandOutput,
18
- } from "./commands/CreateImagePipelineCommand";
19
- import { CreateImageRecipeCommandInput, CreateImageRecipeCommandOutput } from "./commands/CreateImageRecipeCommand";
20
- import {
21
- CreateInfrastructureConfigurationCommandInput,
22
- CreateInfrastructureConfigurationCommandOutput,
23
- } from "./commands/CreateInfrastructureConfigurationCommand";
24
- import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
25
- import {
26
- DeleteContainerRecipeCommandInput,
27
- DeleteContainerRecipeCommandOutput,
28
- } from "./commands/DeleteContainerRecipeCommand";
29
- import {
30
- DeleteDistributionConfigurationCommandInput,
31
- DeleteDistributionConfigurationCommandOutput,
32
- } from "./commands/DeleteDistributionConfigurationCommand";
33
- import { DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/DeleteImageCommand";
34
- import {
35
- DeleteImagePipelineCommandInput,
36
- DeleteImagePipelineCommandOutput,
37
- } from "./commands/DeleteImagePipelineCommand";
38
- import { DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput } from "./commands/DeleteImageRecipeCommand";
39
- import {
40
- DeleteInfrastructureConfigurationCommandInput,
41
- DeleteInfrastructureConfigurationCommandOutput,
42
- } from "./commands/DeleteInfrastructureConfigurationCommand";
43
- import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
44
- import { GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput } from "./commands/GetComponentPolicyCommand";
45
- import { GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput } from "./commands/GetContainerRecipeCommand";
46
- import {
47
- GetContainerRecipePolicyCommandInput,
48
- GetContainerRecipePolicyCommandOutput,
49
- } from "./commands/GetContainerRecipePolicyCommand";
50
- import {
51
- GetDistributionConfigurationCommandInput,
52
- GetDistributionConfigurationCommandOutput,
53
- } from "./commands/GetDistributionConfigurationCommand";
54
- import { GetImageCommandInput, GetImageCommandOutput } from "./commands/GetImageCommand";
55
- import { GetImagePipelineCommandInput, GetImagePipelineCommandOutput } from "./commands/GetImagePipelineCommand";
56
- import { GetImagePolicyCommandInput, GetImagePolicyCommandOutput } from "./commands/GetImagePolicyCommand";
57
- import { GetImageRecipeCommandInput, GetImageRecipeCommandOutput } from "./commands/GetImageRecipeCommand";
58
- import {
59
- GetImageRecipePolicyCommandInput,
60
- GetImageRecipePolicyCommandOutput,
61
- } from "./commands/GetImageRecipePolicyCommand";
62
- import {
63
- GetInfrastructureConfigurationCommandInput,
64
- GetInfrastructureConfigurationCommandOutput,
65
- } from "./commands/GetInfrastructureConfigurationCommand";
66
- import { ImportComponentCommandInput, ImportComponentCommandOutput } from "./commands/ImportComponentCommand";
67
- import {
68
- ListComponentBuildVersionsCommandInput,
69
- ListComponentBuildVersionsCommandOutput,
70
- } from "./commands/ListComponentBuildVersionsCommand";
71
- import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
72
- import {
73
- ListContainerRecipesCommandInput,
74
- ListContainerRecipesCommandOutput,
75
- } from "./commands/ListContainerRecipesCommand";
76
- import {
77
- ListDistributionConfigurationsCommandInput,
78
- ListDistributionConfigurationsCommandOutput,
79
- } from "./commands/ListDistributionConfigurationsCommand";
80
- import {
81
- ListImageBuildVersionsCommandInput,
82
- ListImageBuildVersionsCommandOutput,
83
- } from "./commands/ListImageBuildVersionsCommand";
84
- import { ListImagePackagesCommandInput, ListImagePackagesCommandOutput } from "./commands/ListImagePackagesCommand";
85
- import {
86
- ListImagePipelineImagesCommandInput,
87
- ListImagePipelineImagesCommandOutput,
88
- } from "./commands/ListImagePipelineImagesCommand";
89
- import { ListImagePipelinesCommandInput, ListImagePipelinesCommandOutput } from "./commands/ListImagePipelinesCommand";
90
- import { ListImageRecipesCommandInput, ListImageRecipesCommandOutput } from "./commands/ListImageRecipesCommand";
91
- import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
92
- import {
93
- ListInfrastructureConfigurationsCommandInput,
94
- ListInfrastructureConfigurationsCommandOutput,
95
- } from "./commands/ListInfrastructureConfigurationsCommand";
96
- import {
97
- ListTagsForResourceCommandInput,
98
- ListTagsForResourceCommandOutput,
99
- } from "./commands/ListTagsForResourceCommand";
100
- import { PutComponentPolicyCommandInput, PutComponentPolicyCommandOutput } from "./commands/PutComponentPolicyCommand";
101
- import {
102
- PutContainerRecipePolicyCommandInput,
103
- PutContainerRecipePolicyCommandOutput,
104
- } from "./commands/PutContainerRecipePolicyCommand";
105
- import { PutImagePolicyCommandInput, PutImagePolicyCommandOutput } from "./commands/PutImagePolicyCommand";
106
- import {
107
- PutImageRecipePolicyCommandInput,
108
- PutImageRecipePolicyCommandOutput,
109
- } from "./commands/PutImageRecipePolicyCommand";
110
- import {
111
- StartImagePipelineExecutionCommandInput,
112
- StartImagePipelineExecutionCommandOutput,
113
- } from "./commands/StartImagePipelineExecutionCommand";
114
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
115
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
116
- import {
117
- UpdateDistributionConfigurationCommandInput,
118
- UpdateDistributionConfigurationCommandOutput,
119
- } from "./commands/UpdateDistributionConfigurationCommand";
120
- import {
121
- UpdateImagePipelineCommandInput,
122
- UpdateImagePipelineCommandOutput,
123
- } from "./commands/UpdateImagePipelineCommand";
124
- import {
125
- UpdateInfrastructureConfigurationCommandInput,
126
- UpdateInfrastructureConfigurationCommandOutput,
127
- } from "./commands/UpdateInfrastructureConfigurationCommand";
128
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
129
- import {
130
- EndpointsInputConfig,
131
- EndpointsResolvedConfig,
132
- RegionInputConfig,
133
- RegionResolvedConfig,
134
- resolveEndpointsConfig,
135
- resolveRegionConfig,
136
- } from "@aws-sdk/config-resolver";
137
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
138
- import {
139
- HostHeaderInputConfig,
140
- HostHeaderResolvedConfig,
141
- getHostHeaderPlugin,
142
- resolveHostHeaderConfig,
143
- } from "@aws-sdk/middleware-host-header";
144
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
145
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
146
- import {
147
- AwsAuthInputConfig,
148
- AwsAuthResolvedConfig,
149
- getAwsAuthPlugin,
150
- resolveAwsAuthConfig,
151
- } from "@aws-sdk/middleware-signing";
152
- import {
153
- UserAgentInputConfig,
154
- UserAgentResolvedConfig,
155
- getUserAgentPlugin,
156
- resolveUserAgentConfig,
157
- } from "@aws-sdk/middleware-user-agent";
158
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
159
- import {
160
- Client as __Client,
161
- SmithyConfiguration as __SmithyConfiguration,
162
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
163
- } from "@aws-sdk/smithy-client";
164
- import {
165
- Provider,
166
- RegionInfoProvider,
167
- Credentials as __Credentials,
168
- Decoder as __Decoder,
169
- Encoder as __Encoder,
170
- Hash as __Hash,
171
- HashConstructor as __HashConstructor,
172
- HttpHandlerOptions as __HttpHandlerOptions,
173
- Logger as __Logger,
174
- Provider as __Provider,
175
- StreamCollector as __StreamCollector,
176
- UrlParser as __UrlParser,
177
- UserAgent as __UserAgent,
178
- } from "@aws-sdk/types";
179
-
180
- export type ServiceInputTypes =
181
- | CancelImageCreationCommandInput
182
- | CreateComponentCommandInput
183
- | CreateContainerRecipeCommandInput
184
- | CreateDistributionConfigurationCommandInput
185
- | CreateImageCommandInput
186
- | CreateImagePipelineCommandInput
187
- | CreateImageRecipeCommandInput
188
- | CreateInfrastructureConfigurationCommandInput
189
- | DeleteComponentCommandInput
190
- | DeleteContainerRecipeCommandInput
191
- | DeleteDistributionConfigurationCommandInput
192
- | DeleteImageCommandInput
193
- | DeleteImagePipelineCommandInput
194
- | DeleteImageRecipeCommandInput
195
- | DeleteInfrastructureConfigurationCommandInput
196
- | GetComponentCommandInput
197
- | GetComponentPolicyCommandInput
198
- | GetContainerRecipeCommandInput
199
- | GetContainerRecipePolicyCommandInput
200
- | GetDistributionConfigurationCommandInput
201
- | GetImageCommandInput
202
- | GetImagePipelineCommandInput
203
- | GetImagePolicyCommandInput
204
- | GetImageRecipeCommandInput
205
- | GetImageRecipePolicyCommandInput
206
- | GetInfrastructureConfigurationCommandInput
207
- | ImportComponentCommandInput
208
- | ListComponentBuildVersionsCommandInput
209
- | ListComponentsCommandInput
210
- | ListContainerRecipesCommandInput
211
- | ListDistributionConfigurationsCommandInput
212
- | ListImageBuildVersionsCommandInput
213
- | ListImagePackagesCommandInput
214
- | ListImagePipelineImagesCommandInput
215
- | ListImagePipelinesCommandInput
216
- | ListImageRecipesCommandInput
217
- | ListImagesCommandInput
218
- | ListInfrastructureConfigurationsCommandInput
219
- | ListTagsForResourceCommandInput
220
- | PutComponentPolicyCommandInput
221
- | PutContainerRecipePolicyCommandInput
222
- | PutImagePolicyCommandInput
223
- | PutImageRecipePolicyCommandInput
224
- | StartImagePipelineExecutionCommandInput
225
- | TagResourceCommandInput
226
- | UntagResourceCommandInput
227
- | UpdateDistributionConfigurationCommandInput
228
- | UpdateImagePipelineCommandInput
229
- | UpdateInfrastructureConfigurationCommandInput;
230
-
231
- export type ServiceOutputTypes =
232
- | CancelImageCreationCommandOutput
233
- | CreateComponentCommandOutput
234
- | CreateContainerRecipeCommandOutput
235
- | CreateDistributionConfigurationCommandOutput
236
- | CreateImageCommandOutput
237
- | CreateImagePipelineCommandOutput
238
- | CreateImageRecipeCommandOutput
239
- | CreateInfrastructureConfigurationCommandOutput
240
- | DeleteComponentCommandOutput
241
- | DeleteContainerRecipeCommandOutput
242
- | DeleteDistributionConfigurationCommandOutput
243
- | DeleteImageCommandOutput
244
- | DeleteImagePipelineCommandOutput
245
- | DeleteImageRecipeCommandOutput
246
- | DeleteInfrastructureConfigurationCommandOutput
247
- | GetComponentCommandOutput
248
- | GetComponentPolicyCommandOutput
249
- | GetContainerRecipeCommandOutput
250
- | GetContainerRecipePolicyCommandOutput
251
- | GetDistributionConfigurationCommandOutput
252
- | GetImageCommandOutput
253
- | GetImagePipelineCommandOutput
254
- | GetImagePolicyCommandOutput
255
- | GetImageRecipeCommandOutput
256
- | GetImageRecipePolicyCommandOutput
257
- | GetInfrastructureConfigurationCommandOutput
258
- | ImportComponentCommandOutput
259
- | ListComponentBuildVersionsCommandOutput
260
- | ListComponentsCommandOutput
261
- | ListContainerRecipesCommandOutput
262
- | ListDistributionConfigurationsCommandOutput
263
- | ListImageBuildVersionsCommandOutput
264
- | ListImagePackagesCommandOutput
265
- | ListImagePipelineImagesCommandOutput
266
- | ListImagePipelinesCommandOutput
267
- | ListImageRecipesCommandOutput
268
- | ListImagesCommandOutput
269
- | ListInfrastructureConfigurationsCommandOutput
270
- | ListTagsForResourceCommandOutput
271
- | PutComponentPolicyCommandOutput
272
- | PutContainerRecipePolicyCommandOutput
273
- | PutImagePolicyCommandOutput
274
- | PutImageRecipePolicyCommandOutput
275
- | StartImagePipelineExecutionCommandOutput
276
- | TagResourceCommandOutput
277
- | UntagResourceCommandOutput
278
- | UpdateDistributionConfigurationCommandOutput
279
- | UpdateImagePipelineCommandOutput
280
- | UpdateInfrastructureConfigurationCommandOutput;
281
-
282
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
283
- /**
284
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
285
- */
286
- requestHandler?: __HttpHandler;
287
-
288
- /**
289
- * A constructor for a class implementing the {@link __Hash} interface
290
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
291
- * @internal
292
- */
293
- sha256?: __HashConstructor;
294
-
295
- /**
296
- * The function that will be used to convert strings into HTTP endpoints.
297
- * @internal
298
- */
299
- urlParser?: __UrlParser;
300
-
301
- /**
302
- * A function that can calculate the length of a request body.
303
- * @internal
304
- */
305
- bodyLengthChecker?: (body: any) => number | undefined;
306
-
307
- /**
308
- * A function that converts a stream into an array of bytes.
309
- * @internal
310
- */
311
- streamCollector?: __StreamCollector;
312
-
313
- /**
314
- * The function that will be used to convert a base64-encoded string to a byte array.
315
- * @internal
316
- */
317
- base64Decoder?: __Decoder;
318
-
319
- /**
320
- * The function that will be used to convert binary data to a base64-encoded string.
321
- * @internal
322
- */
323
- base64Encoder?: __Encoder;
324
-
325
- /**
326
- * The function that will be used to convert a UTF8-encoded string to a byte array.
327
- * @internal
328
- */
329
- utf8Decoder?: __Decoder;
330
-
331
- /**
332
- * The function that will be used to convert binary data to a UTF-8 encoded string.
333
- * @internal
334
- */
335
- utf8Encoder?: __Encoder;
336
-
337
- /**
338
- * The runtime environment.
339
- * @internal
340
- */
341
- runtime?: string;
342
-
343
- /**
344
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
345
- * trait of an operation.
346
- */
347
- disableHostPrefix?: boolean;
348
-
349
- /**
350
- * Value for how many times a request will be made at most in case of retry.
351
- */
352
- maxAttempts?: number | __Provider<number>;
353
-
354
- /**
355
- * Specifies which retry algorithm to use.
356
- */
357
- retryMode?: string | __Provider<string>;
358
-
359
- /**
360
- * Optional logger for logging debug/info/warn/error.
361
- */
362
- logger?: __Logger;
363
-
364
- /**
365
- * Unique service identifier.
366
- * @internal
367
- */
368
- serviceId?: string;
369
-
370
- /**
371
- * The AWS region to which this client will send requests
372
- */
373
- region?: string | __Provider<string>;
374
-
375
- /**
376
- * Default credentials provider; Not available in browser runtime.
377
- * @internal
378
- */
379
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
380
-
381
- /**
382
- * Fetch related hostname, signing name or signing region with given region.
383
- * @internal
384
- */
385
- regionInfoProvider?: RegionInfoProvider;
386
-
387
- /**
388
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
389
- * @internal
390
- */
391
- defaultUserAgentProvider?: Provider<__UserAgent>;
392
- }
393
-
394
- type ImagebuilderClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
395
- ClientDefaults &
396
- RegionInputConfig &
397
- EndpointsInputConfig &
398
- RetryInputConfig &
399
- HostHeaderInputConfig &
400
- AwsAuthInputConfig &
401
- UserAgentInputConfig;
402
- /**
403
- * The configuration interface of ImagebuilderClient class constructor that set the region, credentials and other options.
404
- */
405
- export interface ImagebuilderClientConfig extends ImagebuilderClientConfigType {}
406
-
407
- type ImagebuilderClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
408
- Required<ClientDefaults> &
409
- RegionResolvedConfig &
410
- EndpointsResolvedConfig &
411
- RetryResolvedConfig &
412
- HostHeaderResolvedConfig &
413
- AwsAuthResolvedConfig &
414
- UserAgentResolvedConfig;
415
- /**
416
- * The resolved configuration interface of ImagebuilderClient class. This is resolved and normalized from the {@link ImagebuilderClientConfig | constructor configuration interface}.
417
- */
418
- export interface ImagebuilderClientResolvedConfig extends ImagebuilderClientResolvedConfigType {}
419
-
420
- /**
421
- * <p>EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the
422
- * creation, management, and deployment of customized, secure, and up-to-date "golden" server
423
- * images that are pre-installed and pre-configured with software and settings to meet specific
424
- * IT standards.</p>
425
- */
426
- export class ImagebuilderClient extends __Client<
427
- __HttpHandlerOptions,
428
- ServiceInputTypes,
429
- ServiceOutputTypes,
430
- ImagebuilderClientResolvedConfig
431
- > {
432
- /**
433
- * The resolved configuration of ImagebuilderClient class. This is resolved and normalized from the {@link ImagebuilderClientConfig | constructor configuration interface}.
434
- */
435
- readonly config: ImagebuilderClientResolvedConfig;
436
-
437
- constructor(configuration: ImagebuilderClientConfig) {
438
- let _config_0 = __getRuntimeConfig(configuration);
439
- let _config_1 = resolveRegionConfig(_config_0);
440
- let _config_2 = resolveEndpointsConfig(_config_1);
441
- let _config_3 = resolveRetryConfig(_config_2);
442
- let _config_4 = resolveHostHeaderConfig(_config_3);
443
- let _config_5 = resolveAwsAuthConfig(_config_4);
444
- let _config_6 = resolveUserAgentConfig(_config_5);
445
- super(_config_6);
446
- this.config = _config_6;
447
- this.middlewareStack.use(getRetryPlugin(this.config));
448
- this.middlewareStack.use(getContentLengthPlugin(this.config));
449
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
450
- this.middlewareStack.use(getLoggerPlugin(this.config));
451
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
452
- this.middlewareStack.use(getUserAgentPlugin(this.config));
453
- }
454
-
455
- /**
456
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
457
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
458
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
459
- */
460
- destroy(): void {
461
- super.destroy();
462
- }
463
- }
@@ -1,95 +0,0 @@
1
- import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
2
- import { CancelImageCreationRequest, CancelImageCreationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CancelImageCreationCommand,
5
- serializeAws_restJson1CancelImageCreationCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CancelImageCreationCommandInput extends CancelImageCreationRequest {}
21
- export interface CancelImageCreationCommandOutput extends CancelImageCreationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>CancelImageCreation cancels the creation of Image. This operation can only be used on
25
- * images in a non-terminal state.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ImagebuilderClient, CancelImageCreationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
30
- * // const { ImagebuilderClient, CancelImageCreationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
31
- * const client = new ImagebuilderClient(config);
32
- * const command = new CancelImageCreationCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CancelImageCreationCommandInput} for command's `input` shape.
37
- * @see {@link CancelImageCreationCommandOutput} for command's `response` shape.
38
- * @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CancelImageCreationCommand extends $Command<
42
- CancelImageCreationCommandInput,
43
- CancelImageCreationCommandOutput,
44
- ImagebuilderClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CancelImageCreationCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ImagebuilderClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CancelImageCreationCommandInput, CancelImageCreationCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ImagebuilderClient";
69
- const commandName = "CancelImageCreationCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CancelImageCreationRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CancelImageCreationResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CancelImageCreationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CancelImageCreationCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelImageCreationCommandOutput> {
90
- return deserializeAws_restJson1CancelImageCreationCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
2
- import { CreateComponentRequest, CreateComponentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateComponentCommand,
5
- serializeAws_restJson1CreateComponentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateComponentCommandInput extends CreateComponentRequest {}
21
- export interface CreateComponentCommandOutput extends CreateComponentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new component that can be used to build, validate, test, and assess your
25
- * image.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ImagebuilderClient, CreateComponentCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
30
- * // const { ImagebuilderClient, CreateComponentCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
31
- * const client = new ImagebuilderClient(config);
32
- * const command = new CreateComponentCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateComponentCommandInput} for command's `input` shape.
37
- * @see {@link CreateComponentCommandOutput} for command's `response` shape.
38
- * @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateComponentCommand extends $Command<
42
- CreateComponentCommandInput,
43
- CreateComponentCommandOutput,
44
- ImagebuilderClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateComponentCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ImagebuilderClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateComponentCommandInput, CreateComponentCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ImagebuilderClient";
69
- const commandName = "CreateComponentCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateComponentRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateComponentResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateComponentCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateComponentCommandOutput> {
90
- return deserializeAws_restJson1CreateComponentCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }