@aws-sdk/client-codecommit 3.325.0 → 3.327.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 (78) hide show
  1. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -0
  2. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +15 -0
  3. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +71 -0
  4. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +15 -0
  5. package/dist-types/commands/BatchGetCommitsCommand.d.ts +33 -0
  6. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +22 -0
  7. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +15 -0
  8. package/dist-types/commands/CreateBranchCommand.d.ts +4 -0
  9. package/dist-types/commands/CreateCommitCommand.d.ts +28 -0
  10. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +18 -0
  11. package/dist-types/commands/CreatePullRequestCommand.d.ts +47 -0
  12. package/dist-types/commands/CreateRepositoryCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +7 -0
  14. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -0
  15. package/dist-types/commands/DeleteBranchCommand.d.ts +9 -0
  16. package/dist-types/commands/DeleteCommentContentCommand.d.ts +21 -0
  17. package/dist-types/commands/DeleteFileCommand.d.ts +9 -0
  18. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -0
  19. package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +60 -0
  21. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +52 -0
  22. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -0
  23. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +15 -0
  24. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +15 -0
  25. package/dist-types/commands/GetBlobCommand.d.ts +6 -0
  26. package/dist-types/commands/GetBranchCommand.d.ts +9 -0
  27. package/dist-types/commands/GetCommentCommand.d.ts +21 -0
  28. package/dist-types/commands/GetCommentReactionsCommand.d.ts +19 -0
  29. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +38 -0
  30. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +39 -0
  31. package/dist-types/commands/GetCommitCommand.d.ts +24 -0
  32. package/dist-types/commands/GetDifferencesCommand.d.ts +21 -0
  33. package/dist-types/commands/GetFileCommand.d.ts +11 -0
  34. package/dist-types/commands/GetFolderCommand.d.ts +38 -0
  35. package/dist-types/commands/GetMergeCommitCommand.d.ts +9 -0
  36. package/dist-types/commands/GetMergeConflictsCommand.d.ts +43 -0
  37. package/dist-types/commands/GetMergeOptionsCommand.d.ts +11 -0
  38. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +11 -0
  39. package/dist-types/commands/GetPullRequestCommand.d.ts +47 -0
  40. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +7 -0
  41. package/dist-types/commands/GetRepositoryCommand.d.ts +17 -0
  42. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +19 -0
  43. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +9 -0
  44. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +9 -0
  45. package/dist-types/commands/ListBranchesCommand.d.ts +9 -0
  46. package/dist-types/commands/ListPullRequestsCommand.d.ts +9 -0
  47. package/dist-types/commands/ListRepositoriesCommand.d.ts +12 -0
  48. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +9 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
  50. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +7 -0
  51. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +7 -0
  52. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +7 -0
  53. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +47 -0
  54. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +47 -0
  55. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +47 -0
  56. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +4 -0
  57. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +31 -0
  58. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +32 -0
  59. package/dist-types/commands/PostCommentReplyCommand.d.ts +21 -0
  60. package/dist-types/commands/PutCommentReactionCommand.d.ts +4 -0
  61. package/dist-types/commands/PutFileCommand.d.ts +8 -0
  62. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -0
  63. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  64. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +14 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  66. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +15 -0
  67. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +15 -0
  68. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +15 -0
  69. package/dist-types/commands/UpdateCommentCommand.d.ts +21 -0
  70. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +18 -0
  72. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +4 -0
  73. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +47 -0
  74. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +47 -0
  75. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +47 -0
  76. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +4 -0
  77. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -0
  78. package/package.json +7 -7
@@ -32,6 +32,51 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
32
32
  * };
33
33
  * const command = new UpdatePullRequestTitleCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdatePullRequestTitleOutput
36
+ * // pullRequest: { // PullRequest
37
+ * // pullRequestId: "STRING_VALUE",
38
+ * // title: "STRING_VALUE",
39
+ * // description: "STRING_VALUE",
40
+ * // lastActivityDate: new Date("TIMESTAMP"),
41
+ * // creationDate: new Date("TIMESTAMP"),
42
+ * // pullRequestStatus: "STRING_VALUE",
43
+ * // authorArn: "STRING_VALUE",
44
+ * // pullRequestTargets: [ // PullRequestTargetList
45
+ * // { // PullRequestTarget
46
+ * // repositoryName: "STRING_VALUE",
47
+ * // sourceReference: "STRING_VALUE",
48
+ * // destinationReference: "STRING_VALUE",
49
+ * // destinationCommit: "STRING_VALUE",
50
+ * // sourceCommit: "STRING_VALUE",
51
+ * // mergeBase: "STRING_VALUE",
52
+ * // mergeMetadata: { // MergeMetadata
53
+ * // isMerged: true || false,
54
+ * // mergedBy: "STRING_VALUE",
55
+ * // mergeCommitId: "STRING_VALUE",
56
+ * // mergeOption: "STRING_VALUE",
57
+ * // },
58
+ * // },
59
+ * // ],
60
+ * // clientRequestToken: "STRING_VALUE",
61
+ * // revisionId: "STRING_VALUE",
62
+ * // approvalRules: [ // ApprovalRulesList
63
+ * // { // ApprovalRule
64
+ * // approvalRuleId: "STRING_VALUE",
65
+ * // approvalRuleName: "STRING_VALUE",
66
+ * // approvalRuleContent: "STRING_VALUE",
67
+ * // ruleContentSha256: "STRING_VALUE",
68
+ * // lastModifiedDate: new Date("TIMESTAMP"),
69
+ * // creationDate: new Date("TIMESTAMP"),
70
+ * // lastModifiedUser: "STRING_VALUE",
71
+ * // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
72
+ * // approvalRuleTemplateId: "STRING_VALUE",
73
+ * // approvalRuleTemplateName: "STRING_VALUE",
74
+ * // },
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // };
79
+ *
35
80
  * ```
36
81
  *
37
82
  * @param UpdatePullRequestTitleCommandInput - {@link UpdatePullRequestTitleCommandInput}
@@ -58,6 +103,8 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
58
103
  * @throws {@link TitleRequiredException} (client fault)
59
104
  * <p>A pull request title is required. It cannot be empty or null.</p>
60
105
  *
106
+ * @throws {@link CodeCommitServiceException}
107
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
61
108
  *
62
109
  */
63
110
  export declare class UpdatePullRequestTitleCommand extends $Command<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput, CodeCommitClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
39
39
  * };
40
40
  * const command = new UpdateRepositoryDescriptionCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param UpdateRepositoryDescriptionCommandInput - {@link UpdateRepositoryDescriptionCommandInput}
@@ -80,6 +82,8 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
80
82
  * @throws {@link RepositoryNameRequiredException} (client fault)
81
83
  * <p>A repository name is required, but was not specified.</p>
82
84
  *
85
+ * @throws {@link CodeCommitServiceException}
86
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
83
87
  *
84
88
  */
85
89
  export declare class UpdateRepositoryDescriptionCommand extends $Command<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new UpdateRepositoryNameCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param UpdateRepositoryNameCommandInput - {@link UpdateRepositoryNameCommandInput}
@@ -62,6 +64,8 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
62
64
  * @throws {@link RepositoryNameRequiredException} (client fault)
63
65
  * <p>A repository name is required, but was not specified.</p>
64
66
  *
67
+ * @throws {@link CodeCommitServiceException}
68
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
65
69
  *
66
70
  */
67
71
  export declare class UpdateRepositoryNameCommand extends $Command<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput, CodeCommitClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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,9 +21,9 @@
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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",