@aws-sdk/client-codecommit 3.391.0 → 3.398.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 (130) hide show
  1. package/README.md +30 -32
  2. package/dist-cjs/CodeCommit.js +2 -0
  3. package/dist-cjs/CodeCommitClient.js +4 -2
  4. package/dist-cjs/commands/ListFileCommitHistoryCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/extensionConfiguration.js +2 -0
  8. package/dist-cjs/models/models_0.js +1 -27
  9. package/dist-cjs/models/models_1.js +27 -1
  10. package/dist-cjs/pagination/ListFileCommitHistoryPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +85 -6
  13. package/dist-cjs/runtimeConfig.shared.js +1 -0
  14. package/dist-cjs/runtimeExtensions.js +16 -0
  15. package/dist-es/CodeCommit.js +2 -0
  16. package/dist-es/CodeCommitClient.js +4 -2
  17. package/dist-es/commands/ListFileCommitHistoryCommand.js +42 -0
  18. package/dist-es/commands/index.js +1 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/extensionConfiguration.js +1 -0
  21. package/dist-es/models/models_0.js +0 -24
  22. package/dist-es/models/models_1.js +24 -0
  23. package/dist-es/pagination/ListFileCommitHistoryPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_json1_1.js +79 -2
  26. package/dist-es/runtimeConfig.shared.js +1 -0
  27. package/dist-es/runtimeExtensions.js +12 -0
  28. package/dist-types/CodeCommit.d.ts +100 -109
  29. package/dist-types/CodeCommitClient.d.ts +102 -112
  30. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -6
  31. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +3 -4
  32. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -13
  33. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +3 -4
  34. package/dist-types/commands/BatchGetCommitsCommand.d.ts +1 -2
  35. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -3
  36. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +7 -9
  37. package/dist-types/commands/CreateBranchCommand.d.ts +3 -3
  38. package/dist-types/commands/CreateCommitCommand.d.ts +6 -7
  39. package/dist-types/commands/CreatePullRequestCommand.d.ts +4 -5
  40. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -3
  41. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -9
  42. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +2 -3
  43. package/dist-types/commands/DeleteBranchCommand.d.ts +1 -2
  44. package/dist-types/commands/DeleteFileCommand.d.ts +1 -2
  45. package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -3
  46. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +12 -13
  47. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +7 -7
  48. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -6
  49. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -4
  50. package/dist-types/commands/GetBlobCommand.d.ts +3 -4
  51. package/dist-types/commands/GetBranchCommand.d.ts +1 -2
  52. package/dist-types/commands/GetCommentCommand.d.ts +1 -1
  53. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +3 -4
  54. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +3 -4
  55. package/dist-types/commands/GetCommitCommand.d.ts +1 -2
  56. package/dist-types/commands/GetDifferencesCommand.d.ts +2 -3
  57. package/dist-types/commands/GetFileCommand.d.ts +4 -5
  58. package/dist-types/commands/GetFolderCommand.d.ts +3 -4
  59. package/dist-types/commands/GetMergeCommitCommand.d.ts +3 -4
  60. package/dist-types/commands/GetMergeConflictsCommand.d.ts +12 -13
  61. package/dist-types/commands/GetMergeOptionsCommand.d.ts +4 -5
  62. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
  63. package/dist-types/commands/GetPullRequestCommand.d.ts +2 -2
  64. package/dist-types/commands/GetRepositoryCommand.d.ts +2 -4
  65. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +2 -3
  66. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +2 -2
  67. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -2
  68. package/dist-types/commands/ListBranchesCommand.d.ts +1 -2
  69. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +153 -0
  70. package/dist-types/commands/ListPullRequestsCommand.d.ts +5 -5
  71. package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -2
  72. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +3 -4
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -8
  74. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -2
  75. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -7
  76. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -7
  77. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +3 -4
  78. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -9
  79. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -9
  80. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  81. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +4 -5
  82. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +4 -5
  83. package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
  84. package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
  85. package/dist-types/commands/PutFileCommand.d.ts +3 -4
  86. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +4 -5
  87. package/dist-types/commands/TagResourceCommand.d.ts +8 -9
  88. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +4 -5
  89. package/dist-types/commands/UntagResourceCommand.d.ts +7 -9
  90. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +3 -4
  91. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +5 -7
  92. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +4 -5
  93. package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +2 -3
  95. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  96. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +2 -2
  97. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +3 -3
  98. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +2 -2
  99. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +2 -3
  100. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -5
  101. package/dist-types/commands/index.d.ts +1 -0
  102. package/dist-types/extensionConfiguration.d.ts +6 -0
  103. package/dist-types/index.d.ts +93 -109
  104. package/dist-types/models/models_0.d.ts +153 -114
  105. package/dist-types/models/models_1.d.ts +68 -30
  106. package/dist-types/pagination/ListFileCommitHistoryPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +1 -0
  108. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  110. package/dist-types/runtimeConfig.d.ts +1 -0
  111. package/dist-types/runtimeConfig.native.d.ts +1 -0
  112. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  113. package/dist-types/runtimeExtensions.d.ts +17 -0
  114. package/dist-types/ts3.4/CodeCommit.d.ts +17 -0
  115. package/dist-types/ts3.4/CodeCommitClient.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +42 -0
  117. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +2 -4
  118. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  119. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
  120. package/dist-types/ts3.4/models/models_0.d.ts +17 -18
  121. package/dist-types/ts3.4/models/models_1.d.ts +18 -0
  122. package/dist-types/ts3.4/pagination/ListFileCommitHistoryPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  124. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  125. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  126. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  127. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  128. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  129. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  130. package/package.json +29 -29
@@ -0,0 +1,11 @@
1
+ import { CodeCommitExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(clientConfiguration: CodeCommitExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
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.391.0",
4
+ "version": "3.398.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",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.391.0",
25
- "@aws-sdk/credential-provider-node": "3.391.0",
26
- "@aws-sdk/middleware-host-header": "3.391.0",
27
- "@aws-sdk/middleware-logger": "3.391.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.391.0",
29
- "@aws-sdk/middleware-signing": "3.391.0",
30
- "@aws-sdk/middleware-user-agent": "3.391.0",
31
- "@aws-sdk/types": "3.391.0",
32
- "@aws-sdk/util-endpoints": "3.391.0",
33
- "@aws-sdk/util-user-agent-browser": "3.391.0",
34
- "@aws-sdk/util-user-agent-node": "3.391.0",
35
- "@smithy/config-resolver": "^2.0.3",
36
- "@smithy/fetch-http-handler": "^2.0.3",
37
- "@smithy/hash-node": "^2.0.3",
38
- "@smithy/invalid-dependency": "^2.0.3",
39
- "@smithy/middleware-content-length": "^2.0.3",
40
- "@smithy/middleware-endpoint": "^2.0.3",
41
- "@smithy/middleware-retry": "^2.0.3",
42
- "@smithy/middleware-serde": "^2.0.3",
24
+ "@aws-sdk/client-sts": "3.398.0",
25
+ "@aws-sdk/credential-provider-node": "3.398.0",
26
+ "@aws-sdk/middleware-host-header": "3.398.0",
27
+ "@aws-sdk/middleware-logger": "3.398.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
+ "@aws-sdk/middleware-signing": "3.398.0",
30
+ "@aws-sdk/middleware-user-agent": "3.398.0",
31
+ "@aws-sdk/types": "3.398.0",
32
+ "@aws-sdk/util-endpoints": "3.398.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.398.0",
35
+ "@smithy/config-resolver": "^2.0.5",
36
+ "@smithy/fetch-http-handler": "^2.0.5",
37
+ "@smithy/hash-node": "^2.0.5",
38
+ "@smithy/invalid-dependency": "^2.0.5",
39
+ "@smithy/middleware-content-length": "^2.0.5",
40
+ "@smithy/middleware-endpoint": "^2.0.5",
41
+ "@smithy/middleware-retry": "^2.0.5",
42
+ "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.3",
45
- "@smithy/node-http-handler": "^2.0.3",
46
- "@smithy/protocol-http": "^2.0.3",
47
- "@smithy/smithy-client": "^2.0.3",
48
- "@smithy/types": "^2.2.0",
49
- "@smithy/url-parser": "^2.0.3",
44
+ "@smithy/node-config-provider": "^2.0.5",
45
+ "@smithy/node-http-handler": "^2.0.5",
46
+ "@smithy/protocol-http": "^2.0.5",
47
+ "@smithy/smithy-client": "^2.0.5",
48
+ "@smithy/types": "^2.2.2",
49
+ "@smithy/url-parser": "^2.0.5",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
- "@smithy/util-body-length-node": "^2.0.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.3",
54
- "@smithy/util-defaults-mode-node": "^2.0.3",
52
+ "@smithy/util-body-length-node": "^2.1.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.5",
54
+ "@smithy/util-defaults-mode-node": "^2.0.5",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0",