@aws-sdk/client-codecommit 3.479.0 → 3.481.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 (321) hide show
  1. package/dist-cjs/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +18 -41
  2. package/dist-cjs/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +18 -41
  3. package/dist-cjs/commands/BatchDescribeMergeConflictsCommand.js +18 -41
  4. package/dist-cjs/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetCommitsCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetRepositoriesCommand.js +18 -41
  7. package/dist-cjs/commands/CreateApprovalRuleTemplateCommand.js +18 -41
  8. package/dist-cjs/commands/CreateBranchCommand.js +18 -41
  9. package/dist-cjs/commands/CreateCommitCommand.js +18 -41
  10. package/dist-cjs/commands/CreatePullRequestApprovalRuleCommand.js +18 -41
  11. package/dist-cjs/commands/CreatePullRequestCommand.js +18 -41
  12. package/dist-cjs/commands/CreateRepositoryCommand.js +18 -41
  13. package/dist-cjs/commands/CreateUnreferencedMergeCommitCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteApprovalRuleTemplateCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteBranchCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteCommentContentCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteFileCommand.js +18 -41
  18. package/dist-cjs/commands/DeletePullRequestApprovalRuleCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteRepositoryCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeMergeConflictsCommand.js +18 -41
  21. package/dist-cjs/commands/DescribePullRequestEventsCommand.js +18 -41
  22. package/dist-cjs/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +18 -41
  23. package/dist-cjs/commands/EvaluatePullRequestApprovalRulesCommand.js +18 -41
  24. package/dist-cjs/commands/GetApprovalRuleTemplateCommand.js +18 -41
  25. package/dist-cjs/commands/GetBlobCommand.js +18 -41
  26. package/dist-cjs/commands/GetBranchCommand.js +18 -41
  27. package/dist-cjs/commands/GetCommentCommand.js +18 -41
  28. package/dist-cjs/commands/GetCommentReactionsCommand.js +18 -41
  29. package/dist-cjs/commands/GetCommentsForComparedCommitCommand.js +18 -41
  30. package/dist-cjs/commands/GetCommentsForPullRequestCommand.js +18 -41
  31. package/dist-cjs/commands/GetCommitCommand.js +18 -41
  32. package/dist-cjs/commands/GetDifferencesCommand.js +18 -41
  33. package/dist-cjs/commands/GetFileCommand.js +18 -41
  34. package/dist-cjs/commands/GetFolderCommand.js +18 -41
  35. package/dist-cjs/commands/GetMergeCommitCommand.js +18 -41
  36. package/dist-cjs/commands/GetMergeConflictsCommand.js +18 -41
  37. package/dist-cjs/commands/GetMergeOptionsCommand.js +18 -41
  38. package/dist-cjs/commands/GetPullRequestApprovalStatesCommand.js +18 -41
  39. package/dist-cjs/commands/GetPullRequestCommand.js +18 -41
  40. package/dist-cjs/commands/GetPullRequestOverrideStateCommand.js +18 -41
  41. package/dist-cjs/commands/GetRepositoryCommand.js +18 -41
  42. package/dist-cjs/commands/GetRepositoryTriggersCommand.js +18 -41
  43. package/dist-cjs/commands/ListApprovalRuleTemplatesCommand.js +18 -41
  44. package/dist-cjs/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +18 -41
  45. package/dist-cjs/commands/ListBranchesCommand.js +18 -41
  46. package/dist-cjs/commands/ListFileCommitHistoryCommand.js +18 -41
  47. package/dist-cjs/commands/ListPullRequestsCommand.js +18 -41
  48. package/dist-cjs/commands/ListRepositoriesCommand.js +18 -41
  49. package/dist-cjs/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +18 -41
  50. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  51. package/dist-cjs/commands/MergeBranchesByFastForwardCommand.js +18 -41
  52. package/dist-cjs/commands/MergeBranchesBySquashCommand.js +18 -41
  53. package/dist-cjs/commands/MergeBranchesByThreeWayCommand.js +18 -41
  54. package/dist-cjs/commands/MergePullRequestByFastForwardCommand.js +18 -41
  55. package/dist-cjs/commands/MergePullRequestBySquashCommand.js +18 -41
  56. package/dist-cjs/commands/MergePullRequestByThreeWayCommand.js +18 -41
  57. package/dist-cjs/commands/OverridePullRequestApprovalRulesCommand.js +18 -41
  58. package/dist-cjs/commands/PostCommentForComparedCommitCommand.js +18 -41
  59. package/dist-cjs/commands/PostCommentForPullRequestCommand.js +18 -41
  60. package/dist-cjs/commands/PostCommentReplyCommand.js +18 -41
  61. package/dist-cjs/commands/PutCommentReactionCommand.js +18 -41
  62. package/dist-cjs/commands/PutFileCommand.js +18 -41
  63. package/dist-cjs/commands/PutRepositoryTriggersCommand.js +18 -41
  64. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  65. package/dist-cjs/commands/TestRepositoryTriggersCommand.js +18 -41
  66. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateApprovalRuleTemplateContentCommand.js +18 -41
  68. package/dist-cjs/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateApprovalRuleTemplateNameCommand.js +18 -41
  70. package/dist-cjs/commands/UpdateCommentCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateDefaultBranchCommand.js +18 -41
  72. package/dist-cjs/commands/UpdatePullRequestApprovalRuleContentCommand.js +18 -41
  73. package/dist-cjs/commands/UpdatePullRequestApprovalStateCommand.js +18 -41
  74. package/dist-cjs/commands/UpdatePullRequestDescriptionCommand.js +18 -41
  75. package/dist-cjs/commands/UpdatePullRequestStatusCommand.js +18 -41
  76. package/dist-cjs/commands/UpdatePullRequestTitleCommand.js +18 -41
  77. package/dist-cjs/commands/UpdateRepositoryDescriptionCommand.js +18 -41
  78. package/dist-cjs/commands/UpdateRepositoryEncryptionKeyCommand.js +18 -41
  79. package/dist-cjs/commands/UpdateRepositoryNameCommand.js +18 -41
  80. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  81. package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +18 -41
  82. package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +18 -41
  83. package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +18 -41
  84. package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +18 -41
  85. package/dist-es/commands/BatchGetCommitsCommand.js +18 -41
  86. package/dist-es/commands/BatchGetRepositoriesCommand.js +18 -41
  87. package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +18 -41
  88. package/dist-es/commands/CreateBranchCommand.js +18 -41
  89. package/dist-es/commands/CreateCommitCommand.js +18 -41
  90. package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +18 -41
  91. package/dist-es/commands/CreatePullRequestCommand.js +18 -41
  92. package/dist-es/commands/CreateRepositoryCommand.js +18 -41
  93. package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +18 -41
  94. package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +18 -41
  95. package/dist-es/commands/DeleteBranchCommand.js +18 -41
  96. package/dist-es/commands/DeleteCommentContentCommand.js +18 -41
  97. package/dist-es/commands/DeleteFileCommand.js +18 -41
  98. package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +18 -41
  99. package/dist-es/commands/DeleteRepositoryCommand.js +18 -41
  100. package/dist-es/commands/DescribeMergeConflictsCommand.js +18 -41
  101. package/dist-es/commands/DescribePullRequestEventsCommand.js +18 -41
  102. package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +18 -41
  103. package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +18 -41
  104. package/dist-es/commands/GetApprovalRuleTemplateCommand.js +18 -41
  105. package/dist-es/commands/GetBlobCommand.js +18 -41
  106. package/dist-es/commands/GetBranchCommand.js +18 -41
  107. package/dist-es/commands/GetCommentCommand.js +18 -41
  108. package/dist-es/commands/GetCommentReactionsCommand.js +18 -41
  109. package/dist-es/commands/GetCommentsForComparedCommitCommand.js +18 -41
  110. package/dist-es/commands/GetCommentsForPullRequestCommand.js +18 -41
  111. package/dist-es/commands/GetCommitCommand.js +18 -41
  112. package/dist-es/commands/GetDifferencesCommand.js +18 -41
  113. package/dist-es/commands/GetFileCommand.js +18 -41
  114. package/dist-es/commands/GetFolderCommand.js +18 -41
  115. package/dist-es/commands/GetMergeCommitCommand.js +18 -41
  116. package/dist-es/commands/GetMergeConflictsCommand.js +18 -41
  117. package/dist-es/commands/GetMergeOptionsCommand.js +18 -41
  118. package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +18 -41
  119. package/dist-es/commands/GetPullRequestCommand.js +18 -41
  120. package/dist-es/commands/GetPullRequestOverrideStateCommand.js +18 -41
  121. package/dist-es/commands/GetRepositoryCommand.js +18 -41
  122. package/dist-es/commands/GetRepositoryTriggersCommand.js +18 -41
  123. package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +18 -41
  124. package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +18 -41
  125. package/dist-es/commands/ListBranchesCommand.js +18 -41
  126. package/dist-es/commands/ListFileCommitHistoryCommand.js +18 -41
  127. package/dist-es/commands/ListPullRequestsCommand.js +18 -41
  128. package/dist-es/commands/ListRepositoriesCommand.js +18 -41
  129. package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +18 -41
  130. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  131. package/dist-es/commands/MergeBranchesByFastForwardCommand.js +18 -41
  132. package/dist-es/commands/MergeBranchesBySquashCommand.js +18 -41
  133. package/dist-es/commands/MergeBranchesByThreeWayCommand.js +18 -41
  134. package/dist-es/commands/MergePullRequestByFastForwardCommand.js +18 -41
  135. package/dist-es/commands/MergePullRequestBySquashCommand.js +18 -41
  136. package/dist-es/commands/MergePullRequestByThreeWayCommand.js +18 -41
  137. package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +18 -41
  138. package/dist-es/commands/PostCommentForComparedCommitCommand.js +18 -41
  139. package/dist-es/commands/PostCommentForPullRequestCommand.js +18 -41
  140. package/dist-es/commands/PostCommentReplyCommand.js +18 -41
  141. package/dist-es/commands/PutCommentReactionCommand.js +18 -41
  142. package/dist-es/commands/PutFileCommand.js +18 -41
  143. package/dist-es/commands/PutRepositoryTriggersCommand.js +18 -41
  144. package/dist-es/commands/TagResourceCommand.js +18 -41
  145. package/dist-es/commands/TestRepositoryTriggersCommand.js +18 -41
  146. package/dist-es/commands/UntagResourceCommand.js +18 -41
  147. package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +18 -41
  148. package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +18 -41
  149. package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +18 -41
  150. package/dist-es/commands/UpdateCommentCommand.js +18 -41
  151. package/dist-es/commands/UpdateDefaultBranchCommand.js +18 -41
  152. package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +18 -41
  153. package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +18 -41
  154. package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +18 -41
  155. package/dist-es/commands/UpdatePullRequestStatusCommand.js +18 -41
  156. package/dist-es/commands/UpdatePullRequestTitleCommand.js +18 -41
  157. package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +18 -41
  158. package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +18 -41
  159. package/dist-es/commands/UpdateRepositoryNameCommand.js +18 -41
  160. package/dist-es/endpoint/EndpointParameters.js +6 -0
  161. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +6 -21
  162. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +6 -21
  163. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +6 -21
  164. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -21
  165. package/dist-types/commands/BatchGetCommitsCommand.d.ts +6 -21
  166. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +6 -21
  167. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +6 -21
  168. package/dist-types/commands/CreateBranchCommand.d.ts +6 -21
  169. package/dist-types/commands/CreateCommitCommand.d.ts +6 -21
  170. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +6 -21
  171. package/dist-types/commands/CreatePullRequestCommand.d.ts +6 -21
  172. package/dist-types/commands/CreateRepositoryCommand.d.ts +6 -21
  173. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +6 -21
  174. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -21
  175. package/dist-types/commands/DeleteBranchCommand.d.ts +6 -21
  176. package/dist-types/commands/DeleteCommentContentCommand.d.ts +6 -21
  177. package/dist-types/commands/DeleteFileCommand.d.ts +6 -21
  178. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -21
  179. package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -21
  180. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +6 -21
  181. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +6 -21
  182. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +6 -21
  183. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +6 -21
  184. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +6 -21
  185. package/dist-types/commands/GetBlobCommand.d.ts +6 -21
  186. package/dist-types/commands/GetBranchCommand.d.ts +6 -21
  187. package/dist-types/commands/GetCommentCommand.d.ts +6 -21
  188. package/dist-types/commands/GetCommentReactionsCommand.d.ts +6 -21
  189. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +6 -21
  190. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +6 -21
  191. package/dist-types/commands/GetCommitCommand.d.ts +6 -21
  192. package/dist-types/commands/GetDifferencesCommand.d.ts +6 -21
  193. package/dist-types/commands/GetFileCommand.d.ts +6 -21
  194. package/dist-types/commands/GetFolderCommand.d.ts +6 -21
  195. package/dist-types/commands/GetMergeCommitCommand.d.ts +6 -21
  196. package/dist-types/commands/GetMergeConflictsCommand.d.ts +6 -21
  197. package/dist-types/commands/GetMergeOptionsCommand.d.ts +6 -21
  198. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +6 -21
  199. package/dist-types/commands/GetPullRequestCommand.d.ts +6 -21
  200. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +6 -21
  201. package/dist-types/commands/GetRepositoryCommand.d.ts +6 -21
  202. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +6 -21
  203. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +6 -21
  204. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +6 -21
  205. package/dist-types/commands/ListBranchesCommand.d.ts +6 -21
  206. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +6 -21
  207. package/dist-types/commands/ListPullRequestsCommand.d.ts +6 -21
  208. package/dist-types/commands/ListRepositoriesCommand.d.ts +6 -21
  209. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +6 -21
  210. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  211. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +6 -21
  212. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -21
  213. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -21
  214. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +6 -21
  215. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +6 -21
  216. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +6 -21
  217. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +6 -21
  218. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +6 -21
  219. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +6 -21
  220. package/dist-types/commands/PostCommentReplyCommand.d.ts +6 -21
  221. package/dist-types/commands/PutCommentReactionCommand.d.ts +6 -21
  222. package/dist-types/commands/PutFileCommand.d.ts +6 -21
  223. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -21
  224. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  225. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +6 -21
  226. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  227. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +6 -21
  228. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +6 -21
  229. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +6 -21
  230. package/dist-types/commands/UpdateCommentCommand.d.ts +6 -21
  231. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +6 -21
  232. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -21
  233. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +6 -21
  234. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +6 -21
  235. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +6 -21
  236. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +6 -21
  237. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +6 -21
  238. package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +6 -21
  239. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +6 -21
  240. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  241. package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +12 -24
  242. package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +11 -25
  243. package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -24
  244. package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +11 -25
  245. package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +12 -24
  248. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +12 -24
  254. package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +12 -24
  255. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +12 -24
  257. package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +11 -25
  263. package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +12 -24
  265. package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +12 -23
  266. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +14 -23
  267. package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +12 -24
  270. package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/GetFileCommand.d.ts +12 -23
  274. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +14 -23
  277. package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +11 -25
  285. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +12 -24
  287. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/PutFileCommand.d.ts +12 -23
  303. package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +12 -24
  316. package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +12 -24
  318. package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  321. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCommentsForPullRequestCommand, se_GetCommentsForPullRequestCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetCommentsForPullRequestCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCommentsForPullRequestCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetCommentsForPullRequestCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetCommentsForPullRequest",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCommentsForPullRequestCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCommentsForPullRequestCommand(output, context);
46
- }
7
+ export class GetCommentsForPullRequestCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetCommentsForPullRequest", {})
19
+ .n("CodeCommitClient", "GetCommentsForPullRequestCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCommentsForPullRequestCommand)
22
+ .de(de_GetCommentsForPullRequestCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCommitCommand, se_GetCommitCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetCommitCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCommitCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetCommitCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetCommit",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCommitCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCommitCommand(output, context);
46
- }
7
+ export class GetCommitCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetCommit", {})
19
+ .n("CodeCommitClient", "GetCommitCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCommitCommand)
22
+ .de(de_GetCommitCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetDifferencesCommand, se_GetDifferencesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetDifferencesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetDifferencesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetDifferencesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetDifferences",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetDifferencesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetDifferencesCommand(output, context);
46
- }
7
+ export class GetDifferencesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetDifferences", {})
19
+ .n("CodeCommitClient", "GetDifferencesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetDifferencesCommand)
22
+ .de(de_GetDifferencesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetFileCommand, se_GetFileCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetFileCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetFileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetFileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetFile",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetFileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetFileCommand(output, context);
46
- }
7
+ export class GetFileCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetFile", {})
19
+ .n("CodeCommitClient", "GetFileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetFileCommand)
22
+ .de(de_GetFileCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetFolderCommand, se_GetFolderCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetFolderCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetFolderCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetFolderCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetFolder",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetFolderCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetFolderCommand(output, context);
46
- }
7
+ export class GetFolderCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetFolder", {})
19
+ .n("CodeCommitClient", "GetFolderCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetFolderCommand)
22
+ .de(de_GetFolderCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetMergeCommitCommand, se_GetMergeCommitCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetMergeCommitCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetMergeCommitCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetMergeCommitCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetMergeCommit",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetMergeCommitCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMergeCommitCommand(output, context);
46
- }
7
+ export class GetMergeCommitCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetMergeCommit", {})
19
+ .n("CodeCommitClient", "GetMergeCommitCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMergeCommitCommand)
22
+ .de(de_GetMergeCommitCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetMergeConflictsCommand, se_GetMergeConflictsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetMergeConflictsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetMergeConflictsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetMergeConflictsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetMergeConflicts",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetMergeConflictsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMergeConflictsCommand(output, context);
46
- }
7
+ export class GetMergeConflictsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetMergeConflicts", {})
19
+ .n("CodeCommitClient", "GetMergeConflictsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMergeConflictsCommand)
22
+ .de(de_GetMergeConflictsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetMergeOptionsCommand, se_GetMergeOptionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetMergeOptionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetMergeOptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetMergeOptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetMergeOptions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetMergeOptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMergeOptionsCommand(output, context);
46
- }
7
+ export class GetMergeOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetMergeOptions", {})
19
+ .n("CodeCommitClient", "GetMergeOptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMergeOptionsCommand)
22
+ .de(de_GetMergeOptionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetPullRequestApprovalStatesCommand, se_GetPullRequestApprovalStatesCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetPullRequestApprovalStatesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPullRequestApprovalStatesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "GetPullRequestApprovalStatesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "GetPullRequestApprovalStates",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetPullRequestApprovalStatesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPullRequestApprovalStatesCommand(output, context);
46
- }
7
+ export class GetPullRequestApprovalStatesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "GetPullRequestApprovalStates", {})
19
+ .n("CodeCommitClient", "GetPullRequestApprovalStatesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPullRequestApprovalStatesCommand)
22
+ .de(de_GetPullRequestApprovalStatesCommand)
23
+ .build() {
47
24
  }