@aws-sdk/client-imagebuilder 3.35.0 → 3.38.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 (432) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Imagebuilder.js +0 -7
  3. package/dist-cjs/ImagebuilderClient.js +0 -12
  4. package/dist-cjs/commands/CancelImageCreationCommand.js +0 -26
  5. package/dist-cjs/commands/CreateComponentCommand.js +0 -26
  6. package/dist-cjs/commands/CreateContainerRecipeCommand.js +0 -25
  7. package/dist-cjs/commands/CreateDistributionConfigurationCommand.js +0 -26
  8. package/dist-cjs/commands/CreateImageCommand.js +0 -27
  9. package/dist-cjs/commands/CreateImagePipelineCommand.js +0 -26
  10. package/dist-cjs/commands/CreateImageRecipeCommand.js +0 -26
  11. package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js +0 -26
  12. package/dist-cjs/commands/DeleteComponentCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteContainerRecipeCommand.js +0 -25
  14. package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteImageCommand.js +0 -45
  16. package/dist-cjs/commands/DeleteImagePipelineCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteImageRecipeCommand.js +0 -25
  18. package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js +0 -25
  19. package/dist-cjs/commands/GetComponentCommand.js +0 -25
  20. package/dist-cjs/commands/GetComponentPolicyCommand.js +0 -25
  21. package/dist-cjs/commands/GetContainerRecipeCommand.js +0 -25
  22. package/dist-cjs/commands/GetContainerRecipePolicyCommand.js +0 -25
  23. package/dist-cjs/commands/GetDistributionConfigurationCommand.js +0 -25
  24. package/dist-cjs/commands/GetImageCommand.js +0 -25
  25. package/dist-cjs/commands/GetImagePipelineCommand.js +0 -25
  26. package/dist-cjs/commands/GetImagePolicyCommand.js +0 -25
  27. package/dist-cjs/commands/GetImageRecipeCommand.js +0 -25
  28. package/dist-cjs/commands/GetImageRecipePolicyCommand.js +0 -25
  29. package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js +0 -25
  30. package/dist-cjs/commands/ImportComponentCommand.js +0 -25
  31. package/dist-cjs/commands/ListComponentBuildVersionsCommand.js +0 -34
  32. package/dist-cjs/commands/ListComponentsCommand.js +0 -34
  33. package/dist-cjs/commands/ListContainerRecipesCommand.js +0 -25
  34. package/dist-cjs/commands/ListDistributionConfigurationsCommand.js +0 -25
  35. package/dist-cjs/commands/ListImageBuildVersionsCommand.js +0 -25
  36. package/dist-cjs/commands/ListImagePackagesCommand.js +0 -25
  37. package/dist-cjs/commands/ListImagePipelineImagesCommand.js +0 -25
  38. package/dist-cjs/commands/ListImagePipelinesCommand.js +0 -25
  39. package/dist-cjs/commands/ListImageRecipesCommand.js +0 -25
  40. package/dist-cjs/commands/ListImagesCommand.js +0 -25
  41. package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js +0 -25
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  43. package/dist-cjs/commands/PutComponentPolicyCommand.js +0 -27
  44. package/dist-cjs/commands/PutContainerRecipePolicyCommand.js +0 -25
  45. package/dist-cjs/commands/PutImagePolicyCommand.js +0 -27
  46. package/dist-cjs/commands/PutImageRecipePolicyCommand.js +0 -27
  47. package/dist-cjs/commands/StartImagePipelineExecutionCommand.js +0 -25
  48. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  49. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  50. package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js +0 -26
  51. package/dist-cjs/commands/UpdateImagePipelineCommand.js +0 -31
  52. package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js +0 -26
  53. package/dist-cjs/commands/index.js +52 -0
  54. package/dist-cjs/endpoints.js +1 -2
  55. package/dist-cjs/index.js +4 -64
  56. package/dist-cjs/models/index.js +0 -1
  57. package/dist-cjs/models/models_0.js +0 -469
  58. package/dist-cjs/pagination/Interfaces.js +0 -1
  59. package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js +0 -11
  60. package/dist-cjs/pagination/ListComponentsPaginator.js +0 -11
  61. package/dist-cjs/pagination/ListContainerRecipesPaginator.js +0 -11
  62. package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js +0 -11
  63. package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js +0 -11
  64. package/dist-cjs/pagination/ListImagePackagesPaginator.js +0 -11
  65. package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js +0 -11
  66. package/dist-cjs/pagination/ListImagePipelinesPaginator.js +0 -11
  67. package/dist-cjs/pagination/ListImageRecipesPaginator.js +0 -11
  68. package/dist-cjs/pagination/ListImagesPaginator.js +0 -11
  69. package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.js +0 -11
  70. package/dist-cjs/pagination/index.js +15 -0
  71. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  72. package/dist-cjs/runtimeConfig.browser.js +1 -6
  73. package/dist-cjs/runtimeConfig.js +2 -7
  74. package/dist-cjs/runtimeConfig.native.js +0 -4
  75. package/dist-cjs/runtimeConfig.shared.js +0 -4
  76. package/dist-es/Imagebuilder.js +0 -1
  77. package/dist-es/ImagebuilderClient.js +0 -1
  78. package/dist-es/commands/CancelImageCreationCommand.js +0 -1
  79. package/dist-es/commands/CreateComponentCommand.js +0 -1
  80. package/dist-es/commands/CreateContainerRecipeCommand.js +0 -1
  81. package/dist-es/commands/CreateDistributionConfigurationCommand.js +0 -1
  82. package/dist-es/commands/CreateImageCommand.js +0 -1
  83. package/dist-es/commands/CreateImagePipelineCommand.js +0 -1
  84. package/dist-es/commands/CreateImageRecipeCommand.js +0 -1
  85. package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +0 -1
  86. package/dist-es/commands/DeleteComponentCommand.js +0 -1
  87. package/dist-es/commands/DeleteContainerRecipeCommand.js +0 -1
  88. package/dist-es/commands/DeleteDistributionConfigurationCommand.js +0 -1
  89. package/dist-es/commands/DeleteImageCommand.js +0 -1
  90. package/dist-es/commands/DeleteImagePipelineCommand.js +0 -1
  91. package/dist-es/commands/DeleteImageRecipeCommand.js +0 -1
  92. package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +0 -1
  93. package/dist-es/commands/GetComponentCommand.js +0 -1
  94. package/dist-es/commands/GetComponentPolicyCommand.js +0 -1
  95. package/dist-es/commands/GetContainerRecipeCommand.js +0 -1
  96. package/dist-es/commands/GetContainerRecipePolicyCommand.js +0 -1
  97. package/dist-es/commands/GetDistributionConfigurationCommand.js +0 -1
  98. package/dist-es/commands/GetImageCommand.js +0 -1
  99. package/dist-es/commands/GetImagePipelineCommand.js +0 -1
  100. package/dist-es/commands/GetImagePolicyCommand.js +0 -1
  101. package/dist-es/commands/GetImageRecipeCommand.js +0 -1
  102. package/dist-es/commands/GetImageRecipePolicyCommand.js +0 -1
  103. package/dist-es/commands/GetInfrastructureConfigurationCommand.js +0 -1
  104. package/dist-es/commands/ImportComponentCommand.js +0 -1
  105. package/dist-es/commands/ListComponentBuildVersionsCommand.js +0 -1
  106. package/dist-es/commands/ListComponentsCommand.js +0 -1
  107. package/dist-es/commands/ListContainerRecipesCommand.js +0 -1
  108. package/dist-es/commands/ListDistributionConfigurationsCommand.js +0 -1
  109. package/dist-es/commands/ListImageBuildVersionsCommand.js +0 -1
  110. package/dist-es/commands/ListImagePackagesCommand.js +0 -1
  111. package/dist-es/commands/ListImagePipelineImagesCommand.js +0 -1
  112. package/dist-es/commands/ListImagePipelinesCommand.js +0 -1
  113. package/dist-es/commands/ListImageRecipesCommand.js +0 -1
  114. package/dist-es/commands/ListImagesCommand.js +0 -1
  115. package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +0 -1
  116. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  117. package/dist-es/commands/PutComponentPolicyCommand.js +0 -1
  118. package/dist-es/commands/PutContainerRecipePolicyCommand.js +0 -1
  119. package/dist-es/commands/PutImagePolicyCommand.js +0 -1
  120. package/dist-es/commands/PutImageRecipePolicyCommand.js +0 -1
  121. package/dist-es/commands/StartImagePipelineExecutionCommand.js +0 -1
  122. package/dist-es/commands/TagResourceCommand.js +0 -1
  123. package/dist-es/commands/UntagResourceCommand.js +0 -1
  124. package/dist-es/commands/UpdateDistributionConfigurationCommand.js +0 -1
  125. package/dist-es/commands/UpdateImagePipelineCommand.js +0 -1
  126. package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +0 -1
  127. package/dist-es/commands/index.js +49 -0
  128. package/dist-es/endpoints.js +1 -2
  129. package/dist-es/index.js +4 -64
  130. package/dist-es/models/index.js +0 -1
  131. package/dist-es/models/models_0.js +0 -1
  132. package/dist-es/pagination/Interfaces.js +0 -1
  133. package/dist-es/pagination/ListComponentBuildVersionsPaginator.js +0 -1
  134. package/dist-es/pagination/ListComponentsPaginator.js +0 -1
  135. package/dist-es/pagination/ListContainerRecipesPaginator.js +0 -1
  136. package/dist-es/pagination/ListDistributionConfigurationsPaginator.js +0 -1
  137. package/dist-es/pagination/ListImageBuildVersionsPaginator.js +0 -1
  138. package/dist-es/pagination/ListImagePackagesPaginator.js +0 -1
  139. package/dist-es/pagination/ListImagePipelineImagesPaginator.js +0 -1
  140. package/dist-es/pagination/ListImagePipelinesPaginator.js +0 -1
  141. package/dist-es/pagination/ListImageRecipesPaginator.js +0 -1
  142. package/dist-es/pagination/ListImagesPaginator.js +0 -1
  143. package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js +0 -1
  144. package/dist-es/pagination/index.js +12 -0
  145. package/dist-es/protocols/Aws_restJson1.js +0 -1
  146. package/dist-es/runtimeConfig.browser.js +1 -2
  147. package/dist-es/runtimeConfig.js +2 -3
  148. package/dist-es/runtimeConfig.native.js +0 -1
  149. package/dist-es/runtimeConfig.shared.js +0 -1
  150. package/dist-types/commands/index.d.ts +49 -0
  151. package/dist-types/index.d.ts +4 -63
  152. package/dist-types/pagination/index.d.ts +12 -0
  153. package/dist-types/ts3.4/Imagebuilder.d.ts +50 -213
  154. package/dist-types/ts3.4/ImagebuilderClient.d.ts +24 -92
  155. package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +2 -21
  156. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +2 -21
  157. package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +2 -21
  159. package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +2 -22
  160. package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +2 -21
  161. package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +2 -21
  162. package/dist-types/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -21
  163. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +2 -40
  167. package/dist-types/ts3.4/commands/DeleteImagePipelineCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/DeleteImageRecipeCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/GetComponentPolicyCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/GetContainerRecipeCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/GetImageCommand.d.ts +2 -20
  176. package/dist-types/ts3.4/commands/GetImagePipelineCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/GetImagePolicyCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/GetImageRecipeCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +2 -29
  183. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +2 -29
  184. package/dist-types/ts3.4/commands/ListContainerRecipesCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/ListImagePipelinesCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/ListImageRecipesCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +2 -22
  195. package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +2 -22
  197. package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +2 -22
  198. package/dist-types/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +2 -20
  199. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  200. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +2 -21
  202. package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +2 -26
  203. package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -21
  204. package/dist-types/ts3.4/commands/index.d.ts +49 -0
  205. package/dist-types/ts3.4/index.d.ts +4 -63
  206. package/dist-types/ts3.4/models/models_0.d.ts +777 -2901
  207. package/dist-types/ts3.4/pagination/index.d.ts +12 -0
  208. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  209. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  210. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  211. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  212. package/package.json +33 -30
  213. package/dist-cjs/Imagebuilder.js.map +0 -1
  214. package/dist-cjs/ImagebuilderClient.js.map +0 -1
  215. package/dist-cjs/commands/CancelImageCreationCommand.js.map +0 -1
  216. package/dist-cjs/commands/CreateComponentCommand.js.map +0 -1
  217. package/dist-cjs/commands/CreateContainerRecipeCommand.js.map +0 -1
  218. package/dist-cjs/commands/CreateDistributionConfigurationCommand.js.map +0 -1
  219. package/dist-cjs/commands/CreateImageCommand.js.map +0 -1
  220. package/dist-cjs/commands/CreateImagePipelineCommand.js.map +0 -1
  221. package/dist-cjs/commands/CreateImageRecipeCommand.js.map +0 -1
  222. package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
  223. package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
  224. package/dist-cjs/commands/DeleteContainerRecipeCommand.js.map +0 -1
  225. package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
  226. package/dist-cjs/commands/DeleteImageCommand.js.map +0 -1
  227. package/dist-cjs/commands/DeleteImagePipelineCommand.js.map +0 -1
  228. package/dist-cjs/commands/DeleteImageRecipeCommand.js.map +0 -1
  229. package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
  230. package/dist-cjs/commands/GetComponentCommand.js.map +0 -1
  231. package/dist-cjs/commands/GetComponentPolicyCommand.js.map +0 -1
  232. package/dist-cjs/commands/GetContainerRecipeCommand.js.map +0 -1
  233. package/dist-cjs/commands/GetContainerRecipePolicyCommand.js.map +0 -1
  234. package/dist-cjs/commands/GetDistributionConfigurationCommand.js.map +0 -1
  235. package/dist-cjs/commands/GetImageCommand.js.map +0 -1
  236. package/dist-cjs/commands/GetImagePipelineCommand.js.map +0 -1
  237. package/dist-cjs/commands/GetImagePolicyCommand.js.map +0 -1
  238. package/dist-cjs/commands/GetImageRecipeCommand.js.map +0 -1
  239. package/dist-cjs/commands/GetImageRecipePolicyCommand.js.map +0 -1
  240. package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
  241. package/dist-cjs/commands/ImportComponentCommand.js.map +0 -1
  242. package/dist-cjs/commands/ListComponentBuildVersionsCommand.js.map +0 -1
  243. package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
  244. package/dist-cjs/commands/ListContainerRecipesCommand.js.map +0 -1
  245. package/dist-cjs/commands/ListDistributionConfigurationsCommand.js.map +0 -1
  246. package/dist-cjs/commands/ListImageBuildVersionsCommand.js.map +0 -1
  247. package/dist-cjs/commands/ListImagePackagesCommand.js.map +0 -1
  248. package/dist-cjs/commands/ListImagePipelineImagesCommand.js.map +0 -1
  249. package/dist-cjs/commands/ListImagePipelinesCommand.js.map +0 -1
  250. package/dist-cjs/commands/ListImageRecipesCommand.js.map +0 -1
  251. package/dist-cjs/commands/ListImagesCommand.js.map +0 -1
  252. package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
  253. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  254. package/dist-cjs/commands/PutComponentPolicyCommand.js.map +0 -1
  255. package/dist-cjs/commands/PutContainerRecipePolicyCommand.js.map +0 -1
  256. package/dist-cjs/commands/PutImagePolicyCommand.js.map +0 -1
  257. package/dist-cjs/commands/PutImageRecipePolicyCommand.js.map +0 -1
  258. package/dist-cjs/commands/StartImagePipelineExecutionCommand.js.map +0 -1
  259. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  260. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  261. package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js.map +0 -1
  262. package/dist-cjs/commands/UpdateImagePipelineCommand.js.map +0 -1
  263. package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js.map +0 -1
  264. package/dist-cjs/endpoints.js.map +0 -1
  265. package/dist-cjs/index.js.map +0 -1
  266. package/dist-cjs/models/index.js.map +0 -1
  267. package/dist-cjs/models/models_0.js.map +0 -1
  268. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  269. package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
  270. package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
  271. package/dist-cjs/pagination/ListContainerRecipesPaginator.js.map +0 -1
  272. package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
  273. package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
  274. package/dist-cjs/pagination/ListImagePackagesPaginator.js.map +0 -1
  275. package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
  276. package/dist-cjs/pagination/ListImagePipelinesPaginator.js.map +0 -1
  277. package/dist-cjs/pagination/ListImageRecipesPaginator.js.map +0 -1
  278. package/dist-cjs/pagination/ListImagesPaginator.js.map +0 -1
  279. package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.js.map +0 -1
  280. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  281. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  282. package/dist-cjs/runtimeConfig.js.map +0 -1
  283. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  284. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  285. package/dist-es/Imagebuilder.js.map +0 -1
  286. package/dist-es/ImagebuilderClient.js.map +0 -1
  287. package/dist-es/commands/CancelImageCreationCommand.js.map +0 -1
  288. package/dist-es/commands/CreateComponentCommand.js.map +0 -1
  289. package/dist-es/commands/CreateContainerRecipeCommand.js.map +0 -1
  290. package/dist-es/commands/CreateDistributionConfigurationCommand.js.map +0 -1
  291. package/dist-es/commands/CreateImageCommand.js.map +0 -1
  292. package/dist-es/commands/CreateImagePipelineCommand.js.map +0 -1
  293. package/dist-es/commands/CreateImageRecipeCommand.js.map +0 -1
  294. package/dist-es/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
  295. package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
  296. package/dist-es/commands/DeleteContainerRecipeCommand.js.map +0 -1
  297. package/dist-es/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
  298. package/dist-es/commands/DeleteImageCommand.js.map +0 -1
  299. package/dist-es/commands/DeleteImagePipelineCommand.js.map +0 -1
  300. package/dist-es/commands/DeleteImageRecipeCommand.js.map +0 -1
  301. package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
  302. package/dist-es/commands/GetComponentCommand.js.map +0 -1
  303. package/dist-es/commands/GetComponentPolicyCommand.js.map +0 -1
  304. package/dist-es/commands/GetContainerRecipeCommand.js.map +0 -1
  305. package/dist-es/commands/GetContainerRecipePolicyCommand.js.map +0 -1
  306. package/dist-es/commands/GetDistributionConfigurationCommand.js.map +0 -1
  307. package/dist-es/commands/GetImageCommand.js.map +0 -1
  308. package/dist-es/commands/GetImagePipelineCommand.js.map +0 -1
  309. package/dist-es/commands/GetImagePolicyCommand.js.map +0 -1
  310. package/dist-es/commands/GetImageRecipeCommand.js.map +0 -1
  311. package/dist-es/commands/GetImageRecipePolicyCommand.js.map +0 -1
  312. package/dist-es/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
  313. package/dist-es/commands/ImportComponentCommand.js.map +0 -1
  314. package/dist-es/commands/ListComponentBuildVersionsCommand.js.map +0 -1
  315. package/dist-es/commands/ListComponentsCommand.js.map +0 -1
  316. package/dist-es/commands/ListContainerRecipesCommand.js.map +0 -1
  317. package/dist-es/commands/ListDistributionConfigurationsCommand.js.map +0 -1
  318. package/dist-es/commands/ListImageBuildVersionsCommand.js.map +0 -1
  319. package/dist-es/commands/ListImagePackagesCommand.js.map +0 -1
  320. package/dist-es/commands/ListImagePipelineImagesCommand.js.map +0 -1
  321. package/dist-es/commands/ListImagePipelinesCommand.js.map +0 -1
  322. package/dist-es/commands/ListImageRecipesCommand.js.map +0 -1
  323. package/dist-es/commands/ListImagesCommand.js.map +0 -1
  324. package/dist-es/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
  325. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  326. package/dist-es/commands/PutComponentPolicyCommand.js.map +0 -1
  327. package/dist-es/commands/PutContainerRecipePolicyCommand.js.map +0 -1
  328. package/dist-es/commands/PutImagePolicyCommand.js.map +0 -1
  329. package/dist-es/commands/PutImageRecipePolicyCommand.js.map +0 -1
  330. package/dist-es/commands/StartImagePipelineExecutionCommand.js.map +0 -1
  331. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  332. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  333. package/dist-es/commands/UpdateDistributionConfigurationCommand.js.map +0 -1
  334. package/dist-es/commands/UpdateImagePipelineCommand.js.map +0 -1
  335. package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js.map +0 -1
  336. package/dist-es/endpoints.js.map +0 -1
  337. package/dist-es/index.js.map +0 -1
  338. package/dist-es/models/index.js.map +0 -1
  339. package/dist-es/models/models_0.js.map +0 -1
  340. package/dist-es/pagination/Interfaces.js.map +0 -1
  341. package/dist-es/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
  342. package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
  343. package/dist-es/pagination/ListContainerRecipesPaginator.js.map +0 -1
  344. package/dist-es/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
  345. package/dist-es/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
  346. package/dist-es/pagination/ListImagePackagesPaginator.js.map +0 -1
  347. package/dist-es/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
  348. package/dist-es/pagination/ListImagePipelinesPaginator.js.map +0 -1
  349. package/dist-es/pagination/ListImageRecipesPaginator.js.map +0 -1
  350. package/dist-es/pagination/ListImagesPaginator.js.map +0 -1
  351. package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js.map +0 -1
  352. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  353. package/dist-es/runtimeConfig.browser.js.map +0 -1
  354. package/dist-es/runtimeConfig.js.map +0 -1
  355. package/dist-es/runtimeConfig.native.js.map +0 -1
  356. package/dist-es/runtimeConfig.shared.js.map +0 -1
  357. package/jest.config.js +0 -4
  358. package/src/Imagebuilder.ts +0 -1831
  359. package/src/ImagebuilderClient.ts +0 -464
  360. package/src/commands/CancelImageCreationCommand.ts +0 -96
  361. package/src/commands/CreateComponentCommand.ts +0 -96
  362. package/src/commands/CreateContainerRecipeCommand.ts +0 -95
  363. package/src/commands/CreateDistributionConfigurationCommand.ts +0 -104
  364. package/src/commands/CreateImageCommand.ts +0 -97
  365. package/src/commands/CreateImagePipelineCommand.ts +0 -96
  366. package/src/commands/CreateImageRecipeCommand.ts +0 -96
  367. package/src/commands/CreateInfrastructureConfigurationCommand.ts +0 -107
  368. package/src/commands/DeleteComponentCommand.ts +0 -95
  369. package/src/commands/DeleteContainerRecipeCommand.ts +0 -95
  370. package/src/commands/DeleteDistributionConfigurationCommand.ts +0 -103
  371. package/src/commands/DeleteImageCommand.ts +0 -115
  372. package/src/commands/DeleteImagePipelineCommand.ts +0 -95
  373. package/src/commands/DeleteImageRecipeCommand.ts +0 -95
  374. package/src/commands/DeleteInfrastructureConfigurationCommand.ts +0 -106
  375. package/src/commands/GetComponentCommand.ts +0 -95
  376. package/src/commands/GetComponentPolicyCommand.ts +0 -95
  377. package/src/commands/GetContainerRecipeCommand.ts +0 -95
  378. package/src/commands/GetContainerRecipePolicyCommand.ts +0 -95
  379. package/src/commands/GetDistributionConfigurationCommand.ts +0 -100
  380. package/src/commands/GetImageCommand.ts +0 -95
  381. package/src/commands/GetImagePipelineCommand.ts +0 -95
  382. package/src/commands/GetImagePolicyCommand.ts +0 -95
  383. package/src/commands/GetImageRecipeCommand.ts +0 -95
  384. package/src/commands/GetImageRecipePolicyCommand.ts +0 -95
  385. package/src/commands/GetInfrastructureConfigurationCommand.ts +0 -103
  386. package/src/commands/ImportComponentCommand.ts +0 -95
  387. package/src/commands/ListComponentBuildVersionsCommand.ts +0 -107
  388. package/src/commands/ListComponentsCommand.ts +0 -104
  389. package/src/commands/ListContainerRecipesCommand.ts +0 -95
  390. package/src/commands/ListDistributionConfigurationsCommand.ts +0 -103
  391. package/src/commands/ListImageBuildVersionsCommand.ts +0 -95
  392. package/src/commands/ListImagePackagesCommand.ts +0 -95
  393. package/src/commands/ListImagePipelineImagesCommand.ts +0 -95
  394. package/src/commands/ListImagePipelinesCommand.ts +0 -95
  395. package/src/commands/ListImageRecipesCommand.ts +0 -95
  396. package/src/commands/ListImagesCommand.ts +0 -95
  397. package/src/commands/ListInfrastructureConfigurationsCommand.ts +0 -103
  398. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  399. package/src/commands/PutComponentPolicyCommand.ts +0 -97
  400. package/src/commands/PutContainerRecipePolicyCommand.ts +0 -95
  401. package/src/commands/PutImagePolicyCommand.ts +0 -97
  402. package/src/commands/PutImageRecipePolicyCommand.ts +0 -97
  403. package/src/commands/StartImagePipelineExecutionCommand.ts +0 -100
  404. package/src/commands/TagResourceCommand.ts +0 -95
  405. package/src/commands/UntagResourceCommand.ts +0 -95
  406. package/src/commands/UpdateDistributionConfigurationCommand.ts +0 -104
  407. package/src/commands/UpdateImagePipelineCommand.ts +0 -101
  408. package/src/commands/UpdateInfrastructureConfigurationCommand.ts +0 -107
  409. package/src/endpoints.ts +0 -57
  410. package/src/index.ts +0 -64
  411. package/src/models/index.ts +0 -1
  412. package/src/models/models_0.ts +0 -5411
  413. package/src/pagination/Interfaces.ts +0 -8
  414. package/src/pagination/ListComponentBuildVersionsPaginator.ts +0 -59
  415. package/src/pagination/ListComponentsPaginator.ts +0 -59
  416. package/src/pagination/ListContainerRecipesPaginator.ts +0 -59
  417. package/src/pagination/ListDistributionConfigurationsPaginator.ts +0 -59
  418. package/src/pagination/ListImageBuildVersionsPaginator.ts +0 -59
  419. package/src/pagination/ListImagePackagesPaginator.ts +0 -59
  420. package/src/pagination/ListImagePipelineImagesPaginator.ts +0 -59
  421. package/src/pagination/ListImagePipelinesPaginator.ts +0 -59
  422. package/src/pagination/ListImageRecipesPaginator.ts +0 -59
  423. package/src/pagination/ListImagesPaginator.ts +0 -55
  424. package/src/pagination/ListInfrastructureConfigurationsPaginator.ts +0 -59
  425. package/src/protocols/Aws_restJson1.ts +0 -8986
  426. package/src/runtimeConfig.browser.ts +0 -41
  427. package/src/runtimeConfig.native.ts +0 -17
  428. package/src/runtimeConfig.shared.ts +0 -17
  429. package/src/runtimeConfig.ts +0 -46
  430. package/tsconfig.es.json +0 -10
  431. package/tsconfig.json +0 -33
  432. package/tsconfig.types.json +0 -9
@@ -1,1831 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- CancelImageCreationCommand,
5
- CancelImageCreationCommandInput,
6
- CancelImageCreationCommandOutput,
7
- } from "./commands/CancelImageCreationCommand";
8
- import {
9
- CreateComponentCommand,
10
- CreateComponentCommandInput,
11
- CreateComponentCommandOutput,
12
- } from "./commands/CreateComponentCommand";
13
- import {
14
- CreateContainerRecipeCommand,
15
- CreateContainerRecipeCommandInput,
16
- CreateContainerRecipeCommandOutput,
17
- } from "./commands/CreateContainerRecipeCommand";
18
- import {
19
- CreateDistributionConfigurationCommand,
20
- CreateDistributionConfigurationCommandInput,
21
- CreateDistributionConfigurationCommandOutput,
22
- } from "./commands/CreateDistributionConfigurationCommand";
23
- import { CreateImageCommand, CreateImageCommandInput, CreateImageCommandOutput } from "./commands/CreateImageCommand";
24
- import {
25
- CreateImagePipelineCommand,
26
- CreateImagePipelineCommandInput,
27
- CreateImagePipelineCommandOutput,
28
- } from "./commands/CreateImagePipelineCommand";
29
- import {
30
- CreateImageRecipeCommand,
31
- CreateImageRecipeCommandInput,
32
- CreateImageRecipeCommandOutput,
33
- } from "./commands/CreateImageRecipeCommand";
34
- import {
35
- CreateInfrastructureConfigurationCommand,
36
- CreateInfrastructureConfigurationCommandInput,
37
- CreateInfrastructureConfigurationCommandOutput,
38
- } from "./commands/CreateInfrastructureConfigurationCommand";
39
- import {
40
- DeleteComponentCommand,
41
- DeleteComponentCommandInput,
42
- DeleteComponentCommandOutput,
43
- } from "./commands/DeleteComponentCommand";
44
- import {
45
- DeleteContainerRecipeCommand,
46
- DeleteContainerRecipeCommandInput,
47
- DeleteContainerRecipeCommandOutput,
48
- } from "./commands/DeleteContainerRecipeCommand";
49
- import {
50
- DeleteDistributionConfigurationCommand,
51
- DeleteDistributionConfigurationCommandInput,
52
- DeleteDistributionConfigurationCommandOutput,
53
- } from "./commands/DeleteDistributionConfigurationCommand";
54
- import { DeleteImageCommand, DeleteImageCommandInput, DeleteImageCommandOutput } from "./commands/DeleteImageCommand";
55
- import {
56
- DeleteImagePipelineCommand,
57
- DeleteImagePipelineCommandInput,
58
- DeleteImagePipelineCommandOutput,
59
- } from "./commands/DeleteImagePipelineCommand";
60
- import {
61
- DeleteImageRecipeCommand,
62
- DeleteImageRecipeCommandInput,
63
- DeleteImageRecipeCommandOutput,
64
- } from "./commands/DeleteImageRecipeCommand";
65
- import {
66
- DeleteInfrastructureConfigurationCommand,
67
- DeleteInfrastructureConfigurationCommandInput,
68
- DeleteInfrastructureConfigurationCommandOutput,
69
- } from "./commands/DeleteInfrastructureConfigurationCommand";
70
- import {
71
- GetComponentCommand,
72
- GetComponentCommandInput,
73
- GetComponentCommandOutput,
74
- } from "./commands/GetComponentCommand";
75
- import {
76
- GetComponentPolicyCommand,
77
- GetComponentPolicyCommandInput,
78
- GetComponentPolicyCommandOutput,
79
- } from "./commands/GetComponentPolicyCommand";
80
- import {
81
- GetContainerRecipeCommand,
82
- GetContainerRecipeCommandInput,
83
- GetContainerRecipeCommandOutput,
84
- } from "./commands/GetContainerRecipeCommand";
85
- import {
86
- GetContainerRecipePolicyCommand,
87
- GetContainerRecipePolicyCommandInput,
88
- GetContainerRecipePolicyCommandOutput,
89
- } from "./commands/GetContainerRecipePolicyCommand";
90
- import {
91
- GetDistributionConfigurationCommand,
92
- GetDistributionConfigurationCommandInput,
93
- GetDistributionConfigurationCommandOutput,
94
- } from "./commands/GetDistributionConfigurationCommand";
95
- import { GetImageCommand, GetImageCommandInput, GetImageCommandOutput } from "./commands/GetImageCommand";
96
- import {
97
- GetImagePipelineCommand,
98
- GetImagePipelineCommandInput,
99
- GetImagePipelineCommandOutput,
100
- } from "./commands/GetImagePipelineCommand";
101
- import {
102
- GetImagePolicyCommand,
103
- GetImagePolicyCommandInput,
104
- GetImagePolicyCommandOutput,
105
- } from "./commands/GetImagePolicyCommand";
106
- import {
107
- GetImageRecipeCommand,
108
- GetImageRecipeCommandInput,
109
- GetImageRecipeCommandOutput,
110
- } from "./commands/GetImageRecipeCommand";
111
- import {
112
- GetImageRecipePolicyCommand,
113
- GetImageRecipePolicyCommandInput,
114
- GetImageRecipePolicyCommandOutput,
115
- } from "./commands/GetImageRecipePolicyCommand";
116
- import {
117
- GetInfrastructureConfigurationCommand,
118
- GetInfrastructureConfigurationCommandInput,
119
- GetInfrastructureConfigurationCommandOutput,
120
- } from "./commands/GetInfrastructureConfigurationCommand";
121
- import {
122
- ImportComponentCommand,
123
- ImportComponentCommandInput,
124
- ImportComponentCommandOutput,
125
- } from "./commands/ImportComponentCommand";
126
- import {
127
- ListComponentBuildVersionsCommand,
128
- ListComponentBuildVersionsCommandInput,
129
- ListComponentBuildVersionsCommandOutput,
130
- } from "./commands/ListComponentBuildVersionsCommand";
131
- import {
132
- ListComponentsCommand,
133
- ListComponentsCommandInput,
134
- ListComponentsCommandOutput,
135
- } from "./commands/ListComponentsCommand";
136
- import {
137
- ListContainerRecipesCommand,
138
- ListContainerRecipesCommandInput,
139
- ListContainerRecipesCommandOutput,
140
- } from "./commands/ListContainerRecipesCommand";
141
- import {
142
- ListDistributionConfigurationsCommand,
143
- ListDistributionConfigurationsCommandInput,
144
- ListDistributionConfigurationsCommandOutput,
145
- } from "./commands/ListDistributionConfigurationsCommand";
146
- import {
147
- ListImageBuildVersionsCommand,
148
- ListImageBuildVersionsCommandInput,
149
- ListImageBuildVersionsCommandOutput,
150
- } from "./commands/ListImageBuildVersionsCommand";
151
- import {
152
- ListImagePackagesCommand,
153
- ListImagePackagesCommandInput,
154
- ListImagePackagesCommandOutput,
155
- } from "./commands/ListImagePackagesCommand";
156
- import {
157
- ListImagePipelineImagesCommand,
158
- ListImagePipelineImagesCommandInput,
159
- ListImagePipelineImagesCommandOutput,
160
- } from "./commands/ListImagePipelineImagesCommand";
161
- import {
162
- ListImagePipelinesCommand,
163
- ListImagePipelinesCommandInput,
164
- ListImagePipelinesCommandOutput,
165
- } from "./commands/ListImagePipelinesCommand";
166
- import {
167
- ListImageRecipesCommand,
168
- ListImageRecipesCommandInput,
169
- ListImageRecipesCommandOutput,
170
- } from "./commands/ListImageRecipesCommand";
171
- import { ListImagesCommand, ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
172
- import {
173
- ListInfrastructureConfigurationsCommand,
174
- ListInfrastructureConfigurationsCommandInput,
175
- ListInfrastructureConfigurationsCommandOutput,
176
- } from "./commands/ListInfrastructureConfigurationsCommand";
177
- import {
178
- ListTagsForResourceCommand,
179
- ListTagsForResourceCommandInput,
180
- ListTagsForResourceCommandOutput,
181
- } from "./commands/ListTagsForResourceCommand";
182
- import {
183
- PutComponentPolicyCommand,
184
- PutComponentPolicyCommandInput,
185
- PutComponentPolicyCommandOutput,
186
- } from "./commands/PutComponentPolicyCommand";
187
- import {
188
- PutContainerRecipePolicyCommand,
189
- PutContainerRecipePolicyCommandInput,
190
- PutContainerRecipePolicyCommandOutput,
191
- } from "./commands/PutContainerRecipePolicyCommand";
192
- import {
193
- PutImagePolicyCommand,
194
- PutImagePolicyCommandInput,
195
- PutImagePolicyCommandOutput,
196
- } from "./commands/PutImagePolicyCommand";
197
- import {
198
- PutImageRecipePolicyCommand,
199
- PutImageRecipePolicyCommandInput,
200
- PutImageRecipePolicyCommandOutput,
201
- } from "./commands/PutImageRecipePolicyCommand";
202
- import {
203
- StartImagePipelineExecutionCommand,
204
- StartImagePipelineExecutionCommandInput,
205
- StartImagePipelineExecutionCommandOutput,
206
- } from "./commands/StartImagePipelineExecutionCommand";
207
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
208
- import {
209
- UntagResourceCommand,
210
- UntagResourceCommandInput,
211
- UntagResourceCommandOutput,
212
- } from "./commands/UntagResourceCommand";
213
- import {
214
- UpdateDistributionConfigurationCommand,
215
- UpdateDistributionConfigurationCommandInput,
216
- UpdateDistributionConfigurationCommandOutput,
217
- } from "./commands/UpdateDistributionConfigurationCommand";
218
- import {
219
- UpdateImagePipelineCommand,
220
- UpdateImagePipelineCommandInput,
221
- UpdateImagePipelineCommandOutput,
222
- } from "./commands/UpdateImagePipelineCommand";
223
- import {
224
- UpdateInfrastructureConfigurationCommand,
225
- UpdateInfrastructureConfigurationCommandInput,
226
- UpdateInfrastructureConfigurationCommandOutput,
227
- } from "./commands/UpdateInfrastructureConfigurationCommand";
228
- import { ImagebuilderClient } from "./ImagebuilderClient";
229
-
230
- /**
231
- * <p>EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the
232
- * creation, management, and deployment of customized, secure, and up-to-date "golden" server
233
- * images that are pre-installed and pre-configured with software and settings to meet specific
234
- * IT standards.</p>
235
- */
236
- export class Imagebuilder extends ImagebuilderClient {
237
- /**
238
- * <p>CancelImageCreation cancels the creation of Image. This operation can only be used on
239
- * images in a non-terminal state.</p>
240
- */
241
- public cancelImageCreation(
242
- args: CancelImageCreationCommandInput,
243
- options?: __HttpHandlerOptions
244
- ): Promise<CancelImageCreationCommandOutput>;
245
- public cancelImageCreation(
246
- args: CancelImageCreationCommandInput,
247
- cb: (err: any, data?: CancelImageCreationCommandOutput) => void
248
- ): void;
249
- public cancelImageCreation(
250
- args: CancelImageCreationCommandInput,
251
- options: __HttpHandlerOptions,
252
- cb: (err: any, data?: CancelImageCreationCommandOutput) => void
253
- ): void;
254
- public cancelImageCreation(
255
- args: CancelImageCreationCommandInput,
256
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelImageCreationCommandOutput) => void),
257
- cb?: (err: any, data?: CancelImageCreationCommandOutput) => void
258
- ): Promise<CancelImageCreationCommandOutput> | void {
259
- const command = new CancelImageCreationCommand(args);
260
- if (typeof optionsOrCb === "function") {
261
- this.send(command, optionsOrCb);
262
- } else if (typeof cb === "function") {
263
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
264
- this.send(command, optionsOrCb || {}, cb);
265
- } else {
266
- return this.send(command, optionsOrCb);
267
- }
268
- }
269
-
270
- /**
271
- * <p>Creates a new component that can be used to build, validate, test, and assess your
272
- * image.</p>
273
- */
274
- public createComponent(
275
- args: CreateComponentCommandInput,
276
- options?: __HttpHandlerOptions
277
- ): Promise<CreateComponentCommandOutput>;
278
- public createComponent(
279
- args: CreateComponentCommandInput,
280
- cb: (err: any, data?: CreateComponentCommandOutput) => void
281
- ): void;
282
- public createComponent(
283
- args: CreateComponentCommandInput,
284
- options: __HttpHandlerOptions,
285
- cb: (err: any, data?: CreateComponentCommandOutput) => void
286
- ): void;
287
- public createComponent(
288
- args: CreateComponentCommandInput,
289
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateComponentCommandOutput) => void),
290
- cb?: (err: any, data?: CreateComponentCommandOutput) => void
291
- ): Promise<CreateComponentCommandOutput> | void {
292
- const command = new CreateComponentCommand(args);
293
- if (typeof optionsOrCb === "function") {
294
- this.send(command, optionsOrCb);
295
- } else if (typeof cb === "function") {
296
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
297
- this.send(command, optionsOrCb || {}, cb);
298
- } else {
299
- return this.send(command, optionsOrCb);
300
- }
301
- }
302
-
303
- /**
304
- * <p>Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.</p>
305
- */
306
- public createContainerRecipe(
307
- args: CreateContainerRecipeCommandInput,
308
- options?: __HttpHandlerOptions
309
- ): Promise<CreateContainerRecipeCommandOutput>;
310
- public createContainerRecipe(
311
- args: CreateContainerRecipeCommandInput,
312
- cb: (err: any, data?: CreateContainerRecipeCommandOutput) => void
313
- ): void;
314
- public createContainerRecipe(
315
- args: CreateContainerRecipeCommandInput,
316
- options: __HttpHandlerOptions,
317
- cb: (err: any, data?: CreateContainerRecipeCommandOutput) => void
318
- ): void;
319
- public createContainerRecipe(
320
- args: CreateContainerRecipeCommandInput,
321
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateContainerRecipeCommandOutput) => void),
322
- cb?: (err: any, data?: CreateContainerRecipeCommandOutput) => void
323
- ): Promise<CreateContainerRecipeCommandOutput> | void {
324
- const command = new CreateContainerRecipeCommand(args);
325
- if (typeof optionsOrCb === "function") {
326
- this.send(command, optionsOrCb);
327
- } else if (typeof cb === "function") {
328
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
329
- this.send(command, optionsOrCb || {}, cb);
330
- } else {
331
- return this.send(command, optionsOrCb);
332
- }
333
- }
334
-
335
- /**
336
- * <p>Creates a new distribution configuration. Distribution configurations define and configure
337
- * the outputs of your pipeline.</p>
338
- */
339
- public createDistributionConfiguration(
340
- args: CreateDistributionConfigurationCommandInput,
341
- options?: __HttpHandlerOptions
342
- ): Promise<CreateDistributionConfigurationCommandOutput>;
343
- public createDistributionConfiguration(
344
- args: CreateDistributionConfigurationCommandInput,
345
- cb: (err: any, data?: CreateDistributionConfigurationCommandOutput) => void
346
- ): void;
347
- public createDistributionConfiguration(
348
- args: CreateDistributionConfigurationCommandInput,
349
- options: __HttpHandlerOptions,
350
- cb: (err: any, data?: CreateDistributionConfigurationCommandOutput) => void
351
- ): void;
352
- public createDistributionConfiguration(
353
- args: CreateDistributionConfigurationCommandInput,
354
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDistributionConfigurationCommandOutput) => void),
355
- cb?: (err: any, data?: CreateDistributionConfigurationCommandOutput) => void
356
- ): Promise<CreateDistributionConfigurationCommandOutput> | void {
357
- const command = new CreateDistributionConfigurationCommand(args);
358
- if (typeof optionsOrCb === "function") {
359
- this.send(command, optionsOrCb);
360
- } else if (typeof cb === "function") {
361
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
362
- this.send(command, optionsOrCb || {}, cb);
363
- } else {
364
- return this.send(command, optionsOrCb);
365
- }
366
- }
367
-
368
- /**
369
- * <p> Creates a new image. This request will create a new image along with all of the
370
- * configured output resources defined in the distribution configuration. You must specify
371
- * exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.</p>
372
- */
373
- public createImage(args: CreateImageCommandInput, options?: __HttpHandlerOptions): Promise<CreateImageCommandOutput>;
374
- public createImage(args: CreateImageCommandInput, cb: (err: any, data?: CreateImageCommandOutput) => void): void;
375
- public createImage(
376
- args: CreateImageCommandInput,
377
- options: __HttpHandlerOptions,
378
- cb: (err: any, data?: CreateImageCommandOutput) => void
379
- ): void;
380
- public createImage(
381
- args: CreateImageCommandInput,
382
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateImageCommandOutput) => void),
383
- cb?: (err: any, data?: CreateImageCommandOutput) => void
384
- ): Promise<CreateImageCommandOutput> | void {
385
- const command = new CreateImageCommand(args);
386
- if (typeof optionsOrCb === "function") {
387
- this.send(command, optionsOrCb);
388
- } else if (typeof cb === "function") {
389
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
390
- this.send(command, optionsOrCb || {}, cb);
391
- } else {
392
- return this.send(command, optionsOrCb);
393
- }
394
- }
395
-
396
- /**
397
- * <p> Creates a new image pipeline. Image pipelines enable you to automate the creation and
398
- * distribution of images.</p>
399
- */
400
- public createImagePipeline(
401
- args: CreateImagePipelineCommandInput,
402
- options?: __HttpHandlerOptions
403
- ): Promise<CreateImagePipelineCommandOutput>;
404
- public createImagePipeline(
405
- args: CreateImagePipelineCommandInput,
406
- cb: (err: any, data?: CreateImagePipelineCommandOutput) => void
407
- ): void;
408
- public createImagePipeline(
409
- args: CreateImagePipelineCommandInput,
410
- options: __HttpHandlerOptions,
411
- cb: (err: any, data?: CreateImagePipelineCommandOutput) => void
412
- ): void;
413
- public createImagePipeline(
414
- args: CreateImagePipelineCommandInput,
415
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateImagePipelineCommandOutput) => void),
416
- cb?: (err: any, data?: CreateImagePipelineCommandOutput) => void
417
- ): Promise<CreateImagePipelineCommandOutput> | void {
418
- const command = new CreateImagePipelineCommand(args);
419
- if (typeof optionsOrCb === "function") {
420
- this.send(command, optionsOrCb);
421
- } else if (typeof cb === "function") {
422
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
423
- this.send(command, optionsOrCb || {}, cb);
424
- } else {
425
- return this.send(command, optionsOrCb);
426
- }
427
- }
428
-
429
- /**
430
- * <p> Creates a new image recipe. Image recipes define how images are configured, tested, and
431
- * assessed.</p>
432
- */
433
- public createImageRecipe(
434
- args: CreateImageRecipeCommandInput,
435
- options?: __HttpHandlerOptions
436
- ): Promise<CreateImageRecipeCommandOutput>;
437
- public createImageRecipe(
438
- args: CreateImageRecipeCommandInput,
439
- cb: (err: any, data?: CreateImageRecipeCommandOutput) => void
440
- ): void;
441
- public createImageRecipe(
442
- args: CreateImageRecipeCommandInput,
443
- options: __HttpHandlerOptions,
444
- cb: (err: any, data?: CreateImageRecipeCommandOutput) => void
445
- ): void;
446
- public createImageRecipe(
447
- args: CreateImageRecipeCommandInput,
448
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateImageRecipeCommandOutput) => void),
449
- cb?: (err: any, data?: CreateImageRecipeCommandOutput) => void
450
- ): Promise<CreateImageRecipeCommandOutput> | void {
451
- const command = new CreateImageRecipeCommand(args);
452
- if (typeof optionsOrCb === "function") {
453
- this.send(command, optionsOrCb);
454
- } else if (typeof cb === "function") {
455
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
456
- this.send(command, optionsOrCb || {}, cb);
457
- } else {
458
- return this.send(command, optionsOrCb);
459
- }
460
- }
461
-
462
- /**
463
- * <p> Creates a new infrastructure configuration. An infrastructure configuration defines the
464
- * environment in which your image will be built and tested.</p>
465
- */
466
- public createInfrastructureConfiguration(
467
- args: CreateInfrastructureConfigurationCommandInput,
468
- options?: __HttpHandlerOptions
469
- ): Promise<CreateInfrastructureConfigurationCommandOutput>;
470
- public createInfrastructureConfiguration(
471
- args: CreateInfrastructureConfigurationCommandInput,
472
- cb: (err: any, data?: CreateInfrastructureConfigurationCommandOutput) => void
473
- ): void;
474
- public createInfrastructureConfiguration(
475
- args: CreateInfrastructureConfigurationCommandInput,
476
- options: __HttpHandlerOptions,
477
- cb: (err: any, data?: CreateInfrastructureConfigurationCommandOutput) => void
478
- ): void;
479
- public createInfrastructureConfiguration(
480
- args: CreateInfrastructureConfigurationCommandInput,
481
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateInfrastructureConfigurationCommandOutput) => void),
482
- cb?: (err: any, data?: CreateInfrastructureConfigurationCommandOutput) => void
483
- ): Promise<CreateInfrastructureConfigurationCommandOutput> | void {
484
- const command = new CreateInfrastructureConfigurationCommand(args);
485
- if (typeof optionsOrCb === "function") {
486
- this.send(command, optionsOrCb);
487
- } else if (typeof cb === "function") {
488
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
489
- this.send(command, optionsOrCb || {}, cb);
490
- } else {
491
- return this.send(command, optionsOrCb);
492
- }
493
- }
494
-
495
- /**
496
- * <p> Deletes a component build version.</p>
497
- */
498
- public deleteComponent(
499
- args: DeleteComponentCommandInput,
500
- options?: __HttpHandlerOptions
501
- ): Promise<DeleteComponentCommandOutput>;
502
- public deleteComponent(
503
- args: DeleteComponentCommandInput,
504
- cb: (err: any, data?: DeleteComponentCommandOutput) => void
505
- ): void;
506
- public deleteComponent(
507
- args: DeleteComponentCommandInput,
508
- options: __HttpHandlerOptions,
509
- cb: (err: any, data?: DeleteComponentCommandOutput) => void
510
- ): void;
511
- public deleteComponent(
512
- args: DeleteComponentCommandInput,
513
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteComponentCommandOutput) => void),
514
- cb?: (err: any, data?: DeleteComponentCommandOutput) => void
515
- ): Promise<DeleteComponentCommandOutput> | void {
516
- const command = new DeleteComponentCommand(args);
517
- if (typeof optionsOrCb === "function") {
518
- this.send(command, optionsOrCb);
519
- } else if (typeof cb === "function") {
520
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
521
- this.send(command, optionsOrCb || {}, cb);
522
- } else {
523
- return this.send(command, optionsOrCb);
524
- }
525
- }
526
-
527
- /**
528
- * <p>Deletes a container recipe.</p>
529
- */
530
- public deleteContainerRecipe(
531
- args: DeleteContainerRecipeCommandInput,
532
- options?: __HttpHandlerOptions
533
- ): Promise<DeleteContainerRecipeCommandOutput>;
534
- public deleteContainerRecipe(
535
- args: DeleteContainerRecipeCommandInput,
536
- cb: (err: any, data?: DeleteContainerRecipeCommandOutput) => void
537
- ): void;
538
- public deleteContainerRecipe(
539
- args: DeleteContainerRecipeCommandInput,
540
- options: __HttpHandlerOptions,
541
- cb: (err: any, data?: DeleteContainerRecipeCommandOutput) => void
542
- ): void;
543
- public deleteContainerRecipe(
544
- args: DeleteContainerRecipeCommandInput,
545
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteContainerRecipeCommandOutput) => void),
546
- cb?: (err: any, data?: DeleteContainerRecipeCommandOutput) => void
547
- ): Promise<DeleteContainerRecipeCommandOutput> | void {
548
- const command = new DeleteContainerRecipeCommand(args);
549
- if (typeof optionsOrCb === "function") {
550
- this.send(command, optionsOrCb);
551
- } else if (typeof cb === "function") {
552
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
553
- this.send(command, optionsOrCb || {}, cb);
554
- } else {
555
- return this.send(command, optionsOrCb);
556
- }
557
- }
558
-
559
- /**
560
- * <p> Deletes a distribution configuration.</p>
561
- */
562
- public deleteDistributionConfiguration(
563
- args: DeleteDistributionConfigurationCommandInput,
564
- options?: __HttpHandlerOptions
565
- ): Promise<DeleteDistributionConfigurationCommandOutput>;
566
- public deleteDistributionConfiguration(
567
- args: DeleteDistributionConfigurationCommandInput,
568
- cb: (err: any, data?: DeleteDistributionConfigurationCommandOutput) => void
569
- ): void;
570
- public deleteDistributionConfiguration(
571
- args: DeleteDistributionConfigurationCommandInput,
572
- options: __HttpHandlerOptions,
573
- cb: (err: any, data?: DeleteDistributionConfigurationCommandOutput) => void
574
- ): void;
575
- public deleteDistributionConfiguration(
576
- args: DeleteDistributionConfigurationCommandInput,
577
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDistributionConfigurationCommandOutput) => void),
578
- cb?: (err: any, data?: DeleteDistributionConfigurationCommandOutput) => void
579
- ): Promise<DeleteDistributionConfigurationCommandOutput> | void {
580
- const command = new DeleteDistributionConfigurationCommand(args);
581
- if (typeof optionsOrCb === "function") {
582
- this.send(command, optionsOrCb);
583
- } else if (typeof cb === "function") {
584
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
585
- this.send(command, optionsOrCb || {}, cb);
586
- } else {
587
- return this.send(command, optionsOrCb);
588
- }
589
- }
590
-
591
- /**
592
- * <p>Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images
593
- * that are created during the image build process. You must clean those up separately,
594
- * using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands.</p>
595
- * <ul>
596
- * <li>
597
- * <p>To deregister an EC2 Linux AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html">Deregister
598
- * your Linux AMI</a> in the <i>
599
- * <i>Amazon EC2 User Guide</i>
600
- * </i>.</p>
601
- * </li>
602
- * <li>
603
- * <p>To deregister an EC2 Windows AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html">Deregister
604
- * your Windows AMI</a> in the <i>
605
- * <i>Amazon EC2 Windows Guide</i>
606
- * </i>.</p>
607
- * </li>
608
- * <li>
609
- * <p>To delete a container image from Amazon ECR, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.comAmazonECR/latest/userguide/delete_image.html">Deleting
610
- * an image</a> in the <i>Amazon ECR User Guide</i>.</p>
611
- * </li>
612
- * </ul>
613
- */
614
- public deleteImage(args: DeleteImageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteImageCommandOutput>;
615
- public deleteImage(args: DeleteImageCommandInput, cb: (err: any, data?: DeleteImageCommandOutput) => void): void;
616
- public deleteImage(
617
- args: DeleteImageCommandInput,
618
- options: __HttpHandlerOptions,
619
- cb: (err: any, data?: DeleteImageCommandOutput) => void
620
- ): void;
621
- public deleteImage(
622
- args: DeleteImageCommandInput,
623
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteImageCommandOutput) => void),
624
- cb?: (err: any, data?: DeleteImageCommandOutput) => void
625
- ): Promise<DeleteImageCommandOutput> | void {
626
- const command = new DeleteImageCommand(args);
627
- if (typeof optionsOrCb === "function") {
628
- this.send(command, optionsOrCb);
629
- } else if (typeof cb === "function") {
630
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
631
- this.send(command, optionsOrCb || {}, cb);
632
- } else {
633
- return this.send(command, optionsOrCb);
634
- }
635
- }
636
-
637
- /**
638
- * <p> Deletes an image pipeline.</p>
639
- */
640
- public deleteImagePipeline(
641
- args: DeleteImagePipelineCommandInput,
642
- options?: __HttpHandlerOptions
643
- ): Promise<DeleteImagePipelineCommandOutput>;
644
- public deleteImagePipeline(
645
- args: DeleteImagePipelineCommandInput,
646
- cb: (err: any, data?: DeleteImagePipelineCommandOutput) => void
647
- ): void;
648
- public deleteImagePipeline(
649
- args: DeleteImagePipelineCommandInput,
650
- options: __HttpHandlerOptions,
651
- cb: (err: any, data?: DeleteImagePipelineCommandOutput) => void
652
- ): void;
653
- public deleteImagePipeline(
654
- args: DeleteImagePipelineCommandInput,
655
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteImagePipelineCommandOutput) => void),
656
- cb?: (err: any, data?: DeleteImagePipelineCommandOutput) => void
657
- ): Promise<DeleteImagePipelineCommandOutput> | void {
658
- const command = new DeleteImagePipelineCommand(args);
659
- if (typeof optionsOrCb === "function") {
660
- this.send(command, optionsOrCb);
661
- } else if (typeof cb === "function") {
662
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
- this.send(command, optionsOrCb || {}, cb);
664
- } else {
665
- return this.send(command, optionsOrCb);
666
- }
667
- }
668
-
669
- /**
670
- * <p> Deletes an image recipe.</p>
671
- */
672
- public deleteImageRecipe(
673
- args: DeleteImageRecipeCommandInput,
674
- options?: __HttpHandlerOptions
675
- ): Promise<DeleteImageRecipeCommandOutput>;
676
- public deleteImageRecipe(
677
- args: DeleteImageRecipeCommandInput,
678
- cb: (err: any, data?: DeleteImageRecipeCommandOutput) => void
679
- ): void;
680
- public deleteImageRecipe(
681
- args: DeleteImageRecipeCommandInput,
682
- options: __HttpHandlerOptions,
683
- cb: (err: any, data?: DeleteImageRecipeCommandOutput) => void
684
- ): void;
685
- public deleteImageRecipe(
686
- args: DeleteImageRecipeCommandInput,
687
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteImageRecipeCommandOutput) => void),
688
- cb?: (err: any, data?: DeleteImageRecipeCommandOutput) => void
689
- ): Promise<DeleteImageRecipeCommandOutput> | void {
690
- const command = new DeleteImageRecipeCommand(args);
691
- if (typeof optionsOrCb === "function") {
692
- this.send(command, optionsOrCb);
693
- } else if (typeof cb === "function") {
694
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
695
- this.send(command, optionsOrCb || {}, cb);
696
- } else {
697
- return this.send(command, optionsOrCb);
698
- }
699
- }
700
-
701
- /**
702
- * <p> Deletes an infrastructure configuration.</p>
703
- */
704
- public deleteInfrastructureConfiguration(
705
- args: DeleteInfrastructureConfigurationCommandInput,
706
- options?: __HttpHandlerOptions
707
- ): Promise<DeleteInfrastructureConfigurationCommandOutput>;
708
- public deleteInfrastructureConfiguration(
709
- args: DeleteInfrastructureConfigurationCommandInput,
710
- cb: (err: any, data?: DeleteInfrastructureConfigurationCommandOutput) => void
711
- ): void;
712
- public deleteInfrastructureConfiguration(
713
- args: DeleteInfrastructureConfigurationCommandInput,
714
- options: __HttpHandlerOptions,
715
- cb: (err: any, data?: DeleteInfrastructureConfigurationCommandOutput) => void
716
- ): void;
717
- public deleteInfrastructureConfiguration(
718
- args: DeleteInfrastructureConfigurationCommandInput,
719
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteInfrastructureConfigurationCommandOutput) => void),
720
- cb?: (err: any, data?: DeleteInfrastructureConfigurationCommandOutput) => void
721
- ): Promise<DeleteInfrastructureConfigurationCommandOutput> | void {
722
- const command = new DeleteInfrastructureConfigurationCommand(args);
723
- if (typeof optionsOrCb === "function") {
724
- this.send(command, optionsOrCb);
725
- } else if (typeof cb === "function") {
726
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
727
- this.send(command, optionsOrCb || {}, cb);
728
- } else {
729
- return this.send(command, optionsOrCb);
730
- }
731
- }
732
-
733
- /**
734
- * <p> Gets a component object.</p>
735
- */
736
- public getComponent(
737
- args: GetComponentCommandInput,
738
- options?: __HttpHandlerOptions
739
- ): Promise<GetComponentCommandOutput>;
740
- public getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
741
- public getComponent(
742
- args: GetComponentCommandInput,
743
- options: __HttpHandlerOptions,
744
- cb: (err: any, data?: GetComponentCommandOutput) => void
745
- ): void;
746
- public getComponent(
747
- args: GetComponentCommandInput,
748
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetComponentCommandOutput) => void),
749
- cb?: (err: any, data?: GetComponentCommandOutput) => void
750
- ): Promise<GetComponentCommandOutput> | void {
751
- const command = new GetComponentCommand(args);
752
- if (typeof optionsOrCb === "function") {
753
- this.send(command, optionsOrCb);
754
- } else if (typeof cb === "function") {
755
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
756
- this.send(command, optionsOrCb || {}, cb);
757
- } else {
758
- return this.send(command, optionsOrCb);
759
- }
760
- }
761
-
762
- /**
763
- * <p> Gets a component policy.</p>
764
- */
765
- public getComponentPolicy(
766
- args: GetComponentPolicyCommandInput,
767
- options?: __HttpHandlerOptions
768
- ): Promise<GetComponentPolicyCommandOutput>;
769
- public getComponentPolicy(
770
- args: GetComponentPolicyCommandInput,
771
- cb: (err: any, data?: GetComponentPolicyCommandOutput) => void
772
- ): void;
773
- public getComponentPolicy(
774
- args: GetComponentPolicyCommandInput,
775
- options: __HttpHandlerOptions,
776
- cb: (err: any, data?: GetComponentPolicyCommandOutput) => void
777
- ): void;
778
- public getComponentPolicy(
779
- args: GetComponentPolicyCommandInput,
780
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetComponentPolicyCommandOutput) => void),
781
- cb?: (err: any, data?: GetComponentPolicyCommandOutput) => void
782
- ): Promise<GetComponentPolicyCommandOutput> | void {
783
- const command = new GetComponentPolicyCommand(args);
784
- if (typeof optionsOrCb === "function") {
785
- this.send(command, optionsOrCb);
786
- } else if (typeof cb === "function") {
787
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
788
- this.send(command, optionsOrCb || {}, cb);
789
- } else {
790
- return this.send(command, optionsOrCb);
791
- }
792
- }
793
-
794
- /**
795
- * <p>Retrieves a container recipe.</p>
796
- */
797
- public getContainerRecipe(
798
- args: GetContainerRecipeCommandInput,
799
- options?: __HttpHandlerOptions
800
- ): Promise<GetContainerRecipeCommandOutput>;
801
- public getContainerRecipe(
802
- args: GetContainerRecipeCommandInput,
803
- cb: (err: any, data?: GetContainerRecipeCommandOutput) => void
804
- ): void;
805
- public getContainerRecipe(
806
- args: GetContainerRecipeCommandInput,
807
- options: __HttpHandlerOptions,
808
- cb: (err: any, data?: GetContainerRecipeCommandOutput) => void
809
- ): void;
810
- public getContainerRecipe(
811
- args: GetContainerRecipeCommandInput,
812
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerRecipeCommandOutput) => void),
813
- cb?: (err: any, data?: GetContainerRecipeCommandOutput) => void
814
- ): Promise<GetContainerRecipeCommandOutput> | void {
815
- const command = new GetContainerRecipeCommand(args);
816
- if (typeof optionsOrCb === "function") {
817
- this.send(command, optionsOrCb);
818
- } else if (typeof cb === "function") {
819
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
820
- this.send(command, optionsOrCb || {}, cb);
821
- } else {
822
- return this.send(command, optionsOrCb);
823
- }
824
- }
825
-
826
- /**
827
- * <p>Retrieves the policy for a container recipe.</p>
828
- */
829
- public getContainerRecipePolicy(
830
- args: GetContainerRecipePolicyCommandInput,
831
- options?: __HttpHandlerOptions
832
- ): Promise<GetContainerRecipePolicyCommandOutput>;
833
- public getContainerRecipePolicy(
834
- args: GetContainerRecipePolicyCommandInput,
835
- cb: (err: any, data?: GetContainerRecipePolicyCommandOutput) => void
836
- ): void;
837
- public getContainerRecipePolicy(
838
- args: GetContainerRecipePolicyCommandInput,
839
- options: __HttpHandlerOptions,
840
- cb: (err: any, data?: GetContainerRecipePolicyCommandOutput) => void
841
- ): void;
842
- public getContainerRecipePolicy(
843
- args: GetContainerRecipePolicyCommandInput,
844
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetContainerRecipePolicyCommandOutput) => void),
845
- cb?: (err: any, data?: GetContainerRecipePolicyCommandOutput) => void
846
- ): Promise<GetContainerRecipePolicyCommandOutput> | void {
847
- const command = new GetContainerRecipePolicyCommand(args);
848
- if (typeof optionsOrCb === "function") {
849
- this.send(command, optionsOrCb);
850
- } else if (typeof cb === "function") {
851
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
852
- this.send(command, optionsOrCb || {}, cb);
853
- } else {
854
- return this.send(command, optionsOrCb);
855
- }
856
- }
857
-
858
- /**
859
- * <p> Gets a distribution configuration.</p>
860
- */
861
- public getDistributionConfiguration(
862
- args: GetDistributionConfigurationCommandInput,
863
- options?: __HttpHandlerOptions
864
- ): Promise<GetDistributionConfigurationCommandOutput>;
865
- public getDistributionConfiguration(
866
- args: GetDistributionConfigurationCommandInput,
867
- cb: (err: any, data?: GetDistributionConfigurationCommandOutput) => void
868
- ): void;
869
- public getDistributionConfiguration(
870
- args: GetDistributionConfigurationCommandInput,
871
- options: __HttpHandlerOptions,
872
- cb: (err: any, data?: GetDistributionConfigurationCommandOutput) => void
873
- ): void;
874
- public getDistributionConfiguration(
875
- args: GetDistributionConfigurationCommandInput,
876
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDistributionConfigurationCommandOutput) => void),
877
- cb?: (err: any, data?: GetDistributionConfigurationCommandOutput) => void
878
- ): Promise<GetDistributionConfigurationCommandOutput> | void {
879
- const command = new GetDistributionConfigurationCommand(args);
880
- if (typeof optionsOrCb === "function") {
881
- this.send(command, optionsOrCb);
882
- } else if (typeof cb === "function") {
883
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
884
- this.send(command, optionsOrCb || {}, cb);
885
- } else {
886
- return this.send(command, optionsOrCb);
887
- }
888
- }
889
-
890
- /**
891
- * <p> Gets an image.</p>
892
- */
893
- public getImage(args: GetImageCommandInput, options?: __HttpHandlerOptions): Promise<GetImageCommandOutput>;
894
- public getImage(args: GetImageCommandInput, cb: (err: any, data?: GetImageCommandOutput) => void): void;
895
- public getImage(
896
- args: GetImageCommandInput,
897
- options: __HttpHandlerOptions,
898
- cb: (err: any, data?: GetImageCommandOutput) => void
899
- ): void;
900
- public getImage(
901
- args: GetImageCommandInput,
902
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetImageCommandOutput) => void),
903
- cb?: (err: any, data?: GetImageCommandOutput) => void
904
- ): Promise<GetImageCommandOutput> | void {
905
- const command = new GetImageCommand(args);
906
- if (typeof optionsOrCb === "function") {
907
- this.send(command, optionsOrCb);
908
- } else if (typeof cb === "function") {
909
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
910
- this.send(command, optionsOrCb || {}, cb);
911
- } else {
912
- return this.send(command, optionsOrCb);
913
- }
914
- }
915
-
916
- /**
917
- * <p> Gets an image pipeline.</p>
918
- */
919
- public getImagePipeline(
920
- args: GetImagePipelineCommandInput,
921
- options?: __HttpHandlerOptions
922
- ): Promise<GetImagePipelineCommandOutput>;
923
- public getImagePipeline(
924
- args: GetImagePipelineCommandInput,
925
- cb: (err: any, data?: GetImagePipelineCommandOutput) => void
926
- ): void;
927
- public getImagePipeline(
928
- args: GetImagePipelineCommandInput,
929
- options: __HttpHandlerOptions,
930
- cb: (err: any, data?: GetImagePipelineCommandOutput) => void
931
- ): void;
932
- public getImagePipeline(
933
- args: GetImagePipelineCommandInput,
934
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetImagePipelineCommandOutput) => void),
935
- cb?: (err: any, data?: GetImagePipelineCommandOutput) => void
936
- ): Promise<GetImagePipelineCommandOutput> | void {
937
- const command = new GetImagePipelineCommand(args);
938
- if (typeof optionsOrCb === "function") {
939
- this.send(command, optionsOrCb);
940
- } else if (typeof cb === "function") {
941
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
942
- this.send(command, optionsOrCb || {}, cb);
943
- } else {
944
- return this.send(command, optionsOrCb);
945
- }
946
- }
947
-
948
- /**
949
- * <p> Gets an image policy.</p>
950
- */
951
- public getImagePolicy(
952
- args: GetImagePolicyCommandInput,
953
- options?: __HttpHandlerOptions
954
- ): Promise<GetImagePolicyCommandOutput>;
955
- public getImagePolicy(
956
- args: GetImagePolicyCommandInput,
957
- cb: (err: any, data?: GetImagePolicyCommandOutput) => void
958
- ): void;
959
- public getImagePolicy(
960
- args: GetImagePolicyCommandInput,
961
- options: __HttpHandlerOptions,
962
- cb: (err: any, data?: GetImagePolicyCommandOutput) => void
963
- ): void;
964
- public getImagePolicy(
965
- args: GetImagePolicyCommandInput,
966
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetImagePolicyCommandOutput) => void),
967
- cb?: (err: any, data?: GetImagePolicyCommandOutput) => void
968
- ): Promise<GetImagePolicyCommandOutput> | void {
969
- const command = new GetImagePolicyCommand(args);
970
- if (typeof optionsOrCb === "function") {
971
- this.send(command, optionsOrCb);
972
- } else if (typeof cb === "function") {
973
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
974
- this.send(command, optionsOrCb || {}, cb);
975
- } else {
976
- return this.send(command, optionsOrCb);
977
- }
978
- }
979
-
980
- /**
981
- * <p> Gets an image recipe.</p>
982
- */
983
- public getImageRecipe(
984
- args: GetImageRecipeCommandInput,
985
- options?: __HttpHandlerOptions
986
- ): Promise<GetImageRecipeCommandOutput>;
987
- public getImageRecipe(
988
- args: GetImageRecipeCommandInput,
989
- cb: (err: any, data?: GetImageRecipeCommandOutput) => void
990
- ): void;
991
- public getImageRecipe(
992
- args: GetImageRecipeCommandInput,
993
- options: __HttpHandlerOptions,
994
- cb: (err: any, data?: GetImageRecipeCommandOutput) => void
995
- ): void;
996
- public getImageRecipe(
997
- args: GetImageRecipeCommandInput,
998
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetImageRecipeCommandOutput) => void),
999
- cb?: (err: any, data?: GetImageRecipeCommandOutput) => void
1000
- ): Promise<GetImageRecipeCommandOutput> | void {
1001
- const command = new GetImageRecipeCommand(args);
1002
- if (typeof optionsOrCb === "function") {
1003
- this.send(command, optionsOrCb);
1004
- } else if (typeof cb === "function") {
1005
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1006
- this.send(command, optionsOrCb || {}, cb);
1007
- } else {
1008
- return this.send(command, optionsOrCb);
1009
- }
1010
- }
1011
-
1012
- /**
1013
- * <p> Gets an image recipe policy.</p>
1014
- */
1015
- public getImageRecipePolicy(
1016
- args: GetImageRecipePolicyCommandInput,
1017
- options?: __HttpHandlerOptions
1018
- ): Promise<GetImageRecipePolicyCommandOutput>;
1019
- public getImageRecipePolicy(
1020
- args: GetImageRecipePolicyCommandInput,
1021
- cb: (err: any, data?: GetImageRecipePolicyCommandOutput) => void
1022
- ): void;
1023
- public getImageRecipePolicy(
1024
- args: GetImageRecipePolicyCommandInput,
1025
- options: __HttpHandlerOptions,
1026
- cb: (err: any, data?: GetImageRecipePolicyCommandOutput) => void
1027
- ): void;
1028
- public getImageRecipePolicy(
1029
- args: GetImageRecipePolicyCommandInput,
1030
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetImageRecipePolicyCommandOutput) => void),
1031
- cb?: (err: any, data?: GetImageRecipePolicyCommandOutput) => void
1032
- ): Promise<GetImageRecipePolicyCommandOutput> | void {
1033
- const command = new GetImageRecipePolicyCommand(args);
1034
- if (typeof optionsOrCb === "function") {
1035
- this.send(command, optionsOrCb);
1036
- } else if (typeof cb === "function") {
1037
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1038
- this.send(command, optionsOrCb || {}, cb);
1039
- } else {
1040
- return this.send(command, optionsOrCb);
1041
- }
1042
- }
1043
-
1044
- /**
1045
- * <p> Gets an infrastructure configuration.</p>
1046
- */
1047
- public getInfrastructureConfiguration(
1048
- args: GetInfrastructureConfigurationCommandInput,
1049
- options?: __HttpHandlerOptions
1050
- ): Promise<GetInfrastructureConfigurationCommandOutput>;
1051
- public getInfrastructureConfiguration(
1052
- args: GetInfrastructureConfigurationCommandInput,
1053
- cb: (err: any, data?: GetInfrastructureConfigurationCommandOutput) => void
1054
- ): void;
1055
- public getInfrastructureConfiguration(
1056
- args: GetInfrastructureConfigurationCommandInput,
1057
- options: __HttpHandlerOptions,
1058
- cb: (err: any, data?: GetInfrastructureConfigurationCommandOutput) => void
1059
- ): void;
1060
- public getInfrastructureConfiguration(
1061
- args: GetInfrastructureConfigurationCommandInput,
1062
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetInfrastructureConfigurationCommandOutput) => void),
1063
- cb?: (err: any, data?: GetInfrastructureConfigurationCommandOutput) => void
1064
- ): Promise<GetInfrastructureConfigurationCommandOutput> | void {
1065
- const command = new GetInfrastructureConfigurationCommand(args);
1066
- if (typeof optionsOrCb === "function") {
1067
- this.send(command, optionsOrCb);
1068
- } else if (typeof cb === "function") {
1069
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1070
- this.send(command, optionsOrCb || {}, cb);
1071
- } else {
1072
- return this.send(command, optionsOrCb);
1073
- }
1074
- }
1075
-
1076
- /**
1077
- * <p>Imports a component and transforms its data into a component document.</p>
1078
- */
1079
- public importComponent(
1080
- args: ImportComponentCommandInput,
1081
- options?: __HttpHandlerOptions
1082
- ): Promise<ImportComponentCommandOutput>;
1083
- public importComponent(
1084
- args: ImportComponentCommandInput,
1085
- cb: (err: any, data?: ImportComponentCommandOutput) => void
1086
- ): void;
1087
- public importComponent(
1088
- args: ImportComponentCommandInput,
1089
- options: __HttpHandlerOptions,
1090
- cb: (err: any, data?: ImportComponentCommandOutput) => void
1091
- ): void;
1092
- public importComponent(
1093
- args: ImportComponentCommandInput,
1094
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportComponentCommandOutput) => void),
1095
- cb?: (err: any, data?: ImportComponentCommandOutput) => void
1096
- ): Promise<ImportComponentCommandOutput> | void {
1097
- const command = new ImportComponentCommand(args);
1098
- if (typeof optionsOrCb === "function") {
1099
- this.send(command, optionsOrCb);
1100
- } else if (typeof cb === "function") {
1101
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1102
- this.send(command, optionsOrCb || {}, cb);
1103
- } else {
1104
- return this.send(command, optionsOrCb);
1105
- }
1106
- }
1107
-
1108
- /**
1109
- * <p> Returns the list of component build versions for the specified semantic version.</p>
1110
- * <note>
1111
- * <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
1112
- * You can assign values for the first three, and can filter on all of them.</p>
1113
- * <p>
1114
- * <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x)
1115
- * to specify the most recent versions or nodes when selecting the base image or components for your
1116
- * recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be
1117
- * wildcards.</p>
1118
- * </note>
1119
- */
1120
- public listComponentBuildVersions(
1121
- args: ListComponentBuildVersionsCommandInput,
1122
- options?: __HttpHandlerOptions
1123
- ): Promise<ListComponentBuildVersionsCommandOutput>;
1124
- public listComponentBuildVersions(
1125
- args: ListComponentBuildVersionsCommandInput,
1126
- cb: (err: any, data?: ListComponentBuildVersionsCommandOutput) => void
1127
- ): void;
1128
- public listComponentBuildVersions(
1129
- args: ListComponentBuildVersionsCommandInput,
1130
- options: __HttpHandlerOptions,
1131
- cb: (err: any, data?: ListComponentBuildVersionsCommandOutput) => void
1132
- ): void;
1133
- public listComponentBuildVersions(
1134
- args: ListComponentBuildVersionsCommandInput,
1135
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListComponentBuildVersionsCommandOutput) => void),
1136
- cb?: (err: any, data?: ListComponentBuildVersionsCommandOutput) => void
1137
- ): Promise<ListComponentBuildVersionsCommandOutput> | void {
1138
- const command = new ListComponentBuildVersionsCommand(args);
1139
- if (typeof optionsOrCb === "function") {
1140
- this.send(command, optionsOrCb);
1141
- } else if (typeof cb === "function") {
1142
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1143
- this.send(command, optionsOrCb || {}, cb);
1144
- } else {
1145
- return this.send(command, optionsOrCb);
1146
- }
1147
- }
1148
-
1149
- /**
1150
- * <p>Returns the list of component build versions for the specified semantic version.</p>
1151
- * <note>
1152
- * <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
1153
- * You can assign values for the first three, and can filter on all of them.</p>
1154
- * <p>
1155
- * <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x)
1156
- * to specify the most recent versions or nodes when selecting the base image or components for your
1157
- * recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be
1158
- * wildcards.</p>
1159
- * </note>
1160
- */
1161
- public listComponents(
1162
- args: ListComponentsCommandInput,
1163
- options?: __HttpHandlerOptions
1164
- ): Promise<ListComponentsCommandOutput>;
1165
- public listComponents(
1166
- args: ListComponentsCommandInput,
1167
- cb: (err: any, data?: ListComponentsCommandOutput) => void
1168
- ): void;
1169
- public listComponents(
1170
- args: ListComponentsCommandInput,
1171
- options: __HttpHandlerOptions,
1172
- cb: (err: any, data?: ListComponentsCommandOutput) => void
1173
- ): void;
1174
- public listComponents(
1175
- args: ListComponentsCommandInput,
1176
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListComponentsCommandOutput) => void),
1177
- cb?: (err: any, data?: ListComponentsCommandOutput) => void
1178
- ): Promise<ListComponentsCommandOutput> | void {
1179
- const command = new ListComponentsCommand(args);
1180
- if (typeof optionsOrCb === "function") {
1181
- this.send(command, optionsOrCb);
1182
- } else if (typeof cb === "function") {
1183
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1184
- this.send(command, optionsOrCb || {}, cb);
1185
- } else {
1186
- return this.send(command, optionsOrCb);
1187
- }
1188
- }
1189
-
1190
- /**
1191
- * <p>Returns a list of container recipes.</p>
1192
- */
1193
- public listContainerRecipes(
1194
- args: ListContainerRecipesCommandInput,
1195
- options?: __HttpHandlerOptions
1196
- ): Promise<ListContainerRecipesCommandOutput>;
1197
- public listContainerRecipes(
1198
- args: ListContainerRecipesCommandInput,
1199
- cb: (err: any, data?: ListContainerRecipesCommandOutput) => void
1200
- ): void;
1201
- public listContainerRecipes(
1202
- args: ListContainerRecipesCommandInput,
1203
- options: __HttpHandlerOptions,
1204
- cb: (err: any, data?: ListContainerRecipesCommandOutput) => void
1205
- ): void;
1206
- public listContainerRecipes(
1207
- args: ListContainerRecipesCommandInput,
1208
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListContainerRecipesCommandOutput) => void),
1209
- cb?: (err: any, data?: ListContainerRecipesCommandOutput) => void
1210
- ): Promise<ListContainerRecipesCommandOutput> | void {
1211
- const command = new ListContainerRecipesCommand(args);
1212
- if (typeof optionsOrCb === "function") {
1213
- this.send(command, optionsOrCb);
1214
- } else if (typeof cb === "function") {
1215
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1216
- this.send(command, optionsOrCb || {}, cb);
1217
- } else {
1218
- return this.send(command, optionsOrCb);
1219
- }
1220
- }
1221
-
1222
- /**
1223
- * <p>Returns a list of distribution configurations.</p>
1224
- */
1225
- public listDistributionConfigurations(
1226
- args: ListDistributionConfigurationsCommandInput,
1227
- options?: __HttpHandlerOptions
1228
- ): Promise<ListDistributionConfigurationsCommandOutput>;
1229
- public listDistributionConfigurations(
1230
- args: ListDistributionConfigurationsCommandInput,
1231
- cb: (err: any, data?: ListDistributionConfigurationsCommandOutput) => void
1232
- ): void;
1233
- public listDistributionConfigurations(
1234
- args: ListDistributionConfigurationsCommandInput,
1235
- options: __HttpHandlerOptions,
1236
- cb: (err: any, data?: ListDistributionConfigurationsCommandOutput) => void
1237
- ): void;
1238
- public listDistributionConfigurations(
1239
- args: ListDistributionConfigurationsCommandInput,
1240
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDistributionConfigurationsCommandOutput) => void),
1241
- cb?: (err: any, data?: ListDistributionConfigurationsCommandOutput) => void
1242
- ): Promise<ListDistributionConfigurationsCommandOutput> | void {
1243
- const command = new ListDistributionConfigurationsCommand(args);
1244
- if (typeof optionsOrCb === "function") {
1245
- this.send(command, optionsOrCb);
1246
- } else if (typeof cb === "function") {
1247
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1248
- this.send(command, optionsOrCb || {}, cb);
1249
- } else {
1250
- return this.send(command, optionsOrCb);
1251
- }
1252
- }
1253
-
1254
- /**
1255
- * <p> Returns a list of image build versions.</p>
1256
- */
1257
- public listImageBuildVersions(
1258
- args: ListImageBuildVersionsCommandInput,
1259
- options?: __HttpHandlerOptions
1260
- ): Promise<ListImageBuildVersionsCommandOutput>;
1261
- public listImageBuildVersions(
1262
- args: ListImageBuildVersionsCommandInput,
1263
- cb: (err: any, data?: ListImageBuildVersionsCommandOutput) => void
1264
- ): void;
1265
- public listImageBuildVersions(
1266
- args: ListImageBuildVersionsCommandInput,
1267
- options: __HttpHandlerOptions,
1268
- cb: (err: any, data?: ListImageBuildVersionsCommandOutput) => void
1269
- ): void;
1270
- public listImageBuildVersions(
1271
- args: ListImageBuildVersionsCommandInput,
1272
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImageBuildVersionsCommandOutput) => void),
1273
- cb?: (err: any, data?: ListImageBuildVersionsCommandOutput) => void
1274
- ): Promise<ListImageBuildVersionsCommandOutput> | void {
1275
- const command = new ListImageBuildVersionsCommand(args);
1276
- if (typeof optionsOrCb === "function") {
1277
- this.send(command, optionsOrCb);
1278
- } else if (typeof cb === "function") {
1279
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1280
- this.send(command, optionsOrCb || {}, cb);
1281
- } else {
1282
- return this.send(command, optionsOrCb);
1283
- }
1284
- }
1285
-
1286
- /**
1287
- * <p>List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.</p>
1288
- */
1289
- public listImagePackages(
1290
- args: ListImagePackagesCommandInput,
1291
- options?: __HttpHandlerOptions
1292
- ): Promise<ListImagePackagesCommandOutput>;
1293
- public listImagePackages(
1294
- args: ListImagePackagesCommandInput,
1295
- cb: (err: any, data?: ListImagePackagesCommandOutput) => void
1296
- ): void;
1297
- public listImagePackages(
1298
- args: ListImagePackagesCommandInput,
1299
- options: __HttpHandlerOptions,
1300
- cb: (err: any, data?: ListImagePackagesCommandOutput) => void
1301
- ): void;
1302
- public listImagePackages(
1303
- args: ListImagePackagesCommandInput,
1304
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImagePackagesCommandOutput) => void),
1305
- cb?: (err: any, data?: ListImagePackagesCommandOutput) => void
1306
- ): Promise<ListImagePackagesCommandOutput> | void {
1307
- const command = new ListImagePackagesCommand(args);
1308
- if (typeof optionsOrCb === "function") {
1309
- this.send(command, optionsOrCb);
1310
- } else if (typeof cb === "function") {
1311
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1312
- this.send(command, optionsOrCb || {}, cb);
1313
- } else {
1314
- return this.send(command, optionsOrCb);
1315
- }
1316
- }
1317
-
1318
- /**
1319
- * <p> Returns a list of images created by the specified pipeline.</p>
1320
- */
1321
- public listImagePipelineImages(
1322
- args: ListImagePipelineImagesCommandInput,
1323
- options?: __HttpHandlerOptions
1324
- ): Promise<ListImagePipelineImagesCommandOutput>;
1325
- public listImagePipelineImages(
1326
- args: ListImagePipelineImagesCommandInput,
1327
- cb: (err: any, data?: ListImagePipelineImagesCommandOutput) => void
1328
- ): void;
1329
- public listImagePipelineImages(
1330
- args: ListImagePipelineImagesCommandInput,
1331
- options: __HttpHandlerOptions,
1332
- cb: (err: any, data?: ListImagePipelineImagesCommandOutput) => void
1333
- ): void;
1334
- public listImagePipelineImages(
1335
- args: ListImagePipelineImagesCommandInput,
1336
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImagePipelineImagesCommandOutput) => void),
1337
- cb?: (err: any, data?: ListImagePipelineImagesCommandOutput) => void
1338
- ): Promise<ListImagePipelineImagesCommandOutput> | void {
1339
- const command = new ListImagePipelineImagesCommand(args);
1340
- if (typeof optionsOrCb === "function") {
1341
- this.send(command, optionsOrCb);
1342
- } else if (typeof cb === "function") {
1343
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1344
- this.send(command, optionsOrCb || {}, cb);
1345
- } else {
1346
- return this.send(command, optionsOrCb);
1347
- }
1348
- }
1349
-
1350
- /**
1351
- * <p>Returns a list of image pipelines.</p>
1352
- */
1353
- public listImagePipelines(
1354
- args: ListImagePipelinesCommandInput,
1355
- options?: __HttpHandlerOptions
1356
- ): Promise<ListImagePipelinesCommandOutput>;
1357
- public listImagePipelines(
1358
- args: ListImagePipelinesCommandInput,
1359
- cb: (err: any, data?: ListImagePipelinesCommandOutput) => void
1360
- ): void;
1361
- public listImagePipelines(
1362
- args: ListImagePipelinesCommandInput,
1363
- options: __HttpHandlerOptions,
1364
- cb: (err: any, data?: ListImagePipelinesCommandOutput) => void
1365
- ): void;
1366
- public listImagePipelines(
1367
- args: ListImagePipelinesCommandInput,
1368
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImagePipelinesCommandOutput) => void),
1369
- cb?: (err: any, data?: ListImagePipelinesCommandOutput) => void
1370
- ): Promise<ListImagePipelinesCommandOutput> | void {
1371
- const command = new ListImagePipelinesCommand(args);
1372
- if (typeof optionsOrCb === "function") {
1373
- this.send(command, optionsOrCb);
1374
- } else if (typeof cb === "function") {
1375
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1376
- this.send(command, optionsOrCb || {}, cb);
1377
- } else {
1378
- return this.send(command, optionsOrCb);
1379
- }
1380
- }
1381
-
1382
- /**
1383
- * <p> Returns a list of image recipes.</p>
1384
- */
1385
- public listImageRecipes(
1386
- args: ListImageRecipesCommandInput,
1387
- options?: __HttpHandlerOptions
1388
- ): Promise<ListImageRecipesCommandOutput>;
1389
- public listImageRecipes(
1390
- args: ListImageRecipesCommandInput,
1391
- cb: (err: any, data?: ListImageRecipesCommandOutput) => void
1392
- ): void;
1393
- public listImageRecipes(
1394
- args: ListImageRecipesCommandInput,
1395
- options: __HttpHandlerOptions,
1396
- cb: (err: any, data?: ListImageRecipesCommandOutput) => void
1397
- ): void;
1398
- public listImageRecipes(
1399
- args: ListImageRecipesCommandInput,
1400
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImageRecipesCommandOutput) => void),
1401
- cb?: (err: any, data?: ListImageRecipesCommandOutput) => void
1402
- ): Promise<ListImageRecipesCommandOutput> | void {
1403
- const command = new ListImageRecipesCommand(args);
1404
- if (typeof optionsOrCb === "function") {
1405
- this.send(command, optionsOrCb);
1406
- } else if (typeof cb === "function") {
1407
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1408
- this.send(command, optionsOrCb || {}, cb);
1409
- } else {
1410
- return this.send(command, optionsOrCb);
1411
- }
1412
- }
1413
-
1414
- /**
1415
- * <p> Returns the list of images that you have access to.</p>
1416
- */
1417
- public listImages(args: ListImagesCommandInput, options?: __HttpHandlerOptions): Promise<ListImagesCommandOutput>;
1418
- public listImages(args: ListImagesCommandInput, cb: (err: any, data?: ListImagesCommandOutput) => void): void;
1419
- public listImages(
1420
- args: ListImagesCommandInput,
1421
- options: __HttpHandlerOptions,
1422
- cb: (err: any, data?: ListImagesCommandOutput) => void
1423
- ): void;
1424
- public listImages(
1425
- args: ListImagesCommandInput,
1426
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListImagesCommandOutput) => void),
1427
- cb?: (err: any, data?: ListImagesCommandOutput) => void
1428
- ): Promise<ListImagesCommandOutput> | void {
1429
- const command = new ListImagesCommand(args);
1430
- if (typeof optionsOrCb === "function") {
1431
- this.send(command, optionsOrCb);
1432
- } else if (typeof cb === "function") {
1433
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1434
- this.send(command, optionsOrCb || {}, cb);
1435
- } else {
1436
- return this.send(command, optionsOrCb);
1437
- }
1438
- }
1439
-
1440
- /**
1441
- * <p> Returns a list of infrastructure configurations.</p>
1442
- */
1443
- public listInfrastructureConfigurations(
1444
- args: ListInfrastructureConfigurationsCommandInput,
1445
- options?: __HttpHandlerOptions
1446
- ): Promise<ListInfrastructureConfigurationsCommandOutput>;
1447
- public listInfrastructureConfigurations(
1448
- args: ListInfrastructureConfigurationsCommandInput,
1449
- cb: (err: any, data?: ListInfrastructureConfigurationsCommandOutput) => void
1450
- ): void;
1451
- public listInfrastructureConfigurations(
1452
- args: ListInfrastructureConfigurationsCommandInput,
1453
- options: __HttpHandlerOptions,
1454
- cb: (err: any, data?: ListInfrastructureConfigurationsCommandOutput) => void
1455
- ): void;
1456
- public listInfrastructureConfigurations(
1457
- args: ListInfrastructureConfigurationsCommandInput,
1458
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListInfrastructureConfigurationsCommandOutput) => void),
1459
- cb?: (err: any, data?: ListInfrastructureConfigurationsCommandOutput) => void
1460
- ): Promise<ListInfrastructureConfigurationsCommandOutput> | void {
1461
- const command = new ListInfrastructureConfigurationsCommand(args);
1462
- if (typeof optionsOrCb === "function") {
1463
- this.send(command, optionsOrCb);
1464
- } else if (typeof cb === "function") {
1465
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1466
- this.send(command, optionsOrCb || {}, cb);
1467
- } else {
1468
- return this.send(command, optionsOrCb);
1469
- }
1470
- }
1471
-
1472
- /**
1473
- * <p> Returns the list of tags for the specified resource.</p>
1474
- */
1475
- public listTagsForResource(
1476
- args: ListTagsForResourceCommandInput,
1477
- options?: __HttpHandlerOptions
1478
- ): Promise<ListTagsForResourceCommandOutput>;
1479
- public listTagsForResource(
1480
- args: ListTagsForResourceCommandInput,
1481
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1482
- ): void;
1483
- public listTagsForResource(
1484
- args: ListTagsForResourceCommandInput,
1485
- options: __HttpHandlerOptions,
1486
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1487
- ): void;
1488
- public listTagsForResource(
1489
- args: ListTagsForResourceCommandInput,
1490
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1491
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1492
- ): Promise<ListTagsForResourceCommandOutput> | void {
1493
- const command = new ListTagsForResourceCommand(args);
1494
- if (typeof optionsOrCb === "function") {
1495
- this.send(command, optionsOrCb);
1496
- } else if (typeof cb === "function") {
1497
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1498
- this.send(command, optionsOrCb || {}, cb);
1499
- } else {
1500
- return this.send(command, optionsOrCb);
1501
- }
1502
- }
1503
-
1504
- /**
1505
- * <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
1506
- * <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
1507
- * all principals with whom the resource is shared.</p>
1508
- */
1509
- public putComponentPolicy(
1510
- args: PutComponentPolicyCommandInput,
1511
- options?: __HttpHandlerOptions
1512
- ): Promise<PutComponentPolicyCommandOutput>;
1513
- public putComponentPolicy(
1514
- args: PutComponentPolicyCommandInput,
1515
- cb: (err: any, data?: PutComponentPolicyCommandOutput) => void
1516
- ): void;
1517
- public putComponentPolicy(
1518
- args: PutComponentPolicyCommandInput,
1519
- options: __HttpHandlerOptions,
1520
- cb: (err: any, data?: PutComponentPolicyCommandOutput) => void
1521
- ): void;
1522
- public putComponentPolicy(
1523
- args: PutComponentPolicyCommandInput,
1524
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutComponentPolicyCommandOutput) => void),
1525
- cb?: (err: any, data?: PutComponentPolicyCommandOutput) => void
1526
- ): Promise<PutComponentPolicyCommandOutput> | void {
1527
- const command = new PutComponentPolicyCommand(args);
1528
- if (typeof optionsOrCb === "function") {
1529
- this.send(command, optionsOrCb);
1530
- } else if (typeof cb === "function") {
1531
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1532
- this.send(command, optionsOrCb || {}, cb);
1533
- } else {
1534
- return this.send(command, optionsOrCb);
1535
- }
1536
- }
1537
-
1538
- /**
1539
- * <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>
1540
- */
1541
- public putContainerRecipePolicy(
1542
- args: PutContainerRecipePolicyCommandInput,
1543
- options?: __HttpHandlerOptions
1544
- ): Promise<PutContainerRecipePolicyCommandOutput>;
1545
- public putContainerRecipePolicy(
1546
- args: PutContainerRecipePolicyCommandInput,
1547
- cb: (err: any, data?: PutContainerRecipePolicyCommandOutput) => void
1548
- ): void;
1549
- public putContainerRecipePolicy(
1550
- args: PutContainerRecipePolicyCommandInput,
1551
- options: __HttpHandlerOptions,
1552
- cb: (err: any, data?: PutContainerRecipePolicyCommandOutput) => void
1553
- ): void;
1554
- public putContainerRecipePolicy(
1555
- args: PutContainerRecipePolicyCommandInput,
1556
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutContainerRecipePolicyCommandOutput) => void),
1557
- cb?: (err: any, data?: PutContainerRecipePolicyCommandOutput) => void
1558
- ): Promise<PutContainerRecipePolicyCommandOutput> | void {
1559
- const command = new PutContainerRecipePolicyCommand(args);
1560
- if (typeof optionsOrCb === "function") {
1561
- this.send(command, optionsOrCb);
1562
- } else if (typeof cb === "function") {
1563
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1564
- this.send(command, optionsOrCb || {}, cb);
1565
- } else {
1566
- return this.send(command, optionsOrCb);
1567
- }
1568
- }
1569
-
1570
- /**
1571
- * <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
1572
- * <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
1573
- * all principals with whom the resource is shared.</p>
1574
- */
1575
- public putImagePolicy(
1576
- args: PutImagePolicyCommandInput,
1577
- options?: __HttpHandlerOptions
1578
- ): Promise<PutImagePolicyCommandOutput>;
1579
- public putImagePolicy(
1580
- args: PutImagePolicyCommandInput,
1581
- cb: (err: any, data?: PutImagePolicyCommandOutput) => void
1582
- ): void;
1583
- public putImagePolicy(
1584
- args: PutImagePolicyCommandInput,
1585
- options: __HttpHandlerOptions,
1586
- cb: (err: any, data?: PutImagePolicyCommandOutput) => void
1587
- ): void;
1588
- public putImagePolicy(
1589
- args: PutImagePolicyCommandInput,
1590
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutImagePolicyCommandOutput) => void),
1591
- cb?: (err: any, data?: PutImagePolicyCommandOutput) => void
1592
- ): Promise<PutImagePolicyCommandOutput> | void {
1593
- const command = new PutImagePolicyCommand(args);
1594
- if (typeof optionsOrCb === "function") {
1595
- this.send(command, optionsOrCb);
1596
- } else if (typeof cb === "function") {
1597
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1598
- this.send(command, optionsOrCb || {}, cb);
1599
- } else {
1600
- return this.send(command, optionsOrCb);
1601
- }
1602
- }
1603
-
1604
- /**
1605
- * <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
1606
- * <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
1607
- * all principals with whom the resource is shared.</p>
1608
- */
1609
- public putImageRecipePolicy(
1610
- args: PutImageRecipePolicyCommandInput,
1611
- options?: __HttpHandlerOptions
1612
- ): Promise<PutImageRecipePolicyCommandOutput>;
1613
- public putImageRecipePolicy(
1614
- args: PutImageRecipePolicyCommandInput,
1615
- cb: (err: any, data?: PutImageRecipePolicyCommandOutput) => void
1616
- ): void;
1617
- public putImageRecipePolicy(
1618
- args: PutImageRecipePolicyCommandInput,
1619
- options: __HttpHandlerOptions,
1620
- cb: (err: any, data?: PutImageRecipePolicyCommandOutput) => void
1621
- ): void;
1622
- public putImageRecipePolicy(
1623
- args: PutImageRecipePolicyCommandInput,
1624
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutImageRecipePolicyCommandOutput) => void),
1625
- cb?: (err: any, data?: PutImageRecipePolicyCommandOutput) => void
1626
- ): Promise<PutImageRecipePolicyCommandOutput> | void {
1627
- const command = new PutImageRecipePolicyCommand(args);
1628
- if (typeof optionsOrCb === "function") {
1629
- this.send(command, optionsOrCb);
1630
- } else if (typeof cb === "function") {
1631
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1632
- this.send(command, optionsOrCb || {}, cb);
1633
- } else {
1634
- return this.send(command, optionsOrCb);
1635
- }
1636
- }
1637
-
1638
- /**
1639
- * <p> Manually triggers a pipeline to create an image.</p>
1640
- */
1641
- public startImagePipelineExecution(
1642
- args: StartImagePipelineExecutionCommandInput,
1643
- options?: __HttpHandlerOptions
1644
- ): Promise<StartImagePipelineExecutionCommandOutput>;
1645
- public startImagePipelineExecution(
1646
- args: StartImagePipelineExecutionCommandInput,
1647
- cb: (err: any, data?: StartImagePipelineExecutionCommandOutput) => void
1648
- ): void;
1649
- public startImagePipelineExecution(
1650
- args: StartImagePipelineExecutionCommandInput,
1651
- options: __HttpHandlerOptions,
1652
- cb: (err: any, data?: StartImagePipelineExecutionCommandOutput) => void
1653
- ): void;
1654
- public startImagePipelineExecution(
1655
- args: StartImagePipelineExecutionCommandInput,
1656
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartImagePipelineExecutionCommandOutput) => void),
1657
- cb?: (err: any, data?: StartImagePipelineExecutionCommandOutput) => void
1658
- ): Promise<StartImagePipelineExecutionCommandOutput> | void {
1659
- const command = new StartImagePipelineExecutionCommand(args);
1660
- if (typeof optionsOrCb === "function") {
1661
- this.send(command, optionsOrCb);
1662
- } else if (typeof cb === "function") {
1663
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1664
- this.send(command, optionsOrCb || {}, cb);
1665
- } else {
1666
- return this.send(command, optionsOrCb);
1667
- }
1668
- }
1669
-
1670
- /**
1671
- * <p> Adds a tag to a resource.</p>
1672
- */
1673
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1674
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1675
- public tagResource(
1676
- args: TagResourceCommandInput,
1677
- options: __HttpHandlerOptions,
1678
- cb: (err: any, data?: TagResourceCommandOutput) => void
1679
- ): void;
1680
- public tagResource(
1681
- args: TagResourceCommandInput,
1682
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1683
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1684
- ): Promise<TagResourceCommandOutput> | void {
1685
- const command = new TagResourceCommand(args);
1686
- if (typeof optionsOrCb === "function") {
1687
- this.send(command, optionsOrCb);
1688
- } else if (typeof cb === "function") {
1689
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1690
- this.send(command, optionsOrCb || {}, cb);
1691
- } else {
1692
- return this.send(command, optionsOrCb);
1693
- }
1694
- }
1695
-
1696
- /**
1697
- * <p> Removes a tag from a resource.</p>
1698
- */
1699
- public untagResource(
1700
- args: UntagResourceCommandInput,
1701
- options?: __HttpHandlerOptions
1702
- ): Promise<UntagResourceCommandOutput>;
1703
- public untagResource(
1704
- args: UntagResourceCommandInput,
1705
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1706
- ): void;
1707
- public untagResource(
1708
- args: UntagResourceCommandInput,
1709
- options: __HttpHandlerOptions,
1710
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1711
- ): void;
1712
- public untagResource(
1713
- args: UntagResourceCommandInput,
1714
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1715
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1716
- ): Promise<UntagResourceCommandOutput> | void {
1717
- const command = new UntagResourceCommand(args);
1718
- if (typeof optionsOrCb === "function") {
1719
- this.send(command, optionsOrCb);
1720
- } else if (typeof cb === "function") {
1721
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1722
- this.send(command, optionsOrCb || {}, cb);
1723
- } else {
1724
- return this.send(command, optionsOrCb);
1725
- }
1726
- }
1727
-
1728
- /**
1729
- * <p> Updates a new distribution configuration. Distribution configurations define and
1730
- * configure the outputs of your pipeline.</p>
1731
- */
1732
- public updateDistributionConfiguration(
1733
- args: UpdateDistributionConfigurationCommandInput,
1734
- options?: __HttpHandlerOptions
1735
- ): Promise<UpdateDistributionConfigurationCommandOutput>;
1736
- public updateDistributionConfiguration(
1737
- args: UpdateDistributionConfigurationCommandInput,
1738
- cb: (err: any, data?: UpdateDistributionConfigurationCommandOutput) => void
1739
- ): void;
1740
- public updateDistributionConfiguration(
1741
- args: UpdateDistributionConfigurationCommandInput,
1742
- options: __HttpHandlerOptions,
1743
- cb: (err: any, data?: UpdateDistributionConfigurationCommandOutput) => void
1744
- ): void;
1745
- public updateDistributionConfiguration(
1746
- args: UpdateDistributionConfigurationCommandInput,
1747
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDistributionConfigurationCommandOutput) => void),
1748
- cb?: (err: any, data?: UpdateDistributionConfigurationCommandOutput) => void
1749
- ): Promise<UpdateDistributionConfigurationCommandOutput> | void {
1750
- const command = new UpdateDistributionConfigurationCommand(args);
1751
- if (typeof optionsOrCb === "function") {
1752
- this.send(command, optionsOrCb);
1753
- } else if (typeof cb === "function") {
1754
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1755
- this.send(command, optionsOrCb || {}, cb);
1756
- } else {
1757
- return this.send(command, optionsOrCb);
1758
- }
1759
- }
1760
-
1761
- /**
1762
- * <p> Updates an image pipeline. Image pipelines enable you to automate the creation and
1763
- * distribution of images.</p>
1764
- * <note>
1765
- * <p>UpdateImagePipeline does not support selective updates for the pipeline.
1766
- * You must specify all of the required properties in the update request, not just
1767
- * the properties that have changed.</p>
1768
- * </note>
1769
- */
1770
- public updateImagePipeline(
1771
- args: UpdateImagePipelineCommandInput,
1772
- options?: __HttpHandlerOptions
1773
- ): Promise<UpdateImagePipelineCommandOutput>;
1774
- public updateImagePipeline(
1775
- args: UpdateImagePipelineCommandInput,
1776
- cb: (err: any, data?: UpdateImagePipelineCommandOutput) => void
1777
- ): void;
1778
- public updateImagePipeline(
1779
- args: UpdateImagePipelineCommandInput,
1780
- options: __HttpHandlerOptions,
1781
- cb: (err: any, data?: UpdateImagePipelineCommandOutput) => void
1782
- ): void;
1783
- public updateImagePipeline(
1784
- args: UpdateImagePipelineCommandInput,
1785
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateImagePipelineCommandOutput) => void),
1786
- cb?: (err: any, data?: UpdateImagePipelineCommandOutput) => void
1787
- ): Promise<UpdateImagePipelineCommandOutput> | void {
1788
- const command = new UpdateImagePipelineCommand(args);
1789
- if (typeof optionsOrCb === "function") {
1790
- this.send(command, optionsOrCb);
1791
- } else if (typeof cb === "function") {
1792
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1793
- this.send(command, optionsOrCb || {}, cb);
1794
- } else {
1795
- return this.send(command, optionsOrCb);
1796
- }
1797
- }
1798
-
1799
- /**
1800
- * <p> Updates a new infrastructure configuration. An infrastructure configuration defines the
1801
- * environment in which your image will be built and tested.</p>
1802
- */
1803
- public updateInfrastructureConfiguration(
1804
- args: UpdateInfrastructureConfigurationCommandInput,
1805
- options?: __HttpHandlerOptions
1806
- ): Promise<UpdateInfrastructureConfigurationCommandOutput>;
1807
- public updateInfrastructureConfiguration(
1808
- args: UpdateInfrastructureConfigurationCommandInput,
1809
- cb: (err: any, data?: UpdateInfrastructureConfigurationCommandOutput) => void
1810
- ): void;
1811
- public updateInfrastructureConfiguration(
1812
- args: UpdateInfrastructureConfigurationCommandInput,
1813
- options: __HttpHandlerOptions,
1814
- cb: (err: any, data?: UpdateInfrastructureConfigurationCommandOutput) => void
1815
- ): void;
1816
- public updateInfrastructureConfiguration(
1817
- args: UpdateInfrastructureConfigurationCommandInput,
1818
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateInfrastructureConfigurationCommandOutput) => void),
1819
- cb?: (err: any, data?: UpdateInfrastructureConfigurationCommandOutput) => void
1820
- ): Promise<UpdateInfrastructureConfigurationCommandOutput> | void {
1821
- const command = new UpdateInfrastructureConfigurationCommand(args);
1822
- if (typeof optionsOrCb === "function") {
1823
- this.send(command, optionsOrCb);
1824
- } else if (typeof cb === "function") {
1825
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1826
- this.send(command, optionsOrCb || {}, cb);
1827
- } else {
1828
- return this.send(command, optionsOrCb);
1829
- }
1830
- }
1831
- }