@aws-sdk/client-codecommit 3.478.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 (345) hide show
  1. package/README.md +13 -0
  2. package/dist-cjs/CodeCommit.js +2 -0
  3. package/dist-cjs/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +18 -41
  4. package/dist-cjs/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +18 -41
  5. package/dist-cjs/commands/BatchDescribeMergeConflictsCommand.js +18 -41
  6. package/dist-cjs/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +18 -41
  7. package/dist-cjs/commands/BatchGetCommitsCommand.js +18 -41
  8. package/dist-cjs/commands/BatchGetRepositoriesCommand.js +18 -41
  9. package/dist-cjs/commands/CreateApprovalRuleTemplateCommand.js +18 -41
  10. package/dist-cjs/commands/CreateBranchCommand.js +18 -41
  11. package/dist-cjs/commands/CreateCommitCommand.js +18 -41
  12. package/dist-cjs/commands/CreatePullRequestApprovalRuleCommand.js +18 -41
  13. package/dist-cjs/commands/CreatePullRequestCommand.js +18 -41
  14. package/dist-cjs/commands/CreateRepositoryCommand.js +18 -41
  15. package/dist-cjs/commands/CreateUnreferencedMergeCommitCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteApprovalRuleTemplateCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteBranchCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteCommentContentCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteFileCommand.js +18 -41
  20. package/dist-cjs/commands/DeletePullRequestApprovalRuleCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteRepositoryCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeMergeConflictsCommand.js +18 -41
  23. package/dist-cjs/commands/DescribePullRequestEventsCommand.js +18 -41
  24. package/dist-cjs/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +18 -41
  25. package/dist-cjs/commands/EvaluatePullRequestApprovalRulesCommand.js +18 -41
  26. package/dist-cjs/commands/GetApprovalRuleTemplateCommand.js +18 -41
  27. package/dist-cjs/commands/GetBlobCommand.js +18 -41
  28. package/dist-cjs/commands/GetBranchCommand.js +18 -41
  29. package/dist-cjs/commands/GetCommentCommand.js +18 -41
  30. package/dist-cjs/commands/GetCommentReactionsCommand.js +18 -41
  31. package/dist-cjs/commands/GetCommentsForComparedCommitCommand.js +18 -41
  32. package/dist-cjs/commands/GetCommentsForPullRequestCommand.js +18 -41
  33. package/dist-cjs/commands/GetCommitCommand.js +18 -41
  34. package/dist-cjs/commands/GetDifferencesCommand.js +18 -41
  35. package/dist-cjs/commands/GetFileCommand.js +18 -41
  36. package/dist-cjs/commands/GetFolderCommand.js +18 -41
  37. package/dist-cjs/commands/GetMergeCommitCommand.js +18 -41
  38. package/dist-cjs/commands/GetMergeConflictsCommand.js +18 -41
  39. package/dist-cjs/commands/GetMergeOptionsCommand.js +18 -41
  40. package/dist-cjs/commands/GetPullRequestApprovalStatesCommand.js +18 -41
  41. package/dist-cjs/commands/GetPullRequestCommand.js +18 -41
  42. package/dist-cjs/commands/GetPullRequestOverrideStateCommand.js +18 -41
  43. package/dist-cjs/commands/GetRepositoryCommand.js +18 -41
  44. package/dist-cjs/commands/GetRepositoryTriggersCommand.js +18 -41
  45. package/dist-cjs/commands/ListApprovalRuleTemplatesCommand.js +18 -41
  46. package/dist-cjs/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +18 -41
  47. package/dist-cjs/commands/ListBranchesCommand.js +18 -41
  48. package/dist-cjs/commands/ListFileCommitHistoryCommand.js +18 -41
  49. package/dist-cjs/commands/ListPullRequestsCommand.js +18 -41
  50. package/dist-cjs/commands/ListRepositoriesCommand.js +18 -41
  51. package/dist-cjs/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +18 -41
  52. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  53. package/dist-cjs/commands/MergeBranchesByFastForwardCommand.js +18 -41
  54. package/dist-cjs/commands/MergeBranchesBySquashCommand.js +18 -41
  55. package/dist-cjs/commands/MergeBranchesByThreeWayCommand.js +18 -41
  56. package/dist-cjs/commands/MergePullRequestByFastForwardCommand.js +18 -41
  57. package/dist-cjs/commands/MergePullRequestBySquashCommand.js +18 -41
  58. package/dist-cjs/commands/MergePullRequestByThreeWayCommand.js +18 -41
  59. package/dist-cjs/commands/OverridePullRequestApprovalRulesCommand.js +18 -41
  60. package/dist-cjs/commands/PostCommentForComparedCommitCommand.js +18 -41
  61. package/dist-cjs/commands/PostCommentForPullRequestCommand.js +18 -41
  62. package/dist-cjs/commands/PostCommentReplyCommand.js +18 -41
  63. package/dist-cjs/commands/PutCommentReactionCommand.js +18 -41
  64. package/dist-cjs/commands/PutFileCommand.js +18 -41
  65. package/dist-cjs/commands/PutRepositoryTriggersCommand.js +18 -41
  66. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  67. package/dist-cjs/commands/TestRepositoryTriggersCommand.js +18 -41
  68. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateApprovalRuleTemplateContentCommand.js +18 -41
  70. package/dist-cjs/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateApprovalRuleTemplateNameCommand.js +18 -41
  72. package/dist-cjs/commands/UpdateCommentCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateDefaultBranchCommand.js +18 -41
  74. package/dist-cjs/commands/UpdatePullRequestApprovalRuleContentCommand.js +18 -41
  75. package/dist-cjs/commands/UpdatePullRequestApprovalStateCommand.js +18 -41
  76. package/dist-cjs/commands/UpdatePullRequestDescriptionCommand.js +18 -41
  77. package/dist-cjs/commands/UpdatePullRequestStatusCommand.js +18 -41
  78. package/dist-cjs/commands/UpdatePullRequestTitleCommand.js +18 -41
  79. package/dist-cjs/commands/UpdateRepositoryDescriptionCommand.js +18 -41
  80. package/dist-cjs/commands/UpdateRepositoryEncryptionKeyCommand.js +28 -0
  81. package/dist-cjs/commands/UpdateRepositoryNameCommand.js +18 -41
  82. package/dist-cjs/commands/index.js +1 -0
  83. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  84. package/dist-cjs/models/models_0.js +38 -30
  85. package/dist-cjs/models/models_1.js +40 -1
  86. package/dist-cjs/protocols/Aws_json1_1.js +110 -5
  87. package/dist-es/CodeCommit.js +2 -0
  88. package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +18 -41
  89. package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +18 -41
  90. package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +18 -41
  91. package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +18 -41
  92. package/dist-es/commands/BatchGetCommitsCommand.js +18 -41
  93. package/dist-es/commands/BatchGetRepositoriesCommand.js +18 -41
  94. package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +18 -41
  95. package/dist-es/commands/CreateBranchCommand.js +18 -41
  96. package/dist-es/commands/CreateCommitCommand.js +18 -41
  97. package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +18 -41
  98. package/dist-es/commands/CreatePullRequestCommand.js +18 -41
  99. package/dist-es/commands/CreateRepositoryCommand.js +18 -41
  100. package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +18 -41
  101. package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +18 -41
  102. package/dist-es/commands/DeleteBranchCommand.js +18 -41
  103. package/dist-es/commands/DeleteCommentContentCommand.js +18 -41
  104. package/dist-es/commands/DeleteFileCommand.js +18 -41
  105. package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +18 -41
  106. package/dist-es/commands/DeleteRepositoryCommand.js +18 -41
  107. package/dist-es/commands/DescribeMergeConflictsCommand.js +18 -41
  108. package/dist-es/commands/DescribePullRequestEventsCommand.js +18 -41
  109. package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +18 -41
  110. package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +18 -41
  111. package/dist-es/commands/GetApprovalRuleTemplateCommand.js +18 -41
  112. package/dist-es/commands/GetBlobCommand.js +18 -41
  113. package/dist-es/commands/GetBranchCommand.js +18 -41
  114. package/dist-es/commands/GetCommentCommand.js +18 -41
  115. package/dist-es/commands/GetCommentReactionsCommand.js +18 -41
  116. package/dist-es/commands/GetCommentsForComparedCommitCommand.js +18 -41
  117. package/dist-es/commands/GetCommentsForPullRequestCommand.js +18 -41
  118. package/dist-es/commands/GetCommitCommand.js +18 -41
  119. package/dist-es/commands/GetDifferencesCommand.js +18 -41
  120. package/dist-es/commands/GetFileCommand.js +18 -41
  121. package/dist-es/commands/GetFolderCommand.js +18 -41
  122. package/dist-es/commands/GetMergeCommitCommand.js +18 -41
  123. package/dist-es/commands/GetMergeConflictsCommand.js +18 -41
  124. package/dist-es/commands/GetMergeOptionsCommand.js +18 -41
  125. package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +18 -41
  126. package/dist-es/commands/GetPullRequestCommand.js +18 -41
  127. package/dist-es/commands/GetPullRequestOverrideStateCommand.js +18 -41
  128. package/dist-es/commands/GetRepositoryCommand.js +18 -41
  129. package/dist-es/commands/GetRepositoryTriggersCommand.js +18 -41
  130. package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +18 -41
  131. package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +18 -41
  132. package/dist-es/commands/ListBranchesCommand.js +18 -41
  133. package/dist-es/commands/ListFileCommitHistoryCommand.js +18 -41
  134. package/dist-es/commands/ListPullRequestsCommand.js +18 -41
  135. package/dist-es/commands/ListRepositoriesCommand.js +18 -41
  136. package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +18 -41
  137. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  138. package/dist-es/commands/MergeBranchesByFastForwardCommand.js +18 -41
  139. package/dist-es/commands/MergeBranchesBySquashCommand.js +18 -41
  140. package/dist-es/commands/MergeBranchesByThreeWayCommand.js +18 -41
  141. package/dist-es/commands/MergePullRequestByFastForwardCommand.js +18 -41
  142. package/dist-es/commands/MergePullRequestBySquashCommand.js +18 -41
  143. package/dist-es/commands/MergePullRequestByThreeWayCommand.js +18 -41
  144. package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +18 -41
  145. package/dist-es/commands/PostCommentForComparedCommitCommand.js +18 -41
  146. package/dist-es/commands/PostCommentForPullRequestCommand.js +18 -41
  147. package/dist-es/commands/PostCommentReplyCommand.js +18 -41
  148. package/dist-es/commands/PutCommentReactionCommand.js +18 -41
  149. package/dist-es/commands/PutFileCommand.js +18 -41
  150. package/dist-es/commands/PutRepositoryTriggersCommand.js +18 -41
  151. package/dist-es/commands/TagResourceCommand.js +18 -41
  152. package/dist-es/commands/TestRepositoryTriggersCommand.js +18 -41
  153. package/dist-es/commands/UntagResourceCommand.js +18 -41
  154. package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +18 -41
  155. package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +18 -41
  156. package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +18 -41
  157. package/dist-es/commands/UpdateCommentCommand.js +18 -41
  158. package/dist-es/commands/UpdateDefaultBranchCommand.js +18 -41
  159. package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +18 -41
  160. package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +18 -41
  161. package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +18 -41
  162. package/dist-es/commands/UpdatePullRequestStatusCommand.js +18 -41
  163. package/dist-es/commands/UpdatePullRequestTitleCommand.js +18 -41
  164. package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +18 -41
  165. package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +24 -0
  166. package/dist-es/commands/UpdateRepositoryNameCommand.js +18 -41
  167. package/dist-es/commands/index.js +1 -0
  168. package/dist-es/endpoint/EndpointParameters.js +6 -0
  169. package/dist-es/models/models_0.js +32 -24
  170. package/dist-es/models/models_1.js +36 -0
  171. package/dist-es/protocols/Aws_json1_1.js +105 -2
  172. package/dist-types/CodeCommit.d.ts +12 -0
  173. package/dist-types/CodeCommitClient.d.ts +8 -2
  174. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +6 -21
  175. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +6 -21
  176. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +6 -21
  177. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -21
  178. package/dist-types/commands/BatchGetCommitsCommand.d.ts +6 -21
  179. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +15 -21
  180. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +6 -21
  181. package/dist-types/commands/CreateBranchCommand.d.ts +6 -21
  182. package/dist-types/commands/CreateCommitCommand.d.ts +6 -21
  183. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +6 -21
  184. package/dist-types/commands/CreatePullRequestCommand.d.ts +6 -21
  185. package/dist-types/commands/CreateRepositoryCommand.d.ts +15 -21
  186. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +6 -21
  187. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -21
  188. package/dist-types/commands/DeleteBranchCommand.d.ts +6 -21
  189. package/dist-types/commands/DeleteCommentContentCommand.d.ts +6 -21
  190. package/dist-types/commands/DeleteFileCommand.d.ts +6 -21
  191. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -21
  192. package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -21
  193. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +6 -21
  194. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +6 -21
  195. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +6 -21
  196. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +6 -21
  197. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +6 -21
  198. package/dist-types/commands/GetBlobCommand.d.ts +6 -21
  199. package/dist-types/commands/GetBranchCommand.d.ts +6 -21
  200. package/dist-types/commands/GetCommentCommand.d.ts +6 -21
  201. package/dist-types/commands/GetCommentReactionsCommand.d.ts +6 -21
  202. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +6 -21
  203. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +6 -21
  204. package/dist-types/commands/GetCommitCommand.d.ts +6 -21
  205. package/dist-types/commands/GetDifferencesCommand.d.ts +6 -21
  206. package/dist-types/commands/GetFileCommand.d.ts +6 -21
  207. package/dist-types/commands/GetFolderCommand.d.ts +6 -21
  208. package/dist-types/commands/GetMergeCommitCommand.d.ts +6 -21
  209. package/dist-types/commands/GetMergeConflictsCommand.d.ts +6 -21
  210. package/dist-types/commands/GetMergeOptionsCommand.d.ts +6 -21
  211. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +6 -21
  212. package/dist-types/commands/GetPullRequestCommand.d.ts +6 -21
  213. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +6 -21
  214. package/dist-types/commands/GetRepositoryCommand.d.ts +7 -21
  215. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +6 -21
  216. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +6 -21
  217. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +6 -21
  218. package/dist-types/commands/ListBranchesCommand.d.ts +6 -21
  219. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +8 -22
  220. package/dist-types/commands/ListPullRequestsCommand.d.ts +7 -23
  221. package/dist-types/commands/ListRepositoriesCommand.d.ts +6 -21
  222. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +6 -21
  223. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  224. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +6 -21
  225. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -21
  226. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -21
  227. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +6 -21
  228. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +6 -21
  229. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +6 -21
  230. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +6 -21
  231. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +6 -21
  232. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +6 -21
  233. package/dist-types/commands/PostCommentReplyCommand.d.ts +6 -21
  234. package/dist-types/commands/PutCommentReactionCommand.d.ts +6 -21
  235. package/dist-types/commands/PutFileCommand.d.ts +6 -21
  236. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -21
  237. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  238. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +6 -21
  239. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  240. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +6 -21
  241. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +6 -21
  242. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +6 -21
  243. package/dist-types/commands/UpdateCommentCommand.d.ts +6 -21
  244. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +6 -21
  245. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -21
  246. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +6 -21
  247. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +6 -21
  248. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +6 -21
  249. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +6 -21
  250. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +6 -21
  251. package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +100 -0
  252. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +6 -21
  253. package/dist-types/commands/index.d.ts +1 -0
  254. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  255. package/dist-types/index.d.ts +5 -0
  256. package/dist-types/models/models_0.d.ts +86 -71
  257. package/dist-types/models/models_1.d.ts +122 -1
  258. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  259. package/dist-types/ts3.4/CodeCommit.d.ts +17 -0
  260. package/dist-types/ts3.4/CodeCommitClient.d.ts +6 -0
  261. package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +11 -25
  263. package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +11 -25
  265. package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +11 -25
  283. package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +12 -23
  286. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/GetFileCommand.d.ts +12 -23
  294. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
  295. package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +14 -23
  296. package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +11 -25
  305. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +14 -28
  307. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +18 -25
  308. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +12 -24
  312. package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +12 -24
  316. package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +12 -24
  318. package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +14 -23
  322. package/dist-types/ts3.4/commands/PutFileCommand.d.ts +12 -23
  323. package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +12 -24
  330. package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +14 -23
  332. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +12 -24
  333. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +12 -24
  335. package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +12 -24
  337. package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +30 -0
  339. package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +12 -24
  340. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  341. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  342. package/dist-types/ts3.4/models/models_0.d.ts +39 -28
  343. package/dist-types/ts3.4/models/models_1.d.ts +45 -0
  344. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  345. package/package.json +9 -9
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdateCommentInput, UpdateCommentOutput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateCommentCommandInput extends UpdateCommentInput {
21
20
  */
22
21
  export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __MetadataBearer {
23
22
  }
23
+ declare const UpdateCommentCommand_base: {
24
+ new (input: UpdateCommentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCommentCommandInput, UpdateCommentCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Replaces the contents of a comment.</p>
@@ -89,23 +92,5 @@ export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __Metad
89
92
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
90
93
  *
91
94
  */
92
- export declare class UpdateCommentCommand extends $Command<UpdateCommentCommandInput, UpdateCommentCommandOutput, CodeCommitClientResolvedConfig> {
93
- readonly input: UpdateCommentCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: UpdateCommentCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCommentCommandInput, UpdateCommentCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class UpdateCommentCommand extends UpdateCommentCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdateDefaultBranchInput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateDefaultBranchCommandInput extends UpdateDefaultBranchInpu
21
20
  */
22
21
  export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdateDefaultBranchCommand_base: {
24
+ new (input: UpdateDefaultBranchCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDefaultBranchCommandInput, UpdateDefaultBranchCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets or changes the default branch name for the specified repository.</p>
@@ -91,23 +94,5 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
91
94
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
92
95
  *
93
96
  */
94
- export declare class UpdateDefaultBranchCommand extends $Command<UpdateDefaultBranchCommandInput, UpdateDefaultBranchCommandOutput, CodeCommitClientResolvedConfig> {
95
- readonly input: UpdateDefaultBranchCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: UpdateDefaultBranchCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDefaultBranchCommandInput, UpdateDefaultBranchCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class UpdateDefaultBranchCommand extends UpdateDefaultBranchCommand_base {
113
98
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdatePullRequestApprovalRuleContentInput, UpdatePullRequestApprovalRuleContentOutput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdatePullRequestApprovalRuleContentCommandInput extends Update
21
20
  */
22
21
  export interface UpdatePullRequestApprovalRuleContentCommandOutput extends UpdatePullRequestApprovalRuleContentOutput, __MetadataBearer {
23
22
  }
23
+ declare const UpdatePullRequestApprovalRuleContentCommand_base: {
24
+ new (input: UpdatePullRequestApprovalRuleContentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePullRequestApprovalRuleContentCommandInput, UpdatePullRequestApprovalRuleContentCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and
@@ -116,23 +119,5 @@ export interface UpdatePullRequestApprovalRuleContentCommandOutput extends Updat
116
119
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
117
120
  *
118
121
  */
119
- export declare class UpdatePullRequestApprovalRuleContentCommand extends $Command<UpdatePullRequestApprovalRuleContentCommandInput, UpdatePullRequestApprovalRuleContentCommandOutput, CodeCommitClientResolvedConfig> {
120
- readonly input: UpdatePullRequestApprovalRuleContentCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: UpdatePullRequestApprovalRuleContentCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestApprovalRuleContentCommandInput, UpdatePullRequestApprovalRuleContentCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class UpdatePullRequestApprovalRuleContentCommand extends UpdatePullRequestApprovalRuleContentCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdatePullRequestApprovalStateInput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdatePullRequestApprovalStateCommandInput extends UpdatePullRe
21
20
  */
22
21
  export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdatePullRequestApprovalStateCommand_base: {
24
+ new (input: UpdatePullRequestApprovalStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePullRequestApprovalStateCommandInput, UpdatePullRequestApprovalStateCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.</p>
@@ -100,23 +103,5 @@ export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataB
100
103
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
101
104
  *
102
105
  */
103
- export declare class UpdatePullRequestApprovalStateCommand extends $Command<UpdatePullRequestApprovalStateCommandInput, UpdatePullRequestApprovalStateCommandOutput, CodeCommitClientResolvedConfig> {
104
- readonly input: UpdatePullRequestApprovalStateCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: UpdatePullRequestApprovalStateCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestApprovalStateCommandInput, UpdatePullRequestApprovalStateCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class UpdatePullRequestApprovalStateCommand extends UpdatePullRequestApprovalStateCommand_base {
122
107
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdatePullRequestDescriptionInput, UpdatePullRequestDescriptionOutput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdatePullRequestDescriptionCommandInput extends UpdatePullRequ
21
20
  */
22
21
  export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullRequestDescriptionOutput, __MetadataBearer {
23
22
  }
23
+ declare const UpdatePullRequestDescriptionCommand_base: {
24
+ new (input: UpdatePullRequestDescriptionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Replaces the contents of the description of a pull request.</p>
@@ -109,23 +112,5 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
109
112
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
110
113
  *
111
114
  */
112
- export declare class UpdatePullRequestDescriptionCommand extends $Command<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
113
- readonly input: UpdatePullRequestDescriptionCommandInput;
114
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
- /**
116
- * @public
117
- */
118
- constructor(input: UpdatePullRequestDescriptionCommandInput);
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput>;
123
- /**
124
- * @internal
125
- */
126
- private serialize;
127
- /**
128
- * @internal
129
- */
130
- private deserialize;
115
+ export declare class UpdatePullRequestDescriptionCommand extends UpdatePullRequestDescriptionCommand_base {
131
116
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdatePullRequestStatusInput, UpdatePullRequestStatusOutput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdatePullRequestStatusCommandInput extends UpdatePullRequestSt
21
20
  */
22
21
  export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestStatusOutput, __MetadataBearer {
23
22
  }
23
+ declare const UpdatePullRequestStatusCommand_base: {
24
+ new (input: UpdatePullRequestStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the status of a pull request. </p>
@@ -126,23 +129,5 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
126
129
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
127
130
  *
128
131
  */
129
- export declare class UpdatePullRequestStatusCommand extends $Command<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput, CodeCommitClientResolvedConfig> {
130
- readonly input: UpdatePullRequestStatusCommandInput;
131
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
132
- /**
133
- * @public
134
- */
135
- constructor(input: UpdatePullRequestStatusCommandInput);
136
- /**
137
- * @internal
138
- */
139
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput>;
140
- /**
141
- * @internal
142
- */
143
- private serialize;
144
- /**
145
- * @internal
146
- */
147
- private deserialize;
132
+ export declare class UpdatePullRequestStatusCommand extends UpdatePullRequestStatusCommand_base {
148
133
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdatePullRequestTitleInput, UpdatePullRequestTitleOutput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdatePullRequestTitleCommandInput extends UpdatePullRequestTit
21
20
  */
22
21
  export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTitleOutput, __MetadataBearer {
23
22
  }
23
+ declare const UpdatePullRequestTitleCommand_base: {
24
+ new (input: UpdatePullRequestTitleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Replaces the title of a pull request.</p>
@@ -111,23 +114,5 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
111
114
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
112
115
  *
113
116
  */
114
- export declare class UpdatePullRequestTitleCommand extends $Command<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput, CodeCommitClientResolvedConfig> {
115
- readonly input: UpdatePullRequestTitleCommandInput;
116
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
117
- /**
118
- * @public
119
- */
120
- constructor(input: UpdatePullRequestTitleCommandInput);
121
- /**
122
- * @internal
123
- */
124
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput>;
125
- /**
126
- * @internal
127
- */
128
- private serialize;
129
- /**
130
- * @internal
131
- */
132
- private deserialize;
117
+ export declare class UpdatePullRequestTitleCommand extends UpdatePullRequestTitleCommand_base {
133
118
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdateRepositoryDescriptionInput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateRepositoryDescriptionCommandInput extends UpdateRepositor
21
20
  */
22
21
  export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdateRepositoryDescriptionCommand_base: {
24
+ new (input: UpdateRepositoryDescriptionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sets or changes the comment or description for a repository.</p>
@@ -89,23 +92,5 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
89
92
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
90
93
  *
91
94
  */
92
- export declare class UpdateRepositoryDescriptionCommand extends $Command<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
93
- readonly input: UpdateRepositoryDescriptionCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: UpdateRepositoryDescriptionCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class UpdateRepositoryDescriptionCommand extends UpdateRepositoryDescriptionCommand_base {
111
96
  }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
4
+ import { UpdateRepositoryEncryptionKeyInput, UpdateRepositoryEncryptionKeyOutput } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdateRepositoryEncryptionKeyCommand}.
13
+ */
14
+ export interface UpdateRepositoryEncryptionKeyCommandInput extends UpdateRepositoryEncryptionKeyInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdateRepositoryEncryptionKeyCommand}.
20
+ */
21
+ export interface UpdateRepositoryEncryptionKeyCommandOutput extends UpdateRepositoryEncryptionKeyOutput, __MetadataBearer {
22
+ }
23
+ declare const UpdateRepositoryEncryptionKeyCommand_base: {
24
+ new (input: UpdateRepositoryEncryptionKeyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryEncryptionKeyCommandInput, UpdateRepositoryEncryptionKeyCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeCommitClient, UpdateRepositoryEncryptionKeyCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
34
+ * // const { CodeCommitClient, UpdateRepositoryEncryptionKeyCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
35
+ * const client = new CodeCommitClient(config);
36
+ * const input = { // UpdateRepositoryEncryptionKeyInput
37
+ * repositoryName: "STRING_VALUE", // required
38
+ * kmsKeyId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new UpdateRepositoryEncryptionKeyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // UpdateRepositoryEncryptionKeyOutput
43
+ * // repositoryId: "STRING_VALUE",
44
+ * // kmsKeyId: "STRING_VALUE",
45
+ * // originalKmsKeyId: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param UpdateRepositoryEncryptionKeyCommandInput - {@link UpdateRepositoryEncryptionKeyCommandInput}
51
+ * @returns {@link UpdateRepositoryEncryptionKeyCommandOutput}
52
+ * @see {@link UpdateRepositoryEncryptionKeyCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateRepositoryEncryptionKeyCommandOutput} for command's `response` shape.
54
+ * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
55
+ *
56
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
57
+ * <p>An encryption integrity check failed.</p>
58
+ *
59
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
60
+ * <p>An encryption key could not be accessed.</p>
61
+ *
62
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
63
+ * <p>The encryption key is disabled.</p>
64
+ *
65
+ * @throws {@link EncryptionKeyInvalidIdException} (client fault)
66
+ * <p>The Key Management Service encryption key is not valid.</p>
67
+ *
68
+ * @throws {@link EncryptionKeyInvalidUsageException} (client fault)
69
+ * <p>A KMS encryption key was used to try and encrypt or decrypt a repository, but either the repository or the key was not
70
+ * in a valid state to support the operation.</p>
71
+ *
72
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
73
+ * <p>No encryption key was found.</p>
74
+ *
75
+ * @throws {@link EncryptionKeyRequiredException} (client fault)
76
+ * <p>A KMS encryption key ID is required but was not specified.</p>
77
+ *
78
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
79
+ * <p>The encryption key is not available.</p>
80
+ *
81
+ * @throws {@link InvalidRepositoryNameException} (client fault)
82
+ * <p>A specified repository name is not valid.</p>
83
+ * <note>
84
+ * <p>This exception occurs only when a specified repository name is not valid. Other
85
+ * exceptions occur when a required repository parameter is missing, or when a
86
+ * specified repository does not exist.</p>
87
+ * </note>
88
+ *
89
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
90
+ * <p>The specified repository does not exist.</p>
91
+ *
92
+ * @throws {@link RepositoryNameRequiredException} (client fault)
93
+ * <p>A repository name is required, but was not specified.</p>
94
+ *
95
+ * @throws {@link CodeCommitServiceException}
96
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
97
+ *
98
+ */
99
+ export declare class UpdateRepositoryEncryptionKeyCommand extends UpdateRepositoryEncryptionKeyCommand_base {
100
+ }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
4
  import { UpdateRepositoryNameInput } from "../models/models_1";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateRepositoryNameCommandInput extends UpdateRepositoryNameIn
21
20
  */
22
21
  export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UpdateRepositoryNameCommand_base: {
24
+ new (input: UpdateRepositoryNameCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Renames a repository. The repository name must be unique across the calling Amazon Web Services account.
@@ -71,23 +74,5 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
71
74
  * <p>Base exception class for all service exceptions from CodeCommit service.</p>
72
75
  *
73
76
  */
74
- export declare class UpdateRepositoryNameCommand extends $Command<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput, CodeCommitClientResolvedConfig> {
75
- readonly input: UpdateRepositoryNameCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: UpdateRepositoryNameCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class UpdateRepositoryNameCommand extends UpdateRepositoryNameCommand_base {
93
78
  }
@@ -75,4 +75,5 @@ export * from "./UpdatePullRequestDescriptionCommand";
75
75
  export * from "./UpdatePullRequestStatusCommand";
76
76
  export * from "./UpdatePullRequestTitleCommand";
77
77
  export * from "./UpdateRepositoryDescriptionCommand";
78
+ export * from "./UpdateRepositoryEncryptionKeyCommand";
78
79
  export * from "./UpdateRepositoryNameCommand";
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -31,6 +31,11 @@
31
31
  * </li>
32
32
  * <li>
33
33
  * <p>
34
+ * <a>UpdateRepositoryEncryptionKey</a>, which updates the Key Management Service encryption key used
35
+ * to encrypt and decrypt a repository.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
34
39
  * <a>UpdateRepositoryName</a>, which changes the name of the
35
40
  * repository. If you change the name of a repository, no other users of that
36
41
  * repository can access it until you send them the new HTTPS or SSH URL to