@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,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CodeCommitClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface UpdatePullRequestDescriptionCommandInput
21
15
  export interface UpdatePullRequestDescriptionCommandOutput
22
16
  extends UpdatePullRequestDescriptionOutput,
23
17
  __MetadataBearer {}
24
- export declare class UpdatePullRequestDescriptionCommand extends $Command<
25
- UpdatePullRequestDescriptionCommandInput,
26
- UpdatePullRequestDescriptionCommandOutput,
27
- CodeCommitClientResolvedConfig
28
- > {
29
- readonly input: UpdatePullRequestDescriptionCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: UpdatePullRequestDescriptionCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CodeCommitClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const UpdatePullRequestDescriptionCommand_base: {
19
+ new (
20
+ input: UpdatePullRequestDescriptionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  UpdatePullRequestDescriptionCommandInput,
38
- UpdatePullRequestDescriptionCommandOutput
23
+ UpdatePullRequestDescriptionCommandOutput,
24
+ CodeCommitClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdatePullRequestDescriptionCommand extends UpdatePullRequestDescriptionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CodeCommitClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface UpdatePullRequestStatusCommandInput
21
15
  export interface UpdatePullRequestStatusCommandOutput
22
16
  extends UpdatePullRequestStatusOutput,
23
17
  __MetadataBearer {}
24
- export declare class UpdatePullRequestStatusCommand extends $Command<
25
- UpdatePullRequestStatusCommandInput,
26
- UpdatePullRequestStatusCommandOutput,
27
- CodeCommitClientResolvedConfig
28
- > {
29
- readonly input: UpdatePullRequestStatusCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: UpdatePullRequestStatusCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CodeCommitClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const UpdatePullRequestStatusCommand_base: {
19
+ new (
20
+ input: UpdatePullRequestStatusCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  UpdatePullRequestStatusCommandInput,
38
- UpdatePullRequestStatusCommandOutput
23
+ UpdatePullRequestStatusCommandOutput,
24
+ CodeCommitClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdatePullRequestStatusCommand extends UpdatePullRequestStatusCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CodeCommitClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface UpdatePullRequestTitleCommandInput
21
15
  export interface UpdatePullRequestTitleCommandOutput
22
16
  extends UpdatePullRequestTitleOutput,
23
17
  __MetadataBearer {}
24
- export declare class UpdatePullRequestTitleCommand extends $Command<
25
- UpdatePullRequestTitleCommandInput,
26
- UpdatePullRequestTitleCommandOutput,
27
- CodeCommitClientResolvedConfig
28
- > {
29
- readonly input: UpdatePullRequestTitleCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: UpdatePullRequestTitleCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CodeCommitClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const UpdatePullRequestTitleCommand_base: {
19
+ new (
20
+ input: UpdatePullRequestTitleCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  UpdatePullRequestTitleCommandInput,
38
- UpdatePullRequestTitleCommandOutput
23
+ UpdatePullRequestTitleCommandOutput,
24
+ CodeCommitClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdatePullRequestTitleCommand extends UpdatePullRequestTitleCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CodeCommitClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,22 +11,16 @@ export interface UpdateRepositoryDescriptionCommandInput
17
11
  extends UpdateRepositoryDescriptionInput {}
18
12
  export interface UpdateRepositoryDescriptionCommandOutput
19
13
  extends __MetadataBearer {}
20
- export declare class UpdateRepositoryDescriptionCommand extends $Command<
21
- UpdateRepositoryDescriptionCommandInput,
22
- UpdateRepositoryDescriptionCommandOutput,
23
- CodeCommitClientResolvedConfig
24
- > {
25
- readonly input: UpdateRepositoryDescriptionCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: UpdateRepositoryDescriptionCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CodeCommitClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<
14
+ declare const UpdateRepositoryDescriptionCommand_base: {
15
+ new (
16
+ input: UpdateRepositoryDescriptionCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
33
18
  UpdateRepositoryDescriptionCommandInput,
34
- UpdateRepositoryDescriptionCommandOutput
19
+ UpdateRepositoryDescriptionCommandOutput,
20
+ CodeCommitClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
35
23
  >;
36
- private serialize;
37
- private deserialize;
38
- }
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class UpdateRepositoryDescriptionCommand extends UpdateRepositoryDescriptionCommand_base {}
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CodeCommitClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CodeCommitClient";
8
+ import {
9
+ UpdateRepositoryEncryptionKeyInput,
10
+ UpdateRepositoryEncryptionKeyOutput,
11
+ } from "../models/models_1";
12
+ export { __MetadataBearer, $Command };
13
+ export interface UpdateRepositoryEncryptionKeyCommandInput
14
+ extends UpdateRepositoryEncryptionKeyInput {}
15
+ export interface UpdateRepositoryEncryptionKeyCommandOutput
16
+ extends UpdateRepositoryEncryptionKeyOutput,
17
+ __MetadataBearer {}
18
+ declare const UpdateRepositoryEncryptionKeyCommand_base: {
19
+ new (
20
+ input: UpdateRepositoryEncryptionKeyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UpdateRepositoryEncryptionKeyCommandInput,
23
+ UpdateRepositoryEncryptionKeyCommandOutput,
24
+ CodeCommitClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdateRepositoryEncryptionKeyCommand extends UpdateRepositoryEncryptionKeyCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CodeCommitClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -16,22 +10,16 @@ export { __MetadataBearer, $Command };
16
10
  export interface UpdateRepositoryNameCommandInput
17
11
  extends UpdateRepositoryNameInput {}
18
12
  export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {}
19
- export declare class UpdateRepositoryNameCommand extends $Command<
20
- UpdateRepositoryNameCommandInput,
21
- UpdateRepositoryNameCommandOutput,
22
- CodeCommitClientResolvedConfig
23
- > {
24
- readonly input: UpdateRepositoryNameCommandInput;
25
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
- constructor(input: UpdateRepositoryNameCommandInput);
27
- resolveMiddleware(
28
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
- configuration: CodeCommitClientResolvedConfig,
30
- options?: __HttpHandlerOptions
31
- ): Handler<
13
+ declare const UpdateRepositoryNameCommand_base: {
14
+ new (
15
+ input: UpdateRepositoryNameCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
32
17
  UpdateRepositoryNameCommandInput,
33
- UpdateRepositoryNameCommandOutput
18
+ UpdateRepositoryNameCommandOutput,
19
+ CodeCommitClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
34
22
  >;
35
- private serialize;
36
- private deserialize;
37
- }
23
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
24
+ };
25
+ export declare class UpdateRepositoryNameCommand extends UpdateRepositoryNameCommand_base {}
@@ -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";
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
@@ -584,6 +584,22 @@ export declare class CommitIdsListRequiredException extends __BaseException {
584
584
  export interface BatchGetRepositoriesInput {
585
585
  repositoryNames: string[] | undefined;
586
586
  }
587
+ export declare const BatchGetRepositoriesErrorCodeEnum: {
588
+ readonly ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION: "EncryptionIntegrityChecksFailedException";
589
+ readonly ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION: "EncryptionKeyAccessDeniedException";
590
+ readonly ENCRYPTION_KEY_DISABLED_EXCEPTION: "EncryptionKeyDisabledException";
591
+ readonly ENCRYPTION_KEY_NOT_FOUND_EXCEPTION: "EncryptionKeyNotFoundException";
592
+ readonly ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION: "EncryptionKeyUnavailableException";
593
+ readonly REPOSITORY_DOES_NOT_EXIST_EXCEPTION: "RepositoryDoesNotExistException";
594
+ };
595
+ export type BatchGetRepositoriesErrorCodeEnum =
596
+ (typeof BatchGetRepositoriesErrorCodeEnum)[keyof typeof BatchGetRepositoriesErrorCodeEnum];
597
+ export interface BatchGetRepositoriesError {
598
+ repositoryId?: string;
599
+ repositoryName?: string;
600
+ errorCode?: BatchGetRepositoriesErrorCodeEnum;
601
+ errorMessage?: string;
602
+ }
587
603
  export interface RepositoryMetadata {
588
604
  accountId?: string;
589
605
  repositoryId?: string;
@@ -595,10 +611,12 @@ export interface RepositoryMetadata {
595
611
  cloneUrlHttp?: string;
596
612
  cloneUrlSsh?: string;
597
613
  Arn?: string;
614
+ kmsKeyId?: string;
598
615
  }
599
616
  export interface BatchGetRepositoriesOutput {
600
617
  repositories?: RepositoryMetadata[];
601
618
  repositoriesNotFound?: string[];
619
+ errors?: BatchGetRepositoriesError[];
602
620
  }
603
621
  export declare class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
604
622
  readonly name: "BeforeCommitIdAndAfterCommitIdAreSameException";
@@ -1266,10 +1284,31 @@ export interface CreateRepositoryInput {
1266
1284
  repositoryName: string | undefined;
1267
1285
  repositoryDescription?: string;
1268
1286
  tags?: Record<string, string>;
1287
+ kmsKeyId?: string;
1269
1288
  }
1270
1289
  export interface CreateRepositoryOutput {
1271
1290
  repositoryMetadata?: RepositoryMetadata;
1272
1291
  }
1292
+ export declare class EncryptionKeyInvalidIdException extends __BaseException {
1293
+ readonly name: "EncryptionKeyInvalidIdException";
1294
+ readonly $fault: "client";
1295
+ constructor(
1296
+ opts: __ExceptionOptionType<
1297
+ EncryptionKeyInvalidIdException,
1298
+ __BaseException
1299
+ >
1300
+ );
1301
+ }
1302
+ export declare class EncryptionKeyInvalidUsageException extends __BaseException {
1303
+ readonly name: "EncryptionKeyInvalidUsageException";
1304
+ readonly $fault: "client";
1305
+ constructor(
1306
+ opts: __ExceptionOptionType<
1307
+ EncryptionKeyInvalidUsageException,
1308
+ __BaseException
1309
+ >
1310
+ );
1311
+ }
1273
1312
  export declare class InvalidRepositoryDescriptionException extends __BaseException {
1274
1313
  readonly name: "InvalidRepositoryDescriptionException";
1275
1314
  readonly $fault: "client";
@@ -2061,31 +2100,3 @@ export interface FileVersion {
2061
2100
  path?: string;
2062
2101
  revisionChildren?: string[];
2063
2102
  }
2064
- export interface ListFileCommitHistoryResponse {
2065
- revisionDag: FileVersion[] | undefined;
2066
- nextToken?: string;
2067
- }
2068
- export declare class InvalidAuthorArnException extends __BaseException {
2069
- readonly name: "InvalidAuthorArnException";
2070
- readonly $fault: "client";
2071
- constructor(
2072
- opts: __ExceptionOptionType<InvalidAuthorArnException, __BaseException>
2073
- );
2074
- }
2075
- export declare class InvalidPullRequestStatusException extends __BaseException {
2076
- readonly name: "InvalidPullRequestStatusException";
2077
- readonly $fault: "client";
2078
- constructor(
2079
- opts: __ExceptionOptionType<
2080
- InvalidPullRequestStatusException,
2081
- __BaseException
2082
- >
2083
- );
2084
- }
2085
- export interface ListPullRequestsInput {
2086
- repositoryName: string | undefined;
2087
- authorArn?: string;
2088
- pullRequestStatus?: PullRequestStatusEnum;
2089
- nextToken?: string;
2090
- maxResults?: number;
2091
- }
@@ -9,12 +9,41 @@ import {
9
9
  ConflictResolution,
10
10
  ConflictResolutionStrategyTypeEnum,
11
11
  FileModeTypeEnum,
12
+ FileVersion,
12
13
  Location,
13
14
  OverrideStatus,
14
15
  PullRequest,
15
16
  PullRequestStatusEnum,
16
17
  RepositoryTrigger,
17
18
  } from "./models_0";
19
+ export interface ListFileCommitHistoryResponse {
20
+ revisionDag: FileVersion[] | undefined;
21
+ nextToken?: string;
22
+ }
23
+ export declare class InvalidAuthorArnException extends __BaseException {
24
+ readonly name: "InvalidAuthorArnException";
25
+ readonly $fault: "client";
26
+ constructor(
27
+ opts: __ExceptionOptionType<InvalidAuthorArnException, __BaseException>
28
+ );
29
+ }
30
+ export declare class InvalidPullRequestStatusException extends __BaseException {
31
+ readonly name: "InvalidPullRequestStatusException";
32
+ readonly $fault: "client";
33
+ constructor(
34
+ opts: __ExceptionOptionType<
35
+ InvalidPullRequestStatusException,
36
+ __BaseException
37
+ >
38
+ );
39
+ }
40
+ export interface ListPullRequestsInput {
41
+ repositoryName: string | undefined;
42
+ authorArn?: string;
43
+ pullRequestStatus?: PullRequestStatusEnum;
44
+ nextToken?: string;
45
+ maxResults?: number;
46
+ }
18
47
  export interface ListPullRequestsOutput {
19
48
  pullRequestIds: string[] | undefined;
20
49
  nextToken?: string;
@@ -685,6 +714,22 @@ export interface UpdateRepositoryDescriptionInput {
685
714
  repositoryName: string | undefined;
686
715
  repositoryDescription?: string;
687
716
  }
717
+ export declare class EncryptionKeyRequiredException extends __BaseException {
718
+ readonly name: "EncryptionKeyRequiredException";
719
+ readonly $fault: "client";
720
+ constructor(
721
+ opts: __ExceptionOptionType<EncryptionKeyRequiredException, __BaseException>
722
+ );
723
+ }
724
+ export interface UpdateRepositoryEncryptionKeyInput {
725
+ repositoryName: string | undefined;
726
+ kmsKeyId: string | undefined;
727
+ }
728
+ export interface UpdateRepositoryEncryptionKeyOutput {
729
+ repositoryId?: string;
730
+ kmsKeyId?: string;
731
+ originalKmsKeyId?: string;
732
+ }
688
733
  export interface UpdateRepositoryNameInput {
689
734
  oldName: string | undefined;
690
735
  newName: string | undefined;
@@ -311,6 +311,10 @@ import {
311
311
  UpdateRepositoryDescriptionCommandInput,
312
312
  UpdateRepositoryDescriptionCommandOutput,
313
313
  } from "../commands/UpdateRepositoryDescriptionCommand";
314
+ import {
315
+ UpdateRepositoryEncryptionKeyCommandInput,
316
+ UpdateRepositoryEncryptionKeyCommandOutput,
317
+ } from "../commands/UpdateRepositoryEncryptionKeyCommand";
314
318
  import {
315
319
  UpdateRepositoryNameCommandInput,
316
320
  UpdateRepositoryNameCommandOutput,
@@ -623,6 +627,10 @@ export declare const se_UpdateRepositoryDescriptionCommand: (
623
627
  input: UpdateRepositoryDescriptionCommandInput,
624
628
  context: __SerdeContext
625
629
  ) => Promise<__HttpRequest>;
630
+ export declare const se_UpdateRepositoryEncryptionKeyCommand: (
631
+ input: UpdateRepositoryEncryptionKeyCommandInput,
632
+ context: __SerdeContext
633
+ ) => Promise<__HttpRequest>;
626
634
  export declare const se_UpdateRepositoryNameCommand: (
627
635
  input: UpdateRepositoryNameCommandInput,
628
636
  context: __SerdeContext
@@ -935,6 +943,10 @@ export declare const de_UpdateRepositoryDescriptionCommand: (
935
943
  output: __HttpResponse,
936
944
  context: __SerdeContext
937
945
  ) => Promise<UpdateRepositoryDescriptionCommandOutput>;
946
+ export declare const de_UpdateRepositoryEncryptionKeyCommand: (
947
+ output: __HttpResponse,
948
+ context: __SerdeContext
949
+ ) => Promise<UpdateRepositoryEncryptionKeyCommandOutput>;
938
950
  export declare const de_UpdateRepositoryNameCommand: (
939
951
  output: __HttpResponse,
940
952
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codecommit",
3
3
  "description": "AWS SDK for JavaScript Codecommit Client for Node.js, Browser and React Native",
4
- "version": "3.478.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",