@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
package/src/CodeDeploy.ts DELETED
@@ -1,1924 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import { CodeDeployClient } from "./CodeDeployClient";
4
- import {
5
- AddTagsToOnPremisesInstancesCommand,
6
- AddTagsToOnPremisesInstancesCommandInput,
7
- AddTagsToOnPremisesInstancesCommandOutput,
8
- } from "./commands/AddTagsToOnPremisesInstancesCommand";
9
- import {
10
- BatchGetApplicationRevisionsCommand,
11
- BatchGetApplicationRevisionsCommandInput,
12
- BatchGetApplicationRevisionsCommandOutput,
13
- } from "./commands/BatchGetApplicationRevisionsCommand";
14
- import {
15
- BatchGetApplicationsCommand,
16
- BatchGetApplicationsCommandInput,
17
- BatchGetApplicationsCommandOutput,
18
- } from "./commands/BatchGetApplicationsCommand";
19
- import {
20
- BatchGetDeploymentGroupsCommand,
21
- BatchGetDeploymentGroupsCommandInput,
22
- BatchGetDeploymentGroupsCommandOutput,
23
- } from "./commands/BatchGetDeploymentGroupsCommand";
24
- import {
25
- BatchGetDeploymentInstancesCommand,
26
- BatchGetDeploymentInstancesCommandInput,
27
- BatchGetDeploymentInstancesCommandOutput,
28
- } from "./commands/BatchGetDeploymentInstancesCommand";
29
- import {
30
- BatchGetDeploymentsCommand,
31
- BatchGetDeploymentsCommandInput,
32
- BatchGetDeploymentsCommandOutput,
33
- } from "./commands/BatchGetDeploymentsCommand";
34
- import {
35
- BatchGetDeploymentTargetsCommand,
36
- BatchGetDeploymentTargetsCommandInput,
37
- BatchGetDeploymentTargetsCommandOutput,
38
- } from "./commands/BatchGetDeploymentTargetsCommand";
39
- import {
40
- BatchGetOnPremisesInstancesCommand,
41
- BatchGetOnPremisesInstancesCommandInput,
42
- BatchGetOnPremisesInstancesCommandOutput,
43
- } from "./commands/BatchGetOnPremisesInstancesCommand";
44
- import {
45
- ContinueDeploymentCommand,
46
- ContinueDeploymentCommandInput,
47
- ContinueDeploymentCommandOutput,
48
- } from "./commands/ContinueDeploymentCommand";
49
- import {
50
- CreateApplicationCommand,
51
- CreateApplicationCommandInput,
52
- CreateApplicationCommandOutput,
53
- } from "./commands/CreateApplicationCommand";
54
- import {
55
- CreateDeploymentCommand,
56
- CreateDeploymentCommandInput,
57
- CreateDeploymentCommandOutput,
58
- } from "./commands/CreateDeploymentCommand";
59
- import {
60
- CreateDeploymentConfigCommand,
61
- CreateDeploymentConfigCommandInput,
62
- CreateDeploymentConfigCommandOutput,
63
- } from "./commands/CreateDeploymentConfigCommand";
64
- import {
65
- CreateDeploymentGroupCommand,
66
- CreateDeploymentGroupCommandInput,
67
- CreateDeploymentGroupCommandOutput,
68
- } from "./commands/CreateDeploymentGroupCommand";
69
- import {
70
- DeleteApplicationCommand,
71
- DeleteApplicationCommandInput,
72
- DeleteApplicationCommandOutput,
73
- } from "./commands/DeleteApplicationCommand";
74
- import {
75
- DeleteDeploymentConfigCommand,
76
- DeleteDeploymentConfigCommandInput,
77
- DeleteDeploymentConfigCommandOutput,
78
- } from "./commands/DeleteDeploymentConfigCommand";
79
- import {
80
- DeleteDeploymentGroupCommand,
81
- DeleteDeploymentGroupCommandInput,
82
- DeleteDeploymentGroupCommandOutput,
83
- } from "./commands/DeleteDeploymentGroupCommand";
84
- import {
85
- DeleteGitHubAccountTokenCommand,
86
- DeleteGitHubAccountTokenCommandInput,
87
- DeleteGitHubAccountTokenCommandOutput,
88
- } from "./commands/DeleteGitHubAccountTokenCommand";
89
- import {
90
- DeleteResourcesByExternalIdCommand,
91
- DeleteResourcesByExternalIdCommandInput,
92
- DeleteResourcesByExternalIdCommandOutput,
93
- } from "./commands/DeleteResourcesByExternalIdCommand";
94
- import {
95
- DeregisterOnPremisesInstanceCommand,
96
- DeregisterOnPremisesInstanceCommandInput,
97
- DeregisterOnPremisesInstanceCommandOutput,
98
- } from "./commands/DeregisterOnPremisesInstanceCommand";
99
- import {
100
- GetApplicationCommand,
101
- GetApplicationCommandInput,
102
- GetApplicationCommandOutput,
103
- } from "./commands/GetApplicationCommand";
104
- import {
105
- GetApplicationRevisionCommand,
106
- GetApplicationRevisionCommandInput,
107
- GetApplicationRevisionCommandOutput,
108
- } from "./commands/GetApplicationRevisionCommand";
109
- import {
110
- GetDeploymentCommand,
111
- GetDeploymentCommandInput,
112
- GetDeploymentCommandOutput,
113
- } from "./commands/GetDeploymentCommand";
114
- import {
115
- GetDeploymentConfigCommand,
116
- GetDeploymentConfigCommandInput,
117
- GetDeploymentConfigCommandOutput,
118
- } from "./commands/GetDeploymentConfigCommand";
119
- import {
120
- GetDeploymentGroupCommand,
121
- GetDeploymentGroupCommandInput,
122
- GetDeploymentGroupCommandOutput,
123
- } from "./commands/GetDeploymentGroupCommand";
124
- import {
125
- GetDeploymentInstanceCommand,
126
- GetDeploymentInstanceCommandInput,
127
- GetDeploymentInstanceCommandOutput,
128
- } from "./commands/GetDeploymentInstanceCommand";
129
- import {
130
- GetDeploymentTargetCommand,
131
- GetDeploymentTargetCommandInput,
132
- GetDeploymentTargetCommandOutput,
133
- } from "./commands/GetDeploymentTargetCommand";
134
- import {
135
- GetOnPremisesInstanceCommand,
136
- GetOnPremisesInstanceCommandInput,
137
- GetOnPremisesInstanceCommandOutput,
138
- } from "./commands/GetOnPremisesInstanceCommand";
139
- import {
140
- ListApplicationRevisionsCommand,
141
- ListApplicationRevisionsCommandInput,
142
- ListApplicationRevisionsCommandOutput,
143
- } from "./commands/ListApplicationRevisionsCommand";
144
- import {
145
- ListApplicationsCommand,
146
- ListApplicationsCommandInput,
147
- ListApplicationsCommandOutput,
148
- } from "./commands/ListApplicationsCommand";
149
- import {
150
- ListDeploymentConfigsCommand,
151
- ListDeploymentConfigsCommandInput,
152
- ListDeploymentConfigsCommandOutput,
153
- } from "./commands/ListDeploymentConfigsCommand";
154
- import {
155
- ListDeploymentGroupsCommand,
156
- ListDeploymentGroupsCommandInput,
157
- ListDeploymentGroupsCommandOutput,
158
- } from "./commands/ListDeploymentGroupsCommand";
159
- import {
160
- ListDeploymentInstancesCommand,
161
- ListDeploymentInstancesCommandInput,
162
- ListDeploymentInstancesCommandOutput,
163
- } from "./commands/ListDeploymentInstancesCommand";
164
- import {
165
- ListDeploymentsCommand,
166
- ListDeploymentsCommandInput,
167
- ListDeploymentsCommandOutput,
168
- } from "./commands/ListDeploymentsCommand";
169
- import {
170
- ListDeploymentTargetsCommand,
171
- ListDeploymentTargetsCommandInput,
172
- ListDeploymentTargetsCommandOutput,
173
- } from "./commands/ListDeploymentTargetsCommand";
174
- import {
175
- ListGitHubAccountTokenNamesCommand,
176
- ListGitHubAccountTokenNamesCommandInput,
177
- ListGitHubAccountTokenNamesCommandOutput,
178
- } from "./commands/ListGitHubAccountTokenNamesCommand";
179
- import {
180
- ListOnPremisesInstancesCommand,
181
- ListOnPremisesInstancesCommandInput,
182
- ListOnPremisesInstancesCommandOutput,
183
- } from "./commands/ListOnPremisesInstancesCommand";
184
- import {
185
- ListTagsForResourceCommand,
186
- ListTagsForResourceCommandInput,
187
- ListTagsForResourceCommandOutput,
188
- } from "./commands/ListTagsForResourceCommand";
189
- import {
190
- PutLifecycleEventHookExecutionStatusCommand,
191
- PutLifecycleEventHookExecutionStatusCommandInput,
192
- PutLifecycleEventHookExecutionStatusCommandOutput,
193
- } from "./commands/PutLifecycleEventHookExecutionStatusCommand";
194
- import {
195
- RegisterApplicationRevisionCommand,
196
- RegisterApplicationRevisionCommandInput,
197
- RegisterApplicationRevisionCommandOutput,
198
- } from "./commands/RegisterApplicationRevisionCommand";
199
- import {
200
- RegisterOnPremisesInstanceCommand,
201
- RegisterOnPremisesInstanceCommandInput,
202
- RegisterOnPremisesInstanceCommandOutput,
203
- } from "./commands/RegisterOnPremisesInstanceCommand";
204
- import {
205
- RemoveTagsFromOnPremisesInstancesCommand,
206
- RemoveTagsFromOnPremisesInstancesCommandInput,
207
- RemoveTagsFromOnPremisesInstancesCommandOutput,
208
- } from "./commands/RemoveTagsFromOnPremisesInstancesCommand";
209
- import {
210
- SkipWaitTimeForInstanceTerminationCommand,
211
- SkipWaitTimeForInstanceTerminationCommandInput,
212
- SkipWaitTimeForInstanceTerminationCommandOutput,
213
- } from "./commands/SkipWaitTimeForInstanceTerminationCommand";
214
- import {
215
- StopDeploymentCommand,
216
- StopDeploymentCommandInput,
217
- StopDeploymentCommandOutput,
218
- } from "./commands/StopDeploymentCommand";
219
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
220
- import {
221
- UntagResourceCommand,
222
- UntagResourceCommandInput,
223
- UntagResourceCommandOutput,
224
- } from "./commands/UntagResourceCommand";
225
- import {
226
- UpdateApplicationCommand,
227
- UpdateApplicationCommandInput,
228
- UpdateApplicationCommandOutput,
229
- } from "./commands/UpdateApplicationCommand";
230
- import {
231
- UpdateDeploymentGroupCommand,
232
- UpdateDeploymentGroupCommandInput,
233
- UpdateDeploymentGroupCommandOutput,
234
- } from "./commands/UpdateDeploymentGroupCommand";
235
-
236
- /**
237
- * <fullname>AWS CodeDeploy</fullname>
238
- * <p>AWS CodeDeploy is a deployment service that automates application deployments to
239
- * Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS
240
- * Lambda functions, or applications in an Amazon ECS service.</p>
241
- * <p>You can deploy a nearly unlimited variety of application content, such as an updated
242
- * Lambda function, updated applications in an Amazon ECS service, code, web and
243
- * configuration files, executables, packages, scripts, multimedia files, and so on. AWS
244
- * CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub
245
- * repositories, or Bitbucket repositories. You do not need to make changes to your
246
- * existing code before you can use AWS CodeDeploy.</p>
247
- * <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you
248
- * avoid downtime during application deployment, and handles the complexity of updating
249
- * your applications, without many of the risks associated with error-prone manual
250
- * deployments.</p>
251
- * <p>
252
- * <b>AWS CodeDeploy Components</b>
253
- * </p>
254
- * <p>Use the information in this guide to help you work with the following AWS CodeDeploy
255
- * components:</p>
256
- * <ul>
257
- * <li>
258
- * <p>
259
- * <b>Application</b>: A name that uniquely identifies
260
- * the application you want to deploy. AWS CodeDeploy uses this name, which
261
- * functions as a container, to ensure the correct combination of revision,
262
- * deployment configuration, and deployment group are referenced during a
263
- * deployment.</p>
264
- * </li>
265
- * <li>
266
- * <p>
267
- * <b>Deployment group</b>: A set of individual
268
- * instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS
269
- * service and network details. A Lambda deployment group specifies how to route
270
- * traffic to a new version of a Lambda function. An Amazon ECS deployment group
271
- * specifies the service created in Amazon ECS to deploy, a load balancer, and a
272
- * listener to reroute production traffic to an updated containerized application.
273
- * An EC2/On-premises deployment group contains individually tagged instances,
274
- * Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment
275
- * groups can specify optional trigger, alarm, and rollback settings.</p>
276
- * </li>
277
- * <li>
278
- * <p>
279
- * <b>Deployment configuration</b>: A set of deployment
280
- * rules and deployment success and failure conditions used by AWS CodeDeploy
281
- * during a deployment.</p>
282
- * </li>
283
- * <li>
284
- * <p>
285
- * <b>Deployment</b>: The process and the components used
286
- * when updating a Lambda function, a containerized application in an Amazon ECS
287
- * service, or of installing content on one or more instances. </p>
288
- * </li>
289
- * <li>
290
- * <p>
291
- * <b>Application revisions</b>: For an AWS Lambda
292
- * deployment, this is an AppSpec file that specifies the Lambda function to be
293
- * updated and one or more functions to validate deployment lifecycle events. For
294
- * an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS
295
- * task definition, container, and port where production traffic is rerouted. For
296
- * an EC2/On-premises deployment, this is an archive file that contains source
297
- * content—source code, webpages, executable files, and deployment scripts—along
298
- * with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub
299
- * repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3
300
- * object key and its ETag, version, or both. For GitHub, a revision is uniquely
301
- * identified by its commit ID.</p>
302
- * </li>
303
- * </ul>
304
- * <p>This guide also contains information to help you get details about the instances in
305
- * your deployments, to make on-premises instances available for AWS CodeDeploy
306
- * deployments, to get details about a Lambda function deployment, and to get details about
307
- * Amazon ECS service deployments.</p>
308
- * <p>
309
- * <b>AWS CodeDeploy Information Resources</b>
310
- * </p>
311
- * <ul>
312
- * <li>
313
- * <p>
314
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy
315
- * User Guide</a>
316
- * </p>
317
- * </li>
318
- * <li>
319
- * <p>
320
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">AWS
321
- * CodeDeploy API Reference Guide</a>
322
- * </p>
323
- * </li>
324
- * <li>
325
- * <p>
326
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">AWS
327
- * CLI Reference for AWS CodeDeploy</a>
328
- * </p>
329
- * </li>
330
- * <li>
331
- * <p>
332
- * <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">AWS CodeDeploy
333
- * Developer Forum</a>
334
- * </p>
335
- * </li>
336
- * </ul>
337
- */
338
- export class CodeDeploy extends CodeDeployClient {
339
- /**
340
- * <p>Adds tags to on-premises instances.</p>
341
- */
342
- public addTagsToOnPremisesInstances(
343
- args: AddTagsToOnPremisesInstancesCommandInput,
344
- options?: __HttpHandlerOptions
345
- ): Promise<AddTagsToOnPremisesInstancesCommandOutput>;
346
- public addTagsToOnPremisesInstances(
347
- args: AddTagsToOnPremisesInstancesCommandInput,
348
- cb: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void
349
- ): void;
350
- public addTagsToOnPremisesInstances(
351
- args: AddTagsToOnPremisesInstancesCommandInput,
352
- options: __HttpHandlerOptions,
353
- cb: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void
354
- ): void;
355
- public addTagsToOnPremisesInstances(
356
- args: AddTagsToOnPremisesInstancesCommandInput,
357
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void),
358
- cb?: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void
359
- ): Promise<AddTagsToOnPremisesInstancesCommandOutput> | void {
360
- const command = new AddTagsToOnPremisesInstancesCommand(args);
361
- if (typeof optionsOrCb === "function") {
362
- this.send(command, optionsOrCb);
363
- } else if (typeof cb === "function") {
364
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
365
- this.send(command, optionsOrCb || {}, cb);
366
- } else {
367
- return this.send(command, optionsOrCb);
368
- }
369
- }
370
-
371
- /**
372
- * <p>Gets information about one or more application revisions. The maximum number of
373
- * application revisions that can be returned is 25.</p>
374
- */
375
- public batchGetApplicationRevisions(
376
- args: BatchGetApplicationRevisionsCommandInput,
377
- options?: __HttpHandlerOptions
378
- ): Promise<BatchGetApplicationRevisionsCommandOutput>;
379
- public batchGetApplicationRevisions(
380
- args: BatchGetApplicationRevisionsCommandInput,
381
- cb: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void
382
- ): void;
383
- public batchGetApplicationRevisions(
384
- args: BatchGetApplicationRevisionsCommandInput,
385
- options: __HttpHandlerOptions,
386
- cb: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void
387
- ): void;
388
- public batchGetApplicationRevisions(
389
- args: BatchGetApplicationRevisionsCommandInput,
390
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void),
391
- cb?: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void
392
- ): Promise<BatchGetApplicationRevisionsCommandOutput> | void {
393
- const command = new BatchGetApplicationRevisionsCommand(args);
394
- if (typeof optionsOrCb === "function") {
395
- this.send(command, optionsOrCb);
396
- } else if (typeof cb === "function") {
397
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
398
- this.send(command, optionsOrCb || {}, cb);
399
- } else {
400
- return this.send(command, optionsOrCb);
401
- }
402
- }
403
-
404
- /**
405
- * <p>Gets information about one or more applications. The maximum number of applications
406
- * that can be returned is 100.</p>
407
- */
408
- public batchGetApplications(
409
- args: BatchGetApplicationsCommandInput,
410
- options?: __HttpHandlerOptions
411
- ): Promise<BatchGetApplicationsCommandOutput>;
412
- public batchGetApplications(
413
- args: BatchGetApplicationsCommandInput,
414
- cb: (err: any, data?: BatchGetApplicationsCommandOutput) => void
415
- ): void;
416
- public batchGetApplications(
417
- args: BatchGetApplicationsCommandInput,
418
- options: __HttpHandlerOptions,
419
- cb: (err: any, data?: BatchGetApplicationsCommandOutput) => void
420
- ): void;
421
- public batchGetApplications(
422
- args: BatchGetApplicationsCommandInput,
423
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetApplicationsCommandOutput) => void),
424
- cb?: (err: any, data?: BatchGetApplicationsCommandOutput) => void
425
- ): Promise<BatchGetApplicationsCommandOutput> | void {
426
- const command = new BatchGetApplicationsCommand(args);
427
- if (typeof optionsOrCb === "function") {
428
- this.send(command, optionsOrCb);
429
- } else if (typeof cb === "function") {
430
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
431
- this.send(command, optionsOrCb || {}, cb);
432
- } else {
433
- return this.send(command, optionsOrCb);
434
- }
435
- }
436
-
437
- /**
438
- * <p>Gets information about one or more deployment groups.</p>
439
- */
440
- public batchGetDeploymentGroups(
441
- args: BatchGetDeploymentGroupsCommandInput,
442
- options?: __HttpHandlerOptions
443
- ): Promise<BatchGetDeploymentGroupsCommandOutput>;
444
- public batchGetDeploymentGroups(
445
- args: BatchGetDeploymentGroupsCommandInput,
446
- cb: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void
447
- ): void;
448
- public batchGetDeploymentGroups(
449
- args: BatchGetDeploymentGroupsCommandInput,
450
- options: __HttpHandlerOptions,
451
- cb: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void
452
- ): void;
453
- public batchGetDeploymentGroups(
454
- args: BatchGetDeploymentGroupsCommandInput,
455
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void),
456
- cb?: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void
457
- ): Promise<BatchGetDeploymentGroupsCommandOutput> | void {
458
- const command = new BatchGetDeploymentGroupsCommand(args);
459
- if (typeof optionsOrCb === "function") {
460
- this.send(command, optionsOrCb);
461
- } else if (typeof cb === "function") {
462
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
463
- this.send(command, optionsOrCb || {}, cb);
464
- } else {
465
- return this.send(command, optionsOrCb);
466
- }
467
- }
468
-
469
- /**
470
- * @deprecated
471
- *
472
- * <note>
473
- * <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>
474
- * instead. </p>
475
- * </note>
476
- * <p> Returns an array of one or more instances associated with a deployment. This method
477
- * works with EC2/On-premises and AWS Lambda compute platforms. The newer
478
- * <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum
479
- * number of instances that can be returned is 25.</p>
480
- */
481
- public batchGetDeploymentInstances(
482
- args: BatchGetDeploymentInstancesCommandInput,
483
- options?: __HttpHandlerOptions
484
- ): Promise<BatchGetDeploymentInstancesCommandOutput>;
485
- public batchGetDeploymentInstances(
486
- args: BatchGetDeploymentInstancesCommandInput,
487
- cb: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void
488
- ): void;
489
- public batchGetDeploymentInstances(
490
- args: BatchGetDeploymentInstancesCommandInput,
491
- options: __HttpHandlerOptions,
492
- cb: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void
493
- ): void;
494
- public batchGetDeploymentInstances(
495
- args: BatchGetDeploymentInstancesCommandInput,
496
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void),
497
- cb?: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void
498
- ): Promise<BatchGetDeploymentInstancesCommandOutput> | void {
499
- const command = new BatchGetDeploymentInstancesCommand(args);
500
- if (typeof optionsOrCb === "function") {
501
- this.send(command, optionsOrCb);
502
- } else if (typeof cb === "function") {
503
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
504
- this.send(command, optionsOrCb || {}, cb);
505
- } else {
506
- return this.send(command, optionsOrCb);
507
- }
508
- }
509
-
510
- /**
511
- * <p>Gets information about one or more deployments. The maximum number of deployments that
512
- * can be returned is 25.</p>
513
- */
514
- public batchGetDeployments(
515
- args: BatchGetDeploymentsCommandInput,
516
- options?: __HttpHandlerOptions
517
- ): Promise<BatchGetDeploymentsCommandOutput>;
518
- public batchGetDeployments(
519
- args: BatchGetDeploymentsCommandInput,
520
- cb: (err: any, data?: BatchGetDeploymentsCommandOutput) => void
521
- ): void;
522
- public batchGetDeployments(
523
- args: BatchGetDeploymentsCommandInput,
524
- options: __HttpHandlerOptions,
525
- cb: (err: any, data?: BatchGetDeploymentsCommandOutput) => void
526
- ): void;
527
- public batchGetDeployments(
528
- args: BatchGetDeploymentsCommandInput,
529
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentsCommandOutput) => void),
530
- cb?: (err: any, data?: BatchGetDeploymentsCommandOutput) => void
531
- ): Promise<BatchGetDeploymentsCommandOutput> | void {
532
- const command = new BatchGetDeploymentsCommand(args);
533
- if (typeof optionsOrCb === "function") {
534
- this.send(command, optionsOrCb);
535
- } else if (typeof cb === "function") {
536
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
- this.send(command, optionsOrCb || {}, cb);
538
- } else {
539
- return this.send(command, optionsOrCb);
540
- }
541
- }
542
-
543
- /**
544
- * <p> Returns an array of one or more targets associated with a deployment. This method
545
- * works with all compute types and should be used instead of the deprecated
546
- * <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be
547
- * returned is 25.</p>
548
- * <p> The type of targets returned depends on the deployment's compute platform or
549
- * deployment method: </p>
550
- * <ul>
551
- * <li>
552
- * <p>
553
- * <b>EC2/On-premises</b>: Information about EC2 instance
554
- * targets. </p>
555
- * </li>
556
- * <li>
557
- * <p>
558
- * <b>AWS Lambda</b>: Information about Lambda functions
559
- * targets. </p>
560
- * </li>
561
- * <li>
562
- * <p>
563
- * <b>Amazon ECS</b>: Information about Amazon ECS
564
- * service targets. </p>
565
- * </li>
566
- * <li>
567
- * <p>
568
- * <b>CloudFormation</b>: Information about targets of
569
- * blue/green deployments initiated by a CloudFormation stack update.</p>
570
- * </li>
571
- * </ul>
572
- */
573
- public batchGetDeploymentTargets(
574
- args: BatchGetDeploymentTargetsCommandInput,
575
- options?: __HttpHandlerOptions
576
- ): Promise<BatchGetDeploymentTargetsCommandOutput>;
577
- public batchGetDeploymentTargets(
578
- args: BatchGetDeploymentTargetsCommandInput,
579
- cb: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void
580
- ): void;
581
- public batchGetDeploymentTargets(
582
- args: BatchGetDeploymentTargetsCommandInput,
583
- options: __HttpHandlerOptions,
584
- cb: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void
585
- ): void;
586
- public batchGetDeploymentTargets(
587
- args: BatchGetDeploymentTargetsCommandInput,
588
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void),
589
- cb?: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void
590
- ): Promise<BatchGetDeploymentTargetsCommandOutput> | void {
591
- const command = new BatchGetDeploymentTargetsCommand(args);
592
- if (typeof optionsOrCb === "function") {
593
- this.send(command, optionsOrCb);
594
- } else if (typeof cb === "function") {
595
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
596
- this.send(command, optionsOrCb || {}, cb);
597
- } else {
598
- return this.send(command, optionsOrCb);
599
- }
600
- }
601
-
602
- /**
603
- * <p>Gets information about one or more on-premises instances. The maximum number of
604
- * on-premises instances that can be returned is 25.</p>
605
- */
606
- public batchGetOnPremisesInstances(
607
- args: BatchGetOnPremisesInstancesCommandInput,
608
- options?: __HttpHandlerOptions
609
- ): Promise<BatchGetOnPremisesInstancesCommandOutput>;
610
- public batchGetOnPremisesInstances(
611
- args: BatchGetOnPremisesInstancesCommandInput,
612
- cb: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void
613
- ): void;
614
- public batchGetOnPremisesInstances(
615
- args: BatchGetOnPremisesInstancesCommandInput,
616
- options: __HttpHandlerOptions,
617
- cb: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void
618
- ): void;
619
- public batchGetOnPremisesInstances(
620
- args: BatchGetOnPremisesInstancesCommandInput,
621
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void),
622
- cb?: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void
623
- ): Promise<BatchGetOnPremisesInstancesCommandOutput> | void {
624
- const command = new BatchGetOnPremisesInstancesCommand(args);
625
- if (typeof optionsOrCb === "function") {
626
- this.send(command, optionsOrCb);
627
- } else if (typeof cb === "function") {
628
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
629
- this.send(command, optionsOrCb || {}, cb);
630
- } else {
631
- return this.send(command, optionsOrCb);
632
- }
633
- }
634
-
635
- /**
636
- * <p>For a blue/green deployment, starts the process of rerouting traffic from instances in
637
- * the original environment to instances in the replacement environment without waiting for
638
- * a specified wait time to elapse. (Traffic rerouting, which is achieved by registering
639
- * instances in the replacement environment with the load balancer, can start as soon as
640
- * all instances have a status of Ready.) </p>
641
- */
642
- public continueDeployment(
643
- args: ContinueDeploymentCommandInput,
644
- options?: __HttpHandlerOptions
645
- ): Promise<ContinueDeploymentCommandOutput>;
646
- public continueDeployment(
647
- args: ContinueDeploymentCommandInput,
648
- cb: (err: any, data?: ContinueDeploymentCommandOutput) => void
649
- ): void;
650
- public continueDeployment(
651
- args: ContinueDeploymentCommandInput,
652
- options: __HttpHandlerOptions,
653
- cb: (err: any, data?: ContinueDeploymentCommandOutput) => void
654
- ): void;
655
- public continueDeployment(
656
- args: ContinueDeploymentCommandInput,
657
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ContinueDeploymentCommandOutput) => void),
658
- cb?: (err: any, data?: ContinueDeploymentCommandOutput) => void
659
- ): Promise<ContinueDeploymentCommandOutput> | void {
660
- const command = new ContinueDeploymentCommand(args);
661
- if (typeof optionsOrCb === "function") {
662
- this.send(command, optionsOrCb);
663
- } else if (typeof cb === "function") {
664
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
665
- this.send(command, optionsOrCb || {}, cb);
666
- } else {
667
- return this.send(command, optionsOrCb);
668
- }
669
- }
670
-
671
- /**
672
- * <p>Creates an application.</p>
673
- */
674
- public createApplication(
675
- args: CreateApplicationCommandInput,
676
- options?: __HttpHandlerOptions
677
- ): Promise<CreateApplicationCommandOutput>;
678
- public createApplication(
679
- args: CreateApplicationCommandInput,
680
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
681
- ): void;
682
- public createApplication(
683
- args: CreateApplicationCommandInput,
684
- options: __HttpHandlerOptions,
685
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
686
- ): void;
687
- public createApplication(
688
- args: CreateApplicationCommandInput,
689
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
690
- cb?: (err: any, data?: CreateApplicationCommandOutput) => void
691
- ): Promise<CreateApplicationCommandOutput> | void {
692
- const command = new CreateApplicationCommand(args);
693
- if (typeof optionsOrCb === "function") {
694
- this.send(command, optionsOrCb);
695
- } else if (typeof cb === "function") {
696
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
697
- this.send(command, optionsOrCb || {}, cb);
698
- } else {
699
- return this.send(command, optionsOrCb);
700
- }
701
- }
702
-
703
- /**
704
- * <p>Deploys an application revision through the specified deployment group.</p>
705
- */
706
- public createDeployment(
707
- args: CreateDeploymentCommandInput,
708
- options?: __HttpHandlerOptions
709
- ): Promise<CreateDeploymentCommandOutput>;
710
- public createDeployment(
711
- args: CreateDeploymentCommandInput,
712
- cb: (err: any, data?: CreateDeploymentCommandOutput) => void
713
- ): void;
714
- public createDeployment(
715
- args: CreateDeploymentCommandInput,
716
- options: __HttpHandlerOptions,
717
- cb: (err: any, data?: CreateDeploymentCommandOutput) => void
718
- ): void;
719
- public createDeployment(
720
- args: CreateDeploymentCommandInput,
721
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentCommandOutput) => void),
722
- cb?: (err: any, data?: CreateDeploymentCommandOutput) => void
723
- ): Promise<CreateDeploymentCommandOutput> | void {
724
- const command = new CreateDeploymentCommand(args);
725
- if (typeof optionsOrCb === "function") {
726
- this.send(command, optionsOrCb);
727
- } else if (typeof cb === "function") {
728
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
729
- this.send(command, optionsOrCb || {}, cb);
730
- } else {
731
- return this.send(command, optionsOrCb);
732
- }
733
- }
734
-
735
- /**
736
- * <p> Creates a deployment configuration. </p>
737
- */
738
- public createDeploymentConfig(
739
- args: CreateDeploymentConfigCommandInput,
740
- options?: __HttpHandlerOptions
741
- ): Promise<CreateDeploymentConfigCommandOutput>;
742
- public createDeploymentConfig(
743
- args: CreateDeploymentConfigCommandInput,
744
- cb: (err: any, data?: CreateDeploymentConfigCommandOutput) => void
745
- ): void;
746
- public createDeploymentConfig(
747
- args: CreateDeploymentConfigCommandInput,
748
- options: __HttpHandlerOptions,
749
- cb: (err: any, data?: CreateDeploymentConfigCommandOutput) => void
750
- ): void;
751
- public createDeploymentConfig(
752
- args: CreateDeploymentConfigCommandInput,
753
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentConfigCommandOutput) => void),
754
- cb?: (err: any, data?: CreateDeploymentConfigCommandOutput) => void
755
- ): Promise<CreateDeploymentConfigCommandOutput> | void {
756
- const command = new CreateDeploymentConfigCommand(args);
757
- if (typeof optionsOrCb === "function") {
758
- this.send(command, optionsOrCb);
759
- } else if (typeof cb === "function") {
760
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
761
- this.send(command, optionsOrCb || {}, cb);
762
- } else {
763
- return this.send(command, optionsOrCb);
764
- }
765
- }
766
-
767
- /**
768
- * <p>Creates a deployment group to which application revisions are deployed.</p>
769
- */
770
- public createDeploymentGroup(
771
- args: CreateDeploymentGroupCommandInput,
772
- options?: __HttpHandlerOptions
773
- ): Promise<CreateDeploymentGroupCommandOutput>;
774
- public createDeploymentGroup(
775
- args: CreateDeploymentGroupCommandInput,
776
- cb: (err: any, data?: CreateDeploymentGroupCommandOutput) => void
777
- ): void;
778
- public createDeploymentGroup(
779
- args: CreateDeploymentGroupCommandInput,
780
- options: __HttpHandlerOptions,
781
- cb: (err: any, data?: CreateDeploymentGroupCommandOutput) => void
782
- ): void;
783
- public createDeploymentGroup(
784
- args: CreateDeploymentGroupCommandInput,
785
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentGroupCommandOutput) => void),
786
- cb?: (err: any, data?: CreateDeploymentGroupCommandOutput) => void
787
- ): Promise<CreateDeploymentGroupCommandOutput> | void {
788
- const command = new CreateDeploymentGroupCommand(args);
789
- if (typeof optionsOrCb === "function") {
790
- this.send(command, optionsOrCb);
791
- } else if (typeof cb === "function") {
792
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
793
- this.send(command, optionsOrCb || {}, cb);
794
- } else {
795
- return this.send(command, optionsOrCb);
796
- }
797
- }
798
-
799
- /**
800
- * <p>Deletes an application.</p>
801
- */
802
- public deleteApplication(
803
- args: DeleteApplicationCommandInput,
804
- options?: __HttpHandlerOptions
805
- ): Promise<DeleteApplicationCommandOutput>;
806
- public deleteApplication(
807
- args: DeleteApplicationCommandInput,
808
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
809
- ): void;
810
- public deleteApplication(
811
- args: DeleteApplicationCommandInput,
812
- options: __HttpHandlerOptions,
813
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
814
- ): void;
815
- public deleteApplication(
816
- args: DeleteApplicationCommandInput,
817
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
818
- cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
819
- ): Promise<DeleteApplicationCommandOutput> | void {
820
- const command = new DeleteApplicationCommand(args);
821
- if (typeof optionsOrCb === "function") {
822
- this.send(command, optionsOrCb);
823
- } else if (typeof cb === "function") {
824
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
825
- this.send(command, optionsOrCb || {}, cb);
826
- } else {
827
- return this.send(command, optionsOrCb);
828
- }
829
- }
830
-
831
- /**
832
- * <p>Deletes a deployment configuration.</p>
833
- * <note>
834
- * <p>A deployment configuration cannot be deleted if it is currently in use. Predefined
835
- * configurations cannot be deleted.</p>
836
- * </note>
837
- */
838
- public deleteDeploymentConfig(
839
- args: DeleteDeploymentConfigCommandInput,
840
- options?: __HttpHandlerOptions
841
- ): Promise<DeleteDeploymentConfigCommandOutput>;
842
- public deleteDeploymentConfig(
843
- args: DeleteDeploymentConfigCommandInput,
844
- cb: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void
845
- ): void;
846
- public deleteDeploymentConfig(
847
- args: DeleteDeploymentConfigCommandInput,
848
- options: __HttpHandlerOptions,
849
- cb: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void
850
- ): void;
851
- public deleteDeploymentConfig(
852
- args: DeleteDeploymentConfigCommandInput,
853
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDeploymentConfigCommandOutput) => void),
854
- cb?: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void
855
- ): Promise<DeleteDeploymentConfigCommandOutput> | void {
856
- const command = new DeleteDeploymentConfigCommand(args);
857
- if (typeof optionsOrCb === "function") {
858
- this.send(command, optionsOrCb);
859
- } else if (typeof cb === "function") {
860
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
861
- this.send(command, optionsOrCb || {}, cb);
862
- } else {
863
- return this.send(command, optionsOrCb);
864
- }
865
- }
866
-
867
- /**
868
- * <p>Deletes a deployment group.</p>
869
- */
870
- public deleteDeploymentGroup(
871
- args: DeleteDeploymentGroupCommandInput,
872
- options?: __HttpHandlerOptions
873
- ): Promise<DeleteDeploymentGroupCommandOutput>;
874
- public deleteDeploymentGroup(
875
- args: DeleteDeploymentGroupCommandInput,
876
- cb: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void
877
- ): void;
878
- public deleteDeploymentGroup(
879
- args: DeleteDeploymentGroupCommandInput,
880
- options: __HttpHandlerOptions,
881
- cb: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void
882
- ): void;
883
- public deleteDeploymentGroup(
884
- args: DeleteDeploymentGroupCommandInput,
885
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDeploymentGroupCommandOutput) => void),
886
- cb?: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void
887
- ): Promise<DeleteDeploymentGroupCommandOutput> | void {
888
- const command = new DeleteDeploymentGroupCommand(args);
889
- if (typeof optionsOrCb === "function") {
890
- this.send(command, optionsOrCb);
891
- } else if (typeof cb === "function") {
892
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
893
- this.send(command, optionsOrCb || {}, cb);
894
- } else {
895
- return this.send(command, optionsOrCb);
896
- }
897
- }
898
-
899
- /**
900
- * <p>Deletes a GitHub account connection.</p>
901
- */
902
- public deleteGitHubAccountToken(
903
- args: DeleteGitHubAccountTokenCommandInput,
904
- options?: __HttpHandlerOptions
905
- ): Promise<DeleteGitHubAccountTokenCommandOutput>;
906
- public deleteGitHubAccountToken(
907
- args: DeleteGitHubAccountTokenCommandInput,
908
- cb: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void
909
- ): void;
910
- public deleteGitHubAccountToken(
911
- args: DeleteGitHubAccountTokenCommandInput,
912
- options: __HttpHandlerOptions,
913
- cb: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void
914
- ): void;
915
- public deleteGitHubAccountToken(
916
- args: DeleteGitHubAccountTokenCommandInput,
917
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void),
918
- cb?: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void
919
- ): Promise<DeleteGitHubAccountTokenCommandOutput> | void {
920
- const command = new DeleteGitHubAccountTokenCommand(args);
921
- if (typeof optionsOrCb === "function") {
922
- this.send(command, optionsOrCb);
923
- } else if (typeof cb === "function") {
924
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
925
- this.send(command, optionsOrCb || {}, cb);
926
- } else {
927
- return this.send(command, optionsOrCb);
928
- }
929
- }
930
-
931
- /**
932
- * <p>Deletes resources linked to an external ID.</p>
933
- */
934
- public deleteResourcesByExternalId(
935
- args: DeleteResourcesByExternalIdCommandInput,
936
- options?: __HttpHandlerOptions
937
- ): Promise<DeleteResourcesByExternalIdCommandOutput>;
938
- public deleteResourcesByExternalId(
939
- args: DeleteResourcesByExternalIdCommandInput,
940
- cb: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void
941
- ): void;
942
- public deleteResourcesByExternalId(
943
- args: DeleteResourcesByExternalIdCommandInput,
944
- options: __HttpHandlerOptions,
945
- cb: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void
946
- ): void;
947
- public deleteResourcesByExternalId(
948
- args: DeleteResourcesByExternalIdCommandInput,
949
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void),
950
- cb?: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void
951
- ): Promise<DeleteResourcesByExternalIdCommandOutput> | void {
952
- const command = new DeleteResourcesByExternalIdCommand(args);
953
- if (typeof optionsOrCb === "function") {
954
- this.send(command, optionsOrCb);
955
- } else if (typeof cb === "function") {
956
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
957
- this.send(command, optionsOrCb || {}, cb);
958
- } else {
959
- return this.send(command, optionsOrCb);
960
- }
961
- }
962
-
963
- /**
964
- * <p>Deregisters an on-premises instance.</p>
965
- */
966
- public deregisterOnPremisesInstance(
967
- args: DeregisterOnPremisesInstanceCommandInput,
968
- options?: __HttpHandlerOptions
969
- ): Promise<DeregisterOnPremisesInstanceCommandOutput>;
970
- public deregisterOnPremisesInstance(
971
- args: DeregisterOnPremisesInstanceCommandInput,
972
- cb: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void
973
- ): void;
974
- public deregisterOnPremisesInstance(
975
- args: DeregisterOnPremisesInstanceCommandInput,
976
- options: __HttpHandlerOptions,
977
- cb: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void
978
- ): void;
979
- public deregisterOnPremisesInstance(
980
- args: DeregisterOnPremisesInstanceCommandInput,
981
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void),
982
- cb?: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void
983
- ): Promise<DeregisterOnPremisesInstanceCommandOutput> | void {
984
- const command = new DeregisterOnPremisesInstanceCommand(args);
985
- if (typeof optionsOrCb === "function") {
986
- this.send(command, optionsOrCb);
987
- } else if (typeof cb === "function") {
988
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
989
- this.send(command, optionsOrCb || {}, cb);
990
- } else {
991
- return this.send(command, optionsOrCb);
992
- }
993
- }
994
-
995
- /**
996
- * <p>Gets information about an application.</p>
997
- */
998
- public getApplication(
999
- args: GetApplicationCommandInput,
1000
- options?: __HttpHandlerOptions
1001
- ): Promise<GetApplicationCommandOutput>;
1002
- public getApplication(
1003
- args: GetApplicationCommandInput,
1004
- cb: (err: any, data?: GetApplicationCommandOutput) => void
1005
- ): void;
1006
- public getApplication(
1007
- args: GetApplicationCommandInput,
1008
- options: __HttpHandlerOptions,
1009
- cb: (err: any, data?: GetApplicationCommandOutput) => void
1010
- ): void;
1011
- public getApplication(
1012
- args: GetApplicationCommandInput,
1013
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationCommandOutput) => void),
1014
- cb?: (err: any, data?: GetApplicationCommandOutput) => void
1015
- ): Promise<GetApplicationCommandOutput> | void {
1016
- const command = new GetApplicationCommand(args);
1017
- if (typeof optionsOrCb === "function") {
1018
- this.send(command, optionsOrCb);
1019
- } else if (typeof cb === "function") {
1020
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1021
- this.send(command, optionsOrCb || {}, cb);
1022
- } else {
1023
- return this.send(command, optionsOrCb);
1024
- }
1025
- }
1026
-
1027
- /**
1028
- * <p>Gets information about an application revision.</p>
1029
- */
1030
- public getApplicationRevision(
1031
- args: GetApplicationRevisionCommandInput,
1032
- options?: __HttpHandlerOptions
1033
- ): Promise<GetApplicationRevisionCommandOutput>;
1034
- public getApplicationRevision(
1035
- args: GetApplicationRevisionCommandInput,
1036
- cb: (err: any, data?: GetApplicationRevisionCommandOutput) => void
1037
- ): void;
1038
- public getApplicationRevision(
1039
- args: GetApplicationRevisionCommandInput,
1040
- options: __HttpHandlerOptions,
1041
- cb: (err: any, data?: GetApplicationRevisionCommandOutput) => void
1042
- ): void;
1043
- public getApplicationRevision(
1044
- args: GetApplicationRevisionCommandInput,
1045
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationRevisionCommandOutput) => void),
1046
- cb?: (err: any, data?: GetApplicationRevisionCommandOutput) => void
1047
- ): Promise<GetApplicationRevisionCommandOutput> | void {
1048
- const command = new GetApplicationRevisionCommand(args);
1049
- if (typeof optionsOrCb === "function") {
1050
- this.send(command, optionsOrCb);
1051
- } else if (typeof cb === "function") {
1052
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1053
- this.send(command, optionsOrCb || {}, cb);
1054
- } else {
1055
- return this.send(command, optionsOrCb);
1056
- }
1057
- }
1058
-
1059
- /**
1060
- * <p>Gets information about a deployment.</p>
1061
- * <note>
1062
- * <p> The <code>content</code> property of the <code>appSpecContent</code> object in
1063
- * the returned revision is always null. Use <code>GetApplicationRevision</code> and
1064
- * the <code>sha256</code> property of the returned <code>appSpecContent</code> object
1065
- * to get the content of the deployment’s AppSpec file. </p>
1066
- * </note>
1067
- */
1068
- public getDeployment(
1069
- args: GetDeploymentCommandInput,
1070
- options?: __HttpHandlerOptions
1071
- ): Promise<GetDeploymentCommandOutput>;
1072
- public getDeployment(
1073
- args: GetDeploymentCommandInput,
1074
- cb: (err: any, data?: GetDeploymentCommandOutput) => void
1075
- ): void;
1076
- public getDeployment(
1077
- args: GetDeploymentCommandInput,
1078
- options: __HttpHandlerOptions,
1079
- cb: (err: any, data?: GetDeploymentCommandOutput) => void
1080
- ): void;
1081
- public getDeployment(
1082
- args: GetDeploymentCommandInput,
1083
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentCommandOutput) => void),
1084
- cb?: (err: any, data?: GetDeploymentCommandOutput) => void
1085
- ): Promise<GetDeploymentCommandOutput> | void {
1086
- const command = new GetDeploymentCommand(args);
1087
- if (typeof optionsOrCb === "function") {
1088
- this.send(command, optionsOrCb);
1089
- } else if (typeof cb === "function") {
1090
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1091
- this.send(command, optionsOrCb || {}, cb);
1092
- } else {
1093
- return this.send(command, optionsOrCb);
1094
- }
1095
- }
1096
-
1097
- /**
1098
- * <p>Gets information about a deployment configuration.</p>
1099
- */
1100
- public getDeploymentConfig(
1101
- args: GetDeploymentConfigCommandInput,
1102
- options?: __HttpHandlerOptions
1103
- ): Promise<GetDeploymentConfigCommandOutput>;
1104
- public getDeploymentConfig(
1105
- args: GetDeploymentConfigCommandInput,
1106
- cb: (err: any, data?: GetDeploymentConfigCommandOutput) => void
1107
- ): void;
1108
- public getDeploymentConfig(
1109
- args: GetDeploymentConfigCommandInput,
1110
- options: __HttpHandlerOptions,
1111
- cb: (err: any, data?: GetDeploymentConfigCommandOutput) => void
1112
- ): void;
1113
- public getDeploymentConfig(
1114
- args: GetDeploymentConfigCommandInput,
1115
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentConfigCommandOutput) => void),
1116
- cb?: (err: any, data?: GetDeploymentConfigCommandOutput) => void
1117
- ): Promise<GetDeploymentConfigCommandOutput> | void {
1118
- const command = new GetDeploymentConfigCommand(args);
1119
- if (typeof optionsOrCb === "function") {
1120
- this.send(command, optionsOrCb);
1121
- } else if (typeof cb === "function") {
1122
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1123
- this.send(command, optionsOrCb || {}, cb);
1124
- } else {
1125
- return this.send(command, optionsOrCb);
1126
- }
1127
- }
1128
-
1129
- /**
1130
- * <p>Gets information about a deployment group.</p>
1131
- */
1132
- public getDeploymentGroup(
1133
- args: GetDeploymentGroupCommandInput,
1134
- options?: __HttpHandlerOptions
1135
- ): Promise<GetDeploymentGroupCommandOutput>;
1136
- public getDeploymentGroup(
1137
- args: GetDeploymentGroupCommandInput,
1138
- cb: (err: any, data?: GetDeploymentGroupCommandOutput) => void
1139
- ): void;
1140
- public getDeploymentGroup(
1141
- args: GetDeploymentGroupCommandInput,
1142
- options: __HttpHandlerOptions,
1143
- cb: (err: any, data?: GetDeploymentGroupCommandOutput) => void
1144
- ): void;
1145
- public getDeploymentGroup(
1146
- args: GetDeploymentGroupCommandInput,
1147
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentGroupCommandOutput) => void),
1148
- cb?: (err: any, data?: GetDeploymentGroupCommandOutput) => void
1149
- ): Promise<GetDeploymentGroupCommandOutput> | void {
1150
- const command = new GetDeploymentGroupCommand(args);
1151
- if (typeof optionsOrCb === "function") {
1152
- this.send(command, optionsOrCb);
1153
- } else if (typeof cb === "function") {
1154
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1155
- this.send(command, optionsOrCb || {}, cb);
1156
- } else {
1157
- return this.send(command, optionsOrCb);
1158
- }
1159
- }
1160
-
1161
- /**
1162
- * @deprecated
1163
- *
1164
- * <p>Gets information about an instance as part of a deployment.</p>
1165
- */
1166
- public getDeploymentInstance(
1167
- args: GetDeploymentInstanceCommandInput,
1168
- options?: __HttpHandlerOptions
1169
- ): Promise<GetDeploymentInstanceCommandOutput>;
1170
- public getDeploymentInstance(
1171
- args: GetDeploymentInstanceCommandInput,
1172
- cb: (err: any, data?: GetDeploymentInstanceCommandOutput) => void
1173
- ): void;
1174
- public getDeploymentInstance(
1175
- args: GetDeploymentInstanceCommandInput,
1176
- options: __HttpHandlerOptions,
1177
- cb: (err: any, data?: GetDeploymentInstanceCommandOutput) => void
1178
- ): void;
1179
- public getDeploymentInstance(
1180
- args: GetDeploymentInstanceCommandInput,
1181
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentInstanceCommandOutput) => void),
1182
- cb?: (err: any, data?: GetDeploymentInstanceCommandOutput) => void
1183
- ): Promise<GetDeploymentInstanceCommandOutput> | void {
1184
- const command = new GetDeploymentInstanceCommand(args);
1185
- if (typeof optionsOrCb === "function") {
1186
- this.send(command, optionsOrCb);
1187
- } else if (typeof cb === "function") {
1188
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1189
- this.send(command, optionsOrCb || {}, cb);
1190
- } else {
1191
- return this.send(command, optionsOrCb);
1192
- }
1193
- }
1194
-
1195
- /**
1196
- * <p> Returns information about a deployment target. </p>
1197
- */
1198
- public getDeploymentTarget(
1199
- args: GetDeploymentTargetCommandInput,
1200
- options?: __HttpHandlerOptions
1201
- ): Promise<GetDeploymentTargetCommandOutput>;
1202
- public getDeploymentTarget(
1203
- args: GetDeploymentTargetCommandInput,
1204
- cb: (err: any, data?: GetDeploymentTargetCommandOutput) => void
1205
- ): void;
1206
- public getDeploymentTarget(
1207
- args: GetDeploymentTargetCommandInput,
1208
- options: __HttpHandlerOptions,
1209
- cb: (err: any, data?: GetDeploymentTargetCommandOutput) => void
1210
- ): void;
1211
- public getDeploymentTarget(
1212
- args: GetDeploymentTargetCommandInput,
1213
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentTargetCommandOutput) => void),
1214
- cb?: (err: any, data?: GetDeploymentTargetCommandOutput) => void
1215
- ): Promise<GetDeploymentTargetCommandOutput> | void {
1216
- const command = new GetDeploymentTargetCommand(args);
1217
- if (typeof optionsOrCb === "function") {
1218
- this.send(command, optionsOrCb);
1219
- } else if (typeof cb === "function") {
1220
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1221
- this.send(command, optionsOrCb || {}, cb);
1222
- } else {
1223
- return this.send(command, optionsOrCb);
1224
- }
1225
- }
1226
-
1227
- /**
1228
- * <p> Gets information about an on-premises instance. </p>
1229
- */
1230
- public getOnPremisesInstance(
1231
- args: GetOnPremisesInstanceCommandInput,
1232
- options?: __HttpHandlerOptions
1233
- ): Promise<GetOnPremisesInstanceCommandOutput>;
1234
- public getOnPremisesInstance(
1235
- args: GetOnPremisesInstanceCommandInput,
1236
- cb: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void
1237
- ): void;
1238
- public getOnPremisesInstance(
1239
- args: GetOnPremisesInstanceCommandInput,
1240
- options: __HttpHandlerOptions,
1241
- cb: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void
1242
- ): void;
1243
- public getOnPremisesInstance(
1244
- args: GetOnPremisesInstanceCommandInput,
1245
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetOnPremisesInstanceCommandOutput) => void),
1246
- cb?: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void
1247
- ): Promise<GetOnPremisesInstanceCommandOutput> | void {
1248
- const command = new GetOnPremisesInstanceCommand(args);
1249
- if (typeof optionsOrCb === "function") {
1250
- this.send(command, optionsOrCb);
1251
- } else if (typeof cb === "function") {
1252
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1253
- this.send(command, optionsOrCb || {}, cb);
1254
- } else {
1255
- return this.send(command, optionsOrCb);
1256
- }
1257
- }
1258
-
1259
- /**
1260
- * <p>Lists information about revisions for an application.</p>
1261
- */
1262
- public listApplicationRevisions(
1263
- args: ListApplicationRevisionsCommandInput,
1264
- options?: __HttpHandlerOptions
1265
- ): Promise<ListApplicationRevisionsCommandOutput>;
1266
- public listApplicationRevisions(
1267
- args: ListApplicationRevisionsCommandInput,
1268
- cb: (err: any, data?: ListApplicationRevisionsCommandOutput) => void
1269
- ): void;
1270
- public listApplicationRevisions(
1271
- args: ListApplicationRevisionsCommandInput,
1272
- options: __HttpHandlerOptions,
1273
- cb: (err: any, data?: ListApplicationRevisionsCommandOutput) => void
1274
- ): void;
1275
- public listApplicationRevisions(
1276
- args: ListApplicationRevisionsCommandInput,
1277
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationRevisionsCommandOutput) => void),
1278
- cb?: (err: any, data?: ListApplicationRevisionsCommandOutput) => void
1279
- ): Promise<ListApplicationRevisionsCommandOutput> | void {
1280
- const command = new ListApplicationRevisionsCommand(args);
1281
- if (typeof optionsOrCb === "function") {
1282
- this.send(command, optionsOrCb);
1283
- } else if (typeof cb === "function") {
1284
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1285
- this.send(command, optionsOrCb || {}, cb);
1286
- } else {
1287
- return this.send(command, optionsOrCb);
1288
- }
1289
- }
1290
-
1291
- /**
1292
- * <p>Lists the applications registered with the IAM user or AWS account.</p>
1293
- */
1294
- public listApplications(
1295
- args: ListApplicationsCommandInput,
1296
- options?: __HttpHandlerOptions
1297
- ): Promise<ListApplicationsCommandOutput>;
1298
- public listApplications(
1299
- args: ListApplicationsCommandInput,
1300
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
1301
- ): void;
1302
- public listApplications(
1303
- args: ListApplicationsCommandInput,
1304
- options: __HttpHandlerOptions,
1305
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
1306
- ): void;
1307
- public listApplications(
1308
- args: ListApplicationsCommandInput,
1309
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
1310
- cb?: (err: any, data?: ListApplicationsCommandOutput) => void
1311
- ): Promise<ListApplicationsCommandOutput> | void {
1312
- const command = new ListApplicationsCommand(args);
1313
- if (typeof optionsOrCb === "function") {
1314
- this.send(command, optionsOrCb);
1315
- } else if (typeof cb === "function") {
1316
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1317
- this.send(command, optionsOrCb || {}, cb);
1318
- } else {
1319
- return this.send(command, optionsOrCb);
1320
- }
1321
- }
1322
-
1323
- /**
1324
- * <p>Lists the deployment configurations with the IAM user or AWS account.</p>
1325
- */
1326
- public listDeploymentConfigs(
1327
- args: ListDeploymentConfigsCommandInput,
1328
- options?: __HttpHandlerOptions
1329
- ): Promise<ListDeploymentConfigsCommandOutput>;
1330
- public listDeploymentConfigs(
1331
- args: ListDeploymentConfigsCommandInput,
1332
- cb: (err: any, data?: ListDeploymentConfigsCommandOutput) => void
1333
- ): void;
1334
- public listDeploymentConfigs(
1335
- args: ListDeploymentConfigsCommandInput,
1336
- options: __HttpHandlerOptions,
1337
- cb: (err: any, data?: ListDeploymentConfigsCommandOutput) => void
1338
- ): void;
1339
- public listDeploymentConfigs(
1340
- args: ListDeploymentConfigsCommandInput,
1341
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentConfigsCommandOutput) => void),
1342
- cb?: (err: any, data?: ListDeploymentConfigsCommandOutput) => void
1343
- ): Promise<ListDeploymentConfigsCommandOutput> | void {
1344
- const command = new ListDeploymentConfigsCommand(args);
1345
- if (typeof optionsOrCb === "function") {
1346
- this.send(command, optionsOrCb);
1347
- } else if (typeof cb === "function") {
1348
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1349
- this.send(command, optionsOrCb || {}, cb);
1350
- } else {
1351
- return this.send(command, optionsOrCb);
1352
- }
1353
- }
1354
-
1355
- /**
1356
- * <p>Lists the deployment groups for an application registered with the IAM user or AWS
1357
- * account.</p>
1358
- */
1359
- public listDeploymentGroups(
1360
- args: ListDeploymentGroupsCommandInput,
1361
- options?: __HttpHandlerOptions
1362
- ): Promise<ListDeploymentGroupsCommandOutput>;
1363
- public listDeploymentGroups(
1364
- args: ListDeploymentGroupsCommandInput,
1365
- cb: (err: any, data?: ListDeploymentGroupsCommandOutput) => void
1366
- ): void;
1367
- public listDeploymentGroups(
1368
- args: ListDeploymentGroupsCommandInput,
1369
- options: __HttpHandlerOptions,
1370
- cb: (err: any, data?: ListDeploymentGroupsCommandOutput) => void
1371
- ): void;
1372
- public listDeploymentGroups(
1373
- args: ListDeploymentGroupsCommandInput,
1374
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentGroupsCommandOutput) => void),
1375
- cb?: (err: any, data?: ListDeploymentGroupsCommandOutput) => void
1376
- ): Promise<ListDeploymentGroupsCommandOutput> | void {
1377
- const command = new ListDeploymentGroupsCommand(args);
1378
- if (typeof optionsOrCb === "function") {
1379
- this.send(command, optionsOrCb);
1380
- } else if (typeof cb === "function") {
1381
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1382
- this.send(command, optionsOrCb || {}, cb);
1383
- } else {
1384
- return this.send(command, optionsOrCb);
1385
- }
1386
- }
1387
-
1388
- /**
1389
- * @deprecated
1390
- *
1391
- * <note>
1392
- * <p> The newer <code>BatchGetDeploymentTargets</code> should be used instead because
1393
- * it works with all compute types. <code>ListDeploymentInstances</code> throws an
1394
- * exception if it is used with a compute platform other than EC2/On-premises or AWS
1395
- * Lambda. </p>
1396
- * </note>
1397
- * <p> Lists the instance for a deployment associated with the IAM user or AWS account. </p>
1398
- */
1399
- public listDeploymentInstances(
1400
- args: ListDeploymentInstancesCommandInput,
1401
- options?: __HttpHandlerOptions
1402
- ): Promise<ListDeploymentInstancesCommandOutput>;
1403
- public listDeploymentInstances(
1404
- args: ListDeploymentInstancesCommandInput,
1405
- cb: (err: any, data?: ListDeploymentInstancesCommandOutput) => void
1406
- ): void;
1407
- public listDeploymentInstances(
1408
- args: ListDeploymentInstancesCommandInput,
1409
- options: __HttpHandlerOptions,
1410
- cb: (err: any, data?: ListDeploymentInstancesCommandOutput) => void
1411
- ): void;
1412
- public listDeploymentInstances(
1413
- args: ListDeploymentInstancesCommandInput,
1414
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentInstancesCommandOutput) => void),
1415
- cb?: (err: any, data?: ListDeploymentInstancesCommandOutput) => void
1416
- ): Promise<ListDeploymentInstancesCommandOutput> | void {
1417
- const command = new ListDeploymentInstancesCommand(args);
1418
- if (typeof optionsOrCb === "function") {
1419
- this.send(command, optionsOrCb);
1420
- } else if (typeof cb === "function") {
1421
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1422
- this.send(command, optionsOrCb || {}, cb);
1423
- } else {
1424
- return this.send(command, optionsOrCb);
1425
- }
1426
- }
1427
-
1428
- /**
1429
- * <p>Lists the deployments in a deployment group for an application registered with the IAM
1430
- * user or AWS account.</p>
1431
- */
1432
- public listDeployments(
1433
- args: ListDeploymentsCommandInput,
1434
- options?: __HttpHandlerOptions
1435
- ): Promise<ListDeploymentsCommandOutput>;
1436
- public listDeployments(
1437
- args: ListDeploymentsCommandInput,
1438
- cb: (err: any, data?: ListDeploymentsCommandOutput) => void
1439
- ): void;
1440
- public listDeployments(
1441
- args: ListDeploymentsCommandInput,
1442
- options: __HttpHandlerOptions,
1443
- cb: (err: any, data?: ListDeploymentsCommandOutput) => void
1444
- ): void;
1445
- public listDeployments(
1446
- args: ListDeploymentsCommandInput,
1447
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentsCommandOutput) => void),
1448
- cb?: (err: any, data?: ListDeploymentsCommandOutput) => void
1449
- ): Promise<ListDeploymentsCommandOutput> | void {
1450
- const command = new ListDeploymentsCommand(args);
1451
- if (typeof optionsOrCb === "function") {
1452
- this.send(command, optionsOrCb);
1453
- } else if (typeof cb === "function") {
1454
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1455
- this.send(command, optionsOrCb || {}, cb);
1456
- } else {
1457
- return this.send(command, optionsOrCb);
1458
- }
1459
- }
1460
-
1461
- /**
1462
- * <p> Returns an array of target IDs that are associated a deployment. </p>
1463
- */
1464
- public listDeploymentTargets(
1465
- args: ListDeploymentTargetsCommandInput,
1466
- options?: __HttpHandlerOptions
1467
- ): Promise<ListDeploymentTargetsCommandOutput>;
1468
- public listDeploymentTargets(
1469
- args: ListDeploymentTargetsCommandInput,
1470
- cb: (err: any, data?: ListDeploymentTargetsCommandOutput) => void
1471
- ): void;
1472
- public listDeploymentTargets(
1473
- args: ListDeploymentTargetsCommandInput,
1474
- options: __HttpHandlerOptions,
1475
- cb: (err: any, data?: ListDeploymentTargetsCommandOutput) => void
1476
- ): void;
1477
- public listDeploymentTargets(
1478
- args: ListDeploymentTargetsCommandInput,
1479
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentTargetsCommandOutput) => void),
1480
- cb?: (err: any, data?: ListDeploymentTargetsCommandOutput) => void
1481
- ): Promise<ListDeploymentTargetsCommandOutput> | void {
1482
- const command = new ListDeploymentTargetsCommand(args);
1483
- if (typeof optionsOrCb === "function") {
1484
- this.send(command, optionsOrCb);
1485
- } else if (typeof cb === "function") {
1486
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1487
- this.send(command, optionsOrCb || {}, cb);
1488
- } else {
1489
- return this.send(command, optionsOrCb);
1490
- }
1491
- }
1492
-
1493
- /**
1494
- * <p>Lists the names of stored connections to GitHub accounts.</p>
1495
- */
1496
- public listGitHubAccountTokenNames(
1497
- args: ListGitHubAccountTokenNamesCommandInput,
1498
- options?: __HttpHandlerOptions
1499
- ): Promise<ListGitHubAccountTokenNamesCommandOutput>;
1500
- public listGitHubAccountTokenNames(
1501
- args: ListGitHubAccountTokenNamesCommandInput,
1502
- cb: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void
1503
- ): void;
1504
- public listGitHubAccountTokenNames(
1505
- args: ListGitHubAccountTokenNamesCommandInput,
1506
- options: __HttpHandlerOptions,
1507
- cb: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void
1508
- ): void;
1509
- public listGitHubAccountTokenNames(
1510
- args: ListGitHubAccountTokenNamesCommandInput,
1511
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void),
1512
- cb?: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void
1513
- ): Promise<ListGitHubAccountTokenNamesCommandOutput> | void {
1514
- const command = new ListGitHubAccountTokenNamesCommand(args);
1515
- if (typeof optionsOrCb === "function") {
1516
- this.send(command, optionsOrCb);
1517
- } else if (typeof cb === "function") {
1518
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1519
- this.send(command, optionsOrCb || {}, cb);
1520
- } else {
1521
- return this.send(command, optionsOrCb);
1522
- }
1523
- }
1524
-
1525
- /**
1526
- * <p>Gets a list of names for one or more on-premises instances.</p>
1527
- * <p>Unless otherwise specified, both registered and deregistered on-premises instance
1528
- * names are listed. To list only registered or deregistered on-premises instance names,
1529
- * use the registration status parameter.</p>
1530
- */
1531
- public listOnPremisesInstances(
1532
- args: ListOnPremisesInstancesCommandInput,
1533
- options?: __HttpHandlerOptions
1534
- ): Promise<ListOnPremisesInstancesCommandOutput>;
1535
- public listOnPremisesInstances(
1536
- args: ListOnPremisesInstancesCommandInput,
1537
- cb: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void
1538
- ): void;
1539
- public listOnPremisesInstances(
1540
- args: ListOnPremisesInstancesCommandInput,
1541
- options: __HttpHandlerOptions,
1542
- cb: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void
1543
- ): void;
1544
- public listOnPremisesInstances(
1545
- args: ListOnPremisesInstancesCommandInput,
1546
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOnPremisesInstancesCommandOutput) => void),
1547
- cb?: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void
1548
- ): Promise<ListOnPremisesInstancesCommandOutput> | void {
1549
- const command = new ListOnPremisesInstancesCommand(args);
1550
- if (typeof optionsOrCb === "function") {
1551
- this.send(command, optionsOrCb);
1552
- } else if (typeof cb === "function") {
1553
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1554
- this.send(command, optionsOrCb || {}, cb);
1555
- } else {
1556
- return this.send(command, optionsOrCb);
1557
- }
1558
- }
1559
-
1560
- /**
1561
- * <p> Returns a list of tags for the resource identified by a specified Amazon Resource
1562
- * Name (ARN). Tags are used to organize and categorize your CodeDeploy resources. </p>
1563
- */
1564
- public listTagsForResource(
1565
- args: ListTagsForResourceCommandInput,
1566
- options?: __HttpHandlerOptions
1567
- ): Promise<ListTagsForResourceCommandOutput>;
1568
- public listTagsForResource(
1569
- args: ListTagsForResourceCommandInput,
1570
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1571
- ): void;
1572
- public listTagsForResource(
1573
- args: ListTagsForResourceCommandInput,
1574
- options: __HttpHandlerOptions,
1575
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1576
- ): void;
1577
- public listTagsForResource(
1578
- args: ListTagsForResourceCommandInput,
1579
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1580
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1581
- ): Promise<ListTagsForResourceCommandOutput> | void {
1582
- const command = new ListTagsForResourceCommand(args);
1583
- if (typeof optionsOrCb === "function") {
1584
- this.send(command, optionsOrCb);
1585
- } else if (typeof cb === "function") {
1586
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1587
- this.send(command, optionsOrCb || {}, cb);
1588
- } else {
1589
- return this.send(command, optionsOrCb);
1590
- }
1591
- }
1592
-
1593
- /**
1594
- * <p> Sets the result of a Lambda validation function. The function validates lifecycle
1595
- * hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For
1596
- * AWS Lambda deployments, the available lifecycle hooks are
1597
- * <code>BeforeAllowTraffic</code> and <code>AfterAllowTraffic</code>. For Amazon ECS
1598
- * deployments, the available lifecycle hooks are <code>BeforeInstall</code>,
1599
- * <code>AfterInstall</code>, <code>AfterAllowTestTraffic</code>,
1600
- * <code>BeforeAllowTraffic</code>, and <code>AfterAllowTraffic</code>. Lambda
1601
- * validation functions return <code>Succeeded</code> or <code>Failed</code>. For more
1602
- * information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda">AppSpec 'hooks' Section for an AWS Lambda Deployment </a> and <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs">AppSpec 'hooks' Section for an Amazon ECS Deployment</a>.</p>
1603
- */
1604
- public putLifecycleEventHookExecutionStatus(
1605
- args: PutLifecycleEventHookExecutionStatusCommandInput,
1606
- options?: __HttpHandlerOptions
1607
- ): Promise<PutLifecycleEventHookExecutionStatusCommandOutput>;
1608
- public putLifecycleEventHookExecutionStatus(
1609
- args: PutLifecycleEventHookExecutionStatusCommandInput,
1610
- cb: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void
1611
- ): void;
1612
- public putLifecycleEventHookExecutionStatus(
1613
- args: PutLifecycleEventHookExecutionStatusCommandInput,
1614
- options: __HttpHandlerOptions,
1615
- cb: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void
1616
- ): void;
1617
- public putLifecycleEventHookExecutionStatus(
1618
- args: PutLifecycleEventHookExecutionStatusCommandInput,
1619
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void),
1620
- cb?: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void
1621
- ): Promise<PutLifecycleEventHookExecutionStatusCommandOutput> | void {
1622
- const command = new PutLifecycleEventHookExecutionStatusCommand(args);
1623
- if (typeof optionsOrCb === "function") {
1624
- this.send(command, optionsOrCb);
1625
- } else if (typeof cb === "function") {
1626
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1627
- this.send(command, optionsOrCb || {}, cb);
1628
- } else {
1629
- return this.send(command, optionsOrCb);
1630
- }
1631
- }
1632
-
1633
- /**
1634
- * <p>Registers with AWS CodeDeploy a revision for the specified application.</p>
1635
- */
1636
- public registerApplicationRevision(
1637
- args: RegisterApplicationRevisionCommandInput,
1638
- options?: __HttpHandlerOptions
1639
- ): Promise<RegisterApplicationRevisionCommandOutput>;
1640
- public registerApplicationRevision(
1641
- args: RegisterApplicationRevisionCommandInput,
1642
- cb: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void
1643
- ): void;
1644
- public registerApplicationRevision(
1645
- args: RegisterApplicationRevisionCommandInput,
1646
- options: __HttpHandlerOptions,
1647
- cb: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void
1648
- ): void;
1649
- public registerApplicationRevision(
1650
- args: RegisterApplicationRevisionCommandInput,
1651
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterApplicationRevisionCommandOutput) => void),
1652
- cb?: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void
1653
- ): Promise<RegisterApplicationRevisionCommandOutput> | void {
1654
- const command = new RegisterApplicationRevisionCommand(args);
1655
- if (typeof optionsOrCb === "function") {
1656
- this.send(command, optionsOrCb);
1657
- } else if (typeof cb === "function") {
1658
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1659
- this.send(command, optionsOrCb || {}, cb);
1660
- } else {
1661
- return this.send(command, optionsOrCb);
1662
- }
1663
- }
1664
-
1665
- /**
1666
- * <p>Registers an on-premises instance.</p>
1667
- * <note>
1668
- * <p>Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request.
1669
- * You cannot use both.</p>
1670
- * </note>
1671
- */
1672
- public registerOnPremisesInstance(
1673
- args: RegisterOnPremisesInstanceCommandInput,
1674
- options?: __HttpHandlerOptions
1675
- ): Promise<RegisterOnPremisesInstanceCommandOutput>;
1676
- public registerOnPremisesInstance(
1677
- args: RegisterOnPremisesInstanceCommandInput,
1678
- cb: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void
1679
- ): void;
1680
- public registerOnPremisesInstance(
1681
- args: RegisterOnPremisesInstanceCommandInput,
1682
- options: __HttpHandlerOptions,
1683
- cb: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void
1684
- ): void;
1685
- public registerOnPremisesInstance(
1686
- args: RegisterOnPremisesInstanceCommandInput,
1687
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void),
1688
- cb?: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void
1689
- ): Promise<RegisterOnPremisesInstanceCommandOutput> | void {
1690
- const command = new RegisterOnPremisesInstanceCommand(args);
1691
- if (typeof optionsOrCb === "function") {
1692
- this.send(command, optionsOrCb);
1693
- } else if (typeof cb === "function") {
1694
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1695
- this.send(command, optionsOrCb || {}, cb);
1696
- } else {
1697
- return this.send(command, optionsOrCb);
1698
- }
1699
- }
1700
-
1701
- /**
1702
- * <p>Removes one or more tags from one or more on-premises instances.</p>
1703
- */
1704
- public removeTagsFromOnPremisesInstances(
1705
- args: RemoveTagsFromOnPremisesInstancesCommandInput,
1706
- options?: __HttpHandlerOptions
1707
- ): Promise<RemoveTagsFromOnPremisesInstancesCommandOutput>;
1708
- public removeTagsFromOnPremisesInstances(
1709
- args: RemoveTagsFromOnPremisesInstancesCommandInput,
1710
- cb: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void
1711
- ): void;
1712
- public removeTagsFromOnPremisesInstances(
1713
- args: RemoveTagsFromOnPremisesInstancesCommandInput,
1714
- options: __HttpHandlerOptions,
1715
- cb: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void
1716
- ): void;
1717
- public removeTagsFromOnPremisesInstances(
1718
- args: RemoveTagsFromOnPremisesInstancesCommandInput,
1719
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void),
1720
- cb?: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void
1721
- ): Promise<RemoveTagsFromOnPremisesInstancesCommandOutput> | void {
1722
- const command = new RemoveTagsFromOnPremisesInstancesCommand(args);
1723
- if (typeof optionsOrCb === "function") {
1724
- this.send(command, optionsOrCb);
1725
- } else if (typeof cb === "function") {
1726
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1727
- this.send(command, optionsOrCb || {}, cb);
1728
- } else {
1729
- return this.send(command, optionsOrCb);
1730
- }
1731
- }
1732
-
1733
- /**
1734
- * @deprecated
1735
- *
1736
- * <p>In a blue/green deployment, overrides any specified wait time and starts terminating
1737
- * instances immediately after the traffic routing is complete.</p>
1738
- */
1739
- public skipWaitTimeForInstanceTermination(
1740
- args: SkipWaitTimeForInstanceTerminationCommandInput,
1741
- options?: __HttpHandlerOptions
1742
- ): Promise<SkipWaitTimeForInstanceTerminationCommandOutput>;
1743
- public skipWaitTimeForInstanceTermination(
1744
- args: SkipWaitTimeForInstanceTerminationCommandInput,
1745
- cb: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void
1746
- ): void;
1747
- public skipWaitTimeForInstanceTermination(
1748
- args: SkipWaitTimeForInstanceTerminationCommandInput,
1749
- options: __HttpHandlerOptions,
1750
- cb: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void
1751
- ): void;
1752
- public skipWaitTimeForInstanceTermination(
1753
- args: SkipWaitTimeForInstanceTerminationCommandInput,
1754
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void),
1755
- cb?: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void
1756
- ): Promise<SkipWaitTimeForInstanceTerminationCommandOutput> | void {
1757
- const command = new SkipWaitTimeForInstanceTerminationCommand(args);
1758
- if (typeof optionsOrCb === "function") {
1759
- this.send(command, optionsOrCb);
1760
- } else if (typeof cb === "function") {
1761
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1762
- this.send(command, optionsOrCb || {}, cb);
1763
- } else {
1764
- return this.send(command, optionsOrCb);
1765
- }
1766
- }
1767
-
1768
- /**
1769
- * <p>Attempts to stop an ongoing deployment.</p>
1770
- */
1771
- public stopDeployment(
1772
- args: StopDeploymentCommandInput,
1773
- options?: __HttpHandlerOptions
1774
- ): Promise<StopDeploymentCommandOutput>;
1775
- public stopDeployment(
1776
- args: StopDeploymentCommandInput,
1777
- cb: (err: any, data?: StopDeploymentCommandOutput) => void
1778
- ): void;
1779
- public stopDeployment(
1780
- args: StopDeploymentCommandInput,
1781
- options: __HttpHandlerOptions,
1782
- cb: (err: any, data?: StopDeploymentCommandOutput) => void
1783
- ): void;
1784
- public stopDeployment(
1785
- args: StopDeploymentCommandInput,
1786
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopDeploymentCommandOutput) => void),
1787
- cb?: (err: any, data?: StopDeploymentCommandOutput) => void
1788
- ): Promise<StopDeploymentCommandOutput> | void {
1789
- const command = new StopDeploymentCommand(args);
1790
- if (typeof optionsOrCb === "function") {
1791
- this.send(command, optionsOrCb);
1792
- } else if (typeof cb === "function") {
1793
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1794
- this.send(command, optionsOrCb || {}, cb);
1795
- } else {
1796
- return this.send(command, optionsOrCb);
1797
- }
1798
- }
1799
-
1800
- /**
1801
- * <p> Associates the list of tags in the input <code>Tags</code> parameter with the
1802
- * resource identified by the <code>ResourceArn</code> input parameter. </p>
1803
- */
1804
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1805
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1806
- public tagResource(
1807
- args: TagResourceCommandInput,
1808
- options: __HttpHandlerOptions,
1809
- cb: (err: any, data?: TagResourceCommandOutput) => void
1810
- ): void;
1811
- public tagResource(
1812
- args: TagResourceCommandInput,
1813
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1814
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1815
- ): Promise<TagResourceCommandOutput> | void {
1816
- const command = new TagResourceCommand(args);
1817
- if (typeof optionsOrCb === "function") {
1818
- this.send(command, optionsOrCb);
1819
- } else if (typeof cb === "function") {
1820
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1821
- this.send(command, optionsOrCb || {}, cb);
1822
- } else {
1823
- return this.send(command, optionsOrCb);
1824
- }
1825
- }
1826
-
1827
- /**
1828
- * <p> Disassociates a resource from a list of tags. The resource is identified by the
1829
- * <code>ResourceArn</code> input parameter. The tags are identified by the list of
1830
- * keys in the <code>TagKeys</code> input parameter. </p>
1831
- */
1832
- public untagResource(
1833
- args: UntagResourceCommandInput,
1834
- options?: __HttpHandlerOptions
1835
- ): Promise<UntagResourceCommandOutput>;
1836
- public untagResource(
1837
- args: UntagResourceCommandInput,
1838
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1839
- ): void;
1840
- public untagResource(
1841
- args: UntagResourceCommandInput,
1842
- options: __HttpHandlerOptions,
1843
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1844
- ): void;
1845
- public untagResource(
1846
- args: UntagResourceCommandInput,
1847
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1848
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1849
- ): Promise<UntagResourceCommandOutput> | void {
1850
- const command = new UntagResourceCommand(args);
1851
- if (typeof optionsOrCb === "function") {
1852
- this.send(command, optionsOrCb);
1853
- } else if (typeof cb === "function") {
1854
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1855
- this.send(command, optionsOrCb || {}, cb);
1856
- } else {
1857
- return this.send(command, optionsOrCb);
1858
- }
1859
- }
1860
-
1861
- /**
1862
- * <p>Changes the name of an application.</p>
1863
- */
1864
- public updateApplication(
1865
- args: UpdateApplicationCommandInput,
1866
- options?: __HttpHandlerOptions
1867
- ): Promise<UpdateApplicationCommandOutput>;
1868
- public updateApplication(
1869
- args: UpdateApplicationCommandInput,
1870
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
1871
- ): void;
1872
- public updateApplication(
1873
- args: UpdateApplicationCommandInput,
1874
- options: __HttpHandlerOptions,
1875
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
1876
- ): void;
1877
- public updateApplication(
1878
- args: UpdateApplicationCommandInput,
1879
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
1880
- cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
1881
- ): Promise<UpdateApplicationCommandOutput> | void {
1882
- const command = new UpdateApplicationCommand(args);
1883
- if (typeof optionsOrCb === "function") {
1884
- this.send(command, optionsOrCb);
1885
- } else if (typeof cb === "function") {
1886
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1887
- this.send(command, optionsOrCb || {}, cb);
1888
- } else {
1889
- return this.send(command, optionsOrCb);
1890
- }
1891
- }
1892
-
1893
- /**
1894
- * <p>Changes information about a deployment group.</p>
1895
- */
1896
- public updateDeploymentGroup(
1897
- args: UpdateDeploymentGroupCommandInput,
1898
- options?: __HttpHandlerOptions
1899
- ): Promise<UpdateDeploymentGroupCommandOutput>;
1900
- public updateDeploymentGroup(
1901
- args: UpdateDeploymentGroupCommandInput,
1902
- cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
1903
- ): void;
1904
- public updateDeploymentGroup(
1905
- args: UpdateDeploymentGroupCommandInput,
1906
- options: __HttpHandlerOptions,
1907
- cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
1908
- ): void;
1909
- public updateDeploymentGroup(
1910
- args: UpdateDeploymentGroupCommandInput,
1911
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDeploymentGroupCommandOutput) => void),
1912
- cb?: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
1913
- ): Promise<UpdateDeploymentGroupCommandOutput> | void {
1914
- const command = new UpdateDeploymentGroupCommand(args);
1915
- if (typeof optionsOrCb === "function") {
1916
- this.send(command, optionsOrCb);
1917
- } else if (typeof cb === "function") {
1918
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1919
- this.send(command, optionsOrCb || {}, cb);
1920
- } else {
1921
- return this.send(command, optionsOrCb);
1922
- }
1923
- }
1924
- }