@aws-sdk/client-codecommit 3.325.0 → 3.326.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.
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -0
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +15 -0
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +71 -0
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +15 -0
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +33 -0
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +22 -0
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +15 -0
- package/dist-types/commands/CreateBranchCommand.d.ts +4 -0
- package/dist-types/commands/CreateCommitCommand.d.ts +28 -0
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +18 -0
- package/dist-types/commands/CreatePullRequestCommand.d.ts +47 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +17 -0
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +7 -0
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -0
- package/dist-types/commands/DeleteBranchCommand.d.ts +9 -0
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +21 -0
- package/dist-types/commands/DeleteFileCommand.d.ts +9 -0
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -0
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +60 -0
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +52 -0
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -0
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +15 -0
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +15 -0
- package/dist-types/commands/GetBlobCommand.d.ts +6 -0
- package/dist-types/commands/GetBranchCommand.d.ts +9 -0
- package/dist-types/commands/GetCommentCommand.d.ts +21 -0
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +19 -0
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +38 -0
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +39 -0
- package/dist-types/commands/GetCommitCommand.d.ts +24 -0
- package/dist-types/commands/GetDifferencesCommand.d.ts +21 -0
- package/dist-types/commands/GetFileCommand.d.ts +11 -0
- package/dist-types/commands/GetFolderCommand.d.ts +38 -0
- package/dist-types/commands/GetMergeCommitCommand.d.ts +9 -0
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +43 -0
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +11 -0
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +11 -0
- package/dist-types/commands/GetPullRequestCommand.d.ts +47 -0
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +7 -0
- package/dist-types/commands/GetRepositoryCommand.d.ts +17 -0
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +19 -0
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +9 -0
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +9 -0
- package/dist-types/commands/ListBranchesCommand.d.ts +9 -0
- package/dist-types/commands/ListPullRequestsCommand.d.ts +9 -0
- package/dist-types/commands/ListRepositoriesCommand.d.ts +12 -0
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +7 -0
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +7 -0
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +7 -0
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +47 -0
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +47 -0
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +47 -0
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +4 -0
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +31 -0
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +32 -0
- package/dist-types/commands/PostCommentReplyCommand.d.ts +21 -0
- package/dist-types/commands/PutCommentReactionCommand.d.ts +4 -0
- package/dist-types/commands/PutFileCommand.d.ts +8 -0
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +14 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +15 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +15 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +15 -0
- package/dist-types/commands/UpdateCommentCommand.d.ts +21 -0
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +18 -0
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +47 -0
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +47 -0
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +47 -0
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -0
- package/package.json +3 -3
|
@@ -41,6 +41,64 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DescribeMergeConflictsCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeMergeConflictsOutput
|
|
45
|
+
* // conflictMetadata: { // ConflictMetadata
|
|
46
|
+
* // filePath: "STRING_VALUE",
|
|
47
|
+
* // fileSizes: { // FileSizes
|
|
48
|
+
* // source: Number("long"),
|
|
49
|
+
* // destination: Number("long"),
|
|
50
|
+
* // base: Number("long"),
|
|
51
|
+
* // },
|
|
52
|
+
* // fileModes: { // FileModes
|
|
53
|
+
* // source: "STRING_VALUE",
|
|
54
|
+
* // destination: "STRING_VALUE",
|
|
55
|
+
* // base: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // objectTypes: { // ObjectTypes
|
|
58
|
+
* // source: "STRING_VALUE",
|
|
59
|
+
* // destination: "STRING_VALUE",
|
|
60
|
+
* // base: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // numberOfConflicts: Number("int"),
|
|
63
|
+
* // isBinaryFile: { // IsBinaryFile
|
|
64
|
+
* // source: true || false,
|
|
65
|
+
* // destination: true || false,
|
|
66
|
+
* // base: true || false,
|
|
67
|
+
* // },
|
|
68
|
+
* // contentConflict: true || false,
|
|
69
|
+
* // fileModeConflict: true || false,
|
|
70
|
+
* // objectTypeConflict: true || false,
|
|
71
|
+
* // mergeOperations: { // MergeOperations
|
|
72
|
+
* // source: "STRING_VALUE",
|
|
73
|
+
* // destination: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // mergeHunks: [ // MergeHunks // required
|
|
77
|
+
* // { // MergeHunk
|
|
78
|
+
* // isConflict: true || false,
|
|
79
|
+
* // source: { // MergeHunkDetail
|
|
80
|
+
* // startLine: Number("int"),
|
|
81
|
+
* // endLine: Number("int"),
|
|
82
|
+
* // hunkContent: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // destination: {
|
|
85
|
+
* // startLine: Number("int"),
|
|
86
|
+
* // endLine: Number("int"),
|
|
87
|
+
* // hunkContent: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // base: {
|
|
90
|
+
* // startLine: Number("int"),
|
|
91
|
+
* // endLine: Number("int"),
|
|
92
|
+
* // hunkContent: "STRING_VALUE",
|
|
93
|
+
* // },
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // nextToken: "STRING_VALUE",
|
|
97
|
+
* // destinationCommitId: "STRING_VALUE", // required
|
|
98
|
+
* // sourceCommitId: "STRING_VALUE", // required
|
|
99
|
+
* // baseCommitId: "STRING_VALUE",
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
44
102
|
* ```
|
|
45
103
|
*
|
|
46
104
|
* @param DescribeMergeConflictsCommandInput - {@link DescribeMergeConflictsCommandInput}
|
|
@@ -126,6 +184,8 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
|
|
|
126
184
|
* <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
|
|
127
185
|
* any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
|
|
128
186
|
*
|
|
187
|
+
* @throws {@link CodeCommitServiceException}
|
|
188
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
129
189
|
*
|
|
130
190
|
*/
|
|
131
191
|
export declare class DescribeMergeConflictsCommand extends $Command<DescribeMergeConflictsCommandInput, DescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -35,6 +35,56 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DescribePullRequestEventsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribePullRequestEventsOutput
|
|
39
|
+
* // pullRequestEvents: [ // PullRequestEventList // required
|
|
40
|
+
* // { // PullRequestEvent
|
|
41
|
+
* // pullRequestId: "STRING_VALUE",
|
|
42
|
+
* // eventDate: new Date("TIMESTAMP"),
|
|
43
|
+
* // pullRequestEventType: "STRING_VALUE",
|
|
44
|
+
* // actorArn: "STRING_VALUE",
|
|
45
|
+
* // pullRequestCreatedEventMetadata: { // PullRequestCreatedEventMetadata
|
|
46
|
+
* // repositoryName: "STRING_VALUE",
|
|
47
|
+
* // sourceCommitId: "STRING_VALUE",
|
|
48
|
+
* // destinationCommitId: "STRING_VALUE",
|
|
49
|
+
* // mergeBase: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // pullRequestStatusChangedEventMetadata: { // PullRequestStatusChangedEventMetadata
|
|
52
|
+
* // pullRequestStatus: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // pullRequestSourceReferenceUpdatedEventMetadata: { // PullRequestSourceReferenceUpdatedEventMetadata
|
|
55
|
+
* // repositoryName: "STRING_VALUE",
|
|
56
|
+
* // beforeCommitId: "STRING_VALUE",
|
|
57
|
+
* // afterCommitId: "STRING_VALUE",
|
|
58
|
+
* // mergeBase: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // pullRequestMergedStateChangedEventMetadata: { // PullRequestMergedStateChangedEventMetadata
|
|
61
|
+
* // repositoryName: "STRING_VALUE",
|
|
62
|
+
* // destinationReference: "STRING_VALUE",
|
|
63
|
+
* // mergeMetadata: { // MergeMetadata
|
|
64
|
+
* // isMerged: true || false,
|
|
65
|
+
* // mergedBy: "STRING_VALUE",
|
|
66
|
+
* // mergeCommitId: "STRING_VALUE",
|
|
67
|
+
* // mergeOption: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // approvalRuleEventMetadata: { // ApprovalRuleEventMetadata
|
|
71
|
+
* // approvalRuleName: "STRING_VALUE",
|
|
72
|
+
* // approvalRuleId: "STRING_VALUE",
|
|
73
|
+
* // approvalRuleContent: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // approvalStateChangedEventMetadata: { // ApprovalStateChangedEventMetadata
|
|
76
|
+
* // revisionId: "STRING_VALUE",
|
|
77
|
+
* // approvalStatus: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // approvalRuleOverriddenEventMetadata: { // ApprovalRuleOverriddenEventMetadata
|
|
80
|
+
* // revisionId: "STRING_VALUE",
|
|
81
|
+
* // overrideStatus: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // nextToken: "STRING_VALUE",
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
38
88
|
* ```
|
|
39
89
|
*
|
|
40
90
|
* @param DescribePullRequestEventsCommandInput - {@link DescribePullRequestEventsCommandInput}
|
|
@@ -83,6 +133,8 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
|
|
|
83
133
|
* @throws {@link PullRequestIdRequiredException} (client fault)
|
|
84
134
|
* <p>A pull request ID is required, but none was provided.</p>
|
|
85
135
|
*
|
|
136
|
+
* @throws {@link CodeCommitServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
86
138
|
*
|
|
87
139
|
*/
|
|
88
140
|
export declare class DescribePullRequestEventsCommand extends $Command<DescribePullRequestEventsCommandInput, DescribePullRequestEventsCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface DisassociateApprovalRuleTemplateFromRepositoryCommandOutput ext
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DisassociateApprovalRuleTemplateFromRepositoryCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param DisassociateApprovalRuleTemplateFromRepositoryCommandInput - {@link DisassociateApprovalRuleTemplateFromRepositoryCommandInput}
|
|
@@ -86,6 +88,8 @@ export interface DisassociateApprovalRuleTemplateFromRepositoryCommandOutput ext
|
|
|
86
88
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
87
89
|
* <p>A repository name is required, but was not specified.</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 DisassociateApprovalRuleTemplateFromRepositoryCommand extends $Command<DisassociateApprovalRuleTemplateFromRepositoryCommandInput, DisassociateApprovalRuleTemplateFromRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -32,6 +32,19 @@ export interface EvaluatePullRequestApprovalRulesCommandOutput extends EvaluateP
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new EvaluatePullRequestApprovalRulesCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // EvaluatePullRequestApprovalRulesOutput
|
|
36
|
+
* // evaluation: { // Evaluation
|
|
37
|
+
* // approved: true || false,
|
|
38
|
+
* // overridden: true || false,
|
|
39
|
+
* // approvalRulesSatisfied: [ // ApprovalRulesSatisfiedList
|
|
40
|
+
* // "STRING_VALUE",
|
|
41
|
+
* // ],
|
|
42
|
+
* // approvalRulesNotSatisfied: [ // ApprovalRulesNotSatisfiedList
|
|
43
|
+
* // "STRING_VALUE",
|
|
44
|
+
* // ],
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
35
48
|
* ```
|
|
36
49
|
*
|
|
37
50
|
* @param EvaluatePullRequestApprovalRulesCommandInput - {@link EvaluatePullRequestApprovalRulesCommandInput}
|
|
@@ -73,6 +86,8 @@ export interface EvaluatePullRequestApprovalRulesCommandOutput extends EvaluateP
|
|
|
73
86
|
* @throws {@link RevisionNotCurrentException} (client fault)
|
|
74
87
|
* <p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>
|
|
75
88
|
*
|
|
89
|
+
* @throws {@link CodeCommitServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
76
91
|
*
|
|
77
92
|
*/
|
|
78
93
|
export declare class EvaluatePullRequestApprovalRulesCommand extends $Command<EvaluatePullRequestApprovalRulesCommandInput, EvaluatePullRequestApprovalRulesCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -31,6 +31,19 @@ export interface GetApprovalRuleTemplateCommandOutput extends GetApprovalRuleTem
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetApprovalRuleTemplateCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetApprovalRuleTemplateOutput
|
|
35
|
+
* // approvalRuleTemplate: { // ApprovalRuleTemplate
|
|
36
|
+
* // approvalRuleTemplateId: "STRING_VALUE",
|
|
37
|
+
* // approvalRuleTemplateName: "STRING_VALUE",
|
|
38
|
+
* // approvalRuleTemplateDescription: "STRING_VALUE",
|
|
39
|
+
* // approvalRuleTemplateContent: "STRING_VALUE",
|
|
40
|
+
* // ruleContentSha256: "STRING_VALUE",
|
|
41
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
42
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
43
|
+
* // lastModifiedUser: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
34
47
|
* ```
|
|
35
48
|
*
|
|
36
49
|
* @param GetApprovalRuleTemplateCommandInput - {@link GetApprovalRuleTemplateCommandInput}
|
|
@@ -52,6 +65,8 @@ export interface GetApprovalRuleTemplateCommandOutput extends GetApprovalRuleTem
|
|
|
52
65
|
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
|
|
53
66
|
* CodeCommit User Guide</a>.</p>
|
|
54
67
|
*
|
|
68
|
+
* @throws {@link CodeCommitServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
55
70
|
*
|
|
56
71
|
*/
|
|
57
72
|
export declare class GetApprovalRuleTemplateCommand extends $Command<GetApprovalRuleTemplateCommandInput, GetApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -32,6 +32,10 @@ export interface GetBlobCommandOutput extends GetBlobOutput, __MetadataBearer {
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetBlobCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetBlobOutput
|
|
36
|
+
* // content: "BLOB_VALUE", // required
|
|
37
|
+
* // };
|
|
38
|
+
*
|
|
35
39
|
* ```
|
|
36
40
|
*
|
|
37
41
|
* @param GetBlobCommandInput - {@link GetBlobCommandInput}
|
|
@@ -83,6 +87,8 @@ export interface GetBlobCommandOutput extends GetBlobOutput, __MetadataBearer {
|
|
|
83
87
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
84
88
|
* <p>A repository name is required, but was not specified.</p>
|
|
85
89
|
*
|
|
90
|
+
* @throws {@link CodeCommitServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
86
92
|
*
|
|
87
93
|
*/
|
|
88
94
|
export declare class GetBlobCommand extends $Command<GetBlobCommandInput, GetBlobCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -32,6 +32,13 @@ export interface GetBranchCommandOutput extends GetBranchOutput, __MetadataBeare
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetBranchCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetBranchOutput
|
|
36
|
+
* // branch: { // BranchInfo
|
|
37
|
+
* // branchName: "STRING_VALUE",
|
|
38
|
+
* // commitId: "STRING_VALUE",
|
|
39
|
+
* // },
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
35
42
|
* ```
|
|
36
43
|
*
|
|
37
44
|
* @param GetBranchCommandInput - {@link GetBranchCommandInput}
|
|
@@ -79,6 +86,8 @@ export interface GetBranchCommandOutput extends GetBranchOutput, __MetadataBeare
|
|
|
79
86
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
80
87
|
* <p>A repository name is required, but was not specified.</p>
|
|
81
88
|
*
|
|
89
|
+
* @throws {@link CodeCommitServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
82
91
|
*
|
|
83
92
|
*/
|
|
84
93
|
export declare class GetBranchCommand extends $Command<GetBranchCommandInput, GetBranchCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -35,6 +35,25 @@ export interface GetCommentCommandOutput extends GetCommentOutput, __MetadataBea
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetCommentCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // GetCommentOutput
|
|
39
|
+
* // comment: { // Comment
|
|
40
|
+
* // commentId: "STRING_VALUE",
|
|
41
|
+
* // content: "STRING_VALUE",
|
|
42
|
+
* // inReplyTo: "STRING_VALUE",
|
|
43
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
44
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
45
|
+
* // authorArn: "STRING_VALUE",
|
|
46
|
+
* // deleted: true || false,
|
|
47
|
+
* // clientRequestToken: "STRING_VALUE",
|
|
48
|
+
* // callerReactions: [ // CallerReactions
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // reactionCounts: { // ReactionCountsMap
|
|
52
|
+
* // "<keys>": Number("int"),
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
38
57
|
* ```
|
|
39
58
|
*
|
|
40
59
|
* @param GetCommentCommandInput - {@link GetCommentCommandInput}
|
|
@@ -71,6 +90,8 @@ export interface GetCommentCommandOutput extends GetCommentOutput, __MetadataBea
|
|
|
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 GetCommentCommand extends $Command<GetCommentCommandInput, GetCommentCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -34,6 +34,23 @@ export interface GetCommentReactionsCommandOutput extends GetCommentReactionsOut
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new GetCommentReactionsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // GetCommentReactionsOutput
|
|
38
|
+
* // reactionsForComment: [ // ReactionsForCommentList // required
|
|
39
|
+
* // { // ReactionForComment
|
|
40
|
+
* // reaction: { // ReactionValueFormats
|
|
41
|
+
* // emoji: "STRING_VALUE",
|
|
42
|
+
* // shortCode: "STRING_VALUE",
|
|
43
|
+
* // unicode: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // reactionUsers: [ // ReactionUsersList
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // reactionsFromDeletedUsersCount: Number("int"),
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // nextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
37
54
|
* ```
|
|
38
55
|
*
|
|
39
56
|
* @param GetCommentReactionsCommandInput - {@link GetCommentReactionsCommandInput}
|
|
@@ -64,6 +81,8 @@ export interface GetCommentReactionsCommandOutput extends GetCommentReactionsOut
|
|
|
64
81
|
* @throws {@link InvalidReactionUserArnException} (client fault)
|
|
65
82
|
* <p>The Amazon Resource Name (ARN) of the user or identity is not valid.</p>
|
|
66
83
|
*
|
|
84
|
+
* @throws {@link CodeCommitServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
67
86
|
*
|
|
68
87
|
*/
|
|
69
88
|
export declare class GetCommentReactionsCommand extends $Command<GetCommentReactionsCommandInput, GetCommentReactionsCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -39,6 +39,42 @@ export interface GetCommentsForComparedCommitCommandOutput extends GetCommentsFo
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new GetCommentsForComparedCommitCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCommentsForComparedCommitOutput
|
|
43
|
+
* // commentsForComparedCommitData: [ // CommentsForComparedCommitData
|
|
44
|
+
* // { // CommentsForComparedCommit
|
|
45
|
+
* // repositoryName: "STRING_VALUE",
|
|
46
|
+
* // beforeCommitId: "STRING_VALUE",
|
|
47
|
+
* // afterCommitId: "STRING_VALUE",
|
|
48
|
+
* // beforeBlobId: "STRING_VALUE",
|
|
49
|
+
* // afterBlobId: "STRING_VALUE",
|
|
50
|
+
* // location: { // Location
|
|
51
|
+
* // filePath: "STRING_VALUE",
|
|
52
|
+
* // filePosition: Number("long"),
|
|
53
|
+
* // relativeFileVersion: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // comments: [ // Comments
|
|
56
|
+
* // { // 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
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // nextToken: "STRING_VALUE",
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
42
78
|
* ```
|
|
43
79
|
*
|
|
44
80
|
* @param GetCommentsForComparedCommitCommandInput - {@link GetCommentsForComparedCommitCommandInput}
|
|
@@ -92,6 +128,8 @@ export interface GetCommentsForComparedCommitCommandOutput extends GetCommentsFo
|
|
|
92
128
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
93
129
|
* <p>A repository name is required, but was not specified.</p>
|
|
94
130
|
*
|
|
131
|
+
* @throws {@link CodeCommitServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
95
133
|
*
|
|
96
134
|
*/
|
|
97
135
|
export declare class GetCommentsForComparedCommitCommand extends $Command<GetCommentsForComparedCommitCommandInput, GetCommentsForComparedCommitCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -40,6 +40,43 @@ export interface GetCommentsForPullRequestCommandOutput extends GetCommentsForPu
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetCommentsForPullRequestCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // GetCommentsForPullRequestOutput
|
|
44
|
+
* // commentsForPullRequestData: [ // CommentsForPullRequestData
|
|
45
|
+
* // { // CommentsForPullRequest
|
|
46
|
+
* // pullRequestId: "STRING_VALUE",
|
|
47
|
+
* // repositoryName: "STRING_VALUE",
|
|
48
|
+
* // beforeCommitId: "STRING_VALUE",
|
|
49
|
+
* // afterCommitId: "STRING_VALUE",
|
|
50
|
+
* // beforeBlobId: "STRING_VALUE",
|
|
51
|
+
* // afterBlobId: "STRING_VALUE",
|
|
52
|
+
* // location: { // Location
|
|
53
|
+
* // filePath: "STRING_VALUE",
|
|
54
|
+
* // filePosition: Number("long"),
|
|
55
|
+
* // relativeFileVersion: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // comments: [ // Comments
|
|
58
|
+
* // { // Comment
|
|
59
|
+
* // commentId: "STRING_VALUE",
|
|
60
|
+
* // content: "STRING_VALUE",
|
|
61
|
+
* // inReplyTo: "STRING_VALUE",
|
|
62
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
64
|
+
* // authorArn: "STRING_VALUE",
|
|
65
|
+
* // deleted: true || false,
|
|
66
|
+
* // clientRequestToken: "STRING_VALUE",
|
|
67
|
+
* // callerReactions: [ // CallerReactions
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // reactionCounts: { // ReactionCountsMap
|
|
71
|
+
* // "<keys>": Number("int"),
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // nextToken: "STRING_VALUE",
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
43
80
|
* ```
|
|
44
81
|
*
|
|
45
82
|
* @param GetCommentsForPullRequestCommandInput - {@link GetCommentsForPullRequestCommandInput}
|
|
@@ -105,6 +142,8 @@ export interface GetCommentsForPullRequestCommandOutput extends GetCommentsForPu
|
|
|
105
142
|
* @throws {@link RepositoryNotAssociatedWithPullRequestException} (client fault)
|
|
106
143
|
* <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>
|
|
107
144
|
*
|
|
145
|
+
* @throws {@link CodeCommitServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
108
147
|
*
|
|
109
148
|
*/
|
|
110
149
|
export declare class GetCommentsForPullRequestCommand extends $Command<GetCommentsForPullRequestCommandInput, GetCommentsForPullRequestCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -32,6 +32,28 @@ export interface GetCommitCommandOutput extends GetCommitOutput, __MetadataBeare
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetCommitCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetCommitOutput
|
|
36
|
+
* // commit: { // Commit
|
|
37
|
+
* // commitId: "STRING_VALUE",
|
|
38
|
+
* // treeId: "STRING_VALUE",
|
|
39
|
+
* // parents: [ // ParentList
|
|
40
|
+
* // "STRING_VALUE",
|
|
41
|
+
* // ],
|
|
42
|
+
* // message: "STRING_VALUE",
|
|
43
|
+
* // author: { // UserInfo
|
|
44
|
+
* // name: "STRING_VALUE",
|
|
45
|
+
* // email: "STRING_VALUE",
|
|
46
|
+
* // date: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // committer: {
|
|
49
|
+
* // name: "STRING_VALUE",
|
|
50
|
+
* // email: "STRING_VALUE",
|
|
51
|
+
* // date: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // additionalData: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
35
57
|
* ```
|
|
36
58
|
*
|
|
37
59
|
* @param GetCommitCommandInput - {@link GetCommitCommandInput}
|
|
@@ -79,6 +101,8 @@ export interface GetCommitCommandOutput extends GetCommitOutput, __MetadataBeare
|
|
|
79
101
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
80
102
|
* <p>A repository name is required, but was not specified.</p>
|
|
81
103
|
*
|
|
104
|
+
* @throws {@link CodeCommitServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
82
106
|
*
|
|
83
107
|
*/
|
|
84
108
|
export declare class GetCommitCommand extends $Command<GetCommitCommandInput, GetCommitCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -39,6 +39,25 @@ export interface GetDifferencesCommandOutput extends GetDifferencesOutput, __Met
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new GetDifferencesCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDifferencesOutput
|
|
43
|
+
* // differences: [ // DifferenceList
|
|
44
|
+
* // { // Difference
|
|
45
|
+
* // beforeBlob: { // BlobMetadata
|
|
46
|
+
* // blobId: "STRING_VALUE",
|
|
47
|
+
* // path: "STRING_VALUE",
|
|
48
|
+
* // mode: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // afterBlob: {
|
|
51
|
+
* // blobId: "STRING_VALUE",
|
|
52
|
+
* // path: "STRING_VALUE",
|
|
53
|
+
* // mode: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // changeType: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
42
61
|
* ```
|
|
43
62
|
*
|
|
44
63
|
* @param GetDifferencesCommandInput - {@link GetDifferencesCommandInput}
|
|
@@ -101,6 +120,8 @@ export interface GetDifferencesCommandOutput extends GetDifferencesOutput, __Met
|
|
|
101
120
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
102
121
|
* <p>A repository name is required, but was not specified.</p>
|
|
103
122
|
*
|
|
123
|
+
* @throws {@link CodeCommitServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
104
125
|
*
|
|
105
126
|
*/
|
|
106
127
|
export declare class GetDifferencesCommand extends $Command<GetDifferencesCommandInput, GetDifferencesCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,15 @@ export interface GetFileCommandOutput extends GetFileOutput, __MetadataBearer {
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetFileCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetFileOutput
|
|
37
|
+
* // commitId: "STRING_VALUE", // required
|
|
38
|
+
* // blobId: "STRING_VALUE", // required
|
|
39
|
+
* // filePath: "STRING_VALUE", // required
|
|
40
|
+
* // fileMode: "STRING_VALUE", // required
|
|
41
|
+
* // fileSize: Number("long"), // required
|
|
42
|
+
* // fileContent: "BLOB_VALUE", // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
36
45
|
* ```
|
|
37
46
|
*
|
|
38
47
|
* @param GetFileCommandInput - {@link GetFileCommandInput}
|
|
@@ -91,6 +100,8 @@ export interface GetFileCommandOutput extends GetFileOutput, __MetadataBearer {
|
|
|
91
100
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
92
101
|
* <p>A repository name is required, but was not specified.</p>
|
|
93
102
|
*
|
|
103
|
+
* @throws {@link CodeCommitServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
94
105
|
*
|
|
95
106
|
*/
|
|
96
107
|
export declare class GetFileCommand extends $Command<GetFileCommandInput, GetFileCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,42 @@ export interface GetFolderCommandOutput extends GetFolderOutput, __MetadataBeare
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetFolderCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetFolderOutput
|
|
37
|
+
* // commitId: "STRING_VALUE", // required
|
|
38
|
+
* // folderPath: "STRING_VALUE", // required
|
|
39
|
+
* // treeId: "STRING_VALUE",
|
|
40
|
+
* // subFolders: [ // FolderList
|
|
41
|
+
* // { // Folder
|
|
42
|
+
* // treeId: "STRING_VALUE",
|
|
43
|
+
* // absolutePath: "STRING_VALUE",
|
|
44
|
+
* // relativePath: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // files: [ // FileList
|
|
48
|
+
* // { // File
|
|
49
|
+
* // blobId: "STRING_VALUE",
|
|
50
|
+
* // absolutePath: "STRING_VALUE",
|
|
51
|
+
* // relativePath: "STRING_VALUE",
|
|
52
|
+
* // fileMode: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // symbolicLinks: [ // SymbolicLinkList
|
|
56
|
+
* // { // SymbolicLink
|
|
57
|
+
* // blobId: "STRING_VALUE",
|
|
58
|
+
* // absolutePath: "STRING_VALUE",
|
|
59
|
+
* // relativePath: "STRING_VALUE",
|
|
60
|
+
* // fileMode: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // subModules: [ // SubModuleList
|
|
64
|
+
* // { // SubModule
|
|
65
|
+
* // commitId: "STRING_VALUE",
|
|
66
|
+
* // absolutePath: "STRING_VALUE",
|
|
67
|
+
* // relativePath: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
36
72
|
* ```
|
|
37
73
|
*
|
|
38
74
|
* @param GetFolderCommandInput - {@link GetFolderCommandInput}
|
|
@@ -87,6 +123,8 @@ export interface GetFolderCommandOutput extends GetFolderOutput, __MetadataBeare
|
|
|
87
123
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
88
124
|
* <p>A repository name is required, but was not specified.</p>
|
|
89
125
|
*
|
|
126
|
+
* @throws {@link CodeCommitServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
90
128
|
*
|
|
91
129
|
*/
|
|
92
130
|
export declare class GetFolderCommand extends $Command<GetFolderCommandInput, GetFolderCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -35,6 +35,13 @@ export interface GetMergeCommitCommandOutput extends GetMergeCommitOutput, __Met
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetMergeCommitCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // GetMergeCommitOutput
|
|
39
|
+
* // sourceCommitId: "STRING_VALUE",
|
|
40
|
+
* // destinationCommitId: "STRING_VALUE",
|
|
41
|
+
* // baseCommitId: "STRING_VALUE",
|
|
42
|
+
* // mergedCommitId: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
38
45
|
* ```
|
|
39
46
|
*
|
|
40
47
|
* @param GetMergeCommitCommandInput - {@link GetMergeCommitCommandInput}
|
|
@@ -88,6 +95,8 @@ export interface GetMergeCommitCommandOutput extends GetMergeCommitOutput, __Met
|
|
|
88
95
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
89
96
|
* <p>A repository name is required, but was not specified.</p>
|
|
90
97
|
*
|
|
98
|
+
* @throws {@link CodeCommitServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
91
100
|
*
|
|
92
101
|
*/
|
|
93
102
|
export declare class GetMergeCommitCommand extends $Command<GetMergeCommitCommandInput, GetMergeCommitCommandOutput, CodeCommitClientResolvedConfig> {
|