@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.
- 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 +7 -7
|
@@ -38,6 +38,47 @@ export interface GetMergeConflictsCommandOutput extends GetMergeConflictsOutput,
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new GetMergeConflictsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // GetMergeConflictsOutput
|
|
42
|
+
* // mergeable: true || false, // required
|
|
43
|
+
* // destinationCommitId: "STRING_VALUE", // required
|
|
44
|
+
* // sourceCommitId: "STRING_VALUE", // required
|
|
45
|
+
* // baseCommitId: "STRING_VALUE",
|
|
46
|
+
* // conflictMetadataList: [ // ConflictMetadataList // required
|
|
47
|
+
* // { // ConflictMetadata
|
|
48
|
+
* // filePath: "STRING_VALUE",
|
|
49
|
+
* // fileSizes: { // FileSizes
|
|
50
|
+
* // source: Number("long"),
|
|
51
|
+
* // destination: Number("long"),
|
|
52
|
+
* // base: Number("long"),
|
|
53
|
+
* // },
|
|
54
|
+
* // fileModes: { // FileModes
|
|
55
|
+
* // source: "STRING_VALUE",
|
|
56
|
+
* // destination: "STRING_VALUE",
|
|
57
|
+
* // base: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // objectTypes: { // ObjectTypes
|
|
60
|
+
* // source: "STRING_VALUE",
|
|
61
|
+
* // destination: "STRING_VALUE",
|
|
62
|
+
* // base: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // numberOfConflicts: Number("int"),
|
|
65
|
+
* // isBinaryFile: { // IsBinaryFile
|
|
66
|
+
* // source: true || false,
|
|
67
|
+
* // destination: true || false,
|
|
68
|
+
* // base: true || false,
|
|
69
|
+
* // },
|
|
70
|
+
* // contentConflict: true || false,
|
|
71
|
+
* // fileModeConflict: true || false,
|
|
72
|
+
* // objectTypeConflict: true || false,
|
|
73
|
+
* // mergeOperations: { // MergeOperations
|
|
74
|
+
* // source: "STRING_VALUE",
|
|
75
|
+
* // destination: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // nextToken: "STRING_VALUE",
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
41
82
|
* ```
|
|
42
83
|
*
|
|
43
84
|
* @param GetMergeConflictsCommandInput - {@link GetMergeConflictsCommandInput}
|
|
@@ -119,6 +160,8 @@ export interface GetMergeConflictsCommandOutput extends GetMergeConflictsOutput,
|
|
|
119
160
|
* <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
|
|
120
161
|
* any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
|
|
121
162
|
*
|
|
163
|
+
* @throws {@link CodeCommitServiceException}
|
|
164
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
122
165
|
*
|
|
123
166
|
*/
|
|
124
167
|
export declare class GetMergeConflictsCommand extends $Command<GetMergeConflictsCommandInput, GetMergeConflictsCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -37,6 +37,15 @@ export interface GetMergeOptionsCommandOutput extends GetMergeOptionsOutput, __M
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetMergeOptionsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetMergeOptionsOutput
|
|
41
|
+
* // mergeOptions: [ // MergeOptions // required
|
|
42
|
+
* // "STRING_VALUE",
|
|
43
|
+
* // ],
|
|
44
|
+
* // sourceCommitId: "STRING_VALUE", // required
|
|
45
|
+
* // destinationCommitId: "STRING_VALUE", // required
|
|
46
|
+
* // baseCommitId: "STRING_VALUE", // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
40
49
|
* ```
|
|
41
50
|
*
|
|
42
51
|
* @param GetMergeOptionsCommandInput - {@link GetMergeOptionsCommandInput}
|
|
@@ -100,6 +109,8 @@ export interface GetMergeOptionsCommandOutput extends GetMergeOptionsOutput, __M
|
|
|
100
109
|
* <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
|
|
101
110
|
* any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
|
|
102
111
|
*
|
|
112
|
+
* @throws {@link CodeCommitServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
103
114
|
*
|
|
104
115
|
*/
|
|
105
116
|
export declare class GetMergeOptionsCommand extends $Command<GetMergeOptionsCommandInput, GetMergeOptionsCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,15 @@ export interface GetPullRequestApprovalStatesCommandOutput extends GetPullReques
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetPullRequestApprovalStatesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetPullRequestApprovalStatesOutput
|
|
37
|
+
* // approvals: [ // ApprovalList
|
|
38
|
+
* // { // Approval
|
|
39
|
+
* // userArn: "STRING_VALUE",
|
|
40
|
+
* // approvalState: "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // ],
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
36
45
|
* ```
|
|
37
46
|
*
|
|
38
47
|
* @param GetPullRequestApprovalStatesCommandInput - {@link GetPullRequestApprovalStatesCommandInput}
|
|
@@ -71,6 +80,8 @@ export interface GetPullRequestApprovalStatesCommandOutput extends GetPullReques
|
|
|
71
80
|
* @throws {@link RevisionIdRequiredException} (client fault)
|
|
72
81
|
* <p>A revision ID is required, but was not provided.</p>
|
|
73
82
|
*
|
|
83
|
+
* @throws {@link CodeCommitServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
74
85
|
*
|
|
75
86
|
*/
|
|
76
87
|
export declare class GetPullRequestApprovalStatesCommand extends $Command<GetPullRequestApprovalStatesCommandInput, GetPullRequestApprovalStatesCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -31,6 +31,51 @@ export interface GetPullRequestCommandOutput extends GetPullRequestOutput, __Met
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetPullRequestCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetPullRequestOutput
|
|
35
|
+
* // pullRequest: { // PullRequest
|
|
36
|
+
* // pullRequestId: "STRING_VALUE",
|
|
37
|
+
* // title: "STRING_VALUE",
|
|
38
|
+
* // description: "STRING_VALUE",
|
|
39
|
+
* // lastActivityDate: new Date("TIMESTAMP"),
|
|
40
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
41
|
+
* // pullRequestStatus: "STRING_VALUE",
|
|
42
|
+
* // authorArn: "STRING_VALUE",
|
|
43
|
+
* // pullRequestTargets: [ // PullRequestTargetList
|
|
44
|
+
* // { // PullRequestTarget
|
|
45
|
+
* // repositoryName: "STRING_VALUE",
|
|
46
|
+
* // sourceReference: "STRING_VALUE",
|
|
47
|
+
* // destinationReference: "STRING_VALUE",
|
|
48
|
+
* // destinationCommit: "STRING_VALUE",
|
|
49
|
+
* // sourceCommit: "STRING_VALUE",
|
|
50
|
+
* // mergeBase: "STRING_VALUE",
|
|
51
|
+
* // mergeMetadata: { // MergeMetadata
|
|
52
|
+
* // isMerged: true || false,
|
|
53
|
+
* // mergedBy: "STRING_VALUE",
|
|
54
|
+
* // mergeCommitId: "STRING_VALUE",
|
|
55
|
+
* // mergeOption: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // clientRequestToken: "STRING_VALUE",
|
|
60
|
+
* // revisionId: "STRING_VALUE",
|
|
61
|
+
* // approvalRules: [ // ApprovalRulesList
|
|
62
|
+
* // { // ApprovalRule
|
|
63
|
+
* // approvalRuleId: "STRING_VALUE",
|
|
64
|
+
* // approvalRuleName: "STRING_VALUE",
|
|
65
|
+
* // approvalRuleContent: "STRING_VALUE",
|
|
66
|
+
* // ruleContentSha256: "STRING_VALUE",
|
|
67
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
68
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
69
|
+
* // lastModifiedUser: "STRING_VALUE",
|
|
70
|
+
* // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
|
|
71
|
+
* // approvalRuleTemplateId: "STRING_VALUE",
|
|
72
|
+
* // approvalRuleTemplateName: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
34
79
|
* ```
|
|
35
80
|
*
|
|
36
81
|
* @param GetPullRequestCommandInput - {@link GetPullRequestCommandInput}
|
|
@@ -63,6 +108,8 @@ export interface GetPullRequestCommandOutput extends GetPullRequestOutput, __Met
|
|
|
63
108
|
* @throws {@link PullRequestIdRequiredException} (client fault)
|
|
64
109
|
* <p>A pull request ID is required, but none was provided.</p>
|
|
65
110
|
*
|
|
111
|
+
* @throws {@link CodeCommitServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
66
113
|
*
|
|
67
114
|
*/
|
|
68
115
|
export declare class GetPullRequestCommand extends $Command<GetPullRequestCommandInput, GetPullRequestCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,11 @@ export interface GetPullRequestOverrideStateCommandOutput extends GetPullRequest
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetPullRequestOverrideStateCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetPullRequestOverrideStateOutput
|
|
37
|
+
* // overridden: true || false,
|
|
38
|
+
* // overrider: "STRING_VALUE",
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
38
43
|
* @param GetPullRequestOverrideStateCommandInput - {@link GetPullRequestOverrideStateCommandInput}
|
|
@@ -71,6 +76,8 @@ export interface GetPullRequestOverrideStateCommandOutput extends GetPullRequest
|
|
|
71
76
|
* @throws {@link RevisionIdRequiredException} (client fault)
|
|
72
77
|
* <p>A revision ID is required, but was not provided.</p>
|
|
73
78
|
*
|
|
79
|
+
* @throws {@link CodeCommitServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
74
81
|
*
|
|
75
82
|
*/
|
|
76
83
|
export declare class GetPullRequestOverrideStateCommand extends $Command<GetPullRequestOverrideStateCommandInput, GetPullRequestOverrideStateCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -39,6 +39,21 @@ export interface GetRepositoryCommandOutput extends GetRepositoryOutput, __Metad
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new GetRepositoryCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // GetRepositoryOutput
|
|
43
|
+
* // repositoryMetadata: { // RepositoryMetadata
|
|
44
|
+
* // accountId: "STRING_VALUE",
|
|
45
|
+
* // repositoryId: "STRING_VALUE",
|
|
46
|
+
* // repositoryName: "STRING_VALUE",
|
|
47
|
+
* // repositoryDescription: "STRING_VALUE",
|
|
48
|
+
* // defaultBranch: "STRING_VALUE",
|
|
49
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
50
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
51
|
+
* // cloneUrlHttp: "STRING_VALUE",
|
|
52
|
+
* // cloneUrlSsh: "STRING_VALUE",
|
|
53
|
+
* // Arn: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
42
57
|
* ```
|
|
43
58
|
*
|
|
44
59
|
* @param GetRepositoryCommandInput - {@link GetRepositoryCommandInput}
|
|
@@ -77,6 +92,8 @@ export interface GetRepositoryCommandOutput extends GetRepositoryOutput, __Metad
|
|
|
77
92
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
78
93
|
* <p>A repository name is required, but was not specified.</p>
|
|
79
94
|
*
|
|
95
|
+
* @throws {@link CodeCommitServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
80
97
|
*
|
|
81
98
|
*/
|
|
82
99
|
export declare class GetRepositoryCommand extends $Command<GetRepositoryCommandInput, GetRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -31,6 +31,23 @@ export interface GetRepositoryTriggersCommandOutput extends GetRepositoryTrigger
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetRepositoryTriggersCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetRepositoryTriggersOutput
|
|
35
|
+
* // configurationId: "STRING_VALUE",
|
|
36
|
+
* // triggers: [ // RepositoryTriggersList
|
|
37
|
+
* // { // RepositoryTrigger
|
|
38
|
+
* // name: "STRING_VALUE", // required
|
|
39
|
+
* // destinationArn: "STRING_VALUE", // required
|
|
40
|
+
* // customData: "STRING_VALUE",
|
|
41
|
+
* // branches: [ // BranchNameList
|
|
42
|
+
* // "STRING_VALUE",
|
|
43
|
+
* // ],
|
|
44
|
+
* // events: [ // RepositoryTriggerEventList // required
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
34
51
|
* ```
|
|
35
52
|
*
|
|
36
53
|
* @param GetRepositoryTriggersCommandInput - {@link GetRepositoryTriggersCommandInput}
|
|
@@ -69,6 +86,8 @@ export interface GetRepositoryTriggersCommandOutput extends GetRepositoryTrigger
|
|
|
69
86
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
70
87
|
* <p>A repository name is required, but was not specified.</p>
|
|
71
88
|
*
|
|
89
|
+
* @throws {@link CodeCommitServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
72
91
|
*
|
|
73
92
|
*/
|
|
74
93
|
export declare class GetRepositoryTriggersCommand extends $Command<GetRepositoryTriggersCommandInput, GetRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,13 @@ export interface ListApprovalRuleTemplatesCommandOutput extends ListApprovalRule
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListApprovalRuleTemplatesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListApprovalRuleTemplatesOutput
|
|
37
|
+
* // approvalRuleTemplateNames: [ // ApprovalRuleTemplateNameList
|
|
38
|
+
* // "STRING_VALUE",
|
|
39
|
+
* // ],
|
|
40
|
+
* // nextToken: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
36
43
|
* ```
|
|
37
44
|
*
|
|
38
45
|
* @param ListApprovalRuleTemplatesCommandInput - {@link ListApprovalRuleTemplatesCommandInput}
|
|
@@ -47,6 +54,8 @@ export interface ListApprovalRuleTemplatesCommandOutput extends ListApprovalRule
|
|
|
47
54
|
* @throws {@link InvalidMaxResultsException} (client fault)
|
|
48
55
|
* <p>The specified number of maximum results is not valid.</p>
|
|
49
56
|
*
|
|
57
|
+
* @throws {@link CodeCommitServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
50
59
|
*
|
|
51
60
|
*/
|
|
52
61
|
export declare class ListApprovalRuleTemplatesCommand extends $Command<ListApprovalRuleTemplatesCommandInput, ListApprovalRuleTemplatesCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,13 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput e
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListAssociatedApprovalRuleTemplatesForRepositoryCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListAssociatedApprovalRuleTemplatesForRepositoryOutput
|
|
37
|
+
* // approvalRuleTemplateNames: [ // ApprovalRuleTemplateNameList
|
|
38
|
+
* // "STRING_VALUE",
|
|
39
|
+
* // ],
|
|
40
|
+
* // nextToken: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
36
43
|
* ```
|
|
37
44
|
*
|
|
38
45
|
* @param ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput - {@link ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput}
|
|
@@ -77,6 +84,8 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput e
|
|
|
77
84
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
78
85
|
* <p>A repository name is required, but was not specified.</p>
|
|
79
86
|
*
|
|
87
|
+
* @throws {@link CodeCommitServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
80
89
|
*
|
|
81
90
|
*/
|
|
82
91
|
export declare class ListAssociatedApprovalRuleTemplatesForRepositoryCommand extends $Command<ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -32,6 +32,13 @@ export interface ListBranchesCommandOutput extends ListBranchesOutput, __Metadat
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListBranchesCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListBranchesOutput
|
|
36
|
+
* // branches: [ // BranchNameList
|
|
37
|
+
* // "STRING_VALUE",
|
|
38
|
+
* // ],
|
|
39
|
+
* // nextToken: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
35
42
|
* ```
|
|
36
43
|
*
|
|
37
44
|
* @param ListBranchesCommandInput - {@link ListBranchesCommandInput}
|
|
@@ -73,6 +80,8 @@ export interface ListBranchesCommandOutput extends ListBranchesOutput, __Metadat
|
|
|
73
80
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
74
81
|
* <p>A repository name is required, but was not specified.</p>
|
|
75
82
|
*
|
|
83
|
+
* @throws {@link CodeCommitServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
76
85
|
*
|
|
77
86
|
*/
|
|
78
87
|
export declare class ListBranchesCommand extends $Command<ListBranchesCommandInput, ListBranchesCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -36,6 +36,13 @@ export interface ListPullRequestsCommandOutput extends ListPullRequestsOutput, _
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListPullRequestsCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListPullRequestsOutput
|
|
40
|
+
* // pullRequestIds: [ // PullRequestIdList // required
|
|
41
|
+
* // "STRING_VALUE",
|
|
42
|
+
* // ],
|
|
43
|
+
* // nextToken: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
39
46
|
* ```
|
|
40
47
|
*
|
|
41
48
|
* @param ListPullRequestsCommandInput - {@link ListPullRequestsCommandInput}
|
|
@@ -89,6 +96,8 @@ export interface ListPullRequestsCommandOutput extends ListPullRequestsOutput, _
|
|
|
89
96
|
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
90
97
|
* <p>A repository name is required, but was not specified.</p>
|
|
91
98
|
*
|
|
99
|
+
* @throws {@link CodeCommitServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
92
101
|
*
|
|
93
102
|
*/
|
|
94
103
|
export declare class ListPullRequestsCommand extends $Command<ListPullRequestsCommandInput, ListPullRequestsCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,16 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesOutput, _
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListRepositoriesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListRepositoriesOutput
|
|
37
|
+
* // repositories: [ // RepositoryNameIdPairList
|
|
38
|
+
* // { // RepositoryNameIdPair
|
|
39
|
+
* // repositoryName: "STRING_VALUE",
|
|
40
|
+
* // repositoryId: "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // ],
|
|
43
|
+
* // nextToken: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
36
46
|
* ```
|
|
37
47
|
*
|
|
38
48
|
* @param ListRepositoriesCommandInput - {@link ListRepositoriesCommandInput}
|
|
@@ -50,6 +60,8 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesOutput, _
|
|
|
50
60
|
* @throws {@link InvalidSortByException} (client fault)
|
|
51
61
|
* <p>The specified sort by value is not valid.</p>
|
|
52
62
|
*
|
|
63
|
+
* @throws {@link CodeCommitServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
53
65
|
*
|
|
54
66
|
*/
|
|
55
67
|
export declare class ListRepositoriesCommand extends $Command<ListRepositoriesCommandInput, ListRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -33,6 +33,13 @@ export interface ListRepositoriesForApprovalRuleTemplateCommandOutput extends Li
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListRepositoriesForApprovalRuleTemplateCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListRepositoriesForApprovalRuleTemplateOutput
|
|
37
|
+
* // repositoryNames: [ // RepositoryNameList
|
|
38
|
+
* // "STRING_VALUE",
|
|
39
|
+
* // ],
|
|
40
|
+
* // nextToken: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
36
43
|
* ```
|
|
37
44
|
*
|
|
38
45
|
* @param ListRepositoriesForApprovalRuleTemplateCommandInput - {@link ListRepositoriesForApprovalRuleTemplateCommandInput}
|
|
@@ -75,6 +82,8 @@ export interface ListRepositoriesForApprovalRuleTemplateCommandOutput extends Li
|
|
|
75
82
|
* @throws {@link InvalidMaxResultsException} (client fault)
|
|
76
83
|
* <p>The specified number of maximum results is not valid.</p>
|
|
77
84
|
*
|
|
85
|
+
* @throws {@link CodeCommitServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
78
87
|
*
|
|
79
88
|
*/
|
|
80
89
|
export declare class ListRepositoriesForApprovalRuleTemplateCommand extends $Command<ListRepositoriesForApprovalRuleTemplateCommandInput, ListRepositoriesForApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -34,6 +34,13 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListTagsForResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListTagsForResourceOutput
|
|
38
|
+
* // tags: { // TagsMap
|
|
39
|
+
* // "<keys>": "STRING_VALUE",
|
|
40
|
+
* // },
|
|
41
|
+
* // nextToken: "STRING_VALUE",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
37
44
|
* ```
|
|
38
45
|
*
|
|
39
46
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -64,6 +71,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
64
71
|
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
|
|
65
72
|
* in the AWS CodeCommit User Guide.</p>
|
|
66
73
|
*
|
|
74
|
+
* @throws {@link CodeCommitServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
67
76
|
*
|
|
68
77
|
*/
|
|
69
78
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -34,6 +34,11 @@ export interface MergeBranchesByFastForwardCommandOutput extends MergeBranchesBy
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new MergeBranchesByFastForwardCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // MergeBranchesByFastForwardOutput
|
|
38
|
+
* // commitId: "STRING_VALUE",
|
|
39
|
+
* // treeId: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
37
42
|
* ```
|
|
38
43
|
*
|
|
39
44
|
* @param MergeBranchesByFastForwardCommandInput - {@link MergeBranchesByFastForwardCommandInput}
|
|
@@ -107,6 +112,8 @@ export interface MergeBranchesByFastForwardCommandOutput extends MergeBranchesBy
|
|
|
107
112
|
* <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
|
|
108
113
|
* any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
|
|
109
114
|
*
|
|
115
|
+
* @throws {@link CodeCommitServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
110
117
|
*
|
|
111
118
|
*/
|
|
112
119
|
export declare class MergeBranchesByFastForwardCommand extends $Command<MergeBranchesByFastForwardCommandInput, MergeBranchesByFastForwardCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -61,6 +61,11 @@ export interface MergeBranchesBySquashCommandOutput extends MergeBranchesBySquas
|
|
|
61
61
|
* };
|
|
62
62
|
* const command = new MergeBranchesBySquashCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
64
|
+
* // { // MergeBranchesBySquashOutput
|
|
65
|
+
* // commitId: "STRING_VALUE",
|
|
66
|
+
* // treeId: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
64
69
|
* ```
|
|
65
70
|
*
|
|
66
71
|
* @param MergeBranchesBySquashCommandInput - {@link MergeBranchesBySquashCommandInput}
|
|
@@ -200,6 +205,8 @@ export interface MergeBranchesBySquashCommandOutput extends MergeBranchesBySquas
|
|
|
200
205
|
* <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
|
|
201
206
|
* any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
|
|
202
207
|
*
|
|
208
|
+
* @throws {@link CodeCommitServiceException}
|
|
209
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
203
210
|
*
|
|
204
211
|
*/
|
|
205
212
|
export declare class MergeBranchesBySquashCommand extends $Command<MergeBranchesBySquashCommandInput, MergeBranchesBySquashCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -61,6 +61,11 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
|
|
|
61
61
|
* };
|
|
62
62
|
* const command = new MergeBranchesByThreeWayCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
64
|
+
* // { // MergeBranchesByThreeWayOutput
|
|
65
|
+
* // commitId: "STRING_VALUE",
|
|
66
|
+
* // treeId: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
64
69
|
* ```
|
|
65
70
|
*
|
|
66
71
|
* @param MergeBranchesByThreeWayCommandInput - {@link MergeBranchesByThreeWayCommandInput}
|
|
@@ -200,6 +205,8 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
|
|
|
200
205
|
* <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
|
|
201
206
|
* any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
|
|
202
207
|
*
|
|
208
|
+
* @throws {@link CodeCommitServiceException}
|
|
209
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
203
210
|
*
|
|
204
211
|
*/
|
|
205
212
|
export declare class MergeBranchesByThreeWayCommand extends $Command<MergeBranchesByThreeWayCommandInput, MergeBranchesByThreeWayCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -34,6 +34,51 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new MergePullRequestByFastForwardCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // MergePullRequestByFastForwardOutput
|
|
38
|
+
* // pullRequest: { // PullRequest
|
|
39
|
+
* // pullRequestId: "STRING_VALUE",
|
|
40
|
+
* // title: "STRING_VALUE",
|
|
41
|
+
* // description: "STRING_VALUE",
|
|
42
|
+
* // lastActivityDate: new Date("TIMESTAMP"),
|
|
43
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
44
|
+
* // pullRequestStatus: "STRING_VALUE",
|
|
45
|
+
* // authorArn: "STRING_VALUE",
|
|
46
|
+
* // pullRequestTargets: [ // PullRequestTargetList
|
|
47
|
+
* // { // PullRequestTarget
|
|
48
|
+
* // repositoryName: "STRING_VALUE",
|
|
49
|
+
* // sourceReference: "STRING_VALUE",
|
|
50
|
+
* // destinationReference: "STRING_VALUE",
|
|
51
|
+
* // destinationCommit: "STRING_VALUE",
|
|
52
|
+
* // sourceCommit: "STRING_VALUE",
|
|
53
|
+
* // mergeBase: "STRING_VALUE",
|
|
54
|
+
* // mergeMetadata: { // MergeMetadata
|
|
55
|
+
* // isMerged: true || false,
|
|
56
|
+
* // mergedBy: "STRING_VALUE",
|
|
57
|
+
* // mergeCommitId: "STRING_VALUE",
|
|
58
|
+
* // mergeOption: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // clientRequestToken: "STRING_VALUE",
|
|
63
|
+
* // revisionId: "STRING_VALUE",
|
|
64
|
+
* // approvalRules: [ // ApprovalRulesList
|
|
65
|
+
* // { // ApprovalRule
|
|
66
|
+
* // approvalRuleId: "STRING_VALUE",
|
|
67
|
+
* // approvalRuleName: "STRING_VALUE",
|
|
68
|
+
* // approvalRuleContent: "STRING_VALUE",
|
|
69
|
+
* // ruleContentSha256: "STRING_VALUE",
|
|
70
|
+
* // lastModifiedDate: new Date("TIMESTAMP"),
|
|
71
|
+
* // creationDate: new Date("TIMESTAMP"),
|
|
72
|
+
* // lastModifiedUser: "STRING_VALUE",
|
|
73
|
+
* // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
|
|
74
|
+
* // approvalRuleTemplateId: "STRING_VALUE",
|
|
75
|
+
* // approvalRuleTemplateName: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // };
|
|
81
|
+
*
|
|
37
82
|
* ```
|
|
38
83
|
*
|
|
39
84
|
* @param MergePullRequestByFastForwardCommandInput - {@link MergePullRequestByFastForwardCommandInput}
|
|
@@ -106,6 +151,8 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
|
|
|
106
151
|
* <p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.
|
|
107
152
|
* The pull request might have been updated. Make sure that you have the latest changes.</p>
|
|
108
153
|
*
|
|
154
|
+
* @throws {@link CodeCommitServiceException}
|
|
155
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
109
156
|
*
|
|
110
157
|
*/
|
|
111
158
|
export declare class MergePullRequestByFastForwardCommand extends $Command<MergePullRequestByFastForwardCommandInput, MergePullRequestByFastForwardCommandOutput, CodeCommitClientResolvedConfig> {
|
|
@@ -61,6 +61,51 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
61
61
|
* };
|
|
62
62
|
* const command = new MergePullRequestBySquashCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
64
|
+
* // { // MergePullRequestBySquashOutput
|
|
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 MergePullRequestBySquashCommandInput - {@link MergePullRequestBySquashCommandInput}
|
|
@@ -196,6 +241,8 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
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 MergePullRequestBySquashCommand extends $Command<MergePullRequestBySquashCommandInput, MergePullRequestBySquashCommandOutput, CodeCommitClientResolvedConfig> {
|