@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
@@ -61,6 +61,51 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
61
61
  * };
62
62
  * const command = new MergePullRequestByThreeWayCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // MergePullRequestByThreeWayOutput
65
+ * // pullRequest: { // PullRequest
66
+ * // pullRequestId: "STRING_VALUE",
67
+ * // title: "STRING_VALUE",
68
+ * // description: "STRING_VALUE",
69
+ * // lastActivityDate: new Date("TIMESTAMP"),
70
+ * // creationDate: new Date("TIMESTAMP"),
71
+ * // pullRequestStatus: "STRING_VALUE",
72
+ * // authorArn: "STRING_VALUE",
73
+ * // pullRequestTargets: [ // PullRequestTargetList
74
+ * // { // PullRequestTarget
75
+ * // repositoryName: "STRING_VALUE",
76
+ * // sourceReference: "STRING_VALUE",
77
+ * // destinationReference: "STRING_VALUE",
78
+ * // destinationCommit: "STRING_VALUE",
79
+ * // sourceCommit: "STRING_VALUE",
80
+ * // mergeBase: "STRING_VALUE",
81
+ * // mergeMetadata: { // MergeMetadata
82
+ * // isMerged: true || false,
83
+ * // mergedBy: "STRING_VALUE",
84
+ * // mergeCommitId: "STRING_VALUE",
85
+ * // mergeOption: "STRING_VALUE",
86
+ * // },
87
+ * // },
88
+ * // ],
89
+ * // clientRequestToken: "STRING_VALUE",
90
+ * // revisionId: "STRING_VALUE",
91
+ * // approvalRules: [ // ApprovalRulesList
92
+ * // { // ApprovalRule
93
+ * // approvalRuleId: "STRING_VALUE",
94
+ * // approvalRuleName: "STRING_VALUE",
95
+ * // approvalRuleContent: "STRING_VALUE",
96
+ * // ruleContentSha256: "STRING_VALUE",
97
+ * // lastModifiedDate: new Date("TIMESTAMP"),
98
+ * // creationDate: new Date("TIMESTAMP"),
99
+ * // lastModifiedUser: "STRING_VALUE",
100
+ * // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
101
+ * // approvalRuleTemplateId: "STRING_VALUE",
102
+ * // approvalRuleTemplateName: "STRING_VALUE",
103
+ * // },
104
+ * // },
105
+ * // ],
106
+ * // },
107
+ * // };
108
+ *
64
109
  * ```
65
110
  *
66
111
  * @param MergePullRequestByThreeWayCommandInput - {@link MergePullRequestByThreeWayCommandInput}
@@ -196,6 +241,8 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
196
241
  * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
197
242
  * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
198
243
  *
244
+ * @throws {@link CodeCommitServiceException}
245
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
199
246
  *
200
247
  */
201
248
  export declare class MergePullRequestByThreeWayCommand extends $Command<MergePullRequestByThreeWayCommandInput, MergePullRequestByThreeWayCommandOutput, CodeCommitClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface OverridePullRequestApprovalRulesCommandOutput extends __Metadat
33
33
  * };
34
34
  * const command = new OverridePullRequestApprovalRulesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param OverridePullRequestApprovalRulesCommandInput - {@link OverridePullRequestApprovalRulesCommandInput}
@@ -86,6 +88,8 @@ export interface OverridePullRequestApprovalRulesCommandOutput extends __Metadat
86
88
  * @throws {@link RevisionNotCurrentException} (client fault)
87
89
  * <p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>
88
90
  *
91
+ * @throws {@link CodeCommitServiceException}
92
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
89
93
  *
90
94
  */
91
95
  export declare class OverridePullRequestApprovalRulesCommand extends $Command<OverridePullRequestApprovalRulesCommandInput, OverridePullRequestApprovalRulesCommandOutput, CodeCommitClientResolvedConfig> {
@@ -40,6 +40,35 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
40
40
  * };
41
41
  * const command = new PostCommentForComparedCommitCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // PostCommentForComparedCommitOutput
44
+ * // repositoryName: "STRING_VALUE",
45
+ * // beforeCommitId: "STRING_VALUE",
46
+ * // afterCommitId: "STRING_VALUE",
47
+ * // beforeBlobId: "STRING_VALUE",
48
+ * // afterBlobId: "STRING_VALUE",
49
+ * // location: { // Location
50
+ * // filePath: "STRING_VALUE",
51
+ * // filePosition: Number("long"),
52
+ * // relativeFileVersion: "STRING_VALUE",
53
+ * // },
54
+ * // comment: { // Comment
55
+ * // commentId: "STRING_VALUE",
56
+ * // content: "STRING_VALUE",
57
+ * // inReplyTo: "STRING_VALUE",
58
+ * // creationDate: new Date("TIMESTAMP"),
59
+ * // lastModifiedDate: new Date("TIMESTAMP"),
60
+ * // authorArn: "STRING_VALUE",
61
+ * // deleted: true || false,
62
+ * // clientRequestToken: "STRING_VALUE",
63
+ * // callerReactions: [ // CallerReactions
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // reactionCounts: { // ReactionCountsMap
67
+ * // "<keys>": Number("int"),
68
+ * // },
69
+ * // },
70
+ * // };
71
+ *
43
72
  * ```
44
73
  *
45
74
  * @param PostCommentForComparedCommitCommandInput - {@link PostCommentForComparedCommitCommandInput}
@@ -129,6 +158,8 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
129
158
  * @throws {@link RepositoryNameRequiredException} (client fault)
130
159
  * <p>A repository name is required, but was not specified.</p>
131
160
  *
161
+ * @throws {@link CodeCommitServiceException}
162
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
132
163
  *
133
164
  */
134
165
  export declare class PostCommentForComparedCommitCommand extends $Command<PostCommentForComparedCommitCommandInput, PostCommentForComparedCommitCommandOutput, CodeCommitClientResolvedConfig> {
@@ -41,6 +41,36 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
41
41
  * };
42
42
  * const command = new PostCommentForPullRequestCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // PostCommentForPullRequestOutput
45
+ * // repositoryName: "STRING_VALUE",
46
+ * // pullRequestId: "STRING_VALUE",
47
+ * // beforeCommitId: "STRING_VALUE",
48
+ * // afterCommitId: "STRING_VALUE",
49
+ * // beforeBlobId: "STRING_VALUE",
50
+ * // afterBlobId: "STRING_VALUE",
51
+ * // location: { // Location
52
+ * // filePath: "STRING_VALUE",
53
+ * // filePosition: Number("long"),
54
+ * // relativeFileVersion: "STRING_VALUE",
55
+ * // },
56
+ * // comment: { // Comment
57
+ * // commentId: "STRING_VALUE",
58
+ * // content: "STRING_VALUE",
59
+ * // inReplyTo: "STRING_VALUE",
60
+ * // creationDate: new Date("TIMESTAMP"),
61
+ * // lastModifiedDate: new Date("TIMESTAMP"),
62
+ * // authorArn: "STRING_VALUE",
63
+ * // deleted: true || false,
64
+ * // clientRequestToken: "STRING_VALUE",
65
+ * // callerReactions: [ // CallerReactions
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // reactionCounts: { // ReactionCountsMap
69
+ * // "<keys>": Number("int"),
70
+ * // },
71
+ * // },
72
+ * // };
73
+ *
44
74
  * ```
45
75
  *
46
76
  * @param PostCommentForPullRequestCommandInput - {@link PostCommentForPullRequestCommandInput}
@@ -142,6 +172,8 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
142
172
  * @throws {@link RepositoryNotAssociatedWithPullRequestException} (client fault)
143
173
  * <p>The repository does not contain any pull requests with that pull request ID. Use GetPullRequest to verify the correct repository name for the pull request ID.</p>
144
174
  *
175
+ * @throws {@link CodeCommitServiceException}
176
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
145
177
  *
146
178
  */
147
179
  export declare class PostCommentForPullRequestCommand extends $Command<PostCommentForPullRequestCommandInput, PostCommentForPullRequestCommandOutput, CodeCommitClientResolvedConfig> {
@@ -33,6 +33,25 @@ export interface PostCommentReplyCommandOutput extends PostCommentReplyOutput, _
33
33
  * };
34
34
  * const command = new PostCommentReplyCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // PostCommentReplyOutput
37
+ * // comment: { // Comment
38
+ * // commentId: "STRING_VALUE",
39
+ * // content: "STRING_VALUE",
40
+ * // inReplyTo: "STRING_VALUE",
41
+ * // creationDate: new Date("TIMESTAMP"),
42
+ * // lastModifiedDate: new Date("TIMESTAMP"),
43
+ * // authorArn: "STRING_VALUE",
44
+ * // deleted: true || false,
45
+ * // clientRequestToken: "STRING_VALUE",
46
+ * // callerReactions: [ // CallerReactions
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // reactionCounts: { // ReactionCountsMap
50
+ * // "<keys>": Number("int"),
51
+ * // },
52
+ * // },
53
+ * // };
54
+ *
36
55
  * ```
37
56
  *
38
57
  * @param PostCommentReplyCommandInput - {@link PostCommentReplyCommandInput}
@@ -71,6 +90,8 @@ export interface PostCommentReplyCommandOutput extends PostCommentReplyOutput, _
71
90
  * @throws {@link InvalidCommentIdException} (client fault)
72
91
  * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
73
92
  *
93
+ * @throws {@link CodeCommitServiceException}
94
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
74
95
  *
75
96
  */
76
97
  export declare class PostCommentReplyCommand extends $Command<PostCommentReplyCommandInput, PostCommentReplyCommandOutput, CodeCommitClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface PutCommentReactionCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new PutCommentReactionCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param PutCommentReactionCommandInput - {@link PutCommentReactionCommandInput}
@@ -63,6 +65,8 @@ export interface PutCommentReactionCommandOutput extends __MetadataBearer {
63
65
  * @throws {@link ReactionValueRequiredException} (client fault)
64
66
  * <p>A reaction value is required. </p>
65
67
  *
68
+ * @throws {@link CodeCommitServiceException}
69
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
66
70
  *
67
71
  */
68
72
  export declare class PutCommentReactionCommand extends $Command<PutCommentReactionCommandInput, PutCommentReactionCommandOutput, CodeCommitClientResolvedConfig> {
@@ -39,6 +39,12 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
39
39
  * };
40
40
  * const command = new PutFileCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // PutFileOutput
43
+ * // commitId: "STRING_VALUE", // required
44
+ * // blobId: "STRING_VALUE", // required
45
+ * // treeId: "STRING_VALUE", // required
46
+ * // };
47
+ *
42
48
  * ```
43
49
  *
44
50
  * @param PutFileCommandInput - {@link PutFileCommandInput}
@@ -156,6 +162,8 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
156
162
  * <p>The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch
157
163
  * that you specified.</p>
158
164
  *
165
+ * @throws {@link CodeCommitServiceException}
166
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
159
167
  *
160
168
  */
161
169
  export declare class PutFileCommand extends $Command<PutFileCommandInput, PutFileCommandOutput, CodeCommitClientResolvedConfig> {
@@ -44,6 +44,10 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
44
44
  * };
45
45
  * const command = new PutRepositoryTriggersCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // PutRepositoryTriggersOutput
48
+ * // configurationId: "STRING_VALUE",
49
+ * // };
50
+ *
47
51
  * ```
48
52
  *
49
53
  * @param PutRepositoryTriggersCommandInput - {@link PutRepositoryTriggersCommandInput}
@@ -125,6 +129,8 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
125
129
  * @throws {@link RepositoryTriggersListRequiredException} (client fault)
126
130
  * <p>The list of triggers for the repository is required, but was not specified.</p>
127
131
  *
132
+ * @throws {@link CodeCommitServiceException}
133
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
128
134
  *
129
135
  */
130
136
  export declare class PutRepositoryTriggersCommand extends $Command<PutRepositoryTriggersCommandInput, PutRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new TagResourceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -81,6 +83,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
81
83
  * @throws {@link TooManyTagsException} (client fault)
82
84
  * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
83
85
  *
86
+ * @throws {@link CodeCommitServiceException}
87
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
84
88
  *
85
89
  */
86
90
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeCommitClientResolvedConfig> {
@@ -46,6 +46,18 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
46
46
  * };
47
47
  * const command = new TestRepositoryTriggersCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // TestRepositoryTriggersOutput
50
+ * // successfulExecutions: [ // RepositoryTriggerNameList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // failedExecutions: [ // RepositoryTriggerExecutionFailureList
54
+ * // { // RepositoryTriggerExecutionFailure
55
+ * // trigger: "STRING_VALUE",
56
+ * // failureMessage: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
49
61
  * ```
50
62
  *
51
63
  * @param TestRepositoryTriggersCommandInput - {@link TestRepositoryTriggersCommandInput}
@@ -127,6 +139,8 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
127
139
  * @throws {@link RepositoryTriggersListRequiredException} (client fault)
128
140
  * <p>The list of triggers for the repository is required, but was not specified.</p>
129
141
  *
142
+ * @throws {@link CodeCommitServiceException}
143
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
130
144
  *
131
145
  */
132
146
  export declare class TestRepositoryTriggersCommand extends $Command<TestRepositoryTriggersCommandInput, TestRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new UntagResourceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -81,6 +83,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
81
83
  * @throws {@link TooManyTagsException} (client fault)
82
84
  * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
83
85
  *
86
+ * @throws {@link CodeCommitServiceException}
87
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
84
88
  *
85
89
  */
86
90
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeCommitClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface UpdateApprovalRuleTemplateContentCommandOutput extends UpdateAp
35
35
  * };
36
36
  * const command = new UpdateApprovalRuleTemplateContentCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // UpdateApprovalRuleTemplateContentOutput
39
+ * // approvalRuleTemplate: { // ApprovalRuleTemplate
40
+ * // approvalRuleTemplateId: "STRING_VALUE",
41
+ * // approvalRuleTemplateName: "STRING_VALUE",
42
+ * // approvalRuleTemplateDescription: "STRING_VALUE",
43
+ * // approvalRuleTemplateContent: "STRING_VALUE",
44
+ * // ruleContentSha256: "STRING_VALUE",
45
+ * // lastModifiedDate: new Date("TIMESTAMP"),
46
+ * // creationDate: new Date("TIMESTAMP"),
47
+ * // lastModifiedUser: "STRING_VALUE",
48
+ * // },
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param UpdateApprovalRuleTemplateContentCommandInput - {@link UpdateApprovalRuleTemplateContentCommandInput}
@@ -65,6 +78,8 @@ export interface UpdateApprovalRuleTemplateContentCommandOutput extends UpdateAp
65
78
  * @throws {@link InvalidRuleContentSha256Exception} (client fault)
66
79
  * <p>The SHA-256 hash signature for the rule content is not valid.</p>
67
80
  *
81
+ * @throws {@link CodeCommitServiceException}
82
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
68
83
  *
69
84
  */
70
85
  export declare class UpdateApprovalRuleTemplateContentCommand extends $Command<UpdateApprovalRuleTemplateContentCommandInput, UpdateApprovalRuleTemplateContentCommandOutput, CodeCommitClientResolvedConfig> {
@@ -32,6 +32,19 @@ export interface UpdateApprovalRuleTemplateDescriptionCommandOutput extends Upda
32
32
  * };
33
33
  * const command = new UpdateApprovalRuleTemplateDescriptionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateApprovalRuleTemplateDescriptionOutput
36
+ * // approvalRuleTemplate: { // ApprovalRuleTemplate
37
+ * // approvalRuleTemplateId: "STRING_VALUE",
38
+ * // approvalRuleTemplateName: "STRING_VALUE",
39
+ * // approvalRuleTemplateDescription: "STRING_VALUE",
40
+ * // approvalRuleTemplateContent: "STRING_VALUE",
41
+ * // ruleContentSha256: "STRING_VALUE",
42
+ * // lastModifiedDate: new Date("TIMESTAMP"),
43
+ * // creationDate: new Date("TIMESTAMP"),
44
+ * // lastModifiedUser: "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
35
48
  * ```
36
49
  *
37
50
  * @param UpdateApprovalRuleTemplateDescriptionCommandInput - {@link UpdateApprovalRuleTemplateDescriptionCommandInput}
@@ -59,6 +72,8 @@ export interface UpdateApprovalRuleTemplateDescriptionCommandOutput extends Upda
59
72
  * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
60
73
  * CodeCommit User Guide</a>.</p>
61
74
  *
75
+ * @throws {@link CodeCommitServiceException}
76
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
62
77
  *
63
78
  */
64
79
  export declare class UpdateApprovalRuleTemplateDescriptionCommand extends $Command<UpdateApprovalRuleTemplateDescriptionCommandInput, UpdateApprovalRuleTemplateDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
@@ -32,6 +32,19 @@ export interface UpdateApprovalRuleTemplateNameCommandOutput extends UpdateAppro
32
32
  * };
33
33
  * const command = new UpdateApprovalRuleTemplateNameCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateApprovalRuleTemplateNameOutput
36
+ * // approvalRuleTemplate: { // ApprovalRuleTemplate
37
+ * // approvalRuleTemplateId: "STRING_VALUE",
38
+ * // approvalRuleTemplateName: "STRING_VALUE",
39
+ * // approvalRuleTemplateDescription: "STRING_VALUE",
40
+ * // approvalRuleTemplateContent: "STRING_VALUE",
41
+ * // ruleContentSha256: "STRING_VALUE",
42
+ * // lastModifiedDate: new Date("TIMESTAMP"),
43
+ * // creationDate: new Date("TIMESTAMP"),
44
+ * // lastModifiedUser: "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
35
48
  * ```
36
49
  *
37
50
  * @param UpdateApprovalRuleTemplateNameCommandInput - {@link UpdateApprovalRuleTemplateNameCommandInput}
@@ -58,6 +71,8 @@ export interface UpdateApprovalRuleTemplateNameCommandOutput extends UpdateAppro
58
71
  * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
59
72
  * CodeCommit User Guide</a>.</p>
60
73
  *
74
+ * @throws {@link CodeCommitServiceException}
75
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
61
76
  *
62
77
  */
63
78
  export declare class UpdateApprovalRuleTemplateNameCommand extends $Command<UpdateApprovalRuleTemplateNameCommandInput, UpdateApprovalRuleTemplateNameCommandOutput, CodeCommitClientResolvedConfig> {
@@ -32,6 +32,25 @@ export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __Metad
32
32
  * };
33
33
  * const command = new UpdateCommentCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateCommentOutput
36
+ * // comment: { // Comment
37
+ * // commentId: "STRING_VALUE",
38
+ * // content: "STRING_VALUE",
39
+ * // inReplyTo: "STRING_VALUE",
40
+ * // creationDate: new Date("TIMESTAMP"),
41
+ * // lastModifiedDate: new Date("TIMESTAMP"),
42
+ * // authorArn: "STRING_VALUE",
43
+ * // deleted: true || false,
44
+ * // clientRequestToken: "STRING_VALUE",
45
+ * // callerReactions: [ // CallerReactions
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // reactionCounts: { // ReactionCountsMap
49
+ * // "<keys>": Number("int"),
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
35
54
  * ```
36
55
  *
37
56
  * @param UpdateCommentCommandInput - {@link UpdateCommentCommandInput}
@@ -62,6 +81,8 @@ export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __Metad
62
81
  * @throws {@link InvalidCommentIdException} (client fault)
63
82
  * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
64
83
  *
84
+ * @throws {@link CodeCommitServiceException}
85
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
65
86
  *
66
87
  */
67
88
  export declare class UpdateCommentCommand extends $Command<UpdateCommentCommandInput, UpdateCommentCommandOutput, CodeCommitClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new UpdateDefaultBranchCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UpdateDefaultBranchCommandInput - {@link UpdateDefaultBranchCommandInput}
@@ -82,6 +84,8 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
82
84
  * @throws {@link RepositoryNameRequiredException} (client fault)
83
85
  * <p>A repository name is required, but was not specified.</p>
84
86
  *
87
+ * @throws {@link CodeCommitServiceException}
88
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
85
89
  *
86
90
  */
87
91
  export declare class UpdateDefaultBranchCommand extends $Command<UpdateDefaultBranchCommandInput, UpdateDefaultBranchCommandOutput, CodeCommitClientResolvedConfig> {
@@ -35,6 +35,22 @@ export interface UpdatePullRequestApprovalRuleContentCommandOutput extends Updat
35
35
  * };
36
36
  * const command = new UpdatePullRequestApprovalRuleContentCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // UpdatePullRequestApprovalRuleContentOutput
39
+ * // approvalRule: { // ApprovalRule
40
+ * // approvalRuleId: "STRING_VALUE",
41
+ * // approvalRuleName: "STRING_VALUE",
42
+ * // approvalRuleContent: "STRING_VALUE",
43
+ * // ruleContentSha256: "STRING_VALUE",
44
+ * // lastModifiedDate: new Date("TIMESTAMP"),
45
+ * // creationDate: new Date("TIMESTAMP"),
46
+ * // lastModifiedUser: "STRING_VALUE",
47
+ * // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
48
+ * // approvalRuleTemplateId: "STRING_VALUE",
49
+ * // approvalRuleTemplateName: "STRING_VALUE",
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
38
54
  * ```
39
55
  *
40
56
  * @param UpdatePullRequestApprovalRuleContentCommandInput - {@link UpdatePullRequestApprovalRuleContentCommandInput}
@@ -92,6 +108,8 @@ export interface UpdatePullRequestApprovalRuleContentCommandOutput extends Updat
92
108
  * @throws {@link PullRequestIdRequiredException} (client fault)
93
109
  * <p>A pull request ID is required, but none was provided.</p>
94
110
  *
111
+ * @throws {@link CodeCommitServiceException}
112
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
95
113
  *
96
114
  */
97
115
  export declare class UpdatePullRequestApprovalRuleContentCommand extends $Command<UpdatePullRequestApprovalRuleContentCommandInput, UpdatePullRequestApprovalRuleContentCommandOutput, CodeCommitClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataB
33
33
  * };
34
34
  * const command = new UpdatePullRequestApprovalStateCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param UpdatePullRequestApprovalStateCommandInput - {@link UpdatePullRequestApprovalStateCommandInput}
@@ -90,6 +92,8 @@ export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataB
90
92
  * @throws {@link RevisionNotCurrentException} (client fault)
91
93
  * <p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>
92
94
  *
95
+ * @throws {@link CodeCommitServiceException}
96
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
93
97
  *
94
98
  */
95
99
  export declare class UpdatePullRequestApprovalStateCommand extends $Command<UpdatePullRequestApprovalStateCommandInput, UpdatePullRequestApprovalStateCommandOutput, CodeCommitClientResolvedConfig> {
@@ -32,6 +32,51 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
32
32
  * };
33
33
  * const command = new UpdatePullRequestDescriptionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdatePullRequestDescriptionOutput
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 UpdatePullRequestDescriptionCommandInput - {@link UpdatePullRequestDescriptionCommandInput}
@@ -56,6 +101,8 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
56
101
  * @throws {@link PullRequestIdRequiredException} (client fault)
57
102
  * <p>A pull request ID is required, but none was provided.</p>
58
103
  *
104
+ * @throws {@link CodeCommitServiceException}
105
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
59
106
  *
60
107
  */
61
108
  export declare class UpdatePullRequestDescriptionCommand extends $Command<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
@@ -32,6 +32,51 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
32
32
  * };
33
33
  * const command = new UpdatePullRequestStatusCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdatePullRequestStatusOutput
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 UpdatePullRequestStatusCommandInput - {@link UpdatePullRequestStatusCommandInput}
@@ -73,6 +118,8 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
73
118
  * @throws {@link PullRequestStatusRequiredException} (client fault)
74
119
  * <p>A pull request status is required, but none was provided.</p>
75
120
  *
121
+ * @throws {@link CodeCommitServiceException}
122
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
76
123
  *
77
124
  */
78
125
  export declare class UpdatePullRequestStatusCommand extends $Command<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput, CodeCommitClientResolvedConfig> {