@aws-sdk/client-codedeploy 3.33.0 → 3.36.1

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 (502) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CodeDeploy.js +2 -105
  3. package/dist-cjs/CodeDeployClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsToOnPremisesInstancesCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/BatchGetApplicationRevisionsCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/BatchGetApplicationsCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/commands/BatchGetDeploymentGroupsCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/BatchGetDeploymentInstancesCommand.js +2 -36
  9. package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +36 -0
  10. package/{dist/cjs → dist-cjs}/commands/BatchGetDeploymentsCommand.js +2 -28
  11. package/{dist/cjs → dist-cjs}/commands/BatchGetOnPremisesInstancesCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/ContinueDeploymentCommand.js +2 -31
  13. package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/CreateDeploymentCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/CreateDeploymentConfigCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/CreateDeploymentGroupCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DeleteDeploymentConfigCommand.js +2 -31
  19. package/{dist/cjs → dist-cjs}/commands/DeleteDeploymentGroupCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DeleteGitHubAccountTokenCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/DeleteResourcesByExternalIdCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DeregisterOnPremisesInstanceCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/GetApplicationRevisionCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/GetDeploymentCommand.js +2 -33
  26. package/{dist/cjs → dist-cjs}/commands/GetDeploymentConfigCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/GetDeploymentGroupCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/GetDeploymentInstanceCommand.js +2 -29
  29. package/{dist/cjs → dist-cjs}/commands/GetDeploymentTargetCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/GetOnPremisesInstanceCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/ListApplicationRevisionsCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/ListDeploymentConfigsCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/ListDeploymentGroupsCommand.js +2 -28
  35. package/{dist/cjs → dist-cjs}/commands/ListDeploymentInstancesCommand.js +2 -35
  36. package/{dist/cjs → dist-cjs}/commands/ListDeploymentTargetsCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/ListDeploymentsCommand.js +2 -28
  38. package/{dist/cjs → dist-cjs}/commands/ListGitHubAccountTokenNamesCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/commands/ListOnPremisesInstancesCommand.js +2 -30
  40. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  41. package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +36 -0
  42. package/{dist/cjs → dist-cjs}/commands/RegisterApplicationRevisionCommand.js +2 -27
  43. package/{dist/cjs → dist-cjs}/commands/RegisterOnPremisesInstanceCommand.js +2 -31
  44. package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -27
  45. package/{dist/cjs → dist-cjs}/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -30
  46. package/{dist/cjs → dist-cjs}/commands/StopDeploymentCommand.js +2 -27
  47. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
  48. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -29
  49. package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +2 -27
  50. package/{dist/cjs → dist-cjs}/commands/UpdateDeploymentGroupCommand.js +2 -27
  51. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  52. package/{dist/cjs → dist-cjs}/index.js +0 -1
  53. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  54. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -742
  55. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  56. package/{dist/cjs → dist-cjs}/pagination/ListApplicationRevisionsPaginator.js +0 -11
  57. package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +0 -11
  58. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentConfigsPaginator.js +0 -11
  59. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentGroupsPaginator.js +0 -11
  60. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentInstancesPaginator.js +0 -11
  61. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentsPaginator.js +0 -11
  62. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  63. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  64. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  65. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  66. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  67. package/{dist/cjs → dist-cjs}/waiters/waitForDeploymentSuccessful.js +5 -15
  68. package/{dist/es → dist-es}/CodeDeploy.js +3 -106
  69. package/dist-es/CodeDeployClient.js +37 -0
  70. package/{dist/es → dist-es}/commands/AddTagsToOnPremisesInstancesCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/BatchGetApplicationRevisionsCommand.js +4 -31
  72. package/{dist/es → dist-es}/commands/BatchGetApplicationsCommand.js +4 -31
  73. package/{dist/es → dist-es}/commands/BatchGetDeploymentGroupsCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/BatchGetDeploymentInstancesCommand.js +4 -39
  75. package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +39 -0
  76. package/{dist/es → dist-es}/commands/BatchGetDeploymentsCommand.js +4 -31
  77. package/{dist/es → dist-es}/commands/BatchGetOnPremisesInstancesCommand.js +4 -31
  78. package/{dist/es → dist-es}/commands/ContinueDeploymentCommand.js +4 -34
  79. package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/CreateDeploymentCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/CreateDeploymentConfigCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/CreateDeploymentGroupCommand.js +4 -30
  83. package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/DeleteDeploymentConfigCommand.js +4 -34
  85. package/{dist/es → dist-es}/commands/DeleteDeploymentGroupCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/DeleteGitHubAccountTokenCommand.js +4 -30
  87. package/{dist/es → dist-es}/commands/DeleteResourcesByExternalIdCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/DeregisterOnPremisesInstanceCommand.js +4 -30
  89. package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -30
  90. package/{dist/es → dist-es}/commands/GetApplicationRevisionCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/GetDeploymentCommand.js +4 -36
  92. package/{dist/es → dist-es}/commands/GetDeploymentConfigCommand.js +4 -30
  93. package/{dist/es → dist-es}/commands/GetDeploymentGroupCommand.js +4 -30
  94. package/{dist/es → dist-es}/commands/GetDeploymentInstanceCommand.js +4 -32
  95. package/{dist/es → dist-es}/commands/GetDeploymentTargetCommand.js +4 -30
  96. package/{dist/es → dist-es}/commands/GetOnPremisesInstanceCommand.js +4 -30
  97. package/{dist/es → dist-es}/commands/ListApplicationRevisionsCommand.js +4 -30
  98. package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -30
  99. package/{dist/es → dist-es}/commands/ListDeploymentConfigsCommand.js +4 -30
  100. package/{dist/es → dist-es}/commands/ListDeploymentGroupsCommand.js +4 -31
  101. package/{dist/es → dist-es}/commands/ListDeploymentInstancesCommand.js +4 -38
  102. package/{dist/es → dist-es}/commands/ListDeploymentTargetsCommand.js +4 -30
  103. package/{dist/es → dist-es}/commands/ListDeploymentsCommand.js +4 -31
  104. package/{dist/es → dist-es}/commands/ListGitHubAccountTokenNamesCommand.js +4 -30
  105. package/{dist/es → dist-es}/commands/ListOnPremisesInstancesCommand.js +4 -33
  106. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
  107. package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +39 -0
  108. package/{dist/es → dist-es}/commands/RegisterApplicationRevisionCommand.js +4 -30
  109. package/{dist/es → dist-es}/commands/RegisterOnPremisesInstanceCommand.js +4 -34
  110. package/{dist/es → dist-es}/commands/RemoveTagsFromOnPremisesInstancesCommand.js +4 -30
  111. package/{dist/es → dist-es}/commands/SkipWaitTimeForInstanceTerminationCommand.js +4 -33
  112. package/{dist/es → dist-es}/commands/StopDeploymentCommand.js +4 -30
  113. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  114. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -32
  115. package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -30
  116. package/{dist/es → dist-es}/commands/UpdateDeploymentGroupCommand.js +4 -30
  117. package/{dist/es → dist-es}/endpoints.js +1 -2
  118. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  119. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  120. package/{dist/es → dist-es}/models/models_0.js +0 -742
  121. package/dist-es/pagination/Interfaces.js +1 -0
  122. package/{dist/es → dist-es}/pagination/ListApplicationRevisionsPaginator.js +16 -29
  123. package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +16 -29
  124. package/{dist/es → dist-es}/pagination/ListDeploymentConfigsPaginator.js +16 -29
  125. package/{dist/es → dist-es}/pagination/ListDeploymentGroupsPaginator.js +16 -29
  126. package/{dist/es → dist-es}/pagination/ListDeploymentInstancesPaginator.js +16 -29
  127. package/{dist/es → dist-es}/pagination/ListDeploymentsPaginator.js +16 -29
  128. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1763 -1769
  129. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  130. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  131. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  132. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  133. package/{dist/es → dist-es}/waiters/waitForDeploymentSuccessful.js +11 -21
  134. package/{dist/types → dist-types}/CodeDeploy.d.ts +3 -3
  135. package/{dist/types → dist-types}/CodeDeployClient.d.ts +10 -10
  136. package/{dist/types → dist-types}/commands/AddTagsToOnPremisesInstancesCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/BatchGetApplicationRevisionsCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/BatchGetApplicationsCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/BatchGetDeploymentsCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/BatchGetOnPremisesInstancesCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/ContinueDeploymentCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/CreateDeploymentCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/CreateDeploymentConfigCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/CreateDeploymentGroupCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/DeleteDeploymentGroupCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/DeleteGitHubAccountTokenCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/DeleteResourcesByExternalIdCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/DeregisterOnPremisesInstanceCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/GetApplicationRevisionCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/GetDeploymentCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/GetDeploymentConfigCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/GetDeploymentGroupCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/GetDeploymentInstanceCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/GetDeploymentTargetCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/GetOnPremisesInstanceCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/ListApplicationRevisionsCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/ListDeploymentConfigsCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/ListDeploymentGroupsCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/ListDeploymentInstancesCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/ListDeploymentTargetsCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/ListDeploymentsCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/ListGitHubAccountTokenNamesCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/ListOnPremisesInstancesCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/RegisterApplicationRevisionCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/StopDeploymentCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/UpdateApplicationCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/UpdateDeploymentGroupCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  184. package/{index.ts → dist-types/index.d.ts} +0 -0
  185. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  186. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  187. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  188. package/{dist/types → dist-types}/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
  189. package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
  190. package/{dist/types → dist-types}/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
  191. package/{dist/types → dist-types}/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
  192. package/{dist/types → dist-types}/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
  193. package/{dist/types → dist-types}/pagination/ListDeploymentsPaginator.d.ts +1 -1
  194. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +4 -4
  195. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  196. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  197. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  198. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  199. package/{dist/types → dist-types}/ts3.4/CodeDeploy.d.ts +51 -334
  200. package/{dist/types → dist-types}/ts3.4/CodeDeployClient.d.ts +34 -198
  201. package/{dist/types → dist-types}/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +4 -22
  202. package/{dist/types → dist-types}/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +4 -23
  203. package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +17 -0
  204. package/{dist/types → dist-types}/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +4 -22
  205. package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +17 -0
  209. package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +17 -0
  210. package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationCommand.d.ts +4 -22
  211. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
  212. package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +4 -22
  213. package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +4 -22
  214. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  215. package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +17 -0
  216. package/{dist/types → dist-types}/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +4 -22
  217. package/{dist/types → dist-types}/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +4 -22
  218. package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +4 -22
  219. package/{dist/types → dist-types}/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +4 -22
  220. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
  221. package/{dist/types → dist-types}/ts3.4/commands/GetApplicationRevisionCommand.d.ts +4 -22
  222. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
  223. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentConfigCommand.d.ts +4 -22
  224. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentGroupCommand.d.ts +4 -22
  225. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +4 -24
  226. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentTargetCommand.d.ts +4 -22
  227. package/{dist/types → dist-types}/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +4 -22
  228. package/{dist/types → dist-types}/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +4 -22
  229. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
  230. package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +4 -22
  231. package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +17 -0
  232. package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +17 -0
  233. package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +4 -22
  234. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +17 -0
  235. package/{dist/types → dist-types}/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +4 -22
  236. package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  238. package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +17 -0
  239. package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +17 -0
  240. package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +17 -0
  241. package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +4 -22
  242. package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +17 -0
  243. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +17 -0
  244. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  245. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  246. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  247. package/{dist/types → dist-types}/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +4 -22
  248. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  249. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  250. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  251. package/dist-types/ts3.4/models/models_0.d.ts +3195 -0
  252. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  253. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
  254. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
  255. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
  256. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
  257. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
  258. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentsPaginator.d.ts +1 -1
  259. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +4 -4
  260. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  261. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  262. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  263. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  264. package/{dist/types → dist-types}/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +3 -10
  265. package/{dist/types → dist-types}/waiters/waitForDeploymentSuccessful.d.ts +1 -1
  266. package/package.json +53 -50
  267. package/CodeDeploy.ts +0 -1923
  268. package/CodeDeployClient.ts +0 -577
  269. package/commands/AddTagsToOnPremisesInstancesCommand.ts +0 -97
  270. package/commands/BatchGetApplicationRevisionsCommand.ts +0 -100
  271. package/commands/BatchGetApplicationsCommand.ts +0 -95
  272. package/commands/BatchGetDeploymentGroupsCommand.ts +0 -94
  273. package/commands/BatchGetDeploymentInstancesCommand.ts +0 -106
  274. package/commands/BatchGetDeploymentTargetsCommand.ts +0 -124
  275. package/commands/BatchGetDeploymentsCommand.ts +0 -95
  276. package/commands/BatchGetOnPremisesInstancesCommand.ts +0 -98
  277. package/commands/ContinueDeploymentCommand.ts +0 -98
  278. package/commands/CreateApplicationCommand.ts +0 -94
  279. package/commands/CreateDeploymentCommand.ts +0 -94
  280. package/commands/CreateDeploymentConfigCommand.ts +0 -94
  281. package/commands/CreateDeploymentGroupCommand.ts +0 -94
  282. package/commands/DeleteApplicationCommand.ts +0 -94
  283. package/commands/DeleteDeploymentConfigCommand.ts +0 -98
  284. package/commands/DeleteDeploymentGroupCommand.ts +0 -94
  285. package/commands/DeleteGitHubAccountTokenCommand.ts +0 -94
  286. package/commands/DeleteResourcesByExternalIdCommand.ts +0 -97
  287. package/commands/DeregisterOnPremisesInstanceCommand.ts +0 -97
  288. package/commands/GetApplicationCommand.ts +0 -94
  289. package/commands/GetApplicationRevisionCommand.ts +0 -94
  290. package/commands/GetDeploymentCommand.ts +0 -100
  291. package/commands/GetDeploymentConfigCommand.ts +0 -94
  292. package/commands/GetDeploymentGroupCommand.ts +0 -94
  293. package/commands/GetDeploymentInstanceCommand.ts +0 -96
  294. package/commands/GetDeploymentTargetCommand.ts +0 -94
  295. package/commands/GetOnPremisesInstanceCommand.ts +0 -94
  296. package/commands/ListApplicationRevisionsCommand.ts +0 -94
  297. package/commands/ListApplicationsCommand.ts +0 -94
  298. package/commands/ListDeploymentConfigsCommand.ts +0 -94
  299. package/commands/ListDeploymentGroupsCommand.ts +0 -95
  300. package/commands/ListDeploymentInstancesCommand.ts +0 -102
  301. package/commands/ListDeploymentTargetsCommand.ts +0 -94
  302. package/commands/ListDeploymentsCommand.ts +0 -95
  303. package/commands/ListGitHubAccountTokenNamesCommand.ts +0 -97
  304. package/commands/ListOnPremisesInstancesCommand.ts +0 -97
  305. package/commands/ListTagsForResourceCommand.ts +0 -95
  306. package/commands/PutLifecycleEventHookExecutionStatusCommand.ts +0 -113
  307. package/commands/RegisterApplicationRevisionCommand.ts +0 -97
  308. package/commands/RegisterOnPremisesInstanceCommand.ts +0 -101
  309. package/commands/RemoveTagsFromOnPremisesInstancesCommand.ts +0 -100
  310. package/commands/SkipWaitTimeForInstanceTerminationCommand.ts +0 -103
  311. package/commands/StopDeploymentCommand.ts +0 -94
  312. package/commands/TagResourceCommand.ts +0 -95
  313. package/commands/UntagResourceCommand.ts +0 -96
  314. package/commands/UpdateApplicationCommand.ts +0 -94
  315. package/commands/UpdateDeploymentGroupCommand.ts +0 -94
  316. package/dist/cjs/CodeDeploy.js.map +0 -1
  317. package/dist/cjs/CodeDeployClient.js +0 -143
  318. package/dist/cjs/CodeDeployClient.js.map +0 -1
  319. package/dist/cjs/commands/AddTagsToOnPremisesInstancesCommand.js.map +0 -1
  320. package/dist/cjs/commands/BatchGetApplicationRevisionsCommand.js.map +0 -1
  321. package/dist/cjs/commands/BatchGetApplicationsCommand.js.map +0 -1
  322. package/dist/cjs/commands/BatchGetDeploymentGroupsCommand.js.map +0 -1
  323. package/dist/cjs/commands/BatchGetDeploymentInstancesCommand.js.map +0 -1
  324. package/dist/cjs/commands/BatchGetDeploymentTargetsCommand.js +0 -88
  325. package/dist/cjs/commands/BatchGetDeploymentTargetsCommand.js.map +0 -1
  326. package/dist/cjs/commands/BatchGetDeploymentsCommand.js.map +0 -1
  327. package/dist/cjs/commands/BatchGetOnPremisesInstancesCommand.js.map +0 -1
  328. package/dist/cjs/commands/ContinueDeploymentCommand.js.map +0 -1
  329. package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
  330. package/dist/cjs/commands/CreateDeploymentCommand.js.map +0 -1
  331. package/dist/cjs/commands/CreateDeploymentConfigCommand.js.map +0 -1
  332. package/dist/cjs/commands/CreateDeploymentGroupCommand.js.map +0 -1
  333. package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
  334. package/dist/cjs/commands/DeleteDeploymentConfigCommand.js.map +0 -1
  335. package/dist/cjs/commands/DeleteDeploymentGroupCommand.js.map +0 -1
  336. package/dist/cjs/commands/DeleteGitHubAccountTokenCommand.js.map +0 -1
  337. package/dist/cjs/commands/DeleteResourcesByExternalIdCommand.js.map +0 -1
  338. package/dist/cjs/commands/DeregisterOnPremisesInstanceCommand.js.map +0 -1
  339. package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
  340. package/dist/cjs/commands/GetApplicationRevisionCommand.js.map +0 -1
  341. package/dist/cjs/commands/GetDeploymentCommand.js.map +0 -1
  342. package/dist/cjs/commands/GetDeploymentConfigCommand.js.map +0 -1
  343. package/dist/cjs/commands/GetDeploymentGroupCommand.js.map +0 -1
  344. package/dist/cjs/commands/GetDeploymentInstanceCommand.js.map +0 -1
  345. package/dist/cjs/commands/GetDeploymentTargetCommand.js.map +0 -1
  346. package/dist/cjs/commands/GetOnPremisesInstanceCommand.js.map +0 -1
  347. package/dist/cjs/commands/ListApplicationRevisionsCommand.js.map +0 -1
  348. package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
  349. package/dist/cjs/commands/ListDeploymentConfigsCommand.js.map +0 -1
  350. package/dist/cjs/commands/ListDeploymentGroupsCommand.js.map +0 -1
  351. package/dist/cjs/commands/ListDeploymentInstancesCommand.js.map +0 -1
  352. package/dist/cjs/commands/ListDeploymentTargetsCommand.js.map +0 -1
  353. package/dist/cjs/commands/ListDeploymentsCommand.js.map +0 -1
  354. package/dist/cjs/commands/ListGitHubAccountTokenNamesCommand.js.map +0 -1
  355. package/dist/cjs/commands/ListOnPremisesInstancesCommand.js.map +0 -1
  356. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  357. package/dist/cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -69
  358. package/dist/cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +0 -1
  359. package/dist/cjs/commands/RegisterApplicationRevisionCommand.js.map +0 -1
  360. package/dist/cjs/commands/RegisterOnPremisesInstanceCommand.js.map +0 -1
  361. package/dist/cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +0 -1
  362. package/dist/cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +0 -1
  363. package/dist/cjs/commands/StopDeploymentCommand.js.map +0 -1
  364. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  365. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  366. package/dist/cjs/commands/UpdateApplicationCommand.js.map +0 -1
  367. package/dist/cjs/commands/UpdateDeploymentGroupCommand.js.map +0 -1
  368. package/dist/cjs/endpoints.js.map +0 -1
  369. package/dist/cjs/index.js.map +0 -1
  370. package/dist/cjs/models/index.js.map +0 -1
  371. package/dist/cjs/models/models_0.js.map +0 -1
  372. package/dist/cjs/package.json +0 -92
  373. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  374. package/dist/cjs/pagination/ListApplicationRevisionsPaginator.js.map +0 -1
  375. package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  376. package/dist/cjs/pagination/ListDeploymentConfigsPaginator.js.map +0 -1
  377. package/dist/cjs/pagination/ListDeploymentGroupsPaginator.js.map +0 -1
  378. package/dist/cjs/pagination/ListDeploymentInstancesPaginator.js.map +0 -1
  379. package/dist/cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  380. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  381. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  382. package/dist/cjs/runtimeConfig.js.map +0 -1
  383. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  384. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  385. package/dist/cjs/waiters/waitForDeploymentSuccessful.js.map +0 -1
  386. package/dist/es/CodeDeploy.js.map +0 -1
  387. package/dist/es/CodeDeployClient.js +0 -145
  388. package/dist/es/CodeDeployClient.js.map +0 -1
  389. package/dist/es/commands/AddTagsToOnPremisesInstancesCommand.js.map +0 -1
  390. package/dist/es/commands/BatchGetApplicationRevisionsCommand.js.map +0 -1
  391. package/dist/es/commands/BatchGetApplicationsCommand.js.map +0 -1
  392. package/dist/es/commands/BatchGetDeploymentGroupsCommand.js.map +0 -1
  393. package/dist/es/commands/BatchGetDeploymentInstancesCommand.js.map +0 -1
  394. package/dist/es/commands/BatchGetDeploymentTargetsCommand.js +0 -92
  395. package/dist/es/commands/BatchGetDeploymentTargetsCommand.js.map +0 -1
  396. package/dist/es/commands/BatchGetDeploymentsCommand.js.map +0 -1
  397. package/dist/es/commands/BatchGetOnPremisesInstancesCommand.js.map +0 -1
  398. package/dist/es/commands/ContinueDeploymentCommand.js.map +0 -1
  399. package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
  400. package/dist/es/commands/CreateDeploymentCommand.js.map +0 -1
  401. package/dist/es/commands/CreateDeploymentConfigCommand.js.map +0 -1
  402. package/dist/es/commands/CreateDeploymentGroupCommand.js.map +0 -1
  403. package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
  404. package/dist/es/commands/DeleteDeploymentConfigCommand.js.map +0 -1
  405. package/dist/es/commands/DeleteDeploymentGroupCommand.js.map +0 -1
  406. package/dist/es/commands/DeleteGitHubAccountTokenCommand.js.map +0 -1
  407. package/dist/es/commands/DeleteResourcesByExternalIdCommand.js.map +0 -1
  408. package/dist/es/commands/DeregisterOnPremisesInstanceCommand.js.map +0 -1
  409. package/dist/es/commands/GetApplicationCommand.js.map +0 -1
  410. package/dist/es/commands/GetApplicationRevisionCommand.js.map +0 -1
  411. package/dist/es/commands/GetDeploymentCommand.js.map +0 -1
  412. package/dist/es/commands/GetDeploymentConfigCommand.js.map +0 -1
  413. package/dist/es/commands/GetDeploymentGroupCommand.js.map +0 -1
  414. package/dist/es/commands/GetDeploymentInstanceCommand.js.map +0 -1
  415. package/dist/es/commands/GetDeploymentTargetCommand.js.map +0 -1
  416. package/dist/es/commands/GetOnPremisesInstanceCommand.js.map +0 -1
  417. package/dist/es/commands/ListApplicationRevisionsCommand.js.map +0 -1
  418. package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
  419. package/dist/es/commands/ListDeploymentConfigsCommand.js.map +0 -1
  420. package/dist/es/commands/ListDeploymentGroupsCommand.js.map +0 -1
  421. package/dist/es/commands/ListDeploymentInstancesCommand.js.map +0 -1
  422. package/dist/es/commands/ListDeploymentTargetsCommand.js.map +0 -1
  423. package/dist/es/commands/ListDeploymentsCommand.js.map +0 -1
  424. package/dist/es/commands/ListGitHubAccountTokenNamesCommand.js.map +0 -1
  425. package/dist/es/commands/ListOnPremisesInstancesCommand.js.map +0 -1
  426. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  427. package/dist/es/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -73
  428. package/dist/es/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +0 -1
  429. package/dist/es/commands/RegisterApplicationRevisionCommand.js.map +0 -1
  430. package/dist/es/commands/RegisterOnPremisesInstanceCommand.js.map +0 -1
  431. package/dist/es/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +0 -1
  432. package/dist/es/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +0 -1
  433. package/dist/es/commands/StopDeploymentCommand.js.map +0 -1
  434. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  435. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  436. package/dist/es/commands/UpdateApplicationCommand.js.map +0 -1
  437. package/dist/es/commands/UpdateDeploymentGroupCommand.js.map +0 -1
  438. package/dist/es/endpoints.js.map +0 -1
  439. package/dist/es/index.js +0 -59
  440. package/dist/es/index.js.map +0 -1
  441. package/dist/es/models/index.js +0 -2
  442. package/dist/es/models/index.js.map +0 -1
  443. package/dist/es/models/models_0.js.map +0 -1
  444. package/dist/es/package.json +0 -92
  445. package/dist/es/pagination/Interfaces.js +0 -2
  446. package/dist/es/pagination/Interfaces.js.map +0 -1
  447. package/dist/es/pagination/ListApplicationRevisionsPaginator.js.map +0 -1
  448. package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
  449. package/dist/es/pagination/ListDeploymentConfigsPaginator.js.map +0 -1
  450. package/dist/es/pagination/ListDeploymentGroupsPaginator.js.map +0 -1
  451. package/dist/es/pagination/ListDeploymentInstancesPaginator.js.map +0 -1
  452. package/dist/es/pagination/ListDeploymentsPaginator.js.map +0 -1
  453. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  454. package/dist/es/runtimeConfig.browser.js.map +0 -1
  455. package/dist/es/runtimeConfig.js.map +0 -1
  456. package/dist/es/runtimeConfig.native.js.map +0 -1
  457. package/dist/es/runtimeConfig.shared.js.map +0 -1
  458. package/dist/es/waiters/waitForDeploymentSuccessful.js.map +0 -1
  459. package/dist/types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +0 -36
  460. package/dist/types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +0 -44
  461. package/dist/types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +0 -62
  462. package/dist/types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +0 -36
  463. package/dist/types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +0 -36
  464. package/dist/types/ts3.4/commands/ContinueDeploymentCommand.d.ts +0 -39
  465. package/dist/types/ts3.4/commands/CreateDeploymentCommand.d.ts +0 -35
  466. package/dist/types/ts3.4/commands/DeleteApplicationCommand.d.ts +0 -35
  467. package/dist/types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +0 -39
  468. package/dist/types/ts3.4/commands/GetApplicationCommand.d.ts +0 -35
  469. package/dist/types/ts3.4/commands/GetDeploymentCommand.d.ts +0 -41
  470. package/dist/types/ts3.4/commands/ListApplicationsCommand.d.ts +0 -35
  471. package/dist/types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +0 -36
  472. package/dist/types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +0 -43
  473. package/dist/types/ts3.4/commands/ListDeploymentsCommand.d.ts +0 -36
  474. package/dist/types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +0 -38
  475. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  476. package/dist/types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +0 -43
  477. package/dist/types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +0 -35
  478. package/dist/types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +0 -39
  479. package/dist/types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +0 -38
  480. package/dist/types/ts3.4/commands/StopDeploymentCommand.d.ts +0 -35
  481. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
  482. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -37
  483. package/dist/types/ts3.4/commands/UpdateApplicationCommand.d.ts +0 -35
  484. package/dist/types/ts3.4/models/models_0.d.ts +0 -6275
  485. package/endpoints.ts +0 -86
  486. package/jest.config.js +0 -4
  487. package/models/models_0.ts +0 -7572
  488. package/pagination/Interfaces.ts +0 -7
  489. package/pagination/ListApplicationRevisionsPaginator.ts +0 -57
  490. package/pagination/ListApplicationsPaginator.ts +0 -57
  491. package/pagination/ListDeploymentConfigsPaginator.ts +0 -57
  492. package/pagination/ListDeploymentGroupsPaginator.ts +0 -57
  493. package/pagination/ListDeploymentInstancesPaginator.ts +0 -57
  494. package/pagination/ListDeploymentsPaginator.ts +0 -57
  495. package/protocols/Aws_json1_1.ts +0 -11358
  496. package/runtimeConfig.browser.ts +0 -40
  497. package/runtimeConfig.native.ts +0 -16
  498. package/runtimeConfig.shared.ts +0 -16
  499. package/runtimeConfig.ts +0 -45
  500. package/tsconfig.es.json +0 -12
  501. package/tsconfig.json +0 -32
  502. package/waiters/waitForDeploymentSuccessful.ts +0 -62
@@ -1,577 +0,0 @@
1
- import {
2
- AddTagsToOnPremisesInstancesCommandInput,
3
- AddTagsToOnPremisesInstancesCommandOutput,
4
- } from "./commands/AddTagsToOnPremisesInstancesCommand";
5
- import {
6
- BatchGetApplicationRevisionsCommandInput,
7
- BatchGetApplicationRevisionsCommandOutput,
8
- } from "./commands/BatchGetApplicationRevisionsCommand";
9
- import {
10
- BatchGetApplicationsCommandInput,
11
- BatchGetApplicationsCommandOutput,
12
- } from "./commands/BatchGetApplicationsCommand";
13
- import {
14
- BatchGetDeploymentGroupsCommandInput,
15
- BatchGetDeploymentGroupsCommandOutput,
16
- } from "./commands/BatchGetDeploymentGroupsCommand";
17
- import {
18
- BatchGetDeploymentInstancesCommandInput,
19
- BatchGetDeploymentInstancesCommandOutput,
20
- } from "./commands/BatchGetDeploymentInstancesCommand";
21
- import {
22
- BatchGetDeploymentTargetsCommandInput,
23
- BatchGetDeploymentTargetsCommandOutput,
24
- } from "./commands/BatchGetDeploymentTargetsCommand";
25
- import {
26
- BatchGetDeploymentsCommandInput,
27
- BatchGetDeploymentsCommandOutput,
28
- } from "./commands/BatchGetDeploymentsCommand";
29
- import {
30
- BatchGetOnPremisesInstancesCommandInput,
31
- BatchGetOnPremisesInstancesCommandOutput,
32
- } from "./commands/BatchGetOnPremisesInstancesCommand";
33
- import { ContinueDeploymentCommandInput, ContinueDeploymentCommandOutput } from "./commands/ContinueDeploymentCommand";
34
- import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
35
- import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
36
- import {
37
- CreateDeploymentConfigCommandInput,
38
- CreateDeploymentConfigCommandOutput,
39
- } from "./commands/CreateDeploymentConfigCommand";
40
- import {
41
- CreateDeploymentGroupCommandInput,
42
- CreateDeploymentGroupCommandOutput,
43
- } from "./commands/CreateDeploymentGroupCommand";
44
- import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
45
- import {
46
- DeleteDeploymentConfigCommandInput,
47
- DeleteDeploymentConfigCommandOutput,
48
- } from "./commands/DeleteDeploymentConfigCommand";
49
- import {
50
- DeleteDeploymentGroupCommandInput,
51
- DeleteDeploymentGroupCommandOutput,
52
- } from "./commands/DeleteDeploymentGroupCommand";
53
- import {
54
- DeleteGitHubAccountTokenCommandInput,
55
- DeleteGitHubAccountTokenCommandOutput,
56
- } from "./commands/DeleteGitHubAccountTokenCommand";
57
- import {
58
- DeleteResourcesByExternalIdCommandInput,
59
- DeleteResourcesByExternalIdCommandOutput,
60
- } from "./commands/DeleteResourcesByExternalIdCommand";
61
- import {
62
- DeregisterOnPremisesInstanceCommandInput,
63
- DeregisterOnPremisesInstanceCommandOutput,
64
- } from "./commands/DeregisterOnPremisesInstanceCommand";
65
- import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
66
- import {
67
- GetApplicationRevisionCommandInput,
68
- GetApplicationRevisionCommandOutput,
69
- } from "./commands/GetApplicationRevisionCommand";
70
- import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
71
- import {
72
- GetDeploymentConfigCommandInput,
73
- GetDeploymentConfigCommandOutput,
74
- } from "./commands/GetDeploymentConfigCommand";
75
- import { GetDeploymentGroupCommandInput, GetDeploymentGroupCommandOutput } from "./commands/GetDeploymentGroupCommand";
76
- import {
77
- GetDeploymentInstanceCommandInput,
78
- GetDeploymentInstanceCommandOutput,
79
- } from "./commands/GetDeploymentInstanceCommand";
80
- import {
81
- GetDeploymentTargetCommandInput,
82
- GetDeploymentTargetCommandOutput,
83
- } from "./commands/GetDeploymentTargetCommand";
84
- import {
85
- GetOnPremisesInstanceCommandInput,
86
- GetOnPremisesInstanceCommandOutput,
87
- } from "./commands/GetOnPremisesInstanceCommand";
88
- import {
89
- ListApplicationRevisionsCommandInput,
90
- ListApplicationRevisionsCommandOutput,
91
- } from "./commands/ListApplicationRevisionsCommand";
92
- import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
93
- import {
94
- ListDeploymentConfigsCommandInput,
95
- ListDeploymentConfigsCommandOutput,
96
- } from "./commands/ListDeploymentConfigsCommand";
97
- import {
98
- ListDeploymentGroupsCommandInput,
99
- ListDeploymentGroupsCommandOutput,
100
- } from "./commands/ListDeploymentGroupsCommand";
101
- import {
102
- ListDeploymentInstancesCommandInput,
103
- ListDeploymentInstancesCommandOutput,
104
- } from "./commands/ListDeploymentInstancesCommand";
105
- import {
106
- ListDeploymentTargetsCommandInput,
107
- ListDeploymentTargetsCommandOutput,
108
- } from "./commands/ListDeploymentTargetsCommand";
109
- import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
110
- import {
111
- ListGitHubAccountTokenNamesCommandInput,
112
- ListGitHubAccountTokenNamesCommandOutput,
113
- } from "./commands/ListGitHubAccountTokenNamesCommand";
114
- import {
115
- ListOnPremisesInstancesCommandInput,
116
- ListOnPremisesInstancesCommandOutput,
117
- } from "./commands/ListOnPremisesInstancesCommand";
118
- import {
119
- ListTagsForResourceCommandInput,
120
- ListTagsForResourceCommandOutput,
121
- } from "./commands/ListTagsForResourceCommand";
122
- import {
123
- PutLifecycleEventHookExecutionStatusCommandInput,
124
- PutLifecycleEventHookExecutionStatusCommandOutput,
125
- } from "./commands/PutLifecycleEventHookExecutionStatusCommand";
126
- import {
127
- RegisterApplicationRevisionCommandInput,
128
- RegisterApplicationRevisionCommandOutput,
129
- } from "./commands/RegisterApplicationRevisionCommand";
130
- import {
131
- RegisterOnPremisesInstanceCommandInput,
132
- RegisterOnPremisesInstanceCommandOutput,
133
- } from "./commands/RegisterOnPremisesInstanceCommand";
134
- import {
135
- RemoveTagsFromOnPremisesInstancesCommandInput,
136
- RemoveTagsFromOnPremisesInstancesCommandOutput,
137
- } from "./commands/RemoveTagsFromOnPremisesInstancesCommand";
138
- import {
139
- SkipWaitTimeForInstanceTerminationCommandInput,
140
- SkipWaitTimeForInstanceTerminationCommandOutput,
141
- } from "./commands/SkipWaitTimeForInstanceTerminationCommand";
142
- import { StopDeploymentCommandInput, StopDeploymentCommandOutput } from "./commands/StopDeploymentCommand";
143
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
144
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
145
- import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
146
- import {
147
- UpdateDeploymentGroupCommandInput,
148
- UpdateDeploymentGroupCommandOutput,
149
- } from "./commands/UpdateDeploymentGroupCommand";
150
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
151
- import {
152
- EndpointsInputConfig,
153
- EndpointsResolvedConfig,
154
- RegionInputConfig,
155
- RegionResolvedConfig,
156
- resolveEndpointsConfig,
157
- resolveRegionConfig,
158
- } from "@aws-sdk/config-resolver";
159
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
160
- import {
161
- HostHeaderInputConfig,
162
- HostHeaderResolvedConfig,
163
- getHostHeaderPlugin,
164
- resolveHostHeaderConfig,
165
- } from "@aws-sdk/middleware-host-header";
166
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
167
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
168
- import {
169
- AwsAuthInputConfig,
170
- AwsAuthResolvedConfig,
171
- getAwsAuthPlugin,
172
- resolveAwsAuthConfig,
173
- } from "@aws-sdk/middleware-signing";
174
- import {
175
- UserAgentInputConfig,
176
- UserAgentResolvedConfig,
177
- getUserAgentPlugin,
178
- resolveUserAgentConfig,
179
- } from "@aws-sdk/middleware-user-agent";
180
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
181
- import {
182
- Client as __Client,
183
- SmithyConfiguration as __SmithyConfiguration,
184
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
185
- } from "@aws-sdk/smithy-client";
186
- import {
187
- Provider,
188
- RegionInfoProvider,
189
- Credentials as __Credentials,
190
- Decoder as __Decoder,
191
- Encoder as __Encoder,
192
- Hash as __Hash,
193
- HashConstructor as __HashConstructor,
194
- HttpHandlerOptions as __HttpHandlerOptions,
195
- Logger as __Logger,
196
- Provider as __Provider,
197
- StreamCollector as __StreamCollector,
198
- UrlParser as __UrlParser,
199
- UserAgent as __UserAgent,
200
- } from "@aws-sdk/types";
201
-
202
- export type ServiceInputTypes =
203
- | AddTagsToOnPremisesInstancesCommandInput
204
- | BatchGetApplicationRevisionsCommandInput
205
- | BatchGetApplicationsCommandInput
206
- | BatchGetDeploymentGroupsCommandInput
207
- | BatchGetDeploymentInstancesCommandInput
208
- | BatchGetDeploymentTargetsCommandInput
209
- | BatchGetDeploymentsCommandInput
210
- | BatchGetOnPremisesInstancesCommandInput
211
- | ContinueDeploymentCommandInput
212
- | CreateApplicationCommandInput
213
- | CreateDeploymentCommandInput
214
- | CreateDeploymentConfigCommandInput
215
- | CreateDeploymentGroupCommandInput
216
- | DeleteApplicationCommandInput
217
- | DeleteDeploymentConfigCommandInput
218
- | DeleteDeploymentGroupCommandInput
219
- | DeleteGitHubAccountTokenCommandInput
220
- | DeleteResourcesByExternalIdCommandInput
221
- | DeregisterOnPremisesInstanceCommandInput
222
- | GetApplicationCommandInput
223
- | GetApplicationRevisionCommandInput
224
- | GetDeploymentCommandInput
225
- | GetDeploymentConfigCommandInput
226
- | GetDeploymentGroupCommandInput
227
- | GetDeploymentInstanceCommandInput
228
- | GetDeploymentTargetCommandInput
229
- | GetOnPremisesInstanceCommandInput
230
- | ListApplicationRevisionsCommandInput
231
- | ListApplicationsCommandInput
232
- | ListDeploymentConfigsCommandInput
233
- | ListDeploymentGroupsCommandInput
234
- | ListDeploymentInstancesCommandInput
235
- | ListDeploymentTargetsCommandInput
236
- | ListDeploymentsCommandInput
237
- | ListGitHubAccountTokenNamesCommandInput
238
- | ListOnPremisesInstancesCommandInput
239
- | ListTagsForResourceCommandInput
240
- | PutLifecycleEventHookExecutionStatusCommandInput
241
- | RegisterApplicationRevisionCommandInput
242
- | RegisterOnPremisesInstanceCommandInput
243
- | RemoveTagsFromOnPremisesInstancesCommandInput
244
- | SkipWaitTimeForInstanceTerminationCommandInput
245
- | StopDeploymentCommandInput
246
- | TagResourceCommandInput
247
- | UntagResourceCommandInput
248
- | UpdateApplicationCommandInput
249
- | UpdateDeploymentGroupCommandInput;
250
-
251
- export type ServiceOutputTypes =
252
- | AddTagsToOnPremisesInstancesCommandOutput
253
- | BatchGetApplicationRevisionsCommandOutput
254
- | BatchGetApplicationsCommandOutput
255
- | BatchGetDeploymentGroupsCommandOutput
256
- | BatchGetDeploymentInstancesCommandOutput
257
- | BatchGetDeploymentTargetsCommandOutput
258
- | BatchGetDeploymentsCommandOutput
259
- | BatchGetOnPremisesInstancesCommandOutput
260
- | ContinueDeploymentCommandOutput
261
- | CreateApplicationCommandOutput
262
- | CreateDeploymentCommandOutput
263
- | CreateDeploymentConfigCommandOutput
264
- | CreateDeploymentGroupCommandOutput
265
- | DeleteApplicationCommandOutput
266
- | DeleteDeploymentConfigCommandOutput
267
- | DeleteDeploymentGroupCommandOutput
268
- | DeleteGitHubAccountTokenCommandOutput
269
- | DeleteResourcesByExternalIdCommandOutput
270
- | DeregisterOnPremisesInstanceCommandOutput
271
- | GetApplicationCommandOutput
272
- | GetApplicationRevisionCommandOutput
273
- | GetDeploymentCommandOutput
274
- | GetDeploymentConfigCommandOutput
275
- | GetDeploymentGroupCommandOutput
276
- | GetDeploymentInstanceCommandOutput
277
- | GetDeploymentTargetCommandOutput
278
- | GetOnPremisesInstanceCommandOutput
279
- | ListApplicationRevisionsCommandOutput
280
- | ListApplicationsCommandOutput
281
- | ListDeploymentConfigsCommandOutput
282
- | ListDeploymentGroupsCommandOutput
283
- | ListDeploymentInstancesCommandOutput
284
- | ListDeploymentTargetsCommandOutput
285
- | ListDeploymentsCommandOutput
286
- | ListGitHubAccountTokenNamesCommandOutput
287
- | ListOnPremisesInstancesCommandOutput
288
- | ListTagsForResourceCommandOutput
289
- | PutLifecycleEventHookExecutionStatusCommandOutput
290
- | RegisterApplicationRevisionCommandOutput
291
- | RegisterOnPremisesInstanceCommandOutput
292
- | RemoveTagsFromOnPremisesInstancesCommandOutput
293
- | SkipWaitTimeForInstanceTerminationCommandOutput
294
- | StopDeploymentCommandOutput
295
- | TagResourceCommandOutput
296
- | UntagResourceCommandOutput
297
- | UpdateApplicationCommandOutput
298
- | UpdateDeploymentGroupCommandOutput;
299
-
300
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
301
- /**
302
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
303
- */
304
- requestHandler?: __HttpHandler;
305
-
306
- /**
307
- * A constructor for a class implementing the {@link __Hash} interface
308
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
309
- * @internal
310
- */
311
- sha256?: __HashConstructor;
312
-
313
- /**
314
- * The function that will be used to convert strings into HTTP endpoints.
315
- * @internal
316
- */
317
- urlParser?: __UrlParser;
318
-
319
- /**
320
- * A function that can calculate the length of a request body.
321
- * @internal
322
- */
323
- bodyLengthChecker?: (body: any) => number | undefined;
324
-
325
- /**
326
- * A function that converts a stream into an array of bytes.
327
- * @internal
328
- */
329
- streamCollector?: __StreamCollector;
330
-
331
- /**
332
- * The function that will be used to convert a base64-encoded string to a byte array.
333
- * @internal
334
- */
335
- base64Decoder?: __Decoder;
336
-
337
- /**
338
- * The function that will be used to convert binary data to a base64-encoded string.
339
- * @internal
340
- */
341
- base64Encoder?: __Encoder;
342
-
343
- /**
344
- * The function that will be used to convert a UTF8-encoded string to a byte array.
345
- * @internal
346
- */
347
- utf8Decoder?: __Decoder;
348
-
349
- /**
350
- * The function that will be used to convert binary data to a UTF-8 encoded string.
351
- * @internal
352
- */
353
- utf8Encoder?: __Encoder;
354
-
355
- /**
356
- * The runtime environment.
357
- * @internal
358
- */
359
- runtime?: string;
360
-
361
- /**
362
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
363
- * trait of an operation.
364
- */
365
- disableHostPrefix?: boolean;
366
-
367
- /**
368
- * Value for how many times a request will be made at most in case of retry.
369
- */
370
- maxAttempts?: number | __Provider<number>;
371
-
372
- /**
373
- * Specifies which retry algorithm to use.
374
- */
375
- retryMode?: string | __Provider<string>;
376
-
377
- /**
378
- * Optional logger for logging debug/info/warn/error.
379
- */
380
- logger?: __Logger;
381
-
382
- /**
383
- * Unique service identifier.
384
- * @internal
385
- */
386
- serviceId?: string;
387
-
388
- /**
389
- * The AWS region to which this client will send requests
390
- */
391
- region?: string | __Provider<string>;
392
-
393
- /**
394
- * Default credentials provider; Not available in browser runtime.
395
- * @internal
396
- */
397
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
398
-
399
- /**
400
- * Fetch related hostname, signing name or signing region with given region.
401
- * @internal
402
- */
403
- regionInfoProvider?: RegionInfoProvider;
404
-
405
- /**
406
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
407
- * @internal
408
- */
409
- defaultUserAgentProvider?: Provider<__UserAgent>;
410
- }
411
-
412
- type CodeDeployClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
413
- ClientDefaults &
414
- RegionInputConfig &
415
- EndpointsInputConfig &
416
- RetryInputConfig &
417
- HostHeaderInputConfig &
418
- AwsAuthInputConfig &
419
- UserAgentInputConfig;
420
- /**
421
- * The configuration interface of CodeDeployClient class constructor that set the region, credentials and other options.
422
- */
423
- export interface CodeDeployClientConfig extends CodeDeployClientConfigType {}
424
-
425
- type CodeDeployClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
426
- Required<ClientDefaults> &
427
- RegionResolvedConfig &
428
- EndpointsResolvedConfig &
429
- RetryResolvedConfig &
430
- HostHeaderResolvedConfig &
431
- AwsAuthResolvedConfig &
432
- UserAgentResolvedConfig;
433
- /**
434
- * The resolved configuration interface of CodeDeployClient class. This is resolved and normalized from the {@link CodeDeployClientConfig | constructor configuration interface}.
435
- */
436
- export interface CodeDeployClientResolvedConfig extends CodeDeployClientResolvedConfigType {}
437
-
438
- /**
439
- * <fullname>AWS CodeDeploy</fullname>
440
- * <p>AWS CodeDeploy is a deployment service that automates application deployments to
441
- * Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS
442
- * Lambda functions, or applications in an Amazon ECS service.</p>
443
- * <p>You can deploy a nearly unlimited variety of application content, such as an updated
444
- * Lambda function, updated applications in an Amazon ECS service, code, web and
445
- * configuration files, executables, packages, scripts, multimedia files, and so on. AWS
446
- * CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub
447
- * repositories, or Bitbucket repositories. You do not need to make changes to your
448
- * existing code before you can use AWS CodeDeploy.</p>
449
- * <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you
450
- * avoid downtime during application deployment, and handles the complexity of updating
451
- * your applications, without many of the risks associated with error-prone manual
452
- * deployments.</p>
453
- * <p>
454
- * <b>AWS CodeDeploy Components</b>
455
- * </p>
456
- * <p>Use the information in this guide to help you work with the following AWS CodeDeploy
457
- * components:</p>
458
- * <ul>
459
- * <li>
460
- * <p>
461
- * <b>Application</b>: A name that uniquely identifies
462
- * the application you want to deploy. AWS CodeDeploy uses this name, which
463
- * functions as a container, to ensure the correct combination of revision,
464
- * deployment configuration, and deployment group are referenced during a
465
- * deployment.</p>
466
- * </li>
467
- * <li>
468
- * <p>
469
- * <b>Deployment group</b>: A set of individual
470
- * instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS
471
- * service and network details. A Lambda deployment group specifies how to route
472
- * traffic to a new version of a Lambda function. An Amazon ECS deployment group
473
- * specifies the service created in Amazon ECS to deploy, a load balancer, and a
474
- * listener to reroute production traffic to an updated containerized application.
475
- * An EC2/On-premises deployment group contains individually tagged instances,
476
- * Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment
477
- * groups can specify optional trigger, alarm, and rollback settings.</p>
478
- * </li>
479
- * <li>
480
- * <p>
481
- * <b>Deployment configuration</b>: A set of deployment
482
- * rules and deployment success and failure conditions used by AWS CodeDeploy
483
- * during a deployment.</p>
484
- * </li>
485
- * <li>
486
- * <p>
487
- * <b>Deployment</b>: The process and the components used
488
- * when updating a Lambda function, a containerized application in an Amazon ECS
489
- * service, or of installing content on one or more instances. </p>
490
- * </li>
491
- * <li>
492
- * <p>
493
- * <b>Application revisions</b>: For an AWS Lambda
494
- * deployment, this is an AppSpec file that specifies the Lambda function to be
495
- * updated and one or more functions to validate deployment lifecycle events. For
496
- * an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS
497
- * task definition, container, and port where production traffic is rerouted. For
498
- * an EC2/On-premises deployment, this is an archive file that contains source
499
- * content—source code, webpages, executable files, and deployment scripts—along
500
- * with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub
501
- * repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3
502
- * object key and its ETag, version, or both. For GitHub, a revision is uniquely
503
- * identified by its commit ID.</p>
504
- * </li>
505
- * </ul>
506
- * <p>This guide also contains information to help you get details about the instances in
507
- * your deployments, to make on-premises instances available for AWS CodeDeploy
508
- * deployments, to get details about a Lambda function deployment, and to get details about
509
- * Amazon ECS service deployments.</p>
510
- * <p>
511
- * <b>AWS CodeDeploy Information Resources</b>
512
- * </p>
513
- * <ul>
514
- * <li>
515
- * <p>
516
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy
517
- * User Guide</a>
518
- * </p>
519
- * </li>
520
- * <li>
521
- * <p>
522
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">AWS
523
- * CodeDeploy API Reference Guide</a>
524
- * </p>
525
- * </li>
526
- * <li>
527
- * <p>
528
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">AWS
529
- * CLI Reference for AWS CodeDeploy</a>
530
- * </p>
531
- * </li>
532
- * <li>
533
- * <p>
534
- * <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">AWS CodeDeploy
535
- * Developer Forum</a>
536
- * </p>
537
- * </li>
538
- * </ul>
539
- */
540
- export class CodeDeployClient extends __Client<
541
- __HttpHandlerOptions,
542
- ServiceInputTypes,
543
- ServiceOutputTypes,
544
- CodeDeployClientResolvedConfig
545
- > {
546
- /**
547
- * The resolved configuration of CodeDeployClient class. This is resolved and normalized from the {@link CodeDeployClientConfig | constructor configuration interface}.
548
- */
549
- readonly config: CodeDeployClientResolvedConfig;
550
-
551
- constructor(configuration: CodeDeployClientConfig) {
552
- let _config_0 = __getRuntimeConfig(configuration);
553
- let _config_1 = resolveRegionConfig(_config_0);
554
- let _config_2 = resolveEndpointsConfig(_config_1);
555
- let _config_3 = resolveRetryConfig(_config_2);
556
- let _config_4 = resolveHostHeaderConfig(_config_3);
557
- let _config_5 = resolveAwsAuthConfig(_config_4);
558
- let _config_6 = resolveUserAgentConfig(_config_5);
559
- super(_config_6);
560
- this.config = _config_6;
561
- this.middlewareStack.use(getRetryPlugin(this.config));
562
- this.middlewareStack.use(getContentLengthPlugin(this.config));
563
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
564
- this.middlewareStack.use(getLoggerPlugin(this.config));
565
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
566
- this.middlewareStack.use(getUserAgentPlugin(this.config));
567
- }
568
-
569
- /**
570
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
571
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
572
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
573
- */
574
- destroy(): void {
575
- super.destroy();
576
- }
577
- }
@@ -1,97 +0,0 @@
1
- import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
2
- import { AddTagsToOnPremisesInstancesInput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1AddTagsToOnPremisesInstancesCommand,
5
- serializeAws_json1_1AddTagsToOnPremisesInstancesCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface AddTagsToOnPremisesInstancesCommandInput extends AddTagsToOnPremisesInstancesInput {}
21
- export interface AddTagsToOnPremisesInstancesCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds tags to on-premises instances.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CodeDeployClient, AddTagsToOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
29
- * // const { CodeDeployClient, AddTagsToOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
30
- * const client = new CodeDeployClient(config);
31
- * const command = new AddTagsToOnPremisesInstancesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link AddTagsToOnPremisesInstancesCommandInput} for command's `input` shape.
36
- * @see {@link AddTagsToOnPremisesInstancesCommandOutput} for command's `response` shape.
37
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class AddTagsToOnPremisesInstancesCommand extends $Command<
41
- AddTagsToOnPremisesInstancesCommandInput,
42
- AddTagsToOnPremisesInstancesCommandOutput,
43
- CodeDeployClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: AddTagsToOnPremisesInstancesCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CodeDeployClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<AddTagsToOnPremisesInstancesCommandInput, AddTagsToOnPremisesInstancesCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CodeDeployClient";
68
- const commandName = "AddTagsToOnPremisesInstancesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: AddTagsToOnPremisesInstancesInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: (output: any) => output,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: AddTagsToOnPremisesInstancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1AddTagsToOnPremisesInstancesCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<AddTagsToOnPremisesInstancesCommandOutput> {
92
- return deserializeAws_json1_1AddTagsToOnPremisesInstancesCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }