@aws-sdk/client-codepipeline 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CodePipeline.js +0 -198
  3. package/dist-cjs/CodePipelineClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AcknowledgeJobCommand.js +2 -28
  5. package/{dist/cjs → dist-cjs}/commands/AcknowledgeThirdPartyJobCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/CreateCustomActionTypeCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/commands/CreatePipelineCommand.js +2 -33
  8. package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +36 -0
  9. package/{dist/cjs → dist-cjs}/commands/DeletePipelineCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DeleteWebhookCommand.js +2 -31
  11. package/{dist/cjs → dist-cjs}/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -29
  12. package/{dist/cjs → dist-cjs}/commands/DisableStageTransitionCommand.js +2 -28
  13. package/{dist/cjs → dist-cjs}/commands/EnableStageTransitionCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/GetActionTypeCommand.js +2 -29
  15. package/{dist/cjs → dist-cjs}/commands/GetJobDetailsCommand.js +2 -33
  16. package/{dist/cjs → dist-cjs}/commands/GetPipelineCommand.js +2 -29
  17. package/{dist/cjs → dist-cjs}/commands/GetPipelineExecutionCommand.js +2 -29
  18. package/{dist/cjs → dist-cjs}/commands/GetPipelineStateCommand.js +2 -33
  19. package/{dist/cjs → dist-cjs}/commands/GetThirdPartyJobDetailsCommand.js +2 -34
  20. package/{dist/cjs → dist-cjs}/commands/ListActionExecutionsCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListActionTypesCommand.js +2 -28
  22. package/{dist/cjs → dist-cjs}/commands/ListPipelineExecutionsCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/ListPipelinesCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  25. package/{dist/cjs → dist-cjs}/commands/ListWebhooksCommand.js +2 -29
  26. package/dist-cjs/commands/PollForJobsCommand.js +36 -0
  27. package/{dist/cjs → dist-cjs}/commands/PollForThirdPartyJobsCommand.js +2 -33
  28. package/{dist/cjs → dist-cjs}/commands/PutActionRevisionCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/PutApprovalResultCommand.js +2 -28
  30. package/{dist/cjs → dist-cjs}/commands/PutJobFailureResultCommand.js +2 -28
  31. package/{dist/cjs → dist-cjs}/commands/PutJobSuccessResultCommand.js +2 -28
  32. package/{dist/cjs → dist-cjs}/commands/PutThirdPartyJobFailureResultCommand.js +2 -28
  33. package/{dist/cjs → dist-cjs}/commands/PutThirdPartyJobSuccessResultCommand.js +2 -28
  34. package/dist-cjs/commands/PutWebhookCommand.js +36 -0
  35. package/{dist/cjs → dist-cjs}/commands/RegisterWebhookWithThirdPartyCommand.js +2 -28
  36. package/{dist/cjs → dist-cjs}/commands/RetryStageExecutionCommand.js +2 -30
  37. package/{dist/cjs → dist-cjs}/commands/StartPipelineExecutionCommand.js +2 -28
  38. package/{dist/cjs → dist-cjs}/commands/StopPipelineExecutionCommand.js +2 -32
  39. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
  40. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/commands/UpdateActionTypeCommand.js +2 -30
  42. package/{dist/cjs → dist-cjs}/commands/UpdatePipelineCommand.js +2 -30
  43. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  44. package/{dist/cjs → dist-cjs}/index.js +0 -1
  45. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  46. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -520
  47. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  48. package/{dist/cjs → dist-cjs}/pagination/ListActionExecutionsPaginator.js +0 -11
  49. package/{dist/cjs → dist-cjs}/pagination/ListActionTypesPaginator.js +0 -11
  50. package/{dist/cjs → dist-cjs}/pagination/ListPipelineExecutionsPaginator.js +0 -11
  51. package/{dist/cjs → dist-cjs}/pagination/ListPipelinesPaginator.js +0 -11
  52. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +0 -11
  53. package/{dist/cjs → dist-cjs}/pagination/ListWebhooksPaginator.js +0 -11
  54. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  55. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  56. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  57. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  58. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  59. package/{dist/es → dist-es}/CodePipeline.js +0 -1
  60. package/{dist/es → dist-es}/CodePipelineClient.js +1 -2
  61. package/{dist/es → dist-es}/commands/AcknowledgeJobCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/AcknowledgeThirdPartyJobCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/CreateCustomActionTypeCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/CreatePipelineCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DeleteCustomActionTypeCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DeletePipelineCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DeleteWebhookCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/DisableStageTransitionCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/EnableStageTransitionCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/GetActionTypeCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/GetJobDetailsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/GetPipelineCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/GetPipelineExecutionCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/GetPipelineStateCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/GetThirdPartyJobDetailsCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/ListActionExecutionsCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/ListActionTypesCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/ListPipelineExecutionsCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/ListPipelinesCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/ListWebhooksCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/PollForJobsCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/PollForThirdPartyJobsCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/PutActionRevisionCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/PutApprovalResultCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/PutJobFailureResultCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/PutJobSuccessResultCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/PutThirdPartyJobFailureResultCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/PutThirdPartyJobSuccessResultCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/PutWebhookCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/RegisterWebhookWithThirdPartyCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/RetryStageExecutionCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/StartPipelineExecutionCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/StopPipelineExecutionCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/UpdateActionTypeCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/UpdatePipelineCommand.js +2 -3
  100. package/{dist/es → dist-es}/endpoints.js +1 -2
  101. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  102. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  103. package/{dist/es → dist-es}/models/models_0.js +0 -1
  104. package/dist-es/pagination/Interfaces.js +1 -0
  105. package/{dist/es → dist-es}/pagination/ListActionExecutionsPaginator.js +0 -1
  106. package/{dist/es → dist-es}/pagination/ListActionTypesPaginator.js +0 -1
  107. package/{dist/es → dist-es}/pagination/ListPipelineExecutionsPaginator.js +0 -1
  108. package/{dist/es → dist-es}/pagination/ListPipelinesPaginator.js +0 -1
  109. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +0 -1
  110. package/{dist/es → dist-es}/pagination/ListWebhooksPaginator.js +0 -1
  111. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  112. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  113. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  114. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  115. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  116. package/{dist/types → dist-types}/CodePipeline.d.ts +1 -1
  117. package/{dist/types → dist-types}/CodePipelineClient.d.ts +8 -8
  118. package/{dist/types → dist-types}/commands/AcknowledgeJobCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/AcknowledgeThirdPartyJobCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/CreateCustomActionTypeCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/CreatePipelineCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/DeleteCustomActionTypeCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/DeletePipelineCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/DeleteWebhookCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/DisableStageTransitionCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/EnableStageTransitionCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/GetActionTypeCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/GetJobDetailsCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/GetPipelineCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/GetPipelineExecutionCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/GetPipelineStateCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/GetThirdPartyJobDetailsCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/ListActionExecutionsCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/ListActionTypesCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/ListPipelineExecutionsCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/ListPipelinesCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/ListWebhooksCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/PollForJobsCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/PollForThirdPartyJobsCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/PutActionRevisionCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/PutApprovalResultCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/PutJobFailureResultCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/PutJobSuccessResultCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/PutThirdPartyJobFailureResultCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/PutThirdPartyJobSuccessResultCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/PutWebhookCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/RegisterWebhookWithThirdPartyCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/RetryStageExecutionCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/StartPipelineExecutionCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/StopPipelineExecutionCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/UpdateActionTypeCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/UpdatePipelineCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  158. package/{index.ts → dist-types/index.d.ts} +0 -0
  159. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  160. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  161. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  162. package/{dist/types → dist-types}/pagination/ListActionExecutionsPaginator.d.ts +1 -1
  163. package/{dist/types → dist-types}/pagination/ListActionTypesPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/pagination/ListPipelineExecutionsPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/pagination/ListPipelinesPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/pagination/ListWebhooksPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  169. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  170. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  171. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  172. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  173. package/{dist/types → dist-types}/ts3.4/CodePipeline.d.ts +41 -411
  174. package/dist-types/ts3.4/CodePipelineClient.d.ts +106 -0
  175. package/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +17 -0
  176. package/{dist/types → dist-types}/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +4 -23
  177. package/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +17 -0
  191. package/{dist/types → dist-types}/ts3.4/commands/ListActionExecutionsCommand.d.ts +4 -22
  192. package/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +17 -0
  193. package/{dist/types → dist-types}/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +4 -22
  194. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +17 -0
  206. package/{dist/types → dist-types}/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +4 -23
  207. package/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +17 -0
  209. package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +17 -0
  210. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  211. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  212. package/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +17 -0
  213. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +17 -0
  214. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  215. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  216. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  217. package/dist-types/ts3.4/models/models_0.d.ts +2230 -0
  218. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  219. package/{dist/types → dist-types}/ts3.4/pagination/ListActionExecutionsPaginator.d.ts +1 -1
  220. package/{dist/types → dist-types}/ts3.4/pagination/ListActionTypesPaginator.d.ts +1 -1
  221. package/{dist/types → dist-types}/ts3.4/pagination/ListPipelineExecutionsPaginator.d.ts +1 -1
  222. package/{dist/types → dist-types}/ts3.4/pagination/ListPipelinesPaginator.d.ts +1 -1
  223. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  224. package/{dist/types → dist-types}/ts3.4/pagination/ListWebhooksPaginator.d.ts +1 -1
  225. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  226. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  227. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  228. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  229. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  230. package/package.json +45 -42
  231. package/CodePipeline.ts +0 -1697
  232. package/CodePipelineClient.ts +0 -606
  233. package/commands/AcknowledgeJobCommand.ts +0 -95
  234. package/commands/AcknowledgeThirdPartyJobCommand.ts +0 -95
  235. package/commands/CreateCustomActionTypeCommand.ts +0 -95
  236. package/commands/CreatePipelineCommand.ts +0 -100
  237. package/commands/DeleteCustomActionTypeCommand.ts +0 -102
  238. package/commands/DeletePipelineCommand.ts +0 -94
  239. package/commands/DeleteWebhookCommand.ts +0 -98
  240. package/commands/DeregisterWebhookWithThirdPartyCommand.ts +0 -104
  241. package/commands/DisableStageTransitionCommand.ts +0 -95
  242. package/commands/EnableStageTransitionCommand.ts +0 -94
  243. package/commands/GetActionTypeCommand.ts +0 -96
  244. package/commands/GetJobDetailsCommand.ts +0 -100
  245. package/commands/GetPipelineCommand.ts +0 -96
  246. package/commands/GetPipelineExecutionCommand.ts +0 -96
  247. package/commands/GetPipelineStateCommand.ts +0 -100
  248. package/commands/GetThirdPartyJobDetailsCommand.ts +0 -101
  249. package/commands/ListActionExecutionsCommand.ts +0 -94
  250. package/commands/ListActionTypesCommand.ts +0 -95
  251. package/commands/ListPipelineExecutionsCommand.ts +0 -94
  252. package/commands/ListPipelinesCommand.ts +0 -94
  253. package/commands/ListTagsForResourceCommand.ts +0 -95
  254. package/commands/ListWebhooksCommand.ts +0 -96
  255. package/commands/PollForJobsCommand.ts +0 -103
  256. package/commands/PollForThirdPartyJobsCommand.ts +0 -100
  257. package/commands/PutActionRevisionCommand.ts +0 -94
  258. package/commands/PutApprovalResultCommand.ts +0 -95
  259. package/commands/PutJobFailureResultCommand.ts +0 -95
  260. package/commands/PutJobSuccessResultCommand.ts +0 -95
  261. package/commands/PutThirdPartyJobFailureResultCommand.ts +0 -98
  262. package/commands/PutThirdPartyJobSuccessResultCommand.ts +0 -98
  263. package/commands/PutWebhookCommand.ts +0 -100
  264. package/commands/RegisterWebhookWithThirdPartyCommand.ts +0 -100
  265. package/commands/RetryStageExecutionCommand.ts +0 -97
  266. package/commands/StartPipelineExecutionCommand.ts +0 -95
  267. package/commands/StopPipelineExecutionCommand.ts +0 -99
  268. package/commands/TagResourceCommand.ts +0 -95
  269. package/commands/UntagResourceCommand.ts +0 -94
  270. package/commands/UpdateActionTypeCommand.ts +0 -97
  271. package/commands/UpdatePipelineCommand.ts +0 -97
  272. package/dist/cjs/CodePipeline.js.map +0 -1
  273. package/dist/cjs/CodePipelineClient.js +0 -238
  274. package/dist/cjs/CodePipelineClient.js.map +0 -1
  275. package/dist/cjs/commands/AcknowledgeJobCommand.js.map +0 -1
  276. package/dist/cjs/commands/AcknowledgeThirdPartyJobCommand.js.map +0 -1
  277. package/dist/cjs/commands/CreateCustomActionTypeCommand.js.map +0 -1
  278. package/dist/cjs/commands/CreatePipelineCommand.js.map +0 -1
  279. package/dist/cjs/commands/DeleteCustomActionTypeCommand.js +0 -69
  280. package/dist/cjs/commands/DeleteCustomActionTypeCommand.js.map +0 -1
  281. package/dist/cjs/commands/DeletePipelineCommand.js.map +0 -1
  282. package/dist/cjs/commands/DeleteWebhookCommand.js.map +0 -1
  283. package/dist/cjs/commands/DeregisterWebhookWithThirdPartyCommand.js.map +0 -1
  284. package/dist/cjs/commands/DisableStageTransitionCommand.js.map +0 -1
  285. package/dist/cjs/commands/EnableStageTransitionCommand.js.map +0 -1
  286. package/dist/cjs/commands/GetActionTypeCommand.js.map +0 -1
  287. package/dist/cjs/commands/GetJobDetailsCommand.js.map +0 -1
  288. package/dist/cjs/commands/GetPipelineCommand.js.map +0 -1
  289. package/dist/cjs/commands/GetPipelineExecutionCommand.js.map +0 -1
  290. package/dist/cjs/commands/GetPipelineStateCommand.js.map +0 -1
  291. package/dist/cjs/commands/GetThirdPartyJobDetailsCommand.js.map +0 -1
  292. package/dist/cjs/commands/ListActionExecutionsCommand.js.map +0 -1
  293. package/dist/cjs/commands/ListActionTypesCommand.js.map +0 -1
  294. package/dist/cjs/commands/ListPipelineExecutionsCommand.js.map +0 -1
  295. package/dist/cjs/commands/ListPipelinesCommand.js.map +0 -1
  296. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  297. package/dist/cjs/commands/ListWebhooksCommand.js.map +0 -1
  298. package/dist/cjs/commands/PollForJobsCommand.js +0 -70
  299. package/dist/cjs/commands/PollForJobsCommand.js.map +0 -1
  300. package/dist/cjs/commands/PollForThirdPartyJobsCommand.js.map +0 -1
  301. package/dist/cjs/commands/PutActionRevisionCommand.js.map +0 -1
  302. package/dist/cjs/commands/PutApprovalResultCommand.js.map +0 -1
  303. package/dist/cjs/commands/PutJobFailureResultCommand.js.map +0 -1
  304. package/dist/cjs/commands/PutJobSuccessResultCommand.js.map +0 -1
  305. package/dist/cjs/commands/PutThirdPartyJobFailureResultCommand.js.map +0 -1
  306. package/dist/cjs/commands/PutThirdPartyJobSuccessResultCommand.js.map +0 -1
  307. package/dist/cjs/commands/PutWebhookCommand.js +0 -67
  308. package/dist/cjs/commands/PutWebhookCommand.js.map +0 -1
  309. package/dist/cjs/commands/RegisterWebhookWithThirdPartyCommand.js.map +0 -1
  310. package/dist/cjs/commands/RetryStageExecutionCommand.js.map +0 -1
  311. package/dist/cjs/commands/StartPipelineExecutionCommand.js.map +0 -1
  312. package/dist/cjs/commands/StopPipelineExecutionCommand.js.map +0 -1
  313. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  314. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  315. package/dist/cjs/commands/UpdateActionTypeCommand.js.map +0 -1
  316. package/dist/cjs/commands/UpdatePipelineCommand.js.map +0 -1
  317. package/dist/cjs/endpoints.js.map +0 -1
  318. package/dist/cjs/index.js.map +0 -1
  319. package/dist/cjs/models/index.js.map +0 -1
  320. package/dist/cjs/models/models_0.js.map +0 -1
  321. package/dist/cjs/package.json +0 -93
  322. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  323. package/dist/cjs/pagination/ListActionExecutionsPaginator.js.map +0 -1
  324. package/dist/cjs/pagination/ListActionTypesPaginator.js.map +0 -1
  325. package/dist/cjs/pagination/ListPipelineExecutionsPaginator.js.map +0 -1
  326. package/dist/cjs/pagination/ListPipelinesPaginator.js.map +0 -1
  327. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  328. package/dist/cjs/pagination/ListWebhooksPaginator.js.map +0 -1
  329. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  330. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  331. package/dist/cjs/runtimeConfig.js.map +0 -1
  332. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  333. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  334. package/dist/es/CodePipeline.js.map +0 -1
  335. package/dist/es/CodePipelineClient.js.map +0 -1
  336. package/dist/es/commands/AcknowledgeJobCommand.js.map +0 -1
  337. package/dist/es/commands/AcknowledgeThirdPartyJobCommand.js.map +0 -1
  338. package/dist/es/commands/CreateCustomActionTypeCommand.js.map +0 -1
  339. package/dist/es/commands/CreatePipelineCommand.js.map +0 -1
  340. package/dist/es/commands/DeleteCustomActionTypeCommand.js.map +0 -1
  341. package/dist/es/commands/DeletePipelineCommand.js.map +0 -1
  342. package/dist/es/commands/DeleteWebhookCommand.js.map +0 -1
  343. package/dist/es/commands/DeregisterWebhookWithThirdPartyCommand.js.map +0 -1
  344. package/dist/es/commands/DisableStageTransitionCommand.js.map +0 -1
  345. package/dist/es/commands/EnableStageTransitionCommand.js.map +0 -1
  346. package/dist/es/commands/GetActionTypeCommand.js.map +0 -1
  347. package/dist/es/commands/GetJobDetailsCommand.js.map +0 -1
  348. package/dist/es/commands/GetPipelineCommand.js.map +0 -1
  349. package/dist/es/commands/GetPipelineExecutionCommand.js.map +0 -1
  350. package/dist/es/commands/GetPipelineStateCommand.js.map +0 -1
  351. package/dist/es/commands/GetThirdPartyJobDetailsCommand.js.map +0 -1
  352. package/dist/es/commands/ListActionExecutionsCommand.js.map +0 -1
  353. package/dist/es/commands/ListActionTypesCommand.js.map +0 -1
  354. package/dist/es/commands/ListPipelineExecutionsCommand.js.map +0 -1
  355. package/dist/es/commands/ListPipelinesCommand.js.map +0 -1
  356. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  357. package/dist/es/commands/ListWebhooksCommand.js.map +0 -1
  358. package/dist/es/commands/PollForJobsCommand.js.map +0 -1
  359. package/dist/es/commands/PollForThirdPartyJobsCommand.js.map +0 -1
  360. package/dist/es/commands/PutActionRevisionCommand.js.map +0 -1
  361. package/dist/es/commands/PutApprovalResultCommand.js.map +0 -1
  362. package/dist/es/commands/PutJobFailureResultCommand.js.map +0 -1
  363. package/dist/es/commands/PutJobSuccessResultCommand.js.map +0 -1
  364. package/dist/es/commands/PutThirdPartyJobFailureResultCommand.js.map +0 -1
  365. package/dist/es/commands/PutThirdPartyJobSuccessResultCommand.js.map +0 -1
  366. package/dist/es/commands/PutWebhookCommand.js.map +0 -1
  367. package/dist/es/commands/RegisterWebhookWithThirdPartyCommand.js.map +0 -1
  368. package/dist/es/commands/RetryStageExecutionCommand.js.map +0 -1
  369. package/dist/es/commands/StartPipelineExecutionCommand.js.map +0 -1
  370. package/dist/es/commands/StopPipelineExecutionCommand.js.map +0 -1
  371. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  372. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  373. package/dist/es/commands/UpdateActionTypeCommand.js.map +0 -1
  374. package/dist/es/commands/UpdatePipelineCommand.js.map +0 -1
  375. package/dist/es/endpoints.js.map +0 -1
  376. package/dist/es/index.js +0 -50
  377. package/dist/es/index.js.map +0 -1
  378. package/dist/es/models/index.js +0 -2
  379. package/dist/es/models/index.js.map +0 -1
  380. package/dist/es/models/models_0.js.map +0 -1
  381. package/dist/es/package.json +0 -93
  382. package/dist/es/pagination/Interfaces.js +0 -2
  383. package/dist/es/pagination/Interfaces.js.map +0 -1
  384. package/dist/es/pagination/ListActionExecutionsPaginator.js.map +0 -1
  385. package/dist/es/pagination/ListActionTypesPaginator.js.map +0 -1
  386. package/dist/es/pagination/ListPipelineExecutionsPaginator.js.map +0 -1
  387. package/dist/es/pagination/ListPipelinesPaginator.js.map +0 -1
  388. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  389. package/dist/es/pagination/ListWebhooksPaginator.js.map +0 -1
  390. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  391. package/dist/es/runtimeConfig.browser.js.map +0 -1
  392. package/dist/es/runtimeConfig.js.map +0 -1
  393. package/dist/es/runtimeConfig.native.js.map +0 -1
  394. package/dist/es/runtimeConfig.shared.js.map +0 -1
  395. package/dist/types/ts3.4/CodePipelineClient.d.ts +0 -365
  396. package/dist/types/ts3.4/commands/AcknowledgeJobCommand.d.ts +0 -36
  397. package/dist/types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +0 -36
  398. package/dist/types/ts3.4/commands/CreatePipelineCommand.d.ts +0 -41
  399. package/dist/types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +0 -43
  400. package/dist/types/ts3.4/commands/DeletePipelineCommand.d.ts +0 -35
  401. package/dist/types/ts3.4/commands/DeleteWebhookCommand.d.ts +0 -39
  402. package/dist/types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +0 -37
  403. package/dist/types/ts3.4/commands/DisableStageTransitionCommand.d.ts +0 -36
  404. package/dist/types/ts3.4/commands/EnableStageTransitionCommand.d.ts +0 -35
  405. package/dist/types/ts3.4/commands/GetActionTypeCommand.d.ts +0 -37
  406. package/dist/types/ts3.4/commands/GetJobDetailsCommand.d.ts +0 -41
  407. package/dist/types/ts3.4/commands/GetPipelineCommand.d.ts +0 -37
  408. package/dist/types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +0 -37
  409. package/dist/types/ts3.4/commands/GetPipelineStateCommand.d.ts +0 -41
  410. package/dist/types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +0 -42
  411. package/dist/types/ts3.4/commands/ListActionTypesCommand.d.ts +0 -36
  412. package/dist/types/ts3.4/commands/ListPipelinesCommand.d.ts +0 -35
  413. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  414. package/dist/types/ts3.4/commands/ListWebhooksCommand.d.ts +0 -37
  415. package/dist/types/ts3.4/commands/PollForJobsCommand.d.ts +0 -44
  416. package/dist/types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +0 -41
  417. package/dist/types/ts3.4/commands/PutActionRevisionCommand.d.ts +0 -35
  418. package/dist/types/ts3.4/commands/PutApprovalResultCommand.d.ts +0 -36
  419. package/dist/types/ts3.4/commands/PutJobFailureResultCommand.d.ts +0 -36
  420. package/dist/types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +0 -36
  421. package/dist/types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +0 -36
  422. package/dist/types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +0 -36
  423. package/dist/types/ts3.4/commands/PutWebhookCommand.d.ts +0 -41
  424. package/dist/types/ts3.4/commands/RetryStageExecutionCommand.d.ts +0 -38
  425. package/dist/types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +0 -36
  426. package/dist/types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +0 -40
  427. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
  428. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  429. package/dist/types/ts3.4/commands/UpdateActionTypeCommand.d.ts +0 -38
  430. package/dist/types/ts3.4/commands/UpdatePipelineCommand.d.ts +0 -38
  431. package/dist/types/ts3.4/models/models_0.d.ts +0 -4297
  432. package/endpoints.ts +0 -87
  433. package/jest.config.js +0 -4
  434. package/models/models_0.ts +0 -5263
  435. package/pagination/Interfaces.ts +0 -7
  436. package/pagination/ListActionExecutionsPaginator.ts +0 -58
  437. package/pagination/ListActionTypesPaginator.ts +0 -57
  438. package/pagination/ListPipelineExecutionsPaginator.ts +0 -58
  439. package/pagination/ListPipelinesPaginator.ts +0 -58
  440. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  441. package/pagination/ListWebhooksPaginator.ts +0 -58
  442. package/protocols/Aws_json1_1.ts +0 -7092
  443. package/runtimeConfig.browser.ts +0 -40
  444. package/runtimeConfig.native.ts +0 -16
  445. package/runtimeConfig.shared.ts +0 -16
  446. package/runtimeConfig.ts +0 -45
  447. package/tsconfig.es.json +0 -10
  448. package/tsconfig.json +0 -31
  449. package/tsconfig.types.json +0 -8
package/CodePipeline.ts DELETED
@@ -1,1697 +0,0 @@
1
- import { CodePipelineClient } from "./CodePipelineClient";
2
- import {
3
- AcknowledgeJobCommand,
4
- AcknowledgeJobCommandInput,
5
- AcknowledgeJobCommandOutput,
6
- } from "./commands/AcknowledgeJobCommand";
7
- import {
8
- AcknowledgeThirdPartyJobCommand,
9
- AcknowledgeThirdPartyJobCommandInput,
10
- AcknowledgeThirdPartyJobCommandOutput,
11
- } from "./commands/AcknowledgeThirdPartyJobCommand";
12
- import {
13
- CreateCustomActionTypeCommand,
14
- CreateCustomActionTypeCommandInput,
15
- CreateCustomActionTypeCommandOutput,
16
- } from "./commands/CreateCustomActionTypeCommand";
17
- import {
18
- CreatePipelineCommand,
19
- CreatePipelineCommandInput,
20
- CreatePipelineCommandOutput,
21
- } from "./commands/CreatePipelineCommand";
22
- import {
23
- DeleteCustomActionTypeCommand,
24
- DeleteCustomActionTypeCommandInput,
25
- DeleteCustomActionTypeCommandOutput,
26
- } from "./commands/DeleteCustomActionTypeCommand";
27
- import {
28
- DeletePipelineCommand,
29
- DeletePipelineCommandInput,
30
- DeletePipelineCommandOutput,
31
- } from "./commands/DeletePipelineCommand";
32
- import {
33
- DeleteWebhookCommand,
34
- DeleteWebhookCommandInput,
35
- DeleteWebhookCommandOutput,
36
- } from "./commands/DeleteWebhookCommand";
37
- import {
38
- DeregisterWebhookWithThirdPartyCommand,
39
- DeregisterWebhookWithThirdPartyCommandInput,
40
- DeregisterWebhookWithThirdPartyCommandOutput,
41
- } from "./commands/DeregisterWebhookWithThirdPartyCommand";
42
- import {
43
- DisableStageTransitionCommand,
44
- DisableStageTransitionCommandInput,
45
- DisableStageTransitionCommandOutput,
46
- } from "./commands/DisableStageTransitionCommand";
47
- import {
48
- EnableStageTransitionCommand,
49
- EnableStageTransitionCommandInput,
50
- EnableStageTransitionCommandOutput,
51
- } from "./commands/EnableStageTransitionCommand";
52
- import {
53
- GetActionTypeCommand,
54
- GetActionTypeCommandInput,
55
- GetActionTypeCommandOutput,
56
- } from "./commands/GetActionTypeCommand";
57
- import {
58
- GetJobDetailsCommand,
59
- GetJobDetailsCommandInput,
60
- GetJobDetailsCommandOutput,
61
- } from "./commands/GetJobDetailsCommand";
62
- import { GetPipelineCommand, GetPipelineCommandInput, GetPipelineCommandOutput } from "./commands/GetPipelineCommand";
63
- import {
64
- GetPipelineExecutionCommand,
65
- GetPipelineExecutionCommandInput,
66
- GetPipelineExecutionCommandOutput,
67
- } from "./commands/GetPipelineExecutionCommand";
68
- import {
69
- GetPipelineStateCommand,
70
- GetPipelineStateCommandInput,
71
- GetPipelineStateCommandOutput,
72
- } from "./commands/GetPipelineStateCommand";
73
- import {
74
- GetThirdPartyJobDetailsCommand,
75
- GetThirdPartyJobDetailsCommandInput,
76
- GetThirdPartyJobDetailsCommandOutput,
77
- } from "./commands/GetThirdPartyJobDetailsCommand";
78
- import {
79
- ListActionExecutionsCommand,
80
- ListActionExecutionsCommandInput,
81
- ListActionExecutionsCommandOutput,
82
- } from "./commands/ListActionExecutionsCommand";
83
- import {
84
- ListActionTypesCommand,
85
- ListActionTypesCommandInput,
86
- ListActionTypesCommandOutput,
87
- } from "./commands/ListActionTypesCommand";
88
- import {
89
- ListPipelineExecutionsCommand,
90
- ListPipelineExecutionsCommandInput,
91
- ListPipelineExecutionsCommandOutput,
92
- } from "./commands/ListPipelineExecutionsCommand";
93
- import {
94
- ListPipelinesCommand,
95
- ListPipelinesCommandInput,
96
- ListPipelinesCommandOutput,
97
- } from "./commands/ListPipelinesCommand";
98
- import {
99
- ListTagsForResourceCommand,
100
- ListTagsForResourceCommandInput,
101
- ListTagsForResourceCommandOutput,
102
- } from "./commands/ListTagsForResourceCommand";
103
- import {
104
- ListWebhooksCommand,
105
- ListWebhooksCommandInput,
106
- ListWebhooksCommandOutput,
107
- } from "./commands/ListWebhooksCommand";
108
- import { PollForJobsCommand, PollForJobsCommandInput, PollForJobsCommandOutput } from "./commands/PollForJobsCommand";
109
- import {
110
- PollForThirdPartyJobsCommand,
111
- PollForThirdPartyJobsCommandInput,
112
- PollForThirdPartyJobsCommandOutput,
113
- } from "./commands/PollForThirdPartyJobsCommand";
114
- import {
115
- PutActionRevisionCommand,
116
- PutActionRevisionCommandInput,
117
- PutActionRevisionCommandOutput,
118
- } from "./commands/PutActionRevisionCommand";
119
- import {
120
- PutApprovalResultCommand,
121
- PutApprovalResultCommandInput,
122
- PutApprovalResultCommandOutput,
123
- } from "./commands/PutApprovalResultCommand";
124
- import {
125
- PutJobFailureResultCommand,
126
- PutJobFailureResultCommandInput,
127
- PutJobFailureResultCommandOutput,
128
- } from "./commands/PutJobFailureResultCommand";
129
- import {
130
- PutJobSuccessResultCommand,
131
- PutJobSuccessResultCommandInput,
132
- PutJobSuccessResultCommandOutput,
133
- } from "./commands/PutJobSuccessResultCommand";
134
- import {
135
- PutThirdPartyJobFailureResultCommand,
136
- PutThirdPartyJobFailureResultCommandInput,
137
- PutThirdPartyJobFailureResultCommandOutput,
138
- } from "./commands/PutThirdPartyJobFailureResultCommand";
139
- import {
140
- PutThirdPartyJobSuccessResultCommand,
141
- PutThirdPartyJobSuccessResultCommandInput,
142
- PutThirdPartyJobSuccessResultCommandOutput,
143
- } from "./commands/PutThirdPartyJobSuccessResultCommand";
144
- import { PutWebhookCommand, PutWebhookCommandInput, PutWebhookCommandOutput } from "./commands/PutWebhookCommand";
145
- import {
146
- RegisterWebhookWithThirdPartyCommand,
147
- RegisterWebhookWithThirdPartyCommandInput,
148
- RegisterWebhookWithThirdPartyCommandOutput,
149
- } from "./commands/RegisterWebhookWithThirdPartyCommand";
150
- import {
151
- RetryStageExecutionCommand,
152
- RetryStageExecutionCommandInput,
153
- RetryStageExecutionCommandOutput,
154
- } from "./commands/RetryStageExecutionCommand";
155
- import {
156
- StartPipelineExecutionCommand,
157
- StartPipelineExecutionCommandInput,
158
- StartPipelineExecutionCommandOutput,
159
- } from "./commands/StartPipelineExecutionCommand";
160
- import {
161
- StopPipelineExecutionCommand,
162
- StopPipelineExecutionCommandInput,
163
- StopPipelineExecutionCommandOutput,
164
- } from "./commands/StopPipelineExecutionCommand";
165
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
166
- import {
167
- UntagResourceCommand,
168
- UntagResourceCommandInput,
169
- UntagResourceCommandOutput,
170
- } from "./commands/UntagResourceCommand";
171
- import {
172
- UpdateActionTypeCommand,
173
- UpdateActionTypeCommandInput,
174
- UpdateActionTypeCommandOutput,
175
- } from "./commands/UpdateActionTypeCommand";
176
- import {
177
- UpdatePipelineCommand,
178
- UpdatePipelineCommandInput,
179
- UpdatePipelineCommandOutput,
180
- } from "./commands/UpdatePipelineCommand";
181
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
182
-
183
- /**
184
- * <fullname>AWS CodePipeline</fullname>
185
- * <p>
186
- * <b>Overview</b>
187
- * </p>
188
- * <p>This is the AWS CodePipeline API Reference. This guide provides descriptions of the
189
- * actions and data types for AWS CodePipeline. Some functionality for your pipeline can
190
- * only be configured through the API. For more information, see the <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html">AWS
191
- * CodePipeline User Guide</a>.</p>
192
- * <p>You can use the AWS CodePipeline API to work with pipelines, stages, actions, and
193
- * transitions.</p>
194
- * <p>
195
- * <i>Pipelines</i> are models of automated release processes. Each pipeline
196
- * is uniquely named, and consists of stages, actions, and transitions. </p>
197
- * <p>You can work with pipelines by calling:</p>
198
- * <ul>
199
- * <li>
200
- * <p>
201
- * <a>CreatePipeline</a>, which creates a uniquely named
202
- * pipeline.</p>
203
- * </li>
204
- * <li>
205
- * <p>
206
- * <a>DeletePipeline</a>, which deletes the specified
207
- * pipeline.</p>
208
- * </li>
209
- * <li>
210
- * <p>
211
- * <a>GetPipeline</a>, which returns information about the pipeline
212
- * structure and pipeline metadata, including the pipeline Amazon Resource Name
213
- * (ARN).</p>
214
- * </li>
215
- * <li>
216
- * <p>
217
- * <a>GetPipelineExecution</a>, which returns information about a
218
- * specific execution of a pipeline.</p>
219
- * </li>
220
- * <li>
221
- * <p>
222
- * <a>GetPipelineState</a>, which returns information about the current
223
- * state of the stages and actions of a pipeline.</p>
224
- * </li>
225
- * <li>
226
- * <p>
227
- * <a>ListActionExecutions</a>, which returns action-level details
228
- * for past executions. The details include full stage and action-level details,
229
- * including individual action duration, status, any errors that occurred during
230
- * the execution, and input and output artifact location details.</p>
231
- * </li>
232
- * <li>
233
- * <p>
234
- * <a>ListPipelines</a>, which gets a summary of all of the pipelines
235
- * associated with your account.</p>
236
- * </li>
237
- * <li>
238
- * <p>
239
- * <a>ListPipelineExecutions</a>, which gets a summary of the most
240
- * recent executions for a pipeline.</p>
241
- * </li>
242
- * <li>
243
- * <p>
244
- * <a>StartPipelineExecution</a>, which runs the most recent revision of
245
- * an artifact through the pipeline.</p>
246
- * </li>
247
- * <li>
248
- * <p>
249
- * <a>StopPipelineExecution</a>, which stops the specified pipeline
250
- * execution from continuing through the pipeline.</p>
251
- * </li>
252
- * <li>
253
- * <p>
254
- * <a>UpdatePipeline</a>, which updates a pipeline with edits or changes
255
- * to the structure of the pipeline.</p>
256
- * </li>
257
- * </ul>
258
- * <p>Pipelines include <i>stages</i>. Each stage contains one or more
259
- * actions that must complete before the next stage begins. A stage results in success or
260
- * failure. If a stage fails, the pipeline stops at that stage and remains stopped until
261
- * either a new version of an artifact appears in the source location, or a user takes
262
- * action to rerun the most recent artifact through the pipeline. You can call <a>GetPipelineState</a>, which displays the status of a pipeline, including the
263
- * status of stages in the pipeline, or <a>GetPipeline</a>, which returns the
264
- * entire structure of the pipeline, including the stages of that pipeline. For more
265
- * information about the structure of stages and actions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-structure.html">AWS CodePipeline
266
- * Pipeline Structure Reference</a>.</p>
267
- * <p>Pipeline stages include <i>actions</i> that are categorized into
268
- * categories such as source or build actions performed in a stage of a pipeline. For
269
- * example, you can use a source action to import artifacts into a pipeline from a source
270
- * such as Amazon S3. Like stages, you do not work with actions directly in most cases, but
271
- * you do define and interact with actions when working with pipeline operations such as
272
- * <a>CreatePipeline</a> and <a>GetPipelineState</a>. Valid
273
- * action categories are:</p>
274
- * <ul>
275
- * <li>
276
- * <p>Source</p>
277
- * </li>
278
- * <li>
279
- * <p>Build</p>
280
- * </li>
281
- * <li>
282
- * <p>Test</p>
283
- * </li>
284
- * <li>
285
- * <p>Deploy</p>
286
- * </li>
287
- * <li>
288
- * <p>Approval</p>
289
- * </li>
290
- * <li>
291
- * <p>Invoke</p>
292
- * </li>
293
- * </ul>
294
- * <p>Pipelines also include <i>transitions</i>, which allow the transition
295
- * of artifacts from one stage to the next in a pipeline after the actions in one stage
296
- * complete.</p>
297
- * <p>You can work with transitions by calling:</p>
298
- * <ul>
299
- * <li>
300
- * <p>
301
- * <a>DisableStageTransition</a>, which prevents artifacts from
302
- * transitioning to the next stage in a pipeline.</p>
303
- * </li>
304
- * <li>
305
- * <p>
306
- * <a>EnableStageTransition</a>, which enables transition of artifacts
307
- * between stages in a pipeline. </p>
308
- * </li>
309
- * </ul>
310
- * <p>
311
- * <b>Using the API to integrate with AWS CodePipeline</b>
312
- * </p>
313
- * <p>For third-party integrators or developers who want to create their own integrations
314
- * with AWS CodePipeline, the expected sequence varies from the standard API user. To
315
- * integrate with AWS CodePipeline, developers need to work with the following
316
- * items:</p>
317
- * <p>
318
- * <b>Jobs</b>, which are instances of an action. For
319
- * example, a job for a source action might import a revision of an artifact from a source. </p>
320
- * <p>You can work with jobs by calling:</p>
321
- * <ul>
322
- * <li>
323
- * <p>
324
- * <a>AcknowledgeJob</a>, which confirms whether a job worker has
325
- * received the specified job.</p>
326
- * </li>
327
- * <li>
328
- * <p>
329
- * <a>GetJobDetails</a>, which returns the details of a job.</p>
330
- * </li>
331
- * <li>
332
- * <p>
333
- * <a>PollForJobs</a>, which determines whether there are any jobs to
334
- * act on.</p>
335
- * </li>
336
- * <li>
337
- * <p>
338
- * <a>PutJobFailureResult</a>, which provides details of a job failure.
339
- * </p>
340
- * </li>
341
- * <li>
342
- * <p>
343
- * <a>PutJobSuccessResult</a>, which provides details of a job
344
- * success.</p>
345
- * </li>
346
- * </ul>
347
- * <p>
348
- * <b>Third party jobs</b>, which are instances of an action
349
- * created by a partner action and integrated into AWS CodePipeline. Partner actions are
350
- * created by members of the AWS Partner Network.</p>
351
- * <p>You can work with third party jobs by calling:</p>
352
- * <ul>
353
- * <li>
354
- * <p>
355
- * <a>AcknowledgeThirdPartyJob</a>, which confirms whether a job worker
356
- * has received the specified job.</p>
357
- * </li>
358
- * <li>
359
- * <p>
360
- * <a>GetThirdPartyJobDetails</a>, which requests the details of a job
361
- * for a partner action.</p>
362
- * </li>
363
- * <li>
364
- * <p>
365
- * <a>PollForThirdPartyJobs</a>, which determines whether there are any
366
- * jobs to act on. </p>
367
- * </li>
368
- * <li>
369
- * <p>
370
- * <a>PutThirdPartyJobFailureResult</a>, which provides details of a job
371
- * failure.</p>
372
- * </li>
373
- * <li>
374
- * <p>
375
- * <a>PutThirdPartyJobSuccessResult</a>, which provides details of a job
376
- * success.</p>
377
- * </li>
378
- * </ul>
379
- */
380
- export class CodePipeline extends CodePipelineClient {
381
- /**
382
- * <p>Returns information about a specified job and whether that job has been received by
383
- * the job worker. Used for custom actions only.</p>
384
- */
385
- public acknowledgeJob(
386
- args: AcknowledgeJobCommandInput,
387
- options?: __HttpHandlerOptions
388
- ): Promise<AcknowledgeJobCommandOutput>;
389
- public acknowledgeJob(
390
- args: AcknowledgeJobCommandInput,
391
- cb: (err: any, data?: AcknowledgeJobCommandOutput) => void
392
- ): void;
393
- public acknowledgeJob(
394
- args: AcknowledgeJobCommandInput,
395
- options: __HttpHandlerOptions,
396
- cb: (err: any, data?: AcknowledgeJobCommandOutput) => void
397
- ): void;
398
- public acknowledgeJob(
399
- args: AcknowledgeJobCommandInput,
400
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AcknowledgeJobCommandOutput) => void),
401
- cb?: (err: any, data?: AcknowledgeJobCommandOutput) => void
402
- ): Promise<AcknowledgeJobCommandOutput> | void {
403
- const command = new AcknowledgeJobCommand(args);
404
- if (typeof optionsOrCb === "function") {
405
- this.send(command, optionsOrCb);
406
- } else if (typeof cb === "function") {
407
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
408
- this.send(command, optionsOrCb || {}, cb);
409
- } else {
410
- return this.send(command, optionsOrCb);
411
- }
412
- }
413
-
414
- /**
415
- * <p>Confirms a job worker has received the specified job. Used for partner actions
416
- * only.</p>
417
- */
418
- public acknowledgeThirdPartyJob(
419
- args: AcknowledgeThirdPartyJobCommandInput,
420
- options?: __HttpHandlerOptions
421
- ): Promise<AcknowledgeThirdPartyJobCommandOutput>;
422
- public acknowledgeThirdPartyJob(
423
- args: AcknowledgeThirdPartyJobCommandInput,
424
- cb: (err: any, data?: AcknowledgeThirdPartyJobCommandOutput) => void
425
- ): void;
426
- public acknowledgeThirdPartyJob(
427
- args: AcknowledgeThirdPartyJobCommandInput,
428
- options: __HttpHandlerOptions,
429
- cb: (err: any, data?: AcknowledgeThirdPartyJobCommandOutput) => void
430
- ): void;
431
- public acknowledgeThirdPartyJob(
432
- args: AcknowledgeThirdPartyJobCommandInput,
433
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AcknowledgeThirdPartyJobCommandOutput) => void),
434
- cb?: (err: any, data?: AcknowledgeThirdPartyJobCommandOutput) => void
435
- ): Promise<AcknowledgeThirdPartyJobCommandOutput> | void {
436
- const command = new AcknowledgeThirdPartyJobCommand(args);
437
- if (typeof optionsOrCb === "function") {
438
- this.send(command, optionsOrCb);
439
- } else if (typeof cb === "function") {
440
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
441
- this.send(command, optionsOrCb || {}, cb);
442
- } else {
443
- return this.send(command, optionsOrCb);
444
- }
445
- }
446
-
447
- /**
448
- * <p>Creates a new custom action that can be used in all pipelines associated with the
449
- * AWS account. Only used for custom actions.</p>
450
- */
451
- public createCustomActionType(
452
- args: CreateCustomActionTypeCommandInput,
453
- options?: __HttpHandlerOptions
454
- ): Promise<CreateCustomActionTypeCommandOutput>;
455
- public createCustomActionType(
456
- args: CreateCustomActionTypeCommandInput,
457
- cb: (err: any, data?: CreateCustomActionTypeCommandOutput) => void
458
- ): void;
459
- public createCustomActionType(
460
- args: CreateCustomActionTypeCommandInput,
461
- options: __HttpHandlerOptions,
462
- cb: (err: any, data?: CreateCustomActionTypeCommandOutput) => void
463
- ): void;
464
- public createCustomActionType(
465
- args: CreateCustomActionTypeCommandInput,
466
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCustomActionTypeCommandOutput) => void),
467
- cb?: (err: any, data?: CreateCustomActionTypeCommandOutput) => void
468
- ): Promise<CreateCustomActionTypeCommandOutput> | void {
469
- const command = new CreateCustomActionTypeCommand(args);
470
- if (typeof optionsOrCb === "function") {
471
- this.send(command, optionsOrCb);
472
- } else if (typeof cb === "function") {
473
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
474
- this.send(command, optionsOrCb || {}, cb);
475
- } else {
476
- return this.send(command, optionsOrCb);
477
- }
478
- }
479
-
480
- /**
481
- * <p>Creates a pipeline.</p>
482
- * <note>
483
- * <p>In the pipeline structure, you must include either <code>artifactStore</code>
484
- * or <code>artifactStores</code> in your pipeline, but you cannot use both. If you
485
- * create a cross-region action in your pipeline, you must use
486
- * <code>artifactStores</code>.</p>
487
- * </note>
488
- */
489
- public createPipeline(
490
- args: CreatePipelineCommandInput,
491
- options?: __HttpHandlerOptions
492
- ): Promise<CreatePipelineCommandOutput>;
493
- public createPipeline(
494
- args: CreatePipelineCommandInput,
495
- cb: (err: any, data?: CreatePipelineCommandOutput) => void
496
- ): void;
497
- public createPipeline(
498
- args: CreatePipelineCommandInput,
499
- options: __HttpHandlerOptions,
500
- cb: (err: any, data?: CreatePipelineCommandOutput) => void
501
- ): void;
502
- public createPipeline(
503
- args: CreatePipelineCommandInput,
504
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePipelineCommandOutput) => void),
505
- cb?: (err: any, data?: CreatePipelineCommandOutput) => void
506
- ): Promise<CreatePipelineCommandOutput> | void {
507
- const command = new CreatePipelineCommand(args);
508
- if (typeof optionsOrCb === "function") {
509
- this.send(command, optionsOrCb);
510
- } else if (typeof cb === "function") {
511
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
512
- this.send(command, optionsOrCb || {}, cb);
513
- } else {
514
- return this.send(command, optionsOrCb);
515
- }
516
- }
517
-
518
- /**
519
- * <p>Marks a custom action as deleted. <code>PollForJobs</code> for the custom action
520
- * fails after the action is marked for deletion. Used for custom actions only.</p>
521
- * <important>
522
- * <p>To re-create a custom action after it has been deleted you must use a string in
523
- * the version field that has never been used before. This string can be an incremented
524
- * version number, for example. To restore a deleted custom action, use a JSON file
525
- * that is identical to the deleted action, including the original string in the
526
- * version field.</p>
527
- * </important>
528
- */
529
- public deleteCustomActionType(
530
- args: DeleteCustomActionTypeCommandInput,
531
- options?: __HttpHandlerOptions
532
- ): Promise<DeleteCustomActionTypeCommandOutput>;
533
- public deleteCustomActionType(
534
- args: DeleteCustomActionTypeCommandInput,
535
- cb: (err: any, data?: DeleteCustomActionTypeCommandOutput) => void
536
- ): void;
537
- public deleteCustomActionType(
538
- args: DeleteCustomActionTypeCommandInput,
539
- options: __HttpHandlerOptions,
540
- cb: (err: any, data?: DeleteCustomActionTypeCommandOutput) => void
541
- ): void;
542
- public deleteCustomActionType(
543
- args: DeleteCustomActionTypeCommandInput,
544
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCustomActionTypeCommandOutput) => void),
545
- cb?: (err: any, data?: DeleteCustomActionTypeCommandOutput) => void
546
- ): Promise<DeleteCustomActionTypeCommandOutput> | void {
547
- const command = new DeleteCustomActionTypeCommand(args);
548
- if (typeof optionsOrCb === "function") {
549
- this.send(command, optionsOrCb);
550
- } else if (typeof cb === "function") {
551
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
552
- this.send(command, optionsOrCb || {}, cb);
553
- } else {
554
- return this.send(command, optionsOrCb);
555
- }
556
- }
557
-
558
- /**
559
- * <p>Deletes the specified pipeline.</p>
560
- */
561
- public deletePipeline(
562
- args: DeletePipelineCommandInput,
563
- options?: __HttpHandlerOptions
564
- ): Promise<DeletePipelineCommandOutput>;
565
- public deletePipeline(
566
- args: DeletePipelineCommandInput,
567
- cb: (err: any, data?: DeletePipelineCommandOutput) => void
568
- ): void;
569
- public deletePipeline(
570
- args: DeletePipelineCommandInput,
571
- options: __HttpHandlerOptions,
572
- cb: (err: any, data?: DeletePipelineCommandOutput) => void
573
- ): void;
574
- public deletePipeline(
575
- args: DeletePipelineCommandInput,
576
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePipelineCommandOutput) => void),
577
- cb?: (err: any, data?: DeletePipelineCommandOutput) => void
578
- ): Promise<DeletePipelineCommandOutput> | void {
579
- const command = new DeletePipelineCommand(args);
580
- if (typeof optionsOrCb === "function") {
581
- this.send(command, optionsOrCb);
582
- } else if (typeof cb === "function") {
583
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
584
- this.send(command, optionsOrCb || {}, cb);
585
- } else {
586
- return this.send(command, optionsOrCb);
587
- }
588
- }
589
-
590
- /**
591
- * <p>Deletes a previously created webhook by name. Deleting the webhook stops AWS
592
- * CodePipeline from starting a pipeline every time an external event occurs. The API
593
- * returns successfully when trying to delete a webhook that is already deleted. If a
594
- * deleted webhook is re-created by calling PutWebhook with the same name, it will have a
595
- * different URL.</p>
596
- */
597
- public deleteWebhook(
598
- args: DeleteWebhookCommandInput,
599
- options?: __HttpHandlerOptions
600
- ): Promise<DeleteWebhookCommandOutput>;
601
- public deleteWebhook(
602
- args: DeleteWebhookCommandInput,
603
- cb: (err: any, data?: DeleteWebhookCommandOutput) => void
604
- ): void;
605
- public deleteWebhook(
606
- args: DeleteWebhookCommandInput,
607
- options: __HttpHandlerOptions,
608
- cb: (err: any, data?: DeleteWebhookCommandOutput) => void
609
- ): void;
610
- public deleteWebhook(
611
- args: DeleteWebhookCommandInput,
612
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWebhookCommandOutput) => void),
613
- cb?: (err: any, data?: DeleteWebhookCommandOutput) => void
614
- ): Promise<DeleteWebhookCommandOutput> | void {
615
- const command = new DeleteWebhookCommand(args);
616
- if (typeof optionsOrCb === "function") {
617
- this.send(command, optionsOrCb);
618
- } else if (typeof cb === "function") {
619
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
620
- this.send(command, optionsOrCb || {}, cb);
621
- } else {
622
- return this.send(command, optionsOrCb);
623
- }
624
- }
625
-
626
- /**
627
- * <p>Removes the connection between the webhook that was created by CodePipeline and the
628
- * external tool with events to be detected. Currently supported only for webhooks that
629
- * target an action type of GitHub.</p>
630
- */
631
- public deregisterWebhookWithThirdParty(
632
- args: DeregisterWebhookWithThirdPartyCommandInput,
633
- options?: __HttpHandlerOptions
634
- ): Promise<DeregisterWebhookWithThirdPartyCommandOutput>;
635
- public deregisterWebhookWithThirdParty(
636
- args: DeregisterWebhookWithThirdPartyCommandInput,
637
- cb: (err: any, data?: DeregisterWebhookWithThirdPartyCommandOutput) => void
638
- ): void;
639
- public deregisterWebhookWithThirdParty(
640
- args: DeregisterWebhookWithThirdPartyCommandInput,
641
- options: __HttpHandlerOptions,
642
- cb: (err: any, data?: DeregisterWebhookWithThirdPartyCommandOutput) => void
643
- ): void;
644
- public deregisterWebhookWithThirdParty(
645
- args: DeregisterWebhookWithThirdPartyCommandInput,
646
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterWebhookWithThirdPartyCommandOutput) => void),
647
- cb?: (err: any, data?: DeregisterWebhookWithThirdPartyCommandOutput) => void
648
- ): Promise<DeregisterWebhookWithThirdPartyCommandOutput> | void {
649
- const command = new DeregisterWebhookWithThirdPartyCommand(args);
650
- if (typeof optionsOrCb === "function") {
651
- this.send(command, optionsOrCb);
652
- } else if (typeof cb === "function") {
653
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
654
- this.send(command, optionsOrCb || {}, cb);
655
- } else {
656
- return this.send(command, optionsOrCb);
657
- }
658
- }
659
-
660
- /**
661
- * <p>Prevents artifacts in a pipeline from transitioning to the next stage in the
662
- * pipeline.</p>
663
- */
664
- public disableStageTransition(
665
- args: DisableStageTransitionCommandInput,
666
- options?: __HttpHandlerOptions
667
- ): Promise<DisableStageTransitionCommandOutput>;
668
- public disableStageTransition(
669
- args: DisableStageTransitionCommandInput,
670
- cb: (err: any, data?: DisableStageTransitionCommandOutput) => void
671
- ): void;
672
- public disableStageTransition(
673
- args: DisableStageTransitionCommandInput,
674
- options: __HttpHandlerOptions,
675
- cb: (err: any, data?: DisableStageTransitionCommandOutput) => void
676
- ): void;
677
- public disableStageTransition(
678
- args: DisableStageTransitionCommandInput,
679
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableStageTransitionCommandOutput) => void),
680
- cb?: (err: any, data?: DisableStageTransitionCommandOutput) => void
681
- ): Promise<DisableStageTransitionCommandOutput> | void {
682
- const command = new DisableStageTransitionCommand(args);
683
- if (typeof optionsOrCb === "function") {
684
- this.send(command, optionsOrCb);
685
- } else if (typeof cb === "function") {
686
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
687
- this.send(command, optionsOrCb || {}, cb);
688
- } else {
689
- return this.send(command, optionsOrCb);
690
- }
691
- }
692
-
693
- /**
694
- * <p>Enables artifacts in a pipeline to transition to a stage in a pipeline.</p>
695
- */
696
- public enableStageTransition(
697
- args: EnableStageTransitionCommandInput,
698
- options?: __HttpHandlerOptions
699
- ): Promise<EnableStageTransitionCommandOutput>;
700
- public enableStageTransition(
701
- args: EnableStageTransitionCommandInput,
702
- cb: (err: any, data?: EnableStageTransitionCommandOutput) => void
703
- ): void;
704
- public enableStageTransition(
705
- args: EnableStageTransitionCommandInput,
706
- options: __HttpHandlerOptions,
707
- cb: (err: any, data?: EnableStageTransitionCommandOutput) => void
708
- ): void;
709
- public enableStageTransition(
710
- args: EnableStageTransitionCommandInput,
711
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableStageTransitionCommandOutput) => void),
712
- cb?: (err: any, data?: EnableStageTransitionCommandOutput) => void
713
- ): Promise<EnableStageTransitionCommandOutput> | void {
714
- const command = new EnableStageTransitionCommand(args);
715
- if (typeof optionsOrCb === "function") {
716
- this.send(command, optionsOrCb);
717
- } else if (typeof cb === "function") {
718
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
719
- this.send(command, optionsOrCb || {}, cb);
720
- } else {
721
- return this.send(command, optionsOrCb);
722
- }
723
- }
724
-
725
- /**
726
- * <p>Returns information about an action type created for an external provider, where the
727
- * action is to be used by customers of the external provider. The action can be created
728
- * with any supported integration model.</p>
729
- */
730
- public getActionType(
731
- args: GetActionTypeCommandInput,
732
- options?: __HttpHandlerOptions
733
- ): Promise<GetActionTypeCommandOutput>;
734
- public getActionType(
735
- args: GetActionTypeCommandInput,
736
- cb: (err: any, data?: GetActionTypeCommandOutput) => void
737
- ): void;
738
- public getActionType(
739
- args: GetActionTypeCommandInput,
740
- options: __HttpHandlerOptions,
741
- cb: (err: any, data?: GetActionTypeCommandOutput) => void
742
- ): void;
743
- public getActionType(
744
- args: GetActionTypeCommandInput,
745
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetActionTypeCommandOutput) => void),
746
- cb?: (err: any, data?: GetActionTypeCommandOutput) => void
747
- ): Promise<GetActionTypeCommandOutput> | void {
748
- const command = new GetActionTypeCommand(args);
749
- if (typeof optionsOrCb === "function") {
750
- this.send(command, optionsOrCb);
751
- } else if (typeof cb === "function") {
752
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
753
- this.send(command, optionsOrCb || {}, cb);
754
- } else {
755
- return this.send(command, optionsOrCb);
756
- }
757
- }
758
-
759
- /**
760
- * <p>Returns information about a job. Used for custom actions only.</p>
761
- * <important>
762
- * <p>When this API is called, AWS CodePipeline returns temporary credentials for the
763
- * S3 bucket used to store artifacts for the pipeline, if the action requires access to
764
- * that S3 bucket for input or output artifacts. This API also returns any secret
765
- * values defined for the action.</p>
766
- * </important>
767
- */
768
- public getJobDetails(
769
- args: GetJobDetailsCommandInput,
770
- options?: __HttpHandlerOptions
771
- ): Promise<GetJobDetailsCommandOutput>;
772
- public getJobDetails(
773
- args: GetJobDetailsCommandInput,
774
- cb: (err: any, data?: GetJobDetailsCommandOutput) => void
775
- ): void;
776
- public getJobDetails(
777
- args: GetJobDetailsCommandInput,
778
- options: __HttpHandlerOptions,
779
- cb: (err: any, data?: GetJobDetailsCommandOutput) => void
780
- ): void;
781
- public getJobDetails(
782
- args: GetJobDetailsCommandInput,
783
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetJobDetailsCommandOutput) => void),
784
- cb?: (err: any, data?: GetJobDetailsCommandOutput) => void
785
- ): Promise<GetJobDetailsCommandOutput> | void {
786
- const command = new GetJobDetailsCommand(args);
787
- if (typeof optionsOrCb === "function") {
788
- this.send(command, optionsOrCb);
789
- } else if (typeof cb === "function") {
790
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
791
- this.send(command, optionsOrCb || {}, cb);
792
- } else {
793
- return this.send(command, optionsOrCb);
794
- }
795
- }
796
-
797
- /**
798
- * <p>Returns the metadata, structure, stages, and actions of a pipeline. Can be used to
799
- * return the entire structure of a pipeline in JSON format, which can then be modified and
800
- * used to update the pipeline structure with <a>UpdatePipeline</a>.</p>
801
- */
802
- public getPipeline(args: GetPipelineCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineCommandOutput>;
803
- public getPipeline(args: GetPipelineCommandInput, cb: (err: any, data?: GetPipelineCommandOutput) => void): void;
804
- public getPipeline(
805
- args: GetPipelineCommandInput,
806
- options: __HttpHandlerOptions,
807
- cb: (err: any, data?: GetPipelineCommandOutput) => void
808
- ): void;
809
- public getPipeline(
810
- args: GetPipelineCommandInput,
811
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPipelineCommandOutput) => void),
812
- cb?: (err: any, data?: GetPipelineCommandOutput) => void
813
- ): Promise<GetPipelineCommandOutput> | void {
814
- const command = new GetPipelineCommand(args);
815
- if (typeof optionsOrCb === "function") {
816
- this.send(command, optionsOrCb);
817
- } else if (typeof cb === "function") {
818
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
819
- this.send(command, optionsOrCb || {}, cb);
820
- } else {
821
- return this.send(command, optionsOrCb);
822
- }
823
- }
824
-
825
- /**
826
- * <p>Returns information about an execution of a pipeline, including details about
827
- * artifacts, the pipeline execution ID, and the name, version, and status of the
828
- * pipeline.</p>
829
- */
830
- public getPipelineExecution(
831
- args: GetPipelineExecutionCommandInput,
832
- options?: __HttpHandlerOptions
833
- ): Promise<GetPipelineExecutionCommandOutput>;
834
- public getPipelineExecution(
835
- args: GetPipelineExecutionCommandInput,
836
- cb: (err: any, data?: GetPipelineExecutionCommandOutput) => void
837
- ): void;
838
- public getPipelineExecution(
839
- args: GetPipelineExecutionCommandInput,
840
- options: __HttpHandlerOptions,
841
- cb: (err: any, data?: GetPipelineExecutionCommandOutput) => void
842
- ): void;
843
- public getPipelineExecution(
844
- args: GetPipelineExecutionCommandInput,
845
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPipelineExecutionCommandOutput) => void),
846
- cb?: (err: any, data?: GetPipelineExecutionCommandOutput) => void
847
- ): Promise<GetPipelineExecutionCommandOutput> | void {
848
- const command = new GetPipelineExecutionCommand(args);
849
- if (typeof optionsOrCb === "function") {
850
- this.send(command, optionsOrCb);
851
- } else if (typeof cb === "function") {
852
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
853
- this.send(command, optionsOrCb || {}, cb);
854
- } else {
855
- return this.send(command, optionsOrCb);
856
- }
857
- }
858
-
859
- /**
860
- * <p>Returns information about the state of a pipeline, including the stages and
861
- * actions.</p>
862
- * <note>
863
- * <p>Values returned in the <code>revisionId</code> and <code>revisionUrl</code>
864
- * fields indicate the source revision information, such as the commit ID, for the
865
- * current state.</p>
866
- * </note>
867
- */
868
- public getPipelineState(
869
- args: GetPipelineStateCommandInput,
870
- options?: __HttpHandlerOptions
871
- ): Promise<GetPipelineStateCommandOutput>;
872
- public getPipelineState(
873
- args: GetPipelineStateCommandInput,
874
- cb: (err: any, data?: GetPipelineStateCommandOutput) => void
875
- ): void;
876
- public getPipelineState(
877
- args: GetPipelineStateCommandInput,
878
- options: __HttpHandlerOptions,
879
- cb: (err: any, data?: GetPipelineStateCommandOutput) => void
880
- ): void;
881
- public getPipelineState(
882
- args: GetPipelineStateCommandInput,
883
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPipelineStateCommandOutput) => void),
884
- cb?: (err: any, data?: GetPipelineStateCommandOutput) => void
885
- ): Promise<GetPipelineStateCommandOutput> | void {
886
- const command = new GetPipelineStateCommand(args);
887
- if (typeof optionsOrCb === "function") {
888
- this.send(command, optionsOrCb);
889
- } else if (typeof cb === "function") {
890
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
891
- this.send(command, optionsOrCb || {}, cb);
892
- } else {
893
- return this.send(command, optionsOrCb);
894
- }
895
- }
896
-
897
- /**
898
- * <p>Requests the details of a job for a third party action. Used for partner actions
899
- * only.</p>
900
- * <important>
901
- * <p>When this API is called, AWS CodePipeline returns temporary credentials for the
902
- * S3 bucket used to store artifacts for the pipeline, if the action requires access to
903
- * that S3 bucket for input or output artifacts. This API also returns any secret
904
- * values defined for the action.</p>
905
- * </important>
906
- */
907
- public getThirdPartyJobDetails(
908
- args: GetThirdPartyJobDetailsCommandInput,
909
- options?: __HttpHandlerOptions
910
- ): Promise<GetThirdPartyJobDetailsCommandOutput>;
911
- public getThirdPartyJobDetails(
912
- args: GetThirdPartyJobDetailsCommandInput,
913
- cb: (err: any, data?: GetThirdPartyJobDetailsCommandOutput) => void
914
- ): void;
915
- public getThirdPartyJobDetails(
916
- args: GetThirdPartyJobDetailsCommandInput,
917
- options: __HttpHandlerOptions,
918
- cb: (err: any, data?: GetThirdPartyJobDetailsCommandOutput) => void
919
- ): void;
920
- public getThirdPartyJobDetails(
921
- args: GetThirdPartyJobDetailsCommandInput,
922
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetThirdPartyJobDetailsCommandOutput) => void),
923
- cb?: (err: any, data?: GetThirdPartyJobDetailsCommandOutput) => void
924
- ): Promise<GetThirdPartyJobDetailsCommandOutput> | void {
925
- const command = new GetThirdPartyJobDetailsCommand(args);
926
- if (typeof optionsOrCb === "function") {
927
- this.send(command, optionsOrCb);
928
- } else if (typeof cb === "function") {
929
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
930
- this.send(command, optionsOrCb || {}, cb);
931
- } else {
932
- return this.send(command, optionsOrCb);
933
- }
934
- }
935
-
936
- /**
937
- * <p>Lists the action executions that have occurred in a pipeline.</p>
938
- */
939
- public listActionExecutions(
940
- args: ListActionExecutionsCommandInput,
941
- options?: __HttpHandlerOptions
942
- ): Promise<ListActionExecutionsCommandOutput>;
943
- public listActionExecutions(
944
- args: ListActionExecutionsCommandInput,
945
- cb: (err: any, data?: ListActionExecutionsCommandOutput) => void
946
- ): void;
947
- public listActionExecutions(
948
- args: ListActionExecutionsCommandInput,
949
- options: __HttpHandlerOptions,
950
- cb: (err: any, data?: ListActionExecutionsCommandOutput) => void
951
- ): void;
952
- public listActionExecutions(
953
- args: ListActionExecutionsCommandInput,
954
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListActionExecutionsCommandOutput) => void),
955
- cb?: (err: any, data?: ListActionExecutionsCommandOutput) => void
956
- ): Promise<ListActionExecutionsCommandOutput> | void {
957
- const command = new ListActionExecutionsCommand(args);
958
- if (typeof optionsOrCb === "function") {
959
- this.send(command, optionsOrCb);
960
- } else if (typeof cb === "function") {
961
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
962
- this.send(command, optionsOrCb || {}, cb);
963
- } else {
964
- return this.send(command, optionsOrCb);
965
- }
966
- }
967
-
968
- /**
969
- * <p>Gets a summary of all AWS CodePipeline action types associated with your
970
- * account.</p>
971
- */
972
- public listActionTypes(
973
- args: ListActionTypesCommandInput,
974
- options?: __HttpHandlerOptions
975
- ): Promise<ListActionTypesCommandOutput>;
976
- public listActionTypes(
977
- args: ListActionTypesCommandInput,
978
- cb: (err: any, data?: ListActionTypesCommandOutput) => void
979
- ): void;
980
- public listActionTypes(
981
- args: ListActionTypesCommandInput,
982
- options: __HttpHandlerOptions,
983
- cb: (err: any, data?: ListActionTypesCommandOutput) => void
984
- ): void;
985
- public listActionTypes(
986
- args: ListActionTypesCommandInput,
987
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListActionTypesCommandOutput) => void),
988
- cb?: (err: any, data?: ListActionTypesCommandOutput) => void
989
- ): Promise<ListActionTypesCommandOutput> | void {
990
- const command = new ListActionTypesCommand(args);
991
- if (typeof optionsOrCb === "function") {
992
- this.send(command, optionsOrCb);
993
- } else if (typeof cb === "function") {
994
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
995
- this.send(command, optionsOrCb || {}, cb);
996
- } else {
997
- return this.send(command, optionsOrCb);
998
- }
999
- }
1000
-
1001
- /**
1002
- * <p>Gets a summary of the most recent executions for a pipeline.</p>
1003
- */
1004
- public listPipelineExecutions(
1005
- args: ListPipelineExecutionsCommandInput,
1006
- options?: __HttpHandlerOptions
1007
- ): Promise<ListPipelineExecutionsCommandOutput>;
1008
- public listPipelineExecutions(
1009
- args: ListPipelineExecutionsCommandInput,
1010
- cb: (err: any, data?: ListPipelineExecutionsCommandOutput) => void
1011
- ): void;
1012
- public listPipelineExecutions(
1013
- args: ListPipelineExecutionsCommandInput,
1014
- options: __HttpHandlerOptions,
1015
- cb: (err: any, data?: ListPipelineExecutionsCommandOutput) => void
1016
- ): void;
1017
- public listPipelineExecutions(
1018
- args: ListPipelineExecutionsCommandInput,
1019
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPipelineExecutionsCommandOutput) => void),
1020
- cb?: (err: any, data?: ListPipelineExecutionsCommandOutput) => void
1021
- ): Promise<ListPipelineExecutionsCommandOutput> | void {
1022
- const command = new ListPipelineExecutionsCommand(args);
1023
- if (typeof optionsOrCb === "function") {
1024
- this.send(command, optionsOrCb);
1025
- } else if (typeof cb === "function") {
1026
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1027
- this.send(command, optionsOrCb || {}, cb);
1028
- } else {
1029
- return this.send(command, optionsOrCb);
1030
- }
1031
- }
1032
-
1033
- /**
1034
- * <p>Gets a summary of all of the pipelines associated with your account.</p>
1035
- */
1036
- public listPipelines(
1037
- args: ListPipelinesCommandInput,
1038
- options?: __HttpHandlerOptions
1039
- ): Promise<ListPipelinesCommandOutput>;
1040
- public listPipelines(
1041
- args: ListPipelinesCommandInput,
1042
- cb: (err: any, data?: ListPipelinesCommandOutput) => void
1043
- ): void;
1044
- public listPipelines(
1045
- args: ListPipelinesCommandInput,
1046
- options: __HttpHandlerOptions,
1047
- cb: (err: any, data?: ListPipelinesCommandOutput) => void
1048
- ): void;
1049
- public listPipelines(
1050
- args: ListPipelinesCommandInput,
1051
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPipelinesCommandOutput) => void),
1052
- cb?: (err: any, data?: ListPipelinesCommandOutput) => void
1053
- ): Promise<ListPipelinesCommandOutput> | void {
1054
- const command = new ListPipelinesCommand(args);
1055
- if (typeof optionsOrCb === "function") {
1056
- this.send(command, optionsOrCb);
1057
- } else if (typeof cb === "function") {
1058
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1059
- this.send(command, optionsOrCb || {}, cb);
1060
- } else {
1061
- return this.send(command, optionsOrCb);
1062
- }
1063
- }
1064
-
1065
- /**
1066
- * <p>Gets the set of key-value pairs (metadata) that are used to manage the
1067
- * resource.</p>
1068
- */
1069
- public listTagsForResource(
1070
- args: ListTagsForResourceCommandInput,
1071
- options?: __HttpHandlerOptions
1072
- ): Promise<ListTagsForResourceCommandOutput>;
1073
- public listTagsForResource(
1074
- args: ListTagsForResourceCommandInput,
1075
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1076
- ): void;
1077
- public listTagsForResource(
1078
- args: ListTagsForResourceCommandInput,
1079
- options: __HttpHandlerOptions,
1080
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1081
- ): void;
1082
- public listTagsForResource(
1083
- args: ListTagsForResourceCommandInput,
1084
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1085
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1086
- ): Promise<ListTagsForResourceCommandOutput> | void {
1087
- const command = new ListTagsForResourceCommand(args);
1088
- if (typeof optionsOrCb === "function") {
1089
- this.send(command, optionsOrCb);
1090
- } else if (typeof cb === "function") {
1091
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1092
- this.send(command, optionsOrCb || {}, cb);
1093
- } else {
1094
- return this.send(command, optionsOrCb);
1095
- }
1096
- }
1097
-
1098
- /**
1099
- * <p>Gets a listing of all the webhooks in this AWS Region for this account. The output
1100
- * lists all webhooks and includes the webhook URL and ARN and the configuration for each
1101
- * webhook.</p>
1102
- */
1103
- public listWebhooks(
1104
- args: ListWebhooksCommandInput,
1105
- options?: __HttpHandlerOptions
1106
- ): Promise<ListWebhooksCommandOutput>;
1107
- public listWebhooks(args: ListWebhooksCommandInput, cb: (err: any, data?: ListWebhooksCommandOutput) => void): void;
1108
- public listWebhooks(
1109
- args: ListWebhooksCommandInput,
1110
- options: __HttpHandlerOptions,
1111
- cb: (err: any, data?: ListWebhooksCommandOutput) => void
1112
- ): void;
1113
- public listWebhooks(
1114
- args: ListWebhooksCommandInput,
1115
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWebhooksCommandOutput) => void),
1116
- cb?: (err: any, data?: ListWebhooksCommandOutput) => void
1117
- ): Promise<ListWebhooksCommandOutput> | void {
1118
- const command = new ListWebhooksCommand(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>Returns information about any jobs for AWS CodePipeline to act on.
1131
- * <code>PollForJobs</code> is valid only for action types with "Custom" in the owner
1132
- * field. If the action type contains "AWS" or "ThirdParty" in the owner field, the
1133
- * <code>PollForJobs</code> action returns an error.</p>
1134
- * <important>
1135
- * <p>When this API is called, AWS CodePipeline returns temporary credentials for the
1136
- * S3 bucket used to store artifacts for the pipeline, if the action requires access to
1137
- * that S3 bucket for input or output artifacts. This API also returns any secret
1138
- * values defined for the action.</p>
1139
- * </important>
1140
- */
1141
- public pollForJobs(args: PollForJobsCommandInput, options?: __HttpHandlerOptions): Promise<PollForJobsCommandOutput>;
1142
- public pollForJobs(args: PollForJobsCommandInput, cb: (err: any, data?: PollForJobsCommandOutput) => void): void;
1143
- public pollForJobs(
1144
- args: PollForJobsCommandInput,
1145
- options: __HttpHandlerOptions,
1146
- cb: (err: any, data?: PollForJobsCommandOutput) => void
1147
- ): void;
1148
- public pollForJobs(
1149
- args: PollForJobsCommandInput,
1150
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PollForJobsCommandOutput) => void),
1151
- cb?: (err: any, data?: PollForJobsCommandOutput) => void
1152
- ): Promise<PollForJobsCommandOutput> | void {
1153
- const command = new PollForJobsCommand(args);
1154
- if (typeof optionsOrCb === "function") {
1155
- this.send(command, optionsOrCb);
1156
- } else if (typeof cb === "function") {
1157
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1158
- this.send(command, optionsOrCb || {}, cb);
1159
- } else {
1160
- return this.send(command, optionsOrCb);
1161
- }
1162
- }
1163
-
1164
- /**
1165
- * <p>Determines whether there are any third party jobs for a job worker to act on. Used
1166
- * for partner actions only.</p>
1167
- * <important>
1168
- * <p>When this API is called, AWS CodePipeline returns temporary credentials for the
1169
- * S3 bucket used to store artifacts for the pipeline, if the action requires access to
1170
- * that S3 bucket for input or output artifacts.</p>
1171
- * </important>
1172
- */
1173
- public pollForThirdPartyJobs(
1174
- args: PollForThirdPartyJobsCommandInput,
1175
- options?: __HttpHandlerOptions
1176
- ): Promise<PollForThirdPartyJobsCommandOutput>;
1177
- public pollForThirdPartyJobs(
1178
- args: PollForThirdPartyJobsCommandInput,
1179
- cb: (err: any, data?: PollForThirdPartyJobsCommandOutput) => void
1180
- ): void;
1181
- public pollForThirdPartyJobs(
1182
- args: PollForThirdPartyJobsCommandInput,
1183
- options: __HttpHandlerOptions,
1184
- cb: (err: any, data?: PollForThirdPartyJobsCommandOutput) => void
1185
- ): void;
1186
- public pollForThirdPartyJobs(
1187
- args: PollForThirdPartyJobsCommandInput,
1188
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PollForThirdPartyJobsCommandOutput) => void),
1189
- cb?: (err: any, data?: PollForThirdPartyJobsCommandOutput) => void
1190
- ): Promise<PollForThirdPartyJobsCommandOutput> | void {
1191
- const command = new PollForThirdPartyJobsCommand(args);
1192
- if (typeof optionsOrCb === "function") {
1193
- this.send(command, optionsOrCb);
1194
- } else if (typeof cb === "function") {
1195
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1196
- this.send(command, optionsOrCb || {}, cb);
1197
- } else {
1198
- return this.send(command, optionsOrCb);
1199
- }
1200
- }
1201
-
1202
- /**
1203
- * <p>Provides information to AWS CodePipeline about new revisions to a source.</p>
1204
- */
1205
- public putActionRevision(
1206
- args: PutActionRevisionCommandInput,
1207
- options?: __HttpHandlerOptions
1208
- ): Promise<PutActionRevisionCommandOutput>;
1209
- public putActionRevision(
1210
- args: PutActionRevisionCommandInput,
1211
- cb: (err: any, data?: PutActionRevisionCommandOutput) => void
1212
- ): void;
1213
- public putActionRevision(
1214
- args: PutActionRevisionCommandInput,
1215
- options: __HttpHandlerOptions,
1216
- cb: (err: any, data?: PutActionRevisionCommandOutput) => void
1217
- ): void;
1218
- public putActionRevision(
1219
- args: PutActionRevisionCommandInput,
1220
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutActionRevisionCommandOutput) => void),
1221
- cb?: (err: any, data?: PutActionRevisionCommandOutput) => void
1222
- ): Promise<PutActionRevisionCommandOutput> | void {
1223
- const command = new PutActionRevisionCommand(args);
1224
- if (typeof optionsOrCb === "function") {
1225
- this.send(command, optionsOrCb);
1226
- } else if (typeof cb === "function") {
1227
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1228
- this.send(command, optionsOrCb || {}, cb);
1229
- } else {
1230
- return this.send(command, optionsOrCb);
1231
- }
1232
- }
1233
-
1234
- /**
1235
- * <p>Provides the response to a manual approval request to AWS CodePipeline. Valid
1236
- * responses include Approved and Rejected.</p>
1237
- */
1238
- public putApprovalResult(
1239
- args: PutApprovalResultCommandInput,
1240
- options?: __HttpHandlerOptions
1241
- ): Promise<PutApprovalResultCommandOutput>;
1242
- public putApprovalResult(
1243
- args: PutApprovalResultCommandInput,
1244
- cb: (err: any, data?: PutApprovalResultCommandOutput) => void
1245
- ): void;
1246
- public putApprovalResult(
1247
- args: PutApprovalResultCommandInput,
1248
- options: __HttpHandlerOptions,
1249
- cb: (err: any, data?: PutApprovalResultCommandOutput) => void
1250
- ): void;
1251
- public putApprovalResult(
1252
- args: PutApprovalResultCommandInput,
1253
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutApprovalResultCommandOutput) => void),
1254
- cb?: (err: any, data?: PutApprovalResultCommandOutput) => void
1255
- ): Promise<PutApprovalResultCommandOutput> | void {
1256
- const command = new PutApprovalResultCommand(args);
1257
- if (typeof optionsOrCb === "function") {
1258
- this.send(command, optionsOrCb);
1259
- } else if (typeof cb === "function") {
1260
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1261
- this.send(command, optionsOrCb || {}, cb);
1262
- } else {
1263
- return this.send(command, optionsOrCb);
1264
- }
1265
- }
1266
-
1267
- /**
1268
- * <p>Represents the failure of a job as returned to the pipeline by a job worker. Used
1269
- * for custom actions only.</p>
1270
- */
1271
- public putJobFailureResult(
1272
- args: PutJobFailureResultCommandInput,
1273
- options?: __HttpHandlerOptions
1274
- ): Promise<PutJobFailureResultCommandOutput>;
1275
- public putJobFailureResult(
1276
- args: PutJobFailureResultCommandInput,
1277
- cb: (err: any, data?: PutJobFailureResultCommandOutput) => void
1278
- ): void;
1279
- public putJobFailureResult(
1280
- args: PutJobFailureResultCommandInput,
1281
- options: __HttpHandlerOptions,
1282
- cb: (err: any, data?: PutJobFailureResultCommandOutput) => void
1283
- ): void;
1284
- public putJobFailureResult(
1285
- args: PutJobFailureResultCommandInput,
1286
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutJobFailureResultCommandOutput) => void),
1287
- cb?: (err: any, data?: PutJobFailureResultCommandOutput) => void
1288
- ): Promise<PutJobFailureResultCommandOutput> | void {
1289
- const command = new PutJobFailureResultCommand(args);
1290
- if (typeof optionsOrCb === "function") {
1291
- this.send(command, optionsOrCb);
1292
- } else if (typeof cb === "function") {
1293
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1294
- this.send(command, optionsOrCb || {}, cb);
1295
- } else {
1296
- return this.send(command, optionsOrCb);
1297
- }
1298
- }
1299
-
1300
- /**
1301
- * <p>Represents the success of a job as returned to the pipeline by a job worker. Used
1302
- * for custom actions only.</p>
1303
- */
1304
- public putJobSuccessResult(
1305
- args: PutJobSuccessResultCommandInput,
1306
- options?: __HttpHandlerOptions
1307
- ): Promise<PutJobSuccessResultCommandOutput>;
1308
- public putJobSuccessResult(
1309
- args: PutJobSuccessResultCommandInput,
1310
- cb: (err: any, data?: PutJobSuccessResultCommandOutput) => void
1311
- ): void;
1312
- public putJobSuccessResult(
1313
- args: PutJobSuccessResultCommandInput,
1314
- options: __HttpHandlerOptions,
1315
- cb: (err: any, data?: PutJobSuccessResultCommandOutput) => void
1316
- ): void;
1317
- public putJobSuccessResult(
1318
- args: PutJobSuccessResultCommandInput,
1319
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutJobSuccessResultCommandOutput) => void),
1320
- cb?: (err: any, data?: PutJobSuccessResultCommandOutput) => void
1321
- ): Promise<PutJobSuccessResultCommandOutput> | void {
1322
- const command = new PutJobSuccessResultCommand(args);
1323
- if (typeof optionsOrCb === "function") {
1324
- this.send(command, optionsOrCb);
1325
- } else if (typeof cb === "function") {
1326
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1327
- this.send(command, optionsOrCb || {}, cb);
1328
- } else {
1329
- return this.send(command, optionsOrCb);
1330
- }
1331
- }
1332
-
1333
- /**
1334
- * <p>Represents the failure of a third party job as returned to the pipeline by a job
1335
- * worker. Used for partner actions only.</p>
1336
- */
1337
- public putThirdPartyJobFailureResult(
1338
- args: PutThirdPartyJobFailureResultCommandInput,
1339
- options?: __HttpHandlerOptions
1340
- ): Promise<PutThirdPartyJobFailureResultCommandOutput>;
1341
- public putThirdPartyJobFailureResult(
1342
- args: PutThirdPartyJobFailureResultCommandInput,
1343
- cb: (err: any, data?: PutThirdPartyJobFailureResultCommandOutput) => void
1344
- ): void;
1345
- public putThirdPartyJobFailureResult(
1346
- args: PutThirdPartyJobFailureResultCommandInput,
1347
- options: __HttpHandlerOptions,
1348
- cb: (err: any, data?: PutThirdPartyJobFailureResultCommandOutput) => void
1349
- ): void;
1350
- public putThirdPartyJobFailureResult(
1351
- args: PutThirdPartyJobFailureResultCommandInput,
1352
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutThirdPartyJobFailureResultCommandOutput) => void),
1353
- cb?: (err: any, data?: PutThirdPartyJobFailureResultCommandOutput) => void
1354
- ): Promise<PutThirdPartyJobFailureResultCommandOutput> | void {
1355
- const command = new PutThirdPartyJobFailureResultCommand(args);
1356
- if (typeof optionsOrCb === "function") {
1357
- this.send(command, optionsOrCb);
1358
- } else if (typeof cb === "function") {
1359
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1360
- this.send(command, optionsOrCb || {}, cb);
1361
- } else {
1362
- return this.send(command, optionsOrCb);
1363
- }
1364
- }
1365
-
1366
- /**
1367
- * <p>Represents the success of a third party job as returned to the pipeline by a job
1368
- * worker. Used for partner actions only.</p>
1369
- */
1370
- public putThirdPartyJobSuccessResult(
1371
- args: PutThirdPartyJobSuccessResultCommandInput,
1372
- options?: __HttpHandlerOptions
1373
- ): Promise<PutThirdPartyJobSuccessResultCommandOutput>;
1374
- public putThirdPartyJobSuccessResult(
1375
- args: PutThirdPartyJobSuccessResultCommandInput,
1376
- cb: (err: any, data?: PutThirdPartyJobSuccessResultCommandOutput) => void
1377
- ): void;
1378
- public putThirdPartyJobSuccessResult(
1379
- args: PutThirdPartyJobSuccessResultCommandInput,
1380
- options: __HttpHandlerOptions,
1381
- cb: (err: any, data?: PutThirdPartyJobSuccessResultCommandOutput) => void
1382
- ): void;
1383
- public putThirdPartyJobSuccessResult(
1384
- args: PutThirdPartyJobSuccessResultCommandInput,
1385
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutThirdPartyJobSuccessResultCommandOutput) => void),
1386
- cb?: (err: any, data?: PutThirdPartyJobSuccessResultCommandOutput) => void
1387
- ): Promise<PutThirdPartyJobSuccessResultCommandOutput> | void {
1388
- const command = new PutThirdPartyJobSuccessResultCommand(args);
1389
- if (typeof optionsOrCb === "function") {
1390
- this.send(command, optionsOrCb);
1391
- } else if (typeof cb === "function") {
1392
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1393
- this.send(command, optionsOrCb || {}, cb);
1394
- } else {
1395
- return this.send(command, optionsOrCb);
1396
- }
1397
- }
1398
-
1399
- /**
1400
- * <p>Defines a webhook and returns a unique webhook URL generated by CodePipeline. This
1401
- * URL can be supplied to third party source hosting providers to call every time there's a
1402
- * code change. When CodePipeline receives a POST request on this URL, the pipeline defined
1403
- * in the webhook is started as long as the POST request satisfied the authentication and
1404
- * filtering requirements supplied when defining the webhook. RegisterWebhookWithThirdParty
1405
- * and DeregisterWebhookWithThirdParty APIs can be used to automatically configure
1406
- * supported third parties to call the generated webhook URL.</p>
1407
- */
1408
- public putWebhook(args: PutWebhookCommandInput, options?: __HttpHandlerOptions): Promise<PutWebhookCommandOutput>;
1409
- public putWebhook(args: PutWebhookCommandInput, cb: (err: any, data?: PutWebhookCommandOutput) => void): void;
1410
- public putWebhook(
1411
- args: PutWebhookCommandInput,
1412
- options: __HttpHandlerOptions,
1413
- cb: (err: any, data?: PutWebhookCommandOutput) => void
1414
- ): void;
1415
- public putWebhook(
1416
- args: PutWebhookCommandInput,
1417
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutWebhookCommandOutput) => void),
1418
- cb?: (err: any, data?: PutWebhookCommandOutput) => void
1419
- ): Promise<PutWebhookCommandOutput> | void {
1420
- const command = new PutWebhookCommand(args);
1421
- if (typeof optionsOrCb === "function") {
1422
- this.send(command, optionsOrCb);
1423
- } else if (typeof cb === "function") {
1424
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1425
- this.send(command, optionsOrCb || {}, cb);
1426
- } else {
1427
- return this.send(command, optionsOrCb);
1428
- }
1429
- }
1430
-
1431
- /**
1432
- * <p>Configures a connection between the webhook that was created and the external tool
1433
- * with events to be detected.</p>
1434
- */
1435
- public registerWebhookWithThirdParty(
1436
- args: RegisterWebhookWithThirdPartyCommandInput,
1437
- options?: __HttpHandlerOptions
1438
- ): Promise<RegisterWebhookWithThirdPartyCommandOutput>;
1439
- public registerWebhookWithThirdParty(
1440
- args: RegisterWebhookWithThirdPartyCommandInput,
1441
- cb: (err: any, data?: RegisterWebhookWithThirdPartyCommandOutput) => void
1442
- ): void;
1443
- public registerWebhookWithThirdParty(
1444
- args: RegisterWebhookWithThirdPartyCommandInput,
1445
- options: __HttpHandlerOptions,
1446
- cb: (err: any, data?: RegisterWebhookWithThirdPartyCommandOutput) => void
1447
- ): void;
1448
- public registerWebhookWithThirdParty(
1449
- args: RegisterWebhookWithThirdPartyCommandInput,
1450
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterWebhookWithThirdPartyCommandOutput) => void),
1451
- cb?: (err: any, data?: RegisterWebhookWithThirdPartyCommandOutput) => void
1452
- ): Promise<RegisterWebhookWithThirdPartyCommandOutput> | void {
1453
- const command = new RegisterWebhookWithThirdPartyCommand(args);
1454
- if (typeof optionsOrCb === "function") {
1455
- this.send(command, optionsOrCb);
1456
- } else if (typeof cb === "function") {
1457
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1458
- this.send(command, optionsOrCb || {}, cb);
1459
- } else {
1460
- return this.send(command, optionsOrCb);
1461
- }
1462
- }
1463
-
1464
- /**
1465
- * <p>Resumes the pipeline execution by retrying the last failed actions in a stage. You
1466
- * can retry a stage immediately if any of the actions in the stage fail. When you retry,
1467
- * all actions that are still in progress continue working, and failed actions are
1468
- * triggered again.</p>
1469
- */
1470
- public retryStageExecution(
1471
- args: RetryStageExecutionCommandInput,
1472
- options?: __HttpHandlerOptions
1473
- ): Promise<RetryStageExecutionCommandOutput>;
1474
- public retryStageExecution(
1475
- args: RetryStageExecutionCommandInput,
1476
- cb: (err: any, data?: RetryStageExecutionCommandOutput) => void
1477
- ): void;
1478
- public retryStageExecution(
1479
- args: RetryStageExecutionCommandInput,
1480
- options: __HttpHandlerOptions,
1481
- cb: (err: any, data?: RetryStageExecutionCommandOutput) => void
1482
- ): void;
1483
- public retryStageExecution(
1484
- args: RetryStageExecutionCommandInput,
1485
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RetryStageExecutionCommandOutput) => void),
1486
- cb?: (err: any, data?: RetryStageExecutionCommandOutput) => void
1487
- ): Promise<RetryStageExecutionCommandOutput> | void {
1488
- const command = new RetryStageExecutionCommand(args);
1489
- if (typeof optionsOrCb === "function") {
1490
- this.send(command, optionsOrCb);
1491
- } else if (typeof cb === "function") {
1492
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1493
- this.send(command, optionsOrCb || {}, cb);
1494
- } else {
1495
- return this.send(command, optionsOrCb);
1496
- }
1497
- }
1498
-
1499
- /**
1500
- * <p>Starts the specified pipeline. Specifically, it begins processing the latest commit
1501
- * to the source location specified as part of the pipeline.</p>
1502
- */
1503
- public startPipelineExecution(
1504
- args: StartPipelineExecutionCommandInput,
1505
- options?: __HttpHandlerOptions
1506
- ): Promise<StartPipelineExecutionCommandOutput>;
1507
- public startPipelineExecution(
1508
- args: StartPipelineExecutionCommandInput,
1509
- cb: (err: any, data?: StartPipelineExecutionCommandOutput) => void
1510
- ): void;
1511
- public startPipelineExecution(
1512
- args: StartPipelineExecutionCommandInput,
1513
- options: __HttpHandlerOptions,
1514
- cb: (err: any, data?: StartPipelineExecutionCommandOutput) => void
1515
- ): void;
1516
- public startPipelineExecution(
1517
- args: StartPipelineExecutionCommandInput,
1518
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartPipelineExecutionCommandOutput) => void),
1519
- cb?: (err: any, data?: StartPipelineExecutionCommandOutput) => void
1520
- ): Promise<StartPipelineExecutionCommandOutput> | void {
1521
- const command = new StartPipelineExecutionCommand(args);
1522
- if (typeof optionsOrCb === "function") {
1523
- this.send(command, optionsOrCb);
1524
- } else if (typeof cb === "function") {
1525
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1526
- this.send(command, optionsOrCb || {}, cb);
1527
- } else {
1528
- return this.send(command, optionsOrCb);
1529
- }
1530
- }
1531
-
1532
- /**
1533
- * <p>Stops the specified pipeline execution. You choose to either stop the pipeline
1534
- * execution by completing in-progress actions without starting subsequent actions, or by
1535
- * abandoning in-progress actions. While completing or abandoning in-progress actions, the
1536
- * pipeline execution is in a <code>Stopping</code> state. After all in-progress actions
1537
- * are completed or abandoned, the pipeline execution is in a <code>Stopped</code>
1538
- * state.</p>
1539
- */
1540
- public stopPipelineExecution(
1541
- args: StopPipelineExecutionCommandInput,
1542
- options?: __HttpHandlerOptions
1543
- ): Promise<StopPipelineExecutionCommandOutput>;
1544
- public stopPipelineExecution(
1545
- args: StopPipelineExecutionCommandInput,
1546
- cb: (err: any, data?: StopPipelineExecutionCommandOutput) => void
1547
- ): void;
1548
- public stopPipelineExecution(
1549
- args: StopPipelineExecutionCommandInput,
1550
- options: __HttpHandlerOptions,
1551
- cb: (err: any, data?: StopPipelineExecutionCommandOutput) => void
1552
- ): void;
1553
- public stopPipelineExecution(
1554
- args: StopPipelineExecutionCommandInput,
1555
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopPipelineExecutionCommandOutput) => void),
1556
- cb?: (err: any, data?: StopPipelineExecutionCommandOutput) => void
1557
- ): Promise<StopPipelineExecutionCommandOutput> | void {
1558
- const command = new StopPipelineExecutionCommand(args);
1559
- if (typeof optionsOrCb === "function") {
1560
- this.send(command, optionsOrCb);
1561
- } else if (typeof cb === "function") {
1562
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1563
- this.send(command, optionsOrCb || {}, cb);
1564
- } else {
1565
- return this.send(command, optionsOrCb);
1566
- }
1567
- }
1568
-
1569
- /**
1570
- * <p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used
1571
- * to manage a resource. </p>
1572
- */
1573
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1574
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1575
- public tagResource(
1576
- args: TagResourceCommandInput,
1577
- options: __HttpHandlerOptions,
1578
- cb: (err: any, data?: TagResourceCommandOutput) => void
1579
- ): void;
1580
- public tagResource(
1581
- args: TagResourceCommandInput,
1582
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1583
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1584
- ): Promise<TagResourceCommandOutput> | void {
1585
- const command = new TagResourceCommand(args);
1586
- if (typeof optionsOrCb === "function") {
1587
- this.send(command, optionsOrCb);
1588
- } else if (typeof cb === "function") {
1589
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1590
- this.send(command, optionsOrCb || {}, cb);
1591
- } else {
1592
- return this.send(command, optionsOrCb);
1593
- }
1594
- }
1595
-
1596
- /**
1597
- * <p>Removes tags from an AWS resource.</p>
1598
- */
1599
- public untagResource(
1600
- args: UntagResourceCommandInput,
1601
- options?: __HttpHandlerOptions
1602
- ): Promise<UntagResourceCommandOutput>;
1603
- public untagResource(
1604
- args: UntagResourceCommandInput,
1605
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1606
- ): void;
1607
- public untagResource(
1608
- args: UntagResourceCommandInput,
1609
- options: __HttpHandlerOptions,
1610
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1611
- ): void;
1612
- public untagResource(
1613
- args: UntagResourceCommandInput,
1614
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1615
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1616
- ): Promise<UntagResourceCommandOutput> | void {
1617
- const command = new UntagResourceCommand(args);
1618
- if (typeof optionsOrCb === "function") {
1619
- this.send(command, optionsOrCb);
1620
- } else if (typeof cb === "function") {
1621
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1622
- this.send(command, optionsOrCb || {}, cb);
1623
- } else {
1624
- return this.send(command, optionsOrCb);
1625
- }
1626
- }
1627
-
1628
- /**
1629
- * <p>Updates an action type that was created with any supported integration model, where
1630
- * the action type is to be used by customers of the action type provider. Use a JSON file
1631
- * with the action definition and <code>UpdateActionType</code> to provide the full
1632
- * structure.</p>
1633
- */
1634
- public updateActionType(
1635
- args: UpdateActionTypeCommandInput,
1636
- options?: __HttpHandlerOptions
1637
- ): Promise<UpdateActionTypeCommandOutput>;
1638
- public updateActionType(
1639
- args: UpdateActionTypeCommandInput,
1640
- cb: (err: any, data?: UpdateActionTypeCommandOutput) => void
1641
- ): void;
1642
- public updateActionType(
1643
- args: UpdateActionTypeCommandInput,
1644
- options: __HttpHandlerOptions,
1645
- cb: (err: any, data?: UpdateActionTypeCommandOutput) => void
1646
- ): void;
1647
- public updateActionType(
1648
- args: UpdateActionTypeCommandInput,
1649
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateActionTypeCommandOutput) => void),
1650
- cb?: (err: any, data?: UpdateActionTypeCommandOutput) => void
1651
- ): Promise<UpdateActionTypeCommandOutput> | void {
1652
- const command = new UpdateActionTypeCommand(args);
1653
- if (typeof optionsOrCb === "function") {
1654
- this.send(command, optionsOrCb);
1655
- } else if (typeof cb === "function") {
1656
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1657
- this.send(command, optionsOrCb || {}, cb);
1658
- } else {
1659
- return this.send(command, optionsOrCb);
1660
- }
1661
- }
1662
-
1663
- /**
1664
- * <p>Updates a specified pipeline with edits or changes to its structure. Use a JSON
1665
- * file with the pipeline structure and <code>UpdatePipeline</code> to provide the full
1666
- * structure of the pipeline. Updating the pipeline increases the version number of the
1667
- * pipeline by 1.</p>
1668
- */
1669
- public updatePipeline(
1670
- args: UpdatePipelineCommandInput,
1671
- options?: __HttpHandlerOptions
1672
- ): Promise<UpdatePipelineCommandOutput>;
1673
- public updatePipeline(
1674
- args: UpdatePipelineCommandInput,
1675
- cb: (err: any, data?: UpdatePipelineCommandOutput) => void
1676
- ): void;
1677
- public updatePipeline(
1678
- args: UpdatePipelineCommandInput,
1679
- options: __HttpHandlerOptions,
1680
- cb: (err: any, data?: UpdatePipelineCommandOutput) => void
1681
- ): void;
1682
- public updatePipeline(
1683
- args: UpdatePipelineCommandInput,
1684
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePipelineCommandOutput) => void),
1685
- cb?: (err: any, data?: UpdatePipelineCommandOutput) => void
1686
- ): Promise<UpdatePipelineCommandOutput> | void {
1687
- const command = new UpdatePipelineCommand(args);
1688
- if (typeof optionsOrCb === "function") {
1689
- this.send(command, optionsOrCb);
1690
- } else if (typeof cb === "function") {
1691
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1692
- this.send(command, optionsOrCb || {}, cb);
1693
- } else {
1694
- return this.send(command, optionsOrCb);
1695
- }
1696
- }
1697
- }