@aws-sdk/client-codedeploy 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 (405) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/CodeDeploy.js +0 -103
  3. package/dist-cjs/CodeDeployClient.js +0 -108
  4. package/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +0 -25
  5. package/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +0 -26
  6. package/dist-cjs/commands/BatchGetApplicationsCommand.js +0 -26
  7. package/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +0 -25
  8. package/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +0 -34
  9. package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +0 -52
  10. package/dist-cjs/commands/BatchGetDeploymentsCommand.js +0 -26
  11. package/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +0 -26
  12. package/dist-cjs/commands/ContinueDeploymentCommand.js +0 -29
  13. package/dist-cjs/commands/CreateApplicationCommand.js +0 -25
  14. package/dist-cjs/commands/CreateDeploymentCommand.js +0 -25
  15. package/dist-cjs/commands/CreateDeploymentConfigCommand.js +0 -25
  16. package/dist-cjs/commands/CreateDeploymentGroupCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -25
  18. package/dist-cjs/commands/DeleteDeploymentConfigCommand.js +0 -29
  19. package/dist-cjs/commands/DeleteDeploymentGroupCommand.js +0 -25
  20. package/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +0 -25
  21. package/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +0 -25
  22. package/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +0 -25
  23. package/dist-cjs/commands/GetApplicationCommand.js +0 -25
  24. package/dist-cjs/commands/GetApplicationRevisionCommand.js +0 -25
  25. package/dist-cjs/commands/GetDeploymentCommand.js +0 -31
  26. package/dist-cjs/commands/GetDeploymentConfigCommand.js +0 -25
  27. package/dist-cjs/commands/GetDeploymentGroupCommand.js +0 -25
  28. package/dist-cjs/commands/GetDeploymentInstanceCommand.js +0 -27
  29. package/dist-cjs/commands/GetDeploymentTargetCommand.js +0 -25
  30. package/dist-cjs/commands/GetOnPremisesInstanceCommand.js +0 -25
  31. package/dist-cjs/commands/ListApplicationRevisionsCommand.js +0 -25
  32. package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
  33. package/dist-cjs/commands/ListDeploymentConfigsCommand.js +0 -25
  34. package/dist-cjs/commands/ListDeploymentGroupsCommand.js +0 -26
  35. package/dist-cjs/commands/ListDeploymentInstancesCommand.js +0 -33
  36. package/dist-cjs/commands/ListDeploymentTargetsCommand.js +0 -25
  37. package/dist-cjs/commands/ListDeploymentsCommand.js +0 -26
  38. package/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +0 -25
  39. package/dist-cjs/commands/ListOnPremisesInstancesCommand.js +0 -28
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  41. package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -33
  42. package/dist-cjs/commands/RegisterApplicationRevisionCommand.js +0 -25
  43. package/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +0 -29
  44. package/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +0 -25
  45. package/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +0 -28
  46. package/dist-cjs/commands/StopDeploymentCommand.js +0 -25
  47. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  48. package/dist-cjs/commands/UntagResourceCommand.js +0 -27
  49. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
  50. package/dist-cjs/commands/UpdateDeploymentGroupCommand.js +0 -25
  51. package/dist-cjs/commands/index.js +50 -0
  52. package/dist-cjs/endpoints.js +1 -2
  53. package/dist-cjs/index.js +5 -58
  54. package/dist-cjs/models/index.js +0 -1
  55. package/dist-cjs/models/models_0.js +0 -742
  56. package/dist-cjs/pagination/Interfaces.js +0 -1
  57. package/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +0 -11
  58. package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
  59. package/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +0 -11
  60. package/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +0 -11
  61. package/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +0 -11
  62. package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -11
  63. package/dist-cjs/pagination/index.js +10 -0
  64. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  65. package/dist-cjs/runtimeConfig.browser.js +1 -6
  66. package/dist-cjs/runtimeConfig.js +2 -7
  67. package/dist-cjs/runtimeConfig.native.js +0 -4
  68. package/dist-cjs/runtimeConfig.shared.js +0 -4
  69. package/dist-cjs/waiters/index.js +4 -0
  70. package/dist-cjs/waiters/waitForDeploymentSuccessful.js +0 -10
  71. package/dist-es/CodeDeploy.js +0 -1
  72. package/dist-es/CodeDeployClient.js +0 -1
  73. package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +0 -1
  74. package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +0 -1
  75. package/dist-es/commands/BatchGetApplicationsCommand.js +0 -1
  76. package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +0 -1
  77. package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +0 -1
  78. package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +0 -1
  79. package/dist-es/commands/BatchGetDeploymentsCommand.js +0 -1
  80. package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +0 -1
  81. package/dist-es/commands/ContinueDeploymentCommand.js +0 -1
  82. package/dist-es/commands/CreateApplicationCommand.js +0 -1
  83. package/dist-es/commands/CreateDeploymentCommand.js +0 -1
  84. package/dist-es/commands/CreateDeploymentConfigCommand.js +0 -1
  85. package/dist-es/commands/CreateDeploymentGroupCommand.js +0 -1
  86. package/dist-es/commands/DeleteApplicationCommand.js +0 -1
  87. package/dist-es/commands/DeleteDeploymentConfigCommand.js +0 -1
  88. package/dist-es/commands/DeleteDeploymentGroupCommand.js +0 -1
  89. package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +0 -1
  90. package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +0 -1
  91. package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +0 -1
  92. package/dist-es/commands/GetApplicationCommand.js +0 -1
  93. package/dist-es/commands/GetApplicationRevisionCommand.js +0 -1
  94. package/dist-es/commands/GetDeploymentCommand.js +0 -1
  95. package/dist-es/commands/GetDeploymentConfigCommand.js +0 -1
  96. package/dist-es/commands/GetDeploymentGroupCommand.js +0 -1
  97. package/dist-es/commands/GetDeploymentInstanceCommand.js +0 -1
  98. package/dist-es/commands/GetDeploymentTargetCommand.js +0 -1
  99. package/dist-es/commands/GetOnPremisesInstanceCommand.js +0 -1
  100. package/dist-es/commands/ListApplicationRevisionsCommand.js +0 -1
  101. package/dist-es/commands/ListApplicationsCommand.js +0 -1
  102. package/dist-es/commands/ListDeploymentConfigsCommand.js +0 -1
  103. package/dist-es/commands/ListDeploymentGroupsCommand.js +0 -1
  104. package/dist-es/commands/ListDeploymentInstancesCommand.js +0 -1
  105. package/dist-es/commands/ListDeploymentTargetsCommand.js +0 -1
  106. package/dist-es/commands/ListDeploymentsCommand.js +0 -1
  107. package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +0 -1
  108. package/dist-es/commands/ListOnPremisesInstancesCommand.js +0 -1
  109. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  110. package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -1
  111. package/dist-es/commands/RegisterApplicationRevisionCommand.js +0 -1
  112. package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +0 -1
  113. package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +0 -1
  114. package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +0 -1
  115. package/dist-es/commands/StopDeploymentCommand.js +0 -1
  116. package/dist-es/commands/TagResourceCommand.js +0 -1
  117. package/dist-es/commands/UntagResourceCommand.js +0 -1
  118. package/dist-es/commands/UpdateApplicationCommand.js +0 -1
  119. package/dist-es/commands/UpdateDeploymentGroupCommand.js +0 -1
  120. package/dist-es/commands/index.js +47 -0
  121. package/dist-es/endpoints.js +1 -2
  122. package/dist-es/index.js +5 -58
  123. package/dist-es/models/index.js +0 -1
  124. package/dist-es/models/models_0.js +0 -1
  125. package/dist-es/pagination/Interfaces.js +0 -1
  126. package/dist-es/pagination/ListApplicationRevisionsPaginator.js +0 -1
  127. package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
  128. package/dist-es/pagination/ListDeploymentConfigsPaginator.js +0 -1
  129. package/dist-es/pagination/ListDeploymentGroupsPaginator.js +0 -1
  130. package/dist-es/pagination/ListDeploymentInstancesPaginator.js +0 -1
  131. package/dist-es/pagination/ListDeploymentsPaginator.js +0 -1
  132. package/dist-es/pagination/index.js +7 -0
  133. package/dist-es/protocols/Aws_json1_1.js +0 -1
  134. package/dist-es/runtimeConfig.browser.js +1 -2
  135. package/dist-es/runtimeConfig.js +2 -3
  136. package/dist-es/runtimeConfig.native.js +0 -1
  137. package/dist-es/runtimeConfig.shared.js +0 -1
  138. package/dist-es/waiters/index.js +1 -0
  139. package/dist-es/waiters/waitForDeploymentSuccessful.js +0 -1
  140. package/dist-types/commands/index.d.ts +47 -0
  141. package/dist-types/index.d.ts +5 -57
  142. package/dist-types/pagination/index.d.ts +7 -0
  143. package/dist-types/ts3.4/CodeDeploy.d.ts +48 -331
  144. package/dist-types/ts3.4/CodeDeployClient.d.ts +24 -188
  145. package/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +2 -21
  147. package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +2 -21
  148. package/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -29
  150. package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -47
  151. package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +2 -21
  152. package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +2 -21
  153. package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +2 -24
  154. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +2 -24
  160. package/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +2 -20
  163. package/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -26
  167. package/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +2 -22
  170. package/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +2 -21
  176. package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +2 -28
  177. package/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -21
  179. package/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +2 -23
  181. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  182. package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +2 -28
  183. package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -24
  185. package/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -23
  187. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  189. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
  190. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  193. package/dist-types/ts3.4/index.d.ts +5 -57
  194. package/dist-types/ts3.4/models/models_0.d.ts +1001 -4081
  195. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  196. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  197. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  198. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  199. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  200. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  201. package/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +2 -9
  202. package/dist-types/waiters/index.d.ts +1 -0
  203. package/package.json +34 -31
  204. package/dist-cjs/CodeDeploy.js.map +0 -1
  205. package/dist-cjs/CodeDeployClient.js.map +0 -1
  206. package/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js.map +0 -1
  207. package/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js.map +0 -1
  208. package/dist-cjs/commands/BatchGetApplicationsCommand.js.map +0 -1
  209. package/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js.map +0 -1
  210. package/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js.map +0 -1
  211. package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js.map +0 -1
  212. package/dist-cjs/commands/BatchGetDeploymentsCommand.js.map +0 -1
  213. package/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js.map +0 -1
  214. package/dist-cjs/commands/ContinueDeploymentCommand.js.map +0 -1
  215. package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
  216. package/dist-cjs/commands/CreateDeploymentCommand.js.map +0 -1
  217. package/dist-cjs/commands/CreateDeploymentConfigCommand.js.map +0 -1
  218. package/dist-cjs/commands/CreateDeploymentGroupCommand.js.map +0 -1
  219. package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
  220. package/dist-cjs/commands/DeleteDeploymentConfigCommand.js.map +0 -1
  221. package/dist-cjs/commands/DeleteDeploymentGroupCommand.js.map +0 -1
  222. package/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js.map +0 -1
  223. package/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js.map +0 -1
  224. package/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js.map +0 -1
  225. package/dist-cjs/commands/GetApplicationCommand.js.map +0 -1
  226. package/dist-cjs/commands/GetApplicationRevisionCommand.js.map +0 -1
  227. package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
  228. package/dist-cjs/commands/GetDeploymentConfigCommand.js.map +0 -1
  229. package/dist-cjs/commands/GetDeploymentGroupCommand.js.map +0 -1
  230. package/dist-cjs/commands/GetDeploymentInstanceCommand.js.map +0 -1
  231. package/dist-cjs/commands/GetDeploymentTargetCommand.js.map +0 -1
  232. package/dist-cjs/commands/GetOnPremisesInstanceCommand.js.map +0 -1
  233. package/dist-cjs/commands/ListApplicationRevisionsCommand.js.map +0 -1
  234. package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
  235. package/dist-cjs/commands/ListDeploymentConfigsCommand.js.map +0 -1
  236. package/dist-cjs/commands/ListDeploymentGroupsCommand.js.map +0 -1
  237. package/dist-cjs/commands/ListDeploymentInstancesCommand.js.map +0 -1
  238. package/dist-cjs/commands/ListDeploymentTargetsCommand.js.map +0 -1
  239. package/dist-cjs/commands/ListDeploymentsCommand.js.map +0 -1
  240. package/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js.map +0 -1
  241. package/dist-cjs/commands/ListOnPremisesInstancesCommand.js.map +0 -1
  242. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  243. package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +0 -1
  244. package/dist-cjs/commands/RegisterApplicationRevisionCommand.js.map +0 -1
  245. package/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js.map +0 -1
  246. package/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +0 -1
  247. package/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +0 -1
  248. package/dist-cjs/commands/StopDeploymentCommand.js.map +0 -1
  249. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  250. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  251. package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
  252. package/dist-cjs/commands/UpdateDeploymentGroupCommand.js.map +0 -1
  253. package/dist-cjs/endpoints.js.map +0 -1
  254. package/dist-cjs/index.js.map +0 -1
  255. package/dist-cjs/models/index.js.map +0 -1
  256. package/dist-cjs/models/models_0.js.map +0 -1
  257. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  258. package/dist-cjs/pagination/ListApplicationRevisionsPaginator.js.map +0 -1
  259. package/dist-cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  260. package/dist-cjs/pagination/ListDeploymentConfigsPaginator.js.map +0 -1
  261. package/dist-cjs/pagination/ListDeploymentGroupsPaginator.js.map +0 -1
  262. package/dist-cjs/pagination/ListDeploymentInstancesPaginator.js.map +0 -1
  263. package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  264. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  265. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  266. package/dist-cjs/runtimeConfig.js.map +0 -1
  267. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  268. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  269. package/dist-cjs/waiters/waitForDeploymentSuccessful.js.map +0 -1
  270. package/dist-es/CodeDeploy.js.map +0 -1
  271. package/dist-es/CodeDeployClient.js.map +0 -1
  272. package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js.map +0 -1
  273. package/dist-es/commands/BatchGetApplicationRevisionsCommand.js.map +0 -1
  274. package/dist-es/commands/BatchGetApplicationsCommand.js.map +0 -1
  275. package/dist-es/commands/BatchGetDeploymentGroupsCommand.js.map +0 -1
  276. package/dist-es/commands/BatchGetDeploymentInstancesCommand.js.map +0 -1
  277. package/dist-es/commands/BatchGetDeploymentTargetsCommand.js.map +0 -1
  278. package/dist-es/commands/BatchGetDeploymentsCommand.js.map +0 -1
  279. package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js.map +0 -1
  280. package/dist-es/commands/ContinueDeploymentCommand.js.map +0 -1
  281. package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
  282. package/dist-es/commands/CreateDeploymentCommand.js.map +0 -1
  283. package/dist-es/commands/CreateDeploymentConfigCommand.js.map +0 -1
  284. package/dist-es/commands/CreateDeploymentGroupCommand.js.map +0 -1
  285. package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
  286. package/dist-es/commands/DeleteDeploymentConfigCommand.js.map +0 -1
  287. package/dist-es/commands/DeleteDeploymentGroupCommand.js.map +0 -1
  288. package/dist-es/commands/DeleteGitHubAccountTokenCommand.js.map +0 -1
  289. package/dist-es/commands/DeleteResourcesByExternalIdCommand.js.map +0 -1
  290. package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js.map +0 -1
  291. package/dist-es/commands/GetApplicationCommand.js.map +0 -1
  292. package/dist-es/commands/GetApplicationRevisionCommand.js.map +0 -1
  293. package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
  294. package/dist-es/commands/GetDeploymentConfigCommand.js.map +0 -1
  295. package/dist-es/commands/GetDeploymentGroupCommand.js.map +0 -1
  296. package/dist-es/commands/GetDeploymentInstanceCommand.js.map +0 -1
  297. package/dist-es/commands/GetDeploymentTargetCommand.js.map +0 -1
  298. package/dist-es/commands/GetOnPremisesInstanceCommand.js.map +0 -1
  299. package/dist-es/commands/ListApplicationRevisionsCommand.js.map +0 -1
  300. package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
  301. package/dist-es/commands/ListDeploymentConfigsCommand.js.map +0 -1
  302. package/dist-es/commands/ListDeploymentGroupsCommand.js.map +0 -1
  303. package/dist-es/commands/ListDeploymentInstancesCommand.js.map +0 -1
  304. package/dist-es/commands/ListDeploymentTargetsCommand.js.map +0 -1
  305. package/dist-es/commands/ListDeploymentsCommand.js.map +0 -1
  306. package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js.map +0 -1
  307. package/dist-es/commands/ListOnPremisesInstancesCommand.js.map +0 -1
  308. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  309. package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +0 -1
  310. package/dist-es/commands/RegisterApplicationRevisionCommand.js.map +0 -1
  311. package/dist-es/commands/RegisterOnPremisesInstanceCommand.js.map +0 -1
  312. package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +0 -1
  313. package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +0 -1
  314. package/dist-es/commands/StopDeploymentCommand.js.map +0 -1
  315. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  316. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  317. package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
  318. package/dist-es/commands/UpdateDeploymentGroupCommand.js.map +0 -1
  319. package/dist-es/endpoints.js.map +0 -1
  320. package/dist-es/index.js.map +0 -1
  321. package/dist-es/models/index.js.map +0 -1
  322. package/dist-es/models/models_0.js.map +0 -1
  323. package/dist-es/pagination/Interfaces.js.map +0 -1
  324. package/dist-es/pagination/ListApplicationRevisionsPaginator.js.map +0 -1
  325. package/dist-es/pagination/ListApplicationsPaginator.js.map +0 -1
  326. package/dist-es/pagination/ListDeploymentConfigsPaginator.js.map +0 -1
  327. package/dist-es/pagination/ListDeploymentGroupsPaginator.js.map +0 -1
  328. package/dist-es/pagination/ListDeploymentInstancesPaginator.js.map +0 -1
  329. package/dist-es/pagination/ListDeploymentsPaginator.js.map +0 -1
  330. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  331. package/dist-es/runtimeConfig.browser.js.map +0 -1
  332. package/dist-es/runtimeConfig.js.map +0 -1
  333. package/dist-es/runtimeConfig.native.js.map +0 -1
  334. package/dist-es/runtimeConfig.shared.js.map +0 -1
  335. package/dist-es/waiters/waitForDeploymentSuccessful.js.map +0 -1
  336. package/jest.config.js +0 -4
  337. package/src/CodeDeploy.ts +0 -1924
  338. package/src/CodeDeployClient.ts +0 -578
  339. package/src/commands/AddTagsToOnPremisesInstancesCommand.ts +0 -98
  340. package/src/commands/BatchGetApplicationRevisionsCommand.ts +0 -101
  341. package/src/commands/BatchGetApplicationsCommand.ts +0 -96
  342. package/src/commands/BatchGetDeploymentGroupsCommand.ts +0 -95
  343. package/src/commands/BatchGetDeploymentInstancesCommand.ts +0 -107
  344. package/src/commands/BatchGetDeploymentTargetsCommand.ts +0 -125
  345. package/src/commands/BatchGetDeploymentsCommand.ts +0 -96
  346. package/src/commands/BatchGetOnPremisesInstancesCommand.ts +0 -99
  347. package/src/commands/ContinueDeploymentCommand.ts +0 -99
  348. package/src/commands/CreateApplicationCommand.ts +0 -95
  349. package/src/commands/CreateDeploymentCommand.ts +0 -95
  350. package/src/commands/CreateDeploymentConfigCommand.ts +0 -95
  351. package/src/commands/CreateDeploymentGroupCommand.ts +0 -95
  352. package/src/commands/DeleteApplicationCommand.ts +0 -95
  353. package/src/commands/DeleteDeploymentConfigCommand.ts +0 -99
  354. package/src/commands/DeleteDeploymentGroupCommand.ts +0 -95
  355. package/src/commands/DeleteGitHubAccountTokenCommand.ts +0 -95
  356. package/src/commands/DeleteResourcesByExternalIdCommand.ts +0 -98
  357. package/src/commands/DeregisterOnPremisesInstanceCommand.ts +0 -98
  358. package/src/commands/GetApplicationCommand.ts +0 -95
  359. package/src/commands/GetApplicationRevisionCommand.ts +0 -95
  360. package/src/commands/GetDeploymentCommand.ts +0 -101
  361. package/src/commands/GetDeploymentConfigCommand.ts +0 -95
  362. package/src/commands/GetDeploymentGroupCommand.ts +0 -95
  363. package/src/commands/GetDeploymentInstanceCommand.ts +0 -97
  364. package/src/commands/GetDeploymentTargetCommand.ts +0 -95
  365. package/src/commands/GetOnPremisesInstanceCommand.ts +0 -95
  366. package/src/commands/ListApplicationRevisionsCommand.ts +0 -95
  367. package/src/commands/ListApplicationsCommand.ts +0 -95
  368. package/src/commands/ListDeploymentConfigsCommand.ts +0 -95
  369. package/src/commands/ListDeploymentGroupsCommand.ts +0 -96
  370. package/src/commands/ListDeploymentInstancesCommand.ts +0 -103
  371. package/src/commands/ListDeploymentTargetsCommand.ts +0 -95
  372. package/src/commands/ListDeploymentsCommand.ts +0 -96
  373. package/src/commands/ListGitHubAccountTokenNamesCommand.ts +0 -98
  374. package/src/commands/ListOnPremisesInstancesCommand.ts +0 -98
  375. package/src/commands/ListTagsForResourceCommand.ts +0 -96
  376. package/src/commands/PutLifecycleEventHookExecutionStatusCommand.ts +0 -114
  377. package/src/commands/RegisterApplicationRevisionCommand.ts +0 -98
  378. package/src/commands/RegisterOnPremisesInstanceCommand.ts +0 -102
  379. package/src/commands/RemoveTagsFromOnPremisesInstancesCommand.ts +0 -101
  380. package/src/commands/SkipWaitTimeForInstanceTerminationCommand.ts +0 -104
  381. package/src/commands/StopDeploymentCommand.ts +0 -95
  382. package/src/commands/TagResourceCommand.ts +0 -96
  383. package/src/commands/UntagResourceCommand.ts +0 -97
  384. package/src/commands/UpdateApplicationCommand.ts +0 -95
  385. package/src/commands/UpdateDeploymentGroupCommand.ts +0 -95
  386. package/src/endpoints.ts +0 -86
  387. package/src/index.ts +0 -58
  388. package/src/models/index.ts +0 -1
  389. package/src/models/models_0.ts +0 -7572
  390. package/src/pagination/Interfaces.ts +0 -8
  391. package/src/pagination/ListApplicationRevisionsPaginator.ts +0 -58
  392. package/src/pagination/ListApplicationsPaginator.ts +0 -58
  393. package/src/pagination/ListDeploymentConfigsPaginator.ts +0 -58
  394. package/src/pagination/ListDeploymentGroupsPaginator.ts +0 -58
  395. package/src/pagination/ListDeploymentInstancesPaginator.ts +0 -58
  396. package/src/pagination/ListDeploymentsPaginator.ts +0 -58
  397. package/src/protocols/Aws_json1_1.ts +0 -11359
  398. package/src/runtimeConfig.browser.ts +0 -41
  399. package/src/runtimeConfig.native.ts +0 -17
  400. package/src/runtimeConfig.shared.ts +0 -17
  401. package/src/runtimeConfig.ts +0 -46
  402. package/src/waiters/waitForDeploymentSuccessful.ts +0 -63
  403. package/tsconfig.es.json +0 -10
  404. package/tsconfig.json +0 -33
  405. package/tsconfig.types.json +0 -9
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
15
- import { BatchGetApplicationRevisionsInput, BatchGetApplicationRevisionsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1BatchGetApplicationRevisionsCommand,
18
- serializeAws_json1_1BatchGetApplicationRevisionsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface BatchGetApplicationRevisionsCommandInput extends BatchGetApplicationRevisionsInput {}
22
- export interface BatchGetApplicationRevisionsCommandOutput
23
- extends BatchGetApplicationRevisionsOutput,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Gets information about one or more application revisions. The maximum number of
28
- * application revisions that can be returned is 25.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { CodeDeployClient, BatchGetApplicationRevisionsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
33
- * // const { CodeDeployClient, BatchGetApplicationRevisionsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
34
- * const client = new CodeDeployClient(config);
35
- * const command = new BatchGetApplicationRevisionsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link BatchGetApplicationRevisionsCommandInput} for command's `input` shape.
40
- * @see {@link BatchGetApplicationRevisionsCommandOutput} for command's `response` shape.
41
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class BatchGetApplicationRevisionsCommand extends $Command<
45
- BatchGetApplicationRevisionsCommandInput,
46
- BatchGetApplicationRevisionsCommandOutput,
47
- CodeDeployClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: BatchGetApplicationRevisionsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: CodeDeployClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<BatchGetApplicationRevisionsCommandInput, BatchGetApplicationRevisionsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "CodeDeployClient";
72
- const commandName = "BatchGetApplicationRevisionsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: BatchGetApplicationRevisionsInput.filterSensitiveLog,
78
- outputFilterSensitiveLog: BatchGetApplicationRevisionsOutput.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: BatchGetApplicationRevisionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1BatchGetApplicationRevisionsCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<BatchGetApplicationRevisionsCommandOutput> {
96
- return deserializeAws_json1_1BatchGetApplicationRevisionsCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
15
- import { BatchGetApplicationsInput, BatchGetApplicationsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1BatchGetApplicationsCommand,
18
- serializeAws_json1_1BatchGetApplicationsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface BatchGetApplicationsCommandInput extends BatchGetApplicationsInput {}
22
- export interface BatchGetApplicationsCommandOutput extends BatchGetApplicationsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets information about one or more applications. The maximum number of applications
26
- * that can be returned is 100.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CodeDeployClient, BatchGetApplicationsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
31
- * // const { CodeDeployClient, BatchGetApplicationsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
32
- * const client = new CodeDeployClient(config);
33
- * const command = new BatchGetApplicationsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link BatchGetApplicationsCommandInput} for command's `input` shape.
38
- * @see {@link BatchGetApplicationsCommandOutput} for command's `response` shape.
39
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class BatchGetApplicationsCommand extends $Command<
43
- BatchGetApplicationsCommandInput,
44
- BatchGetApplicationsCommandOutput,
45
- CodeDeployClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: BatchGetApplicationsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: CodeDeployClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<BatchGetApplicationsCommandInput, BatchGetApplicationsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "CodeDeployClient";
70
- const commandName = "BatchGetApplicationsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: BatchGetApplicationsInput.filterSensitiveLog,
76
- outputFilterSensitiveLog: BatchGetApplicationsOutput.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: BatchGetApplicationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1BatchGetApplicationsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetApplicationsCommandOutput> {
91
- return deserializeAws_json1_1BatchGetApplicationsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
15
- import { BatchGetDeploymentGroupsInput, BatchGetDeploymentGroupsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1BatchGetDeploymentGroupsCommand,
18
- serializeAws_json1_1BatchGetDeploymentGroupsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface BatchGetDeploymentGroupsCommandInput extends BatchGetDeploymentGroupsInput {}
22
- export interface BatchGetDeploymentGroupsCommandOutput extends BatchGetDeploymentGroupsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets information about one or more deployment groups.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { CodeDeployClient, BatchGetDeploymentGroupsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
30
- * // const { CodeDeployClient, BatchGetDeploymentGroupsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
31
- * const client = new CodeDeployClient(config);
32
- * const command = new BatchGetDeploymentGroupsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link BatchGetDeploymentGroupsCommandInput} for command's `input` shape.
37
- * @see {@link BatchGetDeploymentGroupsCommandOutput} for command's `response` shape.
38
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class BatchGetDeploymentGroupsCommand extends $Command<
42
- BatchGetDeploymentGroupsCommandInput,
43
- BatchGetDeploymentGroupsCommandOutput,
44
- CodeDeployClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: BatchGetDeploymentGroupsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: CodeDeployClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<BatchGetDeploymentGroupsCommandInput, BatchGetDeploymentGroupsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "CodeDeployClient";
69
- const commandName = "BatchGetDeploymentGroupsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: BatchGetDeploymentGroupsInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: BatchGetDeploymentGroupsOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: BatchGetDeploymentGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1BatchGetDeploymentGroupsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetDeploymentGroupsCommandOutput> {
90
- return deserializeAws_json1_1BatchGetDeploymentGroupsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,107 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
15
- import { BatchGetDeploymentInstancesInput, BatchGetDeploymentInstancesOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1BatchGetDeploymentInstancesCommand,
18
- serializeAws_json1_1BatchGetDeploymentInstancesCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface BatchGetDeploymentInstancesCommandInput extends BatchGetDeploymentInstancesInput {}
22
- export interface BatchGetDeploymentInstancesCommandOutput extends BatchGetDeploymentInstancesOutput, __MetadataBearer {}
23
-
24
- /**
25
- * @deprecated
26
- *
27
- * <note>
28
- * <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>
29
- * instead. </p>
30
- * </note>
31
- * <p> Returns an array of one or more instances associated with a deployment. This method
32
- * works with EC2/On-premises and AWS Lambda compute platforms. The newer
33
- * <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum
34
- * number of instances that can be returned is 25.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { CodeDeployClient, BatchGetDeploymentInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
39
- * // const { CodeDeployClient, BatchGetDeploymentInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
40
- * const client = new CodeDeployClient(config);
41
- * const command = new BatchGetDeploymentInstancesCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link BatchGetDeploymentInstancesCommandInput} for command's `input` shape.
46
- * @see {@link BatchGetDeploymentInstancesCommandOutput} for command's `response` shape.
47
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class BatchGetDeploymentInstancesCommand extends $Command<
51
- BatchGetDeploymentInstancesCommandInput,
52
- BatchGetDeploymentInstancesCommandOutput,
53
- CodeDeployClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: BatchGetDeploymentInstancesCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: CodeDeployClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<BatchGetDeploymentInstancesCommandInput, BatchGetDeploymentInstancesCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "CodeDeployClient";
78
- const commandName = "BatchGetDeploymentInstancesCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: BatchGetDeploymentInstancesInput.filterSensitiveLog,
84
- outputFilterSensitiveLog: BatchGetDeploymentInstancesOutput.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: BatchGetDeploymentInstancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1BatchGetDeploymentInstancesCommand(input, context);
96
- }
97
-
98
- private deserialize(
99
- output: __HttpResponse,
100
- context: __SerdeContext
101
- ): Promise<BatchGetDeploymentInstancesCommandOutput> {
102
- return deserializeAws_json1_1BatchGetDeploymentInstancesCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }
@@ -1,125 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
15
- import { BatchGetDeploymentTargetsInput, BatchGetDeploymentTargetsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1BatchGetDeploymentTargetsCommand,
18
- serializeAws_json1_1BatchGetDeploymentTargetsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface BatchGetDeploymentTargetsCommandInput extends BatchGetDeploymentTargetsInput {}
22
- export interface BatchGetDeploymentTargetsCommandOutput extends BatchGetDeploymentTargetsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Returns an array of one or more targets associated with a deployment. This method
26
- * works with all compute types and should be used instead of the deprecated
27
- * <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be
28
- * returned is 25.</p>
29
- * <p> The type of targets returned depends on the deployment's compute platform or
30
- * deployment method: </p>
31
- * <ul>
32
- * <li>
33
- * <p>
34
- * <b>EC2/On-premises</b>: Information about EC2 instance
35
- * targets. </p>
36
- * </li>
37
- * <li>
38
- * <p>
39
- * <b>AWS Lambda</b>: Information about Lambda functions
40
- * targets. </p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <b>Amazon ECS</b>: Information about Amazon ECS
45
- * service targets. </p>
46
- * </li>
47
- * <li>
48
- * <p>
49
- * <b>CloudFormation</b>: Information about targets of
50
- * blue/green deployments initiated by a CloudFormation stack update.</p>
51
- * </li>
52
- * </ul>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { CodeDeployClient, BatchGetDeploymentTargetsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
57
- * // const { CodeDeployClient, BatchGetDeploymentTargetsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
58
- * const client = new CodeDeployClient(config);
59
- * const command = new BatchGetDeploymentTargetsCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link BatchGetDeploymentTargetsCommandInput} for command's `input` shape.
64
- * @see {@link BatchGetDeploymentTargetsCommandOutput} for command's `response` shape.
65
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
- export class BatchGetDeploymentTargetsCommand extends $Command<
69
- BatchGetDeploymentTargetsCommandInput,
70
- BatchGetDeploymentTargetsCommandOutput,
71
- CodeDeployClientResolvedConfig
72
- > {
73
- // Start section: command_properties
74
- // End section: command_properties
75
-
76
- constructor(readonly input: BatchGetDeploymentTargetsCommandInput) {
77
- // Start section: command_constructor
78
- super();
79
- // End section: command_constructor
80
- }
81
-
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(
86
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
87
- configuration: CodeDeployClientResolvedConfig,
88
- options?: __HttpHandlerOptions
89
- ): Handler<BatchGetDeploymentTargetsCommandInput, BatchGetDeploymentTargetsCommandOutput> {
90
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
91
-
92
- const stack = clientStack.concat(this.middlewareStack);
93
-
94
- const { logger } = configuration;
95
- const clientName = "CodeDeployClient";
96
- const commandName = "BatchGetDeploymentTargetsCommand";
97
- const handlerExecutionContext: HandlerExecutionContext = {
98
- logger,
99
- clientName,
100
- commandName,
101
- inputFilterSensitiveLog: BatchGetDeploymentTargetsInput.filterSensitiveLog,
102
- outputFilterSensitiveLog: BatchGetDeploymentTargetsOutput.filterSensitiveLog,
103
- };
104
- const { requestHandler } = configuration;
105
- return stack.resolve(
106
- (request: FinalizeHandlerArguments<any>) =>
107
- requestHandler.handle(request.request as __HttpRequest, options || {}),
108
- handlerExecutionContext
109
- );
110
- }
111
-
112
- private serialize(input: BatchGetDeploymentTargetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
113
- return serializeAws_json1_1BatchGetDeploymentTargetsCommand(input, context);
114
- }
115
-
116
- private deserialize(
117
- output: __HttpResponse,
118
- context: __SerdeContext
119
- ): Promise<BatchGetDeploymentTargetsCommandOutput> {
120
- return deserializeAws_json1_1BatchGetDeploymentTargetsCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
15
- import { BatchGetDeploymentsInput, BatchGetDeploymentsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1BatchGetDeploymentsCommand,
18
- serializeAws_json1_1BatchGetDeploymentsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface BatchGetDeploymentsCommandInput extends BatchGetDeploymentsInput {}
22
- export interface BatchGetDeploymentsCommandOutput extends BatchGetDeploymentsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets information about one or more deployments. The maximum number of deployments that
26
- * can be returned is 25.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CodeDeployClient, BatchGetDeploymentsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
31
- * // const { CodeDeployClient, BatchGetDeploymentsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
32
- * const client = new CodeDeployClient(config);
33
- * const command = new BatchGetDeploymentsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link BatchGetDeploymentsCommandInput} for command's `input` shape.
38
- * @see {@link BatchGetDeploymentsCommandOutput} for command's `response` shape.
39
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class BatchGetDeploymentsCommand extends $Command<
43
- BatchGetDeploymentsCommandInput,
44
- BatchGetDeploymentsCommandOutput,
45
- CodeDeployClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: BatchGetDeploymentsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: CodeDeployClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<BatchGetDeploymentsCommandInput, BatchGetDeploymentsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "CodeDeployClient";
70
- const commandName = "BatchGetDeploymentsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: BatchGetDeploymentsInput.filterSensitiveLog,
76
- outputFilterSensitiveLog: BatchGetDeploymentsOutput.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: BatchGetDeploymentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1BatchGetDeploymentsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetDeploymentsCommandOutput> {
91
- return deserializeAws_json1_1BatchGetDeploymentsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }