@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,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BlobIdRequiredException = exports.BlobIdDoesNotExistException = exports.BeforeCommitIdAndAfterCommitIdAreSameException = exports.CommitIdsListRequiredException = exports.CommitIdsLimitExceededException = exports.TipsDivergenceExceededException = exports.MergeOptionRequiredException = exports.MaximumItemsToCompareExceededException = exports.MaximumFileContentToLoadExceededException = exports.InvalidMergeOptionException = exports.InvalidMaxMergeHunksException = exports.InvalidMaxConflictFilesException = exports.InvalidContinuationTokenException = exports.InvalidConflictResolutionStrategyException = exports.InvalidConflictDetailLevelException = exports.InvalidCommitException = exports.CommitRequiredException = exports.CommitDoesNotExistException = exports.ObjectTypeEnum = exports.ChangeTypeEnum = exports.FileModeTypeEnum = exports.MergeOptionTypeEnum = exports.ConflictResolutionStrategyTypeEnum = exports.ConflictDetailLevelTypeEnum = exports.RepositoryNamesRequiredException = exports.MaximumRepositoryNamesExceededException = exports.AuthorDoesNotExistException = exports.RepositoryNameRequiredException = exports.RepositoryDoesNotExistException = exports.MaximumRuleTemplatesAssociatedWithRepositoryException = exports.InvalidRepositoryNameException = exports.InvalidApprovalRuleTemplateNameException = exports.EncryptionKeyUnavailableException = exports.EncryptionKeyNotFoundException = exports.EncryptionKeyDisabledException = exports.EncryptionKeyAccessDeniedException = exports.EncryptionIntegrityChecksFailedException = exports.ApprovalStateRequiredException = exports.ApprovalRuleTemplateNameRequiredException = exports.ApprovalRuleTemplateNameAlreadyExistsException = exports.ApprovalRuleTemplateInUseException = exports.ApprovalRuleTemplateDoesNotExistException = exports.ApprovalRuleTemplateContentRequiredException = exports.OverrideStatus = exports.ApprovalRuleNameRequiredException = exports.ApprovalRuleNameAlreadyExistsException = exports.ApprovalRuleDoesNotExistException = exports.ApprovalRuleContentRequiredException = exports.ApprovalState = exports.ActorDoesNotExistException = void 0;
4
- exports.ReferenceDoesNotExistException = exports.MultipleRepositoriesInPullRequestException = exports.MaximumOpenPullRequestsExceededException = exports.InvalidTitleException = exports.InvalidTargetsException = exports.InvalidTargetException = exports.InvalidReferenceNameException = exports.InvalidDescriptionException = exports.InvalidClientRequestTokenException = exports.IdempotencyParameterMismatchException = exports.PullRequestStatusEnum = exports.SourceFileOrContentRequiredException = exports.SamePathRequestException = exports.RestrictedSourceFileException = exports.PutFileEntryConflictException = exports.PathRequiredException = exports.ParentCommitIdRequiredException = exports.ParentCommitIdOutdatedException = exports.ParentCommitDoesNotExistException = exports.NoChangeException = exports.NameLengthExceededException = exports.MaximumFileEntriesExceededException = exports.InvalidPathException = exports.InvalidParentCommitIdException = exports.InvalidFileModeException = exports.InvalidEmailException = exports.InvalidDeletionParameterException = exports.FolderContentSizeLimitExceededException = exports.FilePathConflictsWithSubmodulePathException = exports.FileNameConflictsWithDirectoryNameException = exports.FileModeRequiredException = exports.FileEntryRequiredException = exports.FileDoesNotExistException = exports.FileContentSizeLimitExceededException = exports.FileContentAndSourceFileSpecifiedException = exports.DirectoryNameConflictsWithFileNameException = exports.CommitMessageLengthExceededException = exports.InvalidCommitIdException = exports.InvalidBranchNameException = exports.CommitIdRequiredException = exports.NumberOfRuleTemplatesExceededException = exports.InvalidApprovalRuleTemplateDescriptionException = exports.InvalidApprovalRuleTemplateContentException = exports.ClientRequestTokenRequiredException = exports.CannotModifyApprovalRuleFromTemplateException = exports.CannotDeleteApprovalRuleFromTemplateException = exports.BranchNameRequiredException = exports.BranchNameIsTagNameException = exports.BranchNameExistsException = exports.BranchDoesNotExistException = void 0;
5
- exports.FolderDoesNotExistException = exports.PathDoesNotExistException = exports.CommitIdDoesNotExistException = exports.RepositoryNotAssociatedWithPullRequestException = exports.RelativeFileVersionEnum = exports.InvalidReactionUserArnException = exports.InvalidBlobIdException = exports.FileTooLargeException = exports.RevisionNotCurrentException = exports.RevisionIdRequiredException = exports.InvalidRevisionIdException = exports.InvalidPullRequestEventTypeException = exports.InvalidMaxResultsException = exports.InvalidActorArnException = exports.PullRequestEventType = exports.InvalidCommentIdException = exports.CommentIdRequiredException = exports.CommentDoesNotExistException = exports.CommentDeletedException = exports.DefaultBranchCannotBeDeletedException = exports.ReplacementTypeRequiredException = exports.ReplacementContentRequiredException = exports.MultipleConflictResolutionEntriesException = exports.MaximumConflictResolutionEntriesExceededException = exports.ManualMergeRequiredException = exports.InvalidReplacementTypeException = exports.InvalidReplacementContentException = exports.InvalidConflictResolutionException = exports.ReplacementTypeEnum = exports.ConcurrentReferenceUpdateException = exports.TooManyTagsException = exports.TagPolicyException = exports.RepositoryNameExistsException = exports.RepositoryLimitExceededException = exports.InvalidTagsMapException = exports.InvalidSystemTagUsageException = exports.InvalidRepositoryDescriptionException = exports.PullRequestIdRequiredException = exports.PullRequestDoesNotExistException = exports.PullRequestAlreadyClosedException = exports.NumberOfRulesExceededException = exports.InvalidPullRequestIdException = exports.InvalidApprovalRuleNameException = exports.InvalidApprovalRuleContentException = exports.TitleRequiredException = exports.TargetsRequiredException = exports.TargetRequiredException = exports.SourceAndDestinationAreSameException = exports.ReferenceTypeNotSupportedException = exports.ReferenceNameRequiredException = void 0;
6
- exports.InvalidPullRequestStatusException = exports.InvalidAuthorArnException = exports.RepositoryTriggerEventEnum = exports.InvalidSourceCommitSpecifierException = exports.InvalidDestinationCommitSpecifierException = void 0;
3
+ exports.BlobIdDoesNotExistException = exports.BeforeCommitIdAndAfterCommitIdAreSameException = exports.BatchGetRepositoriesErrorCodeEnum = exports.CommitIdsListRequiredException = exports.CommitIdsLimitExceededException = exports.TipsDivergenceExceededException = exports.MergeOptionRequiredException = exports.MaximumItemsToCompareExceededException = exports.MaximumFileContentToLoadExceededException = exports.InvalidMergeOptionException = exports.InvalidMaxMergeHunksException = exports.InvalidMaxConflictFilesException = exports.InvalidContinuationTokenException = exports.InvalidConflictResolutionStrategyException = exports.InvalidConflictDetailLevelException = exports.InvalidCommitException = exports.CommitRequiredException = exports.CommitDoesNotExistException = exports.ObjectTypeEnum = exports.ChangeTypeEnum = exports.FileModeTypeEnum = exports.MergeOptionTypeEnum = exports.ConflictResolutionStrategyTypeEnum = exports.ConflictDetailLevelTypeEnum = exports.RepositoryNamesRequiredException = exports.MaximumRepositoryNamesExceededException = exports.AuthorDoesNotExistException = exports.RepositoryNameRequiredException = exports.RepositoryDoesNotExistException = exports.MaximumRuleTemplatesAssociatedWithRepositoryException = exports.InvalidRepositoryNameException = exports.InvalidApprovalRuleTemplateNameException = exports.EncryptionKeyUnavailableException = exports.EncryptionKeyNotFoundException = exports.EncryptionKeyDisabledException = exports.EncryptionKeyAccessDeniedException = exports.EncryptionIntegrityChecksFailedException = exports.ApprovalStateRequiredException = exports.ApprovalRuleTemplateNameRequiredException = exports.ApprovalRuleTemplateNameAlreadyExistsException = exports.ApprovalRuleTemplateInUseException = exports.ApprovalRuleTemplateDoesNotExistException = exports.ApprovalRuleTemplateContentRequiredException = exports.OverrideStatus = exports.ApprovalRuleNameRequiredException = exports.ApprovalRuleNameAlreadyExistsException = exports.ApprovalRuleDoesNotExistException = exports.ApprovalRuleContentRequiredException = exports.ApprovalState = exports.ActorDoesNotExistException = void 0;
4
+ exports.MultipleRepositoriesInPullRequestException = exports.MaximumOpenPullRequestsExceededException = exports.InvalidTitleException = exports.InvalidTargetsException = exports.InvalidTargetException = exports.InvalidReferenceNameException = exports.InvalidDescriptionException = exports.InvalidClientRequestTokenException = exports.IdempotencyParameterMismatchException = exports.PullRequestStatusEnum = exports.SourceFileOrContentRequiredException = exports.SamePathRequestException = exports.RestrictedSourceFileException = exports.PutFileEntryConflictException = exports.PathRequiredException = exports.ParentCommitIdRequiredException = exports.ParentCommitIdOutdatedException = exports.ParentCommitDoesNotExistException = exports.NoChangeException = exports.NameLengthExceededException = exports.MaximumFileEntriesExceededException = exports.InvalidPathException = exports.InvalidParentCommitIdException = exports.InvalidFileModeException = exports.InvalidEmailException = exports.InvalidDeletionParameterException = exports.FolderContentSizeLimitExceededException = exports.FilePathConflictsWithSubmodulePathException = exports.FileNameConflictsWithDirectoryNameException = exports.FileModeRequiredException = exports.FileEntryRequiredException = exports.FileDoesNotExistException = exports.FileContentSizeLimitExceededException = exports.FileContentAndSourceFileSpecifiedException = exports.DirectoryNameConflictsWithFileNameException = exports.CommitMessageLengthExceededException = exports.InvalidCommitIdException = exports.InvalidBranchNameException = exports.CommitIdRequiredException = exports.NumberOfRuleTemplatesExceededException = exports.InvalidApprovalRuleTemplateDescriptionException = exports.InvalidApprovalRuleTemplateContentException = exports.ClientRequestTokenRequiredException = exports.CannotModifyApprovalRuleFromTemplateException = exports.CannotDeleteApprovalRuleFromTemplateException = exports.BranchNameRequiredException = exports.BranchNameIsTagNameException = exports.BranchNameExistsException = exports.BranchDoesNotExistException = exports.BlobIdRequiredException = void 0;
5
+ exports.RepositoryNotAssociatedWithPullRequestException = exports.RelativeFileVersionEnum = exports.InvalidReactionUserArnException = exports.InvalidBlobIdException = exports.FileTooLargeException = exports.RevisionNotCurrentException = exports.RevisionIdRequiredException = exports.InvalidRevisionIdException = exports.InvalidPullRequestEventTypeException = exports.InvalidMaxResultsException = exports.InvalidActorArnException = exports.PullRequestEventType = exports.InvalidCommentIdException = exports.CommentIdRequiredException = exports.CommentDoesNotExistException = exports.CommentDeletedException = exports.DefaultBranchCannotBeDeletedException = exports.ReplacementTypeRequiredException = exports.ReplacementContentRequiredException = exports.MultipleConflictResolutionEntriesException = exports.MaximumConflictResolutionEntriesExceededException = exports.ManualMergeRequiredException = exports.InvalidReplacementTypeException = exports.InvalidReplacementContentException = exports.InvalidConflictResolutionException = exports.ReplacementTypeEnum = exports.ConcurrentReferenceUpdateException = exports.TooManyTagsException = exports.TagPolicyException = exports.RepositoryNameExistsException = exports.RepositoryLimitExceededException = exports.InvalidTagsMapException = exports.InvalidSystemTagUsageException = exports.InvalidRepositoryDescriptionException = exports.EncryptionKeyInvalidUsageException = exports.EncryptionKeyInvalidIdException = exports.PullRequestIdRequiredException = exports.PullRequestDoesNotExistException = exports.PullRequestAlreadyClosedException = exports.NumberOfRulesExceededException = exports.InvalidPullRequestIdException = exports.InvalidApprovalRuleNameException = exports.InvalidApprovalRuleContentException = exports.TitleRequiredException = exports.TargetsRequiredException = exports.TargetRequiredException = exports.SourceAndDestinationAreSameException = exports.ReferenceTypeNotSupportedException = exports.ReferenceNameRequiredException = exports.ReferenceDoesNotExistException = void 0;
6
+ exports.RepositoryTriggerEventEnum = exports.InvalidSourceCommitSpecifierException = exports.InvalidDestinationCommitSpecifierException = exports.FolderDoesNotExistException = exports.PathDoesNotExistException = exports.CommitIdDoesNotExistException = void 0;
7
7
  const CodeCommitServiceException_1 = require("./CodeCommitServiceException");
8
8
  class ActorDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
9
9
  constructor(opts) {
@@ -551,6 +551,14 @@ class CommitIdsListRequiredException extends CodeCommitServiceException_1.CodeCo
551
551
  }
552
552
  }
553
553
  exports.CommitIdsListRequiredException = CommitIdsListRequiredException;
554
+ exports.BatchGetRepositoriesErrorCodeEnum = {
555
+ ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION: "EncryptionIntegrityChecksFailedException",
556
+ ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION: "EncryptionKeyAccessDeniedException",
557
+ ENCRYPTION_KEY_DISABLED_EXCEPTION: "EncryptionKeyDisabledException",
558
+ ENCRYPTION_KEY_NOT_FOUND_EXCEPTION: "EncryptionKeyNotFoundException",
559
+ ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION: "EncryptionKeyUnavailableException",
560
+ REPOSITORY_DOES_NOT_EXIST_EXCEPTION: "RepositoryDoesNotExistException",
561
+ };
554
562
  class BeforeCommitIdAndAfterCommitIdAreSameException extends CodeCommitServiceException_1.CodeCommitServiceException {
555
563
  constructor(opts) {
556
564
  super({
@@ -1400,6 +1408,32 @@ class PullRequestIdRequiredException extends CodeCommitServiceException_1.CodeCo
1400
1408
  }
1401
1409
  }
1402
1410
  exports.PullRequestIdRequiredException = PullRequestIdRequiredException;
1411
+ class EncryptionKeyInvalidIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
1412
+ constructor(opts) {
1413
+ super({
1414
+ name: "EncryptionKeyInvalidIdException",
1415
+ $fault: "client",
1416
+ ...opts,
1417
+ });
1418
+ this.name = "EncryptionKeyInvalidIdException";
1419
+ this.$fault = "client";
1420
+ Object.setPrototypeOf(this, EncryptionKeyInvalidIdException.prototype);
1421
+ }
1422
+ }
1423
+ exports.EncryptionKeyInvalidIdException = EncryptionKeyInvalidIdException;
1424
+ class EncryptionKeyInvalidUsageException extends CodeCommitServiceException_1.CodeCommitServiceException {
1425
+ constructor(opts) {
1426
+ super({
1427
+ name: "EncryptionKeyInvalidUsageException",
1428
+ $fault: "client",
1429
+ ...opts,
1430
+ });
1431
+ this.name = "EncryptionKeyInvalidUsageException";
1432
+ this.$fault = "client";
1433
+ Object.setPrototypeOf(this, EncryptionKeyInvalidUsageException.prototype);
1434
+ }
1435
+ }
1436
+ exports.EncryptionKeyInvalidUsageException = EncryptionKeyInvalidUsageException;
1403
1437
  class InvalidRepositoryDescriptionException extends CodeCommitServiceException_1.CodeCommitServiceException {
1404
1438
  constructor(opts) {
1405
1439
  super({
@@ -1895,29 +1929,3 @@ exports.RepositoryTriggerEventEnum = {
1895
1929
  DELETE_REFERENCE: "deleteReference",
1896
1930
  UPDATE_REFERENCE: "updateReference",
1897
1931
  };
1898
- class InvalidAuthorArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
1899
- constructor(opts) {
1900
- super({
1901
- name: "InvalidAuthorArnException",
1902
- $fault: "client",
1903
- ...opts,
1904
- });
1905
- this.name = "InvalidAuthorArnException";
1906
- this.$fault = "client";
1907
- Object.setPrototypeOf(this, InvalidAuthorArnException.prototype);
1908
- }
1909
- }
1910
- exports.InvalidAuthorArnException = InvalidAuthorArnException;
1911
- class InvalidPullRequestStatusException extends CodeCommitServiceException_1.CodeCommitServiceException {
1912
- constructor(opts) {
1913
- super({
1914
- name: "InvalidPullRequestStatusException",
1915
- $fault: "client",
1916
- ...opts,
1917
- });
1918
- this.name = "InvalidPullRequestStatusException";
1919
- this.$fault = "client";
1920
- Object.setPrototypeOf(this, InvalidPullRequestStatusException.prototype);
1921
- }
1922
- }
1923
- exports.InvalidPullRequestStatusException = InvalidPullRequestStatusException;
@@ -1,7 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PullRequestStatusRequiredException = exports.InvalidPullRequestStatusUpdateException = exports.PullRequestCannotBeApprovedByAuthorException = exports.MaximumNumberOfApprovalsExceededException = exports.InvalidApprovalStateException = exports.CommentNotCreatedByCallerException = exports.InvalidRuleContentSha256Exception = exports.TagKeysListRequiredException = exports.InvalidTagKeysListException = exports.TagsMapRequiredException = exports.RepositoryTriggersListRequiredException = exports.RepositoryTriggerNameRequiredException = exports.RepositoryTriggerEventsListRequiredException = exports.RepositoryTriggerDestinationArnRequiredException = exports.RepositoryTriggerBranchNameListRequiredException = exports.MaximumRepositoryTriggersExceededException = exports.MaximumBranchesExceededException = exports.InvalidRepositoryTriggerRegionException = exports.InvalidRepositoryTriggerNameException = exports.InvalidRepositoryTriggerEventsException = exports.InvalidRepositoryTriggerDestinationArnException = exports.InvalidRepositoryTriggerCustomDataException = exports.InvalidRepositoryTriggerBranchNameException = exports.SameFileContentException = exports.FileContentRequiredException = exports.ReactionValueRequiredException = exports.ReactionLimitExceededException = exports.InvalidReactionValueException = exports.InvalidRelativeFileVersionEnumException = exports.InvalidFilePositionException = exports.InvalidFileLocationException = exports.CommentContentSizeLimitExceededException = exports.CommentContentRequiredException = exports.OverrideStatusRequiredException = exports.OverrideAlreadySetException = exports.InvalidOverrideStatusException = exports.TipOfSourceReferenceIsDifferentException = exports.PullRequestApprovalRulesNotSatisfiedException = exports.InvalidTargetBranchException = exports.ResourceArnRequiredException = exports.InvalidResourceArnException = exports.SortByEnum = exports.OrderEnum = exports.InvalidSortByException = exports.InvalidOrderException = void 0;
3
+ exports.EncryptionKeyRequiredException = exports.PullRequestStatusRequiredException = exports.InvalidPullRequestStatusUpdateException = exports.PullRequestCannotBeApprovedByAuthorException = exports.MaximumNumberOfApprovalsExceededException = exports.InvalidApprovalStateException = exports.CommentNotCreatedByCallerException = exports.InvalidRuleContentSha256Exception = exports.TagKeysListRequiredException = exports.InvalidTagKeysListException = exports.TagsMapRequiredException = exports.RepositoryTriggersListRequiredException = exports.RepositoryTriggerNameRequiredException = exports.RepositoryTriggerEventsListRequiredException = exports.RepositoryTriggerDestinationArnRequiredException = exports.RepositoryTriggerBranchNameListRequiredException = exports.MaximumRepositoryTriggersExceededException = exports.MaximumBranchesExceededException = exports.InvalidRepositoryTriggerRegionException = exports.InvalidRepositoryTriggerNameException = exports.InvalidRepositoryTriggerEventsException = exports.InvalidRepositoryTriggerDestinationArnException = exports.InvalidRepositoryTriggerCustomDataException = exports.InvalidRepositoryTriggerBranchNameException = exports.SameFileContentException = exports.FileContentRequiredException = exports.ReactionValueRequiredException = exports.ReactionLimitExceededException = exports.InvalidReactionValueException = exports.InvalidRelativeFileVersionEnumException = exports.InvalidFilePositionException = exports.InvalidFileLocationException = exports.CommentContentSizeLimitExceededException = exports.CommentContentRequiredException = exports.OverrideStatusRequiredException = exports.OverrideAlreadySetException = exports.InvalidOverrideStatusException = exports.TipOfSourceReferenceIsDifferentException = exports.PullRequestApprovalRulesNotSatisfiedException = exports.InvalidTargetBranchException = exports.ResourceArnRequiredException = exports.InvalidResourceArnException = exports.SortByEnum = exports.OrderEnum = exports.InvalidSortByException = exports.InvalidOrderException = exports.InvalidPullRequestStatusException = exports.InvalidAuthorArnException = void 0;
4
4
  const CodeCommitServiceException_1 = require("./CodeCommitServiceException");
5
+ class InvalidAuthorArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "InvalidAuthorArnException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "InvalidAuthorArnException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, InvalidAuthorArnException.prototype);
15
+ }
16
+ }
17
+ exports.InvalidAuthorArnException = InvalidAuthorArnException;
18
+ class InvalidPullRequestStatusException extends CodeCommitServiceException_1.CodeCommitServiceException {
19
+ constructor(opts) {
20
+ super({
21
+ name: "InvalidPullRequestStatusException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ this.name = "InvalidPullRequestStatusException";
26
+ this.$fault = "client";
27
+ Object.setPrototypeOf(this, InvalidPullRequestStatusException.prototype);
28
+ }
29
+ }
30
+ exports.InvalidPullRequestStatusException = InvalidPullRequestStatusException;
5
31
  class InvalidOrderException extends CodeCommitServiceException_1.CodeCommitServiceException {
6
32
  constructor(opts) {
7
33
  super({
@@ -569,3 +595,16 @@ class PullRequestStatusRequiredException extends CodeCommitServiceException_1.Co
569
595
  }
570
596
  }
571
597
  exports.PullRequestStatusRequiredException = PullRequestStatusRequiredException;
598
+ class EncryptionKeyRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
599
+ constructor(opts) {
600
+ super({
601
+ name: "EncryptionKeyRequiredException",
602
+ $fault: "client",
603
+ ...opts,
604
+ });
605
+ this.name = "EncryptionKeyRequiredException";
606
+ this.$fault = "client";
607
+ Object.setPrototypeOf(this, EncryptionKeyRequiredException.prototype);
608
+ }
609
+ }
610
+ exports.EncryptionKeyRequiredException = EncryptionKeyRequiredException;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.se_ListTagsForResourceCommand = exports.se_ListRepositoriesForApprovalRuleTemplateCommand = exports.se_ListRepositoriesCommand = exports.se_ListPullRequestsCommand = exports.se_ListFileCommitHistoryCommand = exports.se_ListBranchesCommand = exports.se_ListAssociatedApprovalRuleTemplatesForRepositoryCommand = exports.se_ListApprovalRuleTemplatesCommand = exports.se_GetRepositoryTriggersCommand = exports.se_GetRepositoryCommand = exports.se_GetPullRequestOverrideStateCommand = exports.se_GetPullRequestApprovalStatesCommand = exports.se_GetPullRequestCommand = exports.se_GetMergeOptionsCommand = exports.se_GetMergeConflictsCommand = exports.se_GetMergeCommitCommand = exports.se_GetFolderCommand = exports.se_GetFileCommand = exports.se_GetDifferencesCommand = exports.se_GetCommitCommand = exports.se_GetCommentsForPullRequestCommand = exports.se_GetCommentsForComparedCommitCommand = exports.se_GetCommentReactionsCommand = exports.se_GetCommentCommand = exports.se_GetBranchCommand = exports.se_GetBlobCommand = exports.se_GetApprovalRuleTemplateCommand = exports.se_EvaluatePullRequestApprovalRulesCommand = exports.se_DisassociateApprovalRuleTemplateFromRepositoryCommand = exports.se_DescribePullRequestEventsCommand = exports.se_DescribeMergeConflictsCommand = exports.se_DeleteRepositoryCommand = exports.se_DeletePullRequestApprovalRuleCommand = exports.se_DeleteFileCommand = exports.se_DeleteCommentContentCommand = exports.se_DeleteBranchCommand = exports.se_DeleteApprovalRuleTemplateCommand = exports.se_CreateUnreferencedMergeCommitCommand = exports.se_CreateRepositoryCommand = exports.se_CreatePullRequestApprovalRuleCommand = exports.se_CreatePullRequestCommand = exports.se_CreateCommitCommand = exports.se_CreateBranchCommand = exports.se_CreateApprovalRuleTemplateCommand = exports.se_BatchGetRepositoriesCommand = exports.se_BatchGetCommitsCommand = exports.se_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand = exports.se_BatchDescribeMergeConflictsCommand = exports.se_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = exports.se_AssociateApprovalRuleTemplateWithRepositoryCommand = void 0;
4
- exports.de_DisassociateApprovalRuleTemplateFromRepositoryCommand = exports.de_DescribePullRequestEventsCommand = exports.de_DescribeMergeConflictsCommand = exports.de_DeleteRepositoryCommand = exports.de_DeletePullRequestApprovalRuleCommand = exports.de_DeleteFileCommand = exports.de_DeleteCommentContentCommand = exports.de_DeleteBranchCommand = exports.de_DeleteApprovalRuleTemplateCommand = exports.de_CreateUnreferencedMergeCommitCommand = exports.de_CreateRepositoryCommand = exports.de_CreatePullRequestApprovalRuleCommand = exports.de_CreatePullRequestCommand = exports.de_CreateCommitCommand = exports.de_CreateBranchCommand = exports.de_CreateApprovalRuleTemplateCommand = exports.de_BatchGetRepositoriesCommand = exports.de_BatchGetCommitsCommand = exports.de_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand = exports.de_BatchDescribeMergeConflictsCommand = exports.de_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = exports.de_AssociateApprovalRuleTemplateWithRepositoryCommand = exports.se_UpdateRepositoryNameCommand = exports.se_UpdateRepositoryDescriptionCommand = exports.se_UpdatePullRequestTitleCommand = exports.se_UpdatePullRequestStatusCommand = exports.se_UpdatePullRequestDescriptionCommand = exports.se_UpdatePullRequestApprovalStateCommand = exports.se_UpdatePullRequestApprovalRuleContentCommand = exports.se_UpdateDefaultBranchCommand = exports.se_UpdateCommentCommand = exports.se_UpdateApprovalRuleTemplateNameCommand = exports.se_UpdateApprovalRuleTemplateDescriptionCommand = exports.se_UpdateApprovalRuleTemplateContentCommand = exports.se_UntagResourceCommand = exports.se_TestRepositoryTriggersCommand = exports.se_TagResourceCommand = exports.se_PutRepositoryTriggersCommand = exports.se_PutFileCommand = exports.se_PutCommentReactionCommand = exports.se_PostCommentReplyCommand = exports.se_PostCommentForPullRequestCommand = exports.se_PostCommentForComparedCommitCommand = exports.se_OverridePullRequestApprovalRulesCommand = exports.se_MergePullRequestByThreeWayCommand = exports.se_MergePullRequestBySquashCommand = exports.se_MergePullRequestByFastForwardCommand = exports.se_MergeBranchesByThreeWayCommand = exports.se_MergeBranchesBySquashCommand = exports.se_MergeBranchesByFastForwardCommand = void 0;
5
- exports.de_UpdatePullRequestApprovalRuleContentCommand = exports.de_UpdateDefaultBranchCommand = exports.de_UpdateCommentCommand = exports.de_UpdateApprovalRuleTemplateNameCommand = exports.de_UpdateApprovalRuleTemplateDescriptionCommand = exports.de_UpdateApprovalRuleTemplateContentCommand = exports.de_UntagResourceCommand = exports.de_TestRepositoryTriggersCommand = exports.de_TagResourceCommand = exports.de_PutRepositoryTriggersCommand = exports.de_PutFileCommand = exports.de_PutCommentReactionCommand = exports.de_PostCommentReplyCommand = exports.de_PostCommentForPullRequestCommand = exports.de_PostCommentForComparedCommitCommand = exports.de_OverridePullRequestApprovalRulesCommand = exports.de_MergePullRequestByThreeWayCommand = exports.de_MergePullRequestBySquashCommand = exports.de_MergePullRequestByFastForwardCommand = exports.de_MergeBranchesByThreeWayCommand = exports.de_MergeBranchesBySquashCommand = exports.de_MergeBranchesByFastForwardCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRepositoriesForApprovalRuleTemplateCommand = exports.de_ListRepositoriesCommand = exports.de_ListPullRequestsCommand = exports.de_ListFileCommitHistoryCommand = exports.de_ListBranchesCommand = exports.de_ListAssociatedApprovalRuleTemplatesForRepositoryCommand = exports.de_ListApprovalRuleTemplatesCommand = exports.de_GetRepositoryTriggersCommand = exports.de_GetRepositoryCommand = exports.de_GetPullRequestOverrideStateCommand = exports.de_GetPullRequestApprovalStatesCommand = exports.de_GetPullRequestCommand = exports.de_GetMergeOptionsCommand = exports.de_GetMergeConflictsCommand = exports.de_GetMergeCommitCommand = exports.de_GetFolderCommand = exports.de_GetFileCommand = exports.de_GetDifferencesCommand = exports.de_GetCommitCommand = exports.de_GetCommentsForPullRequestCommand = exports.de_GetCommentsForComparedCommitCommand = exports.de_GetCommentReactionsCommand = exports.de_GetCommentCommand = exports.de_GetBranchCommand = exports.de_GetBlobCommand = exports.de_GetApprovalRuleTemplateCommand = exports.de_EvaluatePullRequestApprovalRulesCommand = void 0;
6
- exports.de_UpdateRepositoryNameCommand = exports.de_UpdateRepositoryDescriptionCommand = exports.de_UpdatePullRequestTitleCommand = exports.de_UpdatePullRequestStatusCommand = exports.de_UpdatePullRequestDescriptionCommand = exports.de_UpdatePullRequestApprovalStateCommand = void 0;
4
+ exports.de_DescribePullRequestEventsCommand = exports.de_DescribeMergeConflictsCommand = exports.de_DeleteRepositoryCommand = exports.de_DeletePullRequestApprovalRuleCommand = exports.de_DeleteFileCommand = exports.de_DeleteCommentContentCommand = exports.de_DeleteBranchCommand = exports.de_DeleteApprovalRuleTemplateCommand = exports.de_CreateUnreferencedMergeCommitCommand = exports.de_CreateRepositoryCommand = exports.de_CreatePullRequestApprovalRuleCommand = exports.de_CreatePullRequestCommand = exports.de_CreateCommitCommand = exports.de_CreateBranchCommand = exports.de_CreateApprovalRuleTemplateCommand = exports.de_BatchGetRepositoriesCommand = exports.de_BatchGetCommitsCommand = exports.de_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand = exports.de_BatchDescribeMergeConflictsCommand = exports.de_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = exports.de_AssociateApprovalRuleTemplateWithRepositoryCommand = exports.se_UpdateRepositoryNameCommand = exports.se_UpdateRepositoryEncryptionKeyCommand = exports.se_UpdateRepositoryDescriptionCommand = exports.se_UpdatePullRequestTitleCommand = exports.se_UpdatePullRequestStatusCommand = exports.se_UpdatePullRequestDescriptionCommand = exports.se_UpdatePullRequestApprovalStateCommand = exports.se_UpdatePullRequestApprovalRuleContentCommand = exports.se_UpdateDefaultBranchCommand = exports.se_UpdateCommentCommand = exports.se_UpdateApprovalRuleTemplateNameCommand = exports.se_UpdateApprovalRuleTemplateDescriptionCommand = exports.se_UpdateApprovalRuleTemplateContentCommand = exports.se_UntagResourceCommand = exports.se_TestRepositoryTriggersCommand = exports.se_TagResourceCommand = exports.se_PutRepositoryTriggersCommand = exports.se_PutFileCommand = exports.se_PutCommentReactionCommand = exports.se_PostCommentReplyCommand = exports.se_PostCommentForPullRequestCommand = exports.se_PostCommentForComparedCommitCommand = exports.se_OverridePullRequestApprovalRulesCommand = exports.se_MergePullRequestByThreeWayCommand = exports.se_MergePullRequestBySquashCommand = exports.se_MergePullRequestByFastForwardCommand = exports.se_MergeBranchesByThreeWayCommand = exports.se_MergeBranchesBySquashCommand = exports.se_MergeBranchesByFastForwardCommand = void 0;
5
+ exports.de_UpdateDefaultBranchCommand = exports.de_UpdateCommentCommand = exports.de_UpdateApprovalRuleTemplateNameCommand = exports.de_UpdateApprovalRuleTemplateDescriptionCommand = exports.de_UpdateApprovalRuleTemplateContentCommand = exports.de_UntagResourceCommand = exports.de_TestRepositoryTriggersCommand = exports.de_TagResourceCommand = exports.de_PutRepositoryTriggersCommand = exports.de_PutFileCommand = exports.de_PutCommentReactionCommand = exports.de_PostCommentReplyCommand = exports.de_PostCommentForPullRequestCommand = exports.de_PostCommentForComparedCommitCommand = exports.de_OverridePullRequestApprovalRulesCommand = exports.de_MergePullRequestByThreeWayCommand = exports.de_MergePullRequestBySquashCommand = exports.de_MergePullRequestByFastForwardCommand = exports.de_MergeBranchesByThreeWayCommand = exports.de_MergeBranchesBySquashCommand = exports.de_MergeBranchesByFastForwardCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRepositoriesForApprovalRuleTemplateCommand = exports.de_ListRepositoriesCommand = exports.de_ListPullRequestsCommand = exports.de_ListFileCommitHistoryCommand = exports.de_ListBranchesCommand = exports.de_ListAssociatedApprovalRuleTemplatesForRepositoryCommand = exports.de_ListApprovalRuleTemplatesCommand = exports.de_GetRepositoryTriggersCommand = exports.de_GetRepositoryCommand = exports.de_GetPullRequestOverrideStateCommand = exports.de_GetPullRequestApprovalStatesCommand = exports.de_GetPullRequestCommand = exports.de_GetMergeOptionsCommand = exports.de_GetMergeConflictsCommand = exports.de_GetMergeCommitCommand = exports.de_GetFolderCommand = exports.de_GetFileCommand = exports.de_GetDifferencesCommand = exports.de_GetCommitCommand = exports.de_GetCommentsForPullRequestCommand = exports.de_GetCommentsForComparedCommitCommand = exports.de_GetCommentReactionsCommand = exports.de_GetCommentCommand = exports.de_GetBranchCommand = exports.de_GetBlobCommand = exports.de_GetApprovalRuleTemplateCommand = exports.de_EvaluatePullRequestApprovalRulesCommand = exports.de_DisassociateApprovalRuleTemplateFromRepositoryCommand = void 0;
6
+ exports.de_UpdateRepositoryNameCommand = exports.de_UpdateRepositoryEncryptionKeyCommand = exports.de_UpdateRepositoryDescriptionCommand = exports.de_UpdatePullRequestTitleCommand = exports.de_UpdatePullRequestStatusCommand = exports.de_UpdatePullRequestDescriptionCommand = exports.de_UpdatePullRequestApprovalStateCommand = exports.de_UpdatePullRequestApprovalRuleContentCommand = void 0;
7
7
  const protocol_http_1 = require("@smithy/protocol-http");
8
8
  const smithy_client_1 = require("@smithy/smithy-client");
9
9
  const uuid_1 = require("uuid");
@@ -549,6 +549,13 @@ const se_UpdateRepositoryDescriptionCommand = async (input, context) => {
549
549
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
550
550
  };
551
551
  exports.se_UpdateRepositoryDescriptionCommand = se_UpdateRepositoryDescriptionCommand;
552
+ const se_UpdateRepositoryEncryptionKeyCommand = async (input, context) => {
553
+ const headers = sharedHeaders("UpdateRepositoryEncryptionKey");
554
+ let body;
555
+ body = JSON.stringify((0, smithy_client_1._json)(input));
556
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
557
+ };
558
+ exports.se_UpdateRepositoryEncryptionKeyCommand = se_UpdateRepositoryEncryptionKeyCommand;
552
559
  const se_UpdateRepositoryNameCommand = async (input, context) => {
553
560
  const headers = sharedHeaders("UpdateRepositoryName");
554
561
  let body;
@@ -1420,6 +1427,12 @@ const de_CreateRepositoryCommandError = async (output, context) => {
1420
1427
  case "EncryptionKeyDisabledException":
1421
1428
  case "com.amazonaws.codecommit#EncryptionKeyDisabledException":
1422
1429
  throw await de_EncryptionKeyDisabledExceptionRes(parsedOutput, context);
1430
+ case "EncryptionKeyInvalidIdException":
1431
+ case "com.amazonaws.codecommit#EncryptionKeyInvalidIdException":
1432
+ throw await de_EncryptionKeyInvalidIdExceptionRes(parsedOutput, context);
1433
+ case "EncryptionKeyInvalidUsageException":
1434
+ case "com.amazonaws.codecommit#EncryptionKeyInvalidUsageException":
1435
+ throw await de_EncryptionKeyInvalidUsageExceptionRes(parsedOutput, context);
1423
1436
  case "EncryptionKeyNotFoundException":
1424
1437
  case "com.amazonaws.codecommit#EncryptionKeyNotFoundException":
1425
1438
  throw await de_EncryptionKeyNotFoundExceptionRes(parsedOutput, context);
@@ -6076,6 +6089,69 @@ const de_UpdateRepositoryDescriptionCommandError = async (output, context) => {
6076
6089
  });
6077
6090
  }
6078
6091
  };
6092
+ const de_UpdateRepositoryEncryptionKeyCommand = async (output, context) => {
6093
+ if (output.statusCode >= 300) {
6094
+ return de_UpdateRepositoryEncryptionKeyCommandError(output, context);
6095
+ }
6096
+ const data = await parseBody(output.body, context);
6097
+ let contents = {};
6098
+ contents = (0, smithy_client_1._json)(data);
6099
+ const response = {
6100
+ $metadata: deserializeMetadata(output),
6101
+ ...contents,
6102
+ };
6103
+ return response;
6104
+ };
6105
+ exports.de_UpdateRepositoryEncryptionKeyCommand = de_UpdateRepositoryEncryptionKeyCommand;
6106
+ const de_UpdateRepositoryEncryptionKeyCommandError = async (output, context) => {
6107
+ const parsedOutput = {
6108
+ ...output,
6109
+ body: await parseErrorBody(output.body, context),
6110
+ };
6111
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6112
+ switch (errorCode) {
6113
+ case "EncryptionIntegrityChecksFailedException":
6114
+ case "com.amazonaws.codecommit#EncryptionIntegrityChecksFailedException":
6115
+ throw await de_EncryptionIntegrityChecksFailedExceptionRes(parsedOutput, context);
6116
+ case "EncryptionKeyAccessDeniedException":
6117
+ case "com.amazonaws.codecommit#EncryptionKeyAccessDeniedException":
6118
+ throw await de_EncryptionKeyAccessDeniedExceptionRes(parsedOutput, context);
6119
+ case "EncryptionKeyDisabledException":
6120
+ case "com.amazonaws.codecommit#EncryptionKeyDisabledException":
6121
+ throw await de_EncryptionKeyDisabledExceptionRes(parsedOutput, context);
6122
+ case "EncryptionKeyInvalidIdException":
6123
+ case "com.amazonaws.codecommit#EncryptionKeyInvalidIdException":
6124
+ throw await de_EncryptionKeyInvalidIdExceptionRes(parsedOutput, context);
6125
+ case "EncryptionKeyInvalidUsageException":
6126
+ case "com.amazonaws.codecommit#EncryptionKeyInvalidUsageException":
6127
+ throw await de_EncryptionKeyInvalidUsageExceptionRes(parsedOutput, context);
6128
+ case "EncryptionKeyNotFoundException":
6129
+ case "com.amazonaws.codecommit#EncryptionKeyNotFoundException":
6130
+ throw await de_EncryptionKeyNotFoundExceptionRes(parsedOutput, context);
6131
+ case "EncryptionKeyRequiredException":
6132
+ case "com.amazonaws.codecommit#EncryptionKeyRequiredException":
6133
+ throw await de_EncryptionKeyRequiredExceptionRes(parsedOutput, context);
6134
+ case "EncryptionKeyUnavailableException":
6135
+ case "com.amazonaws.codecommit#EncryptionKeyUnavailableException":
6136
+ throw await de_EncryptionKeyUnavailableExceptionRes(parsedOutput, context);
6137
+ case "InvalidRepositoryNameException":
6138
+ case "com.amazonaws.codecommit#InvalidRepositoryNameException":
6139
+ throw await de_InvalidRepositoryNameExceptionRes(parsedOutput, context);
6140
+ case "RepositoryDoesNotExistException":
6141
+ case "com.amazonaws.codecommit#RepositoryDoesNotExistException":
6142
+ throw await de_RepositoryDoesNotExistExceptionRes(parsedOutput, context);
6143
+ case "RepositoryNameRequiredException":
6144
+ case "com.amazonaws.codecommit#RepositoryNameRequiredException":
6145
+ throw await de_RepositoryNameRequiredExceptionRes(parsedOutput, context);
6146
+ default:
6147
+ const parsedBody = parsedOutput.body;
6148
+ return throwDefaultError({
6149
+ output,
6150
+ parsedBody,
6151
+ errorCode,
6152
+ });
6153
+ }
6154
+ };
6079
6155
  const de_UpdateRepositoryNameCommand = async (output, context) => {
6080
6156
  if (output.statusCode >= 300) {
6081
6157
  return de_UpdateRepositoryNameCommandError(output, context);
@@ -6484,6 +6560,24 @@ const de_EncryptionKeyDisabledExceptionRes = async (parsedOutput, context) => {
6484
6560
  });
6485
6561
  return (0, smithy_client_1.decorateServiceException)(exception, body);
6486
6562
  };
6563
+ const de_EncryptionKeyInvalidIdExceptionRes = async (parsedOutput, context) => {
6564
+ const body = parsedOutput.body;
6565
+ const deserialized = (0, smithy_client_1._json)(body);
6566
+ const exception = new models_0_1.EncryptionKeyInvalidIdException({
6567
+ $metadata: deserializeMetadata(parsedOutput),
6568
+ ...deserialized,
6569
+ });
6570
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
6571
+ };
6572
+ const de_EncryptionKeyInvalidUsageExceptionRes = async (parsedOutput, context) => {
6573
+ const body = parsedOutput.body;
6574
+ const deserialized = (0, smithy_client_1._json)(body);
6575
+ const exception = new models_0_1.EncryptionKeyInvalidUsageException({
6576
+ $metadata: deserializeMetadata(parsedOutput),
6577
+ ...deserialized,
6578
+ });
6579
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
6580
+ };
6487
6581
  const de_EncryptionKeyNotFoundExceptionRes = async (parsedOutput, context) => {
6488
6582
  const body = parsedOutput.body;
6489
6583
  const deserialized = (0, smithy_client_1._json)(body);
@@ -6493,6 +6587,15 @@ const de_EncryptionKeyNotFoundExceptionRes = async (parsedOutput, context) => {
6493
6587
  });
6494
6588
  return (0, smithy_client_1.decorateServiceException)(exception, body);
6495
6589
  };
6590
+ const de_EncryptionKeyRequiredExceptionRes = async (parsedOutput, context) => {
6591
+ const body = parsedOutput.body;
6592
+ const deserialized = (0, smithy_client_1._json)(body);
6593
+ const exception = new models_1_1.EncryptionKeyRequiredException({
6594
+ $metadata: deserializeMetadata(parsedOutput),
6595
+ ...deserialized,
6596
+ });
6597
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
6598
+ };
6496
6599
  const de_EncryptionKeyUnavailableExceptionRes = async (parsedOutput, context) => {
6497
6600
  const body = parsedOutput.body;
6498
6601
  const deserialized = (0, smithy_client_1._json)(body);
@@ -6676,7 +6779,7 @@ const de_InvalidApprovalStateExceptionRes = async (parsedOutput, context) => {
6676
6779
  const de_InvalidAuthorArnExceptionRes = async (parsedOutput, context) => {
6677
6780
  const body = parsedOutput.body;
6678
6781
  const deserialized = (0, smithy_client_1._json)(body);
6679
- const exception = new models_0_1.InvalidAuthorArnException({
6782
+ const exception = new models_1_1.InvalidAuthorArnException({
6680
6783
  $metadata: deserializeMetadata(parsedOutput),
6681
6784
  ...deserialized,
6682
6785
  });
@@ -6928,7 +7031,7 @@ const de_InvalidPullRequestIdExceptionRes = async (parsedOutput, context) => {
6928
7031
  const de_InvalidPullRequestStatusExceptionRes = async (parsedOutput, context) => {
6929
7032
  const body = parsedOutput.body;
6930
7033
  const deserialized = (0, smithy_client_1._json)(body);
6931
- const exception = new models_0_1.InvalidPullRequestStatusException({
7034
+ const exception = new models_1_1.InvalidPullRequestStatusException({
6932
7035
  $metadata: deserializeMetadata(parsedOutput),
6933
7036
  ...deserialized,
6934
7037
  });
@@ -7987,6 +8090,7 @@ const de_ApprovalRuleTemplate = (output, context) => {
7987
8090
  };
7988
8091
  const de_BatchGetRepositoriesOutput = (output, context) => {
7989
8092
  return (0, smithy_client_1.take)(output, {
8093
+ errors: smithy_client_1._json,
7990
8094
  repositories: (_) => de_RepositoryMetadataList(_, context),
7991
8095
  repositoriesNotFound: smithy_client_1._json,
7992
8096
  });
@@ -8219,6 +8323,7 @@ const de_RepositoryMetadata = (output, context) => {
8219
8323
  cloneUrlSsh: smithy_client_1.expectString,
8220
8324
  creationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
8221
8325
  defaultBranch: smithy_client_1.expectString,
8326
+ kmsKeyId: smithy_client_1.expectString,
8222
8327
  lastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
8223
8328
  repositoryDescription: smithy_client_1.expectString,
8224
8329
  repositoryId: smithy_client_1.expectString,
@@ -77,6 +77,7 @@ import { UpdatePullRequestDescriptionCommand, } from "./commands/UpdatePullReque
77
77
  import { UpdatePullRequestStatusCommand, } from "./commands/UpdatePullRequestStatusCommand";
78
78
  import { UpdatePullRequestTitleCommand, } from "./commands/UpdatePullRequestTitleCommand";
79
79
  import { UpdateRepositoryDescriptionCommand, } from "./commands/UpdateRepositoryDescriptionCommand";
80
+ import { UpdateRepositoryEncryptionKeyCommand, } from "./commands/UpdateRepositoryEncryptionKeyCommand";
80
81
  import { UpdateRepositoryNameCommand, } from "./commands/UpdateRepositoryNameCommand";
81
82
  const commands = {
82
83
  AssociateApprovalRuleTemplateWithRepositoryCommand,
@@ -156,6 +157,7 @@ const commands = {
156
157
  UpdatePullRequestStatusCommand,
157
158
  UpdatePullRequestTitleCommand,
158
159
  UpdateRepositoryDescriptionCommand,
160
+ UpdateRepositoryEncryptionKeyCommand,
159
161
  UpdateRepositoryNameCommand,
160
162
  };
161
163
  export class CodeCommit extends CodeCommitClient {
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AssociateApprovalRuleTemplateWithRepositoryCommand, se_AssociateApprovalRuleTemplateWithRepositoryCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AssociateApprovalRuleTemplateWithRepositoryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "AssociateApprovalRuleTemplateWithRepositoryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "AssociateApprovalRuleTemplateWithRepository",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AssociateApprovalRuleTemplateWithRepositoryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AssociateApprovalRuleTemplateWithRepositoryCommand(output, context);
46
- }
7
+ export class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "AssociateApprovalRuleTemplateWithRepository", {})
19
+ .n("CodeCommitClient", "AssociateApprovalRuleTemplateWithRepositoryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AssociateApprovalRuleTemplateWithRepositoryCommand)
22
+ .de(de_AssociateApprovalRuleTemplateWithRepositoryCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, se_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "BatchAssociateApprovalRuleTemplateWithRepositoriesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "BatchAssociateApprovalRuleTemplateWithRepositories",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand(output, context);
46
- }
7
+ export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "BatchAssociateApprovalRuleTemplateWithRepositories", {})
19
+ .n("CodeCommitClient", "BatchAssociateApprovalRuleTemplateWithRepositoriesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand)
22
+ .de(de_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchDescribeMergeConflictsCommand, se_BatchDescribeMergeConflictsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class BatchDescribeMergeConflictsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchDescribeMergeConflictsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCommitClient";
26
- const commandName = "BatchDescribeMergeConflictsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCommit_20150413",
35
- operation: "BatchDescribeMergeConflicts",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchDescribeMergeConflictsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchDescribeMergeConflictsCommand(output, context);
46
- }
7
+ export class BatchDescribeMergeConflictsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCommit_20150413", "BatchDescribeMergeConflicts", {})
19
+ .n("CodeCommitClient", "BatchDescribeMergeConflictsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchDescribeMergeConflictsCommand)
22
+ .de(de_BatchDescribeMergeConflictsCommand)
23
+ .build() {
47
24
  }