@aws-sdk/client-codecommit 3.533.0 → 3.535.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/CodeCommit.d.ts +4 -1
- package/dist-types/CodeCommitClient.d.ts +1 -1
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +2 -1
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/CreateBranchCommand.d.ts +2 -1
- package/dist-types/commands/CreateCommitCommand.d.ts +2 -1
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +2 -1
- package/dist-types/commands/CreatePullRequestCommand.d.ts +2 -1
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +2 -1
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBranchCommand.d.ts +2 -1
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +2 -1
- package/dist-types/commands/DeleteFileCommand.d.ts +2 -1
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +2 -1
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +2 -1
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/GetBlobCommand.d.ts +2 -1
- package/dist-types/commands/GetBranchCommand.d.ts +2 -1
- package/dist-types/commands/GetCommentCommand.d.ts +2 -1
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +2 -1
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +2 -1
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +2 -1
- package/dist-types/commands/GetCommitCommand.d.ts +2 -1
- package/dist-types/commands/GetDifferencesCommand.d.ts +2 -1
- package/dist-types/commands/GetFileCommand.d.ts +2 -1
- package/dist-types/commands/GetFolderCommand.d.ts +2 -1
- package/dist-types/commands/GetMergeCommitCommand.d.ts +2 -1
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +2 -1
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +2 -1
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +2 -1
- package/dist-types/commands/GetPullRequestCommand.d.ts +2 -1
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +2 -1
- package/dist-types/commands/GetRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +2 -1
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +2 -1
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/ListBranchesCommand.d.ts +2 -1
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +2 -1
- package/dist-types/commands/ListPullRequestsCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +2 -1
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +2 -1
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +2 -1
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +2 -1
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +2 -1
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +2 -1
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +2 -1
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +2 -1
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +2 -1
- package/dist-types/commands/PostCommentReplyCommand.d.ts +2 -1
- package/dist-types/commands/PutCommentReactionCommand.d.ts +2 -1
- package/dist-types/commands/PutFileCommand.d.ts +2 -1
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +2 -1
- package/dist-types/commands/UpdateCommentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +712 -712
- package/dist-types/models/models_1.d.ts +243 -243
- package/dist-types/ts3.4/CodeCommit.d.ts +3 -0
- package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetFileCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutFileCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -6,19 +6,19 @@ import { ApprovalRule, ApprovalRuleTemplate, ApprovalState, Comment, ConflictDet
|
|
|
6
6
|
*/
|
|
7
7
|
export interface ListFileCommitHistoryResponse {
|
|
8
8
|
/**
|
|
9
|
-
* @public
|
|
10
9
|
* <p>An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.</p>
|
|
10
|
+
* @public
|
|
11
11
|
*/
|
|
12
12
|
revisionDag: FileVersion[] | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* @public
|
|
15
14
|
* <p>An enumeration token that can be used to return the next batch of results.</p>
|
|
15
|
+
* @public
|
|
16
16
|
*/
|
|
17
17
|
nextToken?: string;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* @public
|
|
21
20
|
* <p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again.</p>
|
|
21
|
+
* @public
|
|
22
22
|
*/
|
|
23
23
|
export declare class InvalidAuthorArnException extends __BaseException {
|
|
24
24
|
readonly name: "InvalidAuthorArnException";
|
|
@@ -29,8 +29,8 @@ export declare class InvalidAuthorArnException extends __BaseException {
|
|
|
29
29
|
constructor(opts: __ExceptionOptionType<InvalidAuthorArnException, __BaseException>);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* @public
|
|
33
32
|
* <p>The pull request status is not valid. The only valid values are <code>OPEN</code> and <code>CLOSED</code>.</p>
|
|
33
|
+
* @public
|
|
34
34
|
*/
|
|
35
35
|
export declare class InvalidPullRequestStatusException extends __BaseException {
|
|
36
36
|
readonly name: "InvalidPullRequestStatusException";
|
|
@@ -45,30 +45,30 @@ export declare class InvalidPullRequestStatusException extends __BaseException {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface ListPullRequestsInput {
|
|
47
47
|
/**
|
|
48
|
-
* @public
|
|
49
48
|
* <p>The name of the repository for which you want to list pull requests.</p>
|
|
49
|
+
* @public
|
|
50
50
|
*/
|
|
51
51
|
repositoryName: string | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* @public
|
|
54
53
|
* <p>Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results
|
|
55
54
|
* to pull requests created by that user.</p>
|
|
55
|
+
* @public
|
|
56
56
|
*/
|
|
57
57
|
authorArn?: string;
|
|
58
58
|
/**
|
|
59
|
-
* @public
|
|
60
59
|
* <p>Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.</p>
|
|
60
|
+
* @public
|
|
61
61
|
*/
|
|
62
62
|
pullRequestStatus?: PullRequestStatusEnum;
|
|
63
63
|
/**
|
|
64
|
-
* @public
|
|
65
64
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
66
65
|
* results.</p>
|
|
66
|
+
* @public
|
|
67
67
|
*/
|
|
68
68
|
nextToken?: string;
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
maxResults?: number;
|
|
74
74
|
}
|
|
@@ -77,19 +77,19 @@ export interface ListPullRequestsInput {
|
|
|
77
77
|
*/
|
|
78
78
|
export interface ListPullRequestsOutput {
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The system-generated IDs of the pull requests.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
pullRequestIds: string[] | undefined;
|
|
84
84
|
/**
|
|
85
|
-
* @public
|
|
86
85
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
86
|
+
* @public
|
|
87
87
|
*/
|
|
88
88
|
nextToken?: string;
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* @public
|
|
92
91
|
* <p>The specified sort order is not valid.</p>
|
|
92
|
+
* @public
|
|
93
93
|
*/
|
|
94
94
|
export declare class InvalidOrderException extends __BaseException {
|
|
95
95
|
readonly name: "InvalidOrderException";
|
|
@@ -100,8 +100,8 @@ export declare class InvalidOrderException extends __BaseException {
|
|
|
100
100
|
constructor(opts: __ExceptionOptionType<InvalidOrderException, __BaseException>);
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
* @public
|
|
104
103
|
* <p>The specified sort by value is not valid.</p>
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
export declare class InvalidSortByException extends __BaseException {
|
|
107
107
|
readonly name: "InvalidSortByException";
|
|
@@ -136,59 +136,59 @@ export declare const SortByEnum: {
|
|
|
136
136
|
*/
|
|
137
137
|
export type SortByEnum = (typeof SortByEnum)[keyof typeof SortByEnum];
|
|
138
138
|
/**
|
|
139
|
-
* @public
|
|
140
139
|
* <p>Represents the input of a list repositories operation.</p>
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
export interface ListRepositoriesInput {
|
|
143
143
|
/**
|
|
144
|
-
* @public
|
|
145
144
|
* <p>An enumeration token that allows the operation to batch the results of the operation.
|
|
146
145
|
* Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit,
|
|
147
146
|
* another page of 1,000 records is retrieved.</p>
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
nextToken?: string;
|
|
150
150
|
/**
|
|
151
|
-
* @public
|
|
152
151
|
* <p>The criteria used to sort the results of a list repositories operation.</p>
|
|
152
|
+
* @public
|
|
153
153
|
*/
|
|
154
154
|
sortBy?: SortByEnum;
|
|
155
155
|
/**
|
|
156
|
-
* @public
|
|
157
156
|
* <p>The order in which to sort the results of a list repositories operation.</p>
|
|
157
|
+
* @public
|
|
158
158
|
*/
|
|
159
159
|
order?: OrderEnum;
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* <p>Information about a repository name and ID.</p>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
export interface RepositoryNameIdPair {
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <p>The name associated with the repository.</p>
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
repositoryName?: string;
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* <p>The ID associated with the repository.</p>
|
|
173
|
+
* @public
|
|
174
174
|
*/
|
|
175
175
|
repositoryId?: string;
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>Represents the output of a list repositories operation.</p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export interface ListRepositoriesOutput {
|
|
182
182
|
/**
|
|
183
|
-
* @public
|
|
184
183
|
* <p>Lists the repositories called by the list repositories operation.</p>
|
|
184
|
+
* @public
|
|
185
185
|
*/
|
|
186
186
|
repositories?: RepositoryNameIdPair[];
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>An enumeration token that allows the operation to batch the results of the operation.
|
|
190
189
|
* Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit,
|
|
191
190
|
* another page of 1,000 records is retrieved.</p>
|
|
191
|
+
* @public
|
|
192
192
|
*/
|
|
193
193
|
nextToken?: string;
|
|
194
194
|
}
|
|
@@ -197,19 +197,19 @@ export interface ListRepositoriesOutput {
|
|
|
197
197
|
*/
|
|
198
198
|
export interface ListRepositoriesForApprovalRuleTemplateInput {
|
|
199
199
|
/**
|
|
200
|
-
* @public
|
|
201
200
|
* <p>The name of the approval rule template for which you want to list repositories that are associated with that template.</p>
|
|
201
|
+
* @public
|
|
202
202
|
*/
|
|
203
203
|
approvalRuleTemplateName: string | undefined;
|
|
204
204
|
/**
|
|
205
|
-
* @public
|
|
206
205
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
207
206
|
* results.</p>
|
|
207
|
+
* @public
|
|
208
208
|
*/
|
|
209
209
|
nextToken?: string;
|
|
210
210
|
/**
|
|
211
|
-
* @public
|
|
212
211
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
212
|
+
* @public
|
|
213
213
|
*/
|
|
214
214
|
maxResults?: number;
|
|
215
215
|
}
|
|
@@ -218,21 +218,21 @@ export interface ListRepositoriesForApprovalRuleTemplateInput {
|
|
|
218
218
|
*/
|
|
219
219
|
export interface ListRepositoriesForApprovalRuleTemplateOutput {
|
|
220
220
|
/**
|
|
221
|
-
* @public
|
|
222
221
|
* <p>A list of repository names that are associated with the specified approval rule template.</p>
|
|
222
|
+
* @public
|
|
223
223
|
*/
|
|
224
224
|
repositoryNames?: string[];
|
|
225
225
|
/**
|
|
226
|
-
* @public
|
|
227
226
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
227
|
+
* @public
|
|
228
228
|
*/
|
|
229
229
|
nextToken?: string;
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
234
233
|
* <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>
|
|
235
234
|
* in the CodeCommit User Guide.</p>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
export declare class InvalidResourceArnException extends __BaseException {
|
|
238
238
|
readonly name: "InvalidResourceArnException";
|
|
@@ -247,15 +247,15 @@ export declare class InvalidResourceArnException extends __BaseException {
|
|
|
247
247
|
*/
|
|
248
248
|
export interface ListTagsForResourceInput {
|
|
249
249
|
/**
|
|
250
|
-
* @public
|
|
251
250
|
* <p>The Amazon Resource Name (ARN) of the resource for which you want to get information
|
|
252
251
|
* about tags, if any.</p>
|
|
252
|
+
* @public
|
|
253
253
|
*/
|
|
254
254
|
resourceArn: string | undefined;
|
|
255
255
|
/**
|
|
256
|
-
* @public
|
|
257
256
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
258
257
|
* results.</p>
|
|
258
|
+
* @public
|
|
259
259
|
*/
|
|
260
260
|
nextToken?: string;
|
|
261
261
|
}
|
|
@@ -264,21 +264,21 @@ export interface ListTagsForResourceInput {
|
|
|
264
264
|
*/
|
|
265
265
|
export interface ListTagsForResourceOutput {
|
|
266
266
|
/**
|
|
267
|
-
* @public
|
|
268
267
|
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
268
|
+
* @public
|
|
269
269
|
*/
|
|
270
270
|
tags?: Record<string, string>;
|
|
271
271
|
/**
|
|
272
|
-
* @public
|
|
273
272
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
273
|
+
* @public
|
|
274
274
|
*/
|
|
275
275
|
nextToken?: string;
|
|
276
276
|
}
|
|
277
277
|
/**
|
|
278
|
-
* @public
|
|
279
278
|
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
280
279
|
* <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>
|
|
281
280
|
* in the CodeCommit User Guide.</p>
|
|
281
|
+
* @public
|
|
282
282
|
*/
|
|
283
283
|
export declare class ResourceArnRequiredException extends __BaseException {
|
|
284
284
|
readonly name: "ResourceArnRequiredException";
|
|
@@ -289,8 +289,8 @@ export declare class ResourceArnRequiredException extends __BaseException {
|
|
|
289
289
|
constructor(opts: __ExceptionOptionType<ResourceArnRequiredException, __BaseException>);
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
|
-
* @public
|
|
293
292
|
* <p>The specified target branch is not valid.</p>
|
|
293
|
+
* @public
|
|
294
294
|
*/
|
|
295
295
|
export declare class InvalidTargetBranchException extends __BaseException {
|
|
296
296
|
readonly name: "InvalidTargetBranchException";
|
|
@@ -305,25 +305,25 @@ export declare class InvalidTargetBranchException extends __BaseException {
|
|
|
305
305
|
*/
|
|
306
306
|
export interface MergeBranchesByFastForwardInput {
|
|
307
307
|
/**
|
|
308
|
-
* @public
|
|
309
308
|
* <p>The name of the repository where you want to merge two branches.</p>
|
|
309
|
+
* @public
|
|
310
310
|
*/
|
|
311
311
|
repositoryName: string | undefined;
|
|
312
312
|
/**
|
|
313
|
-
* @public
|
|
314
313
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
315
314
|
* (for example, a branch name or a full commit ID).</p>
|
|
315
|
+
* @public
|
|
316
316
|
*/
|
|
317
317
|
sourceCommitSpecifier: string | undefined;
|
|
318
318
|
/**
|
|
319
|
-
* @public
|
|
320
319
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
321
320
|
* (for example, a branch name or a full commit ID).</p>
|
|
321
|
+
* @public
|
|
322
322
|
*/
|
|
323
323
|
destinationCommitSpecifier: string | undefined;
|
|
324
324
|
/**
|
|
325
|
-
* @public
|
|
326
325
|
* <p>The branch where the merge is applied.</p>
|
|
326
|
+
* @public
|
|
327
327
|
*/
|
|
328
328
|
targetBranch?: string;
|
|
329
329
|
}
|
|
@@ -332,13 +332,13 @@ export interface MergeBranchesByFastForwardInput {
|
|
|
332
332
|
*/
|
|
333
333
|
export interface MergeBranchesByFastForwardOutput {
|
|
334
334
|
/**
|
|
335
|
-
* @public
|
|
336
335
|
* <p>The commit ID of the merge in the destination or target branch.</p>
|
|
336
|
+
* @public
|
|
337
337
|
*/
|
|
338
338
|
commitId?: string;
|
|
339
339
|
/**
|
|
340
|
-
* @public
|
|
341
340
|
* <p>The tree ID of the merge in the destination or target branch.</p>
|
|
341
|
+
* @public
|
|
342
342
|
*/
|
|
343
343
|
treeId?: string;
|
|
344
344
|
}
|
|
@@ -347,70 +347,70 @@ export interface MergeBranchesByFastForwardOutput {
|
|
|
347
347
|
*/
|
|
348
348
|
export interface MergeBranchesBySquashInput {
|
|
349
349
|
/**
|
|
350
|
-
* @public
|
|
351
350
|
* <p>The name of the repository where you want to merge two branches.</p>
|
|
351
|
+
* @public
|
|
352
352
|
*/
|
|
353
353
|
repositoryName: string | undefined;
|
|
354
354
|
/**
|
|
355
|
-
* @public
|
|
356
355
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
357
356
|
* (for example, a branch name or a full commit ID).</p>
|
|
357
|
+
* @public
|
|
358
358
|
*/
|
|
359
359
|
sourceCommitSpecifier: string | undefined;
|
|
360
360
|
/**
|
|
361
|
-
* @public
|
|
362
361
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
363
362
|
* (for example, a branch name or a full commit ID).</p>
|
|
363
|
+
* @public
|
|
364
364
|
*/
|
|
365
365
|
destinationCommitSpecifier: string | undefined;
|
|
366
366
|
/**
|
|
367
|
-
* @public
|
|
368
367
|
* <p>The branch where the merge is applied. </p>
|
|
368
|
+
* @public
|
|
369
369
|
*/
|
|
370
370
|
targetBranch?: string;
|
|
371
371
|
/**
|
|
372
|
-
* @public
|
|
373
372
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
374
373
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
375
374
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
376
375
|
* both branches has differences on the same line.</p>
|
|
376
|
+
* @public
|
|
377
377
|
*/
|
|
378
378
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
379
379
|
/**
|
|
380
|
-
* @public
|
|
381
380
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
382
381
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
383
382
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
383
|
+
* @public
|
|
384
384
|
*/
|
|
385
385
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
386
386
|
/**
|
|
387
|
-
* @public
|
|
388
387
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
389
388
|
* author and committer for the commit.</p>
|
|
389
|
+
* @public
|
|
390
390
|
*/
|
|
391
391
|
authorName?: string;
|
|
392
392
|
/**
|
|
393
|
-
* @public
|
|
394
393
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
395
394
|
* commit information for the merge.</p>
|
|
395
|
+
* @public
|
|
396
396
|
*/
|
|
397
397
|
email?: string;
|
|
398
398
|
/**
|
|
399
|
-
* @public
|
|
400
399
|
* <p>The commit message for the merge.</p>
|
|
400
|
+
* @public
|
|
401
401
|
*/
|
|
402
402
|
commitMessage?: string;
|
|
403
403
|
/**
|
|
404
|
-
* @public
|
|
405
404
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
406
405
|
* changes leave the folders empty. If this is specified as true, a .gitkeep file is
|
|
407
406
|
* created for empty folders. The default is false.</p>
|
|
407
|
+
* @public
|
|
408
408
|
*/
|
|
409
409
|
keepEmptyFolders?: boolean;
|
|
410
410
|
/**
|
|
411
|
-
* @public
|
|
412
411
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
413
412
|
* resolving conflicts during a merge.</p>
|
|
413
|
+
* @public
|
|
414
414
|
*/
|
|
415
415
|
conflictResolution?: ConflictResolution;
|
|
416
416
|
}
|
|
@@ -419,13 +419,13 @@ export interface MergeBranchesBySquashInput {
|
|
|
419
419
|
*/
|
|
420
420
|
export interface MergeBranchesBySquashOutput {
|
|
421
421
|
/**
|
|
422
|
-
* @public
|
|
423
422
|
* <p>The commit ID of the merge in the destination or target branch.</p>
|
|
423
|
+
* @public
|
|
424
424
|
*/
|
|
425
425
|
commitId?: string;
|
|
426
426
|
/**
|
|
427
|
-
* @public
|
|
428
427
|
* <p>The tree ID of the merge in the destination or target branch.</p>
|
|
428
|
+
* @public
|
|
429
429
|
*/
|
|
430
430
|
treeId?: string;
|
|
431
431
|
}
|
|
@@ -434,70 +434,70 @@ export interface MergeBranchesBySquashOutput {
|
|
|
434
434
|
*/
|
|
435
435
|
export interface MergeBranchesByThreeWayInput {
|
|
436
436
|
/**
|
|
437
|
-
* @public
|
|
438
437
|
* <p>The name of the repository where you want to merge two branches.</p>
|
|
438
|
+
* @public
|
|
439
439
|
*/
|
|
440
440
|
repositoryName: string | undefined;
|
|
441
441
|
/**
|
|
442
|
-
* @public
|
|
443
442
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
444
443
|
* (for example, a branch name or a full commit ID).</p>
|
|
444
|
+
* @public
|
|
445
445
|
*/
|
|
446
446
|
sourceCommitSpecifier: string | undefined;
|
|
447
447
|
/**
|
|
448
|
-
* @public
|
|
449
448
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
450
449
|
* (for example, a branch name or a full commit ID).</p>
|
|
450
|
+
* @public
|
|
451
451
|
*/
|
|
452
452
|
destinationCommitSpecifier: string | undefined;
|
|
453
453
|
/**
|
|
454
|
-
* @public
|
|
455
454
|
* <p>The branch where the merge is applied. </p>
|
|
455
|
+
* @public
|
|
456
456
|
*/
|
|
457
457
|
targetBranch?: string;
|
|
458
458
|
/**
|
|
459
|
-
* @public
|
|
460
459
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
461
460
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
462
461
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
463
462
|
* both branches has differences on the same line.</p>
|
|
463
|
+
* @public
|
|
464
464
|
*/
|
|
465
465
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
466
466
|
/**
|
|
467
|
-
* @public
|
|
468
467
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
469
468
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
470
469
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
470
|
+
* @public
|
|
471
471
|
*/
|
|
472
472
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
473
473
|
/**
|
|
474
|
-
* @public
|
|
475
474
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
476
475
|
* author and committer for the commit.</p>
|
|
476
|
+
* @public
|
|
477
477
|
*/
|
|
478
478
|
authorName?: string;
|
|
479
479
|
/**
|
|
480
|
-
* @public
|
|
481
480
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
482
481
|
* commit information for the merge.</p>
|
|
482
|
+
* @public
|
|
483
483
|
*/
|
|
484
484
|
email?: string;
|
|
485
485
|
/**
|
|
486
|
-
* @public
|
|
487
486
|
* <p>The commit message to include in the commit information for the merge.</p>
|
|
487
|
+
* @public
|
|
488
488
|
*/
|
|
489
489
|
commitMessage?: string;
|
|
490
490
|
/**
|
|
491
|
-
* @public
|
|
492
491
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
493
492
|
* changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
|
|
494
493
|
* The default is false.</p>
|
|
494
|
+
* @public
|
|
495
495
|
*/
|
|
496
496
|
keepEmptyFolders?: boolean;
|
|
497
497
|
/**
|
|
498
|
-
* @public
|
|
499
498
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
500
499
|
* resolving conflicts during a merge.</p>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
conflictResolution?: ConflictResolution;
|
|
503
503
|
}
|
|
@@ -506,13 +506,13 @@ export interface MergeBranchesByThreeWayInput {
|
|
|
506
506
|
*/
|
|
507
507
|
export interface MergeBranchesByThreeWayOutput {
|
|
508
508
|
/**
|
|
509
|
-
* @public
|
|
510
509
|
* <p>The commit ID of the merge in the destination or target branch.</p>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
commitId?: string;
|
|
513
513
|
/**
|
|
514
|
-
* @public
|
|
515
514
|
* <p>The tree ID of the merge in the destination or target branch.</p>
|
|
515
|
+
* @public
|
|
516
516
|
*/
|
|
517
517
|
treeId?: string;
|
|
518
518
|
}
|
|
@@ -521,19 +521,19 @@ export interface MergeBranchesByThreeWayOutput {
|
|
|
521
521
|
*/
|
|
522
522
|
export interface MergePullRequestByFastForwardInput {
|
|
523
523
|
/**
|
|
524
|
-
* @public
|
|
525
524
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
525
|
+
* @public
|
|
526
526
|
*/
|
|
527
527
|
pullRequestId: string | undefined;
|
|
528
528
|
/**
|
|
529
|
-
* @public
|
|
530
529
|
* <p>The name of the repository where the pull request was created.</p>
|
|
530
|
+
* @public
|
|
531
531
|
*/
|
|
532
532
|
repositoryName: string | undefined;
|
|
533
533
|
/**
|
|
534
|
-
* @public
|
|
535
534
|
* <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
|
|
536
535
|
* exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
|
|
536
|
+
* @public
|
|
537
537
|
*/
|
|
538
538
|
sourceCommitId?: string;
|
|
539
539
|
}
|
|
@@ -542,14 +542,14 @@ export interface MergePullRequestByFastForwardInput {
|
|
|
542
542
|
*/
|
|
543
543
|
export interface MergePullRequestByFastForwardOutput {
|
|
544
544
|
/**
|
|
545
|
-
* @public
|
|
546
545
|
* <p>Information about the specified pull request, including the merge.</p>
|
|
546
|
+
* @public
|
|
547
547
|
*/
|
|
548
548
|
pullRequest?: PullRequest;
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
|
-
* @public
|
|
552
551
|
* <p>The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.</p>
|
|
552
|
+
* @public
|
|
553
553
|
*/
|
|
554
554
|
export declare class PullRequestApprovalRulesNotSatisfiedException extends __BaseException {
|
|
555
555
|
readonly name: "PullRequestApprovalRulesNotSatisfiedException";
|
|
@@ -560,9 +560,9 @@ export declare class PullRequestApprovalRulesNotSatisfiedException extends __Bas
|
|
|
560
560
|
constructor(opts: __ExceptionOptionType<PullRequestApprovalRulesNotSatisfiedException, __BaseException>);
|
|
561
561
|
}
|
|
562
562
|
/**
|
|
563
|
-
* @public
|
|
564
563
|
* <p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.
|
|
565
564
|
* The pull request might have been updated. Make sure that you have the latest changes.</p>
|
|
565
|
+
* @public
|
|
566
566
|
*/
|
|
567
567
|
export declare class TipOfSourceReferenceIsDifferentException extends __BaseException {
|
|
568
568
|
readonly name: "TipOfSourceReferenceIsDifferentException";
|
|
@@ -577,64 +577,64 @@ export declare class TipOfSourceReferenceIsDifferentException extends __BaseExce
|
|
|
577
577
|
*/
|
|
578
578
|
export interface MergePullRequestBySquashInput {
|
|
579
579
|
/**
|
|
580
|
-
* @public
|
|
581
580
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
581
|
+
* @public
|
|
582
582
|
*/
|
|
583
583
|
pullRequestId: string | undefined;
|
|
584
584
|
/**
|
|
585
|
-
* @public
|
|
586
585
|
* <p>The name of the repository where the pull request was created.</p>
|
|
586
|
+
* @public
|
|
587
587
|
*/
|
|
588
588
|
repositoryName: string | undefined;
|
|
589
589
|
/**
|
|
590
|
-
* @public
|
|
591
590
|
* <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
|
|
592
591
|
* exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
|
|
592
|
+
* @public
|
|
593
593
|
*/
|
|
594
594
|
sourceCommitId?: string;
|
|
595
595
|
/**
|
|
596
|
-
* @public
|
|
597
596
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
598
597
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
599
598
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
600
599
|
* both branches has differences on the same line.</p>
|
|
600
|
+
* @public
|
|
601
601
|
*/
|
|
602
602
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
606
605
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
607
606
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
607
|
+
* @public
|
|
608
608
|
*/
|
|
609
609
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
610
610
|
/**
|
|
611
|
-
* @public
|
|
612
611
|
* <p>The commit message to include in the commit information for the merge.</p>
|
|
612
|
+
* @public
|
|
613
613
|
*/
|
|
614
614
|
commitMessage?: string;
|
|
615
615
|
/**
|
|
616
|
-
* @public
|
|
617
616
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
618
617
|
* author and committer for the commit.</p>
|
|
618
|
+
* @public
|
|
619
619
|
*/
|
|
620
620
|
authorName?: string;
|
|
621
621
|
/**
|
|
622
|
-
* @public
|
|
623
622
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
624
623
|
* commit information for the merge.</p>
|
|
624
|
+
* @public
|
|
625
625
|
*/
|
|
626
626
|
email?: string;
|
|
627
627
|
/**
|
|
628
|
-
* @public
|
|
629
628
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
630
629
|
* changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
|
|
631
630
|
* The default is false.</p>
|
|
631
|
+
* @public
|
|
632
632
|
*/
|
|
633
633
|
keepEmptyFolders?: boolean;
|
|
634
634
|
/**
|
|
635
|
-
* @public
|
|
636
635
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
637
636
|
* resolving conflicts during a merge.</p>
|
|
637
|
+
* @public
|
|
638
638
|
*/
|
|
639
639
|
conflictResolution?: ConflictResolution;
|
|
640
640
|
}
|
|
@@ -643,8 +643,8 @@ export interface MergePullRequestBySquashInput {
|
|
|
643
643
|
*/
|
|
644
644
|
export interface MergePullRequestBySquashOutput {
|
|
645
645
|
/**
|
|
646
|
-
* @public
|
|
647
646
|
* <p>Returns information about a pull request.</p>
|
|
647
|
+
* @public
|
|
648
648
|
*/
|
|
649
649
|
pullRequest?: PullRequest;
|
|
650
650
|
}
|
|
@@ -653,64 +653,64 @@ export interface MergePullRequestBySquashOutput {
|
|
|
653
653
|
*/
|
|
654
654
|
export interface MergePullRequestByThreeWayInput {
|
|
655
655
|
/**
|
|
656
|
-
* @public
|
|
657
656
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
657
|
+
* @public
|
|
658
658
|
*/
|
|
659
659
|
pullRequestId: string | undefined;
|
|
660
660
|
/**
|
|
661
|
-
* @public
|
|
662
661
|
* <p>The name of the repository where the pull request was created.</p>
|
|
662
|
+
* @public
|
|
663
663
|
*/
|
|
664
664
|
repositoryName: string | undefined;
|
|
665
665
|
/**
|
|
666
|
-
* @public
|
|
667
666
|
* <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
|
|
668
667
|
* exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
|
|
668
|
+
* @public
|
|
669
669
|
*/
|
|
670
670
|
sourceCommitId?: string;
|
|
671
671
|
/**
|
|
672
|
-
* @public
|
|
673
672
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
674
673
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
675
674
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
676
675
|
* both branches has differences on the same line.</p>
|
|
676
|
+
* @public
|
|
677
677
|
*/
|
|
678
678
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
679
679
|
/**
|
|
680
|
-
* @public
|
|
681
680
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
682
681
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
683
682
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
683
|
+
* @public
|
|
684
684
|
*/
|
|
685
685
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
686
686
|
/**
|
|
687
|
-
* @public
|
|
688
687
|
* <p>The commit message to include in the commit information for the merge.</p>
|
|
688
|
+
* @public
|
|
689
689
|
*/
|
|
690
690
|
commitMessage?: string;
|
|
691
691
|
/**
|
|
692
|
-
* @public
|
|
693
692
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
694
693
|
* author and committer for the commit.</p>
|
|
694
|
+
* @public
|
|
695
695
|
*/
|
|
696
696
|
authorName?: string;
|
|
697
697
|
/**
|
|
698
|
-
* @public
|
|
699
698
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
700
699
|
* commit information for the merge.</p>
|
|
700
|
+
* @public
|
|
701
701
|
*/
|
|
702
702
|
email?: string;
|
|
703
703
|
/**
|
|
704
|
-
* @public
|
|
705
704
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
706
705
|
* changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
|
|
707
706
|
* The default is false.</p>
|
|
707
|
+
* @public
|
|
708
708
|
*/
|
|
709
709
|
keepEmptyFolders?: boolean;
|
|
710
710
|
/**
|
|
711
|
-
* @public
|
|
712
711
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
713
712
|
* resolving conflicts during a merge.</p>
|
|
713
|
+
* @public
|
|
714
714
|
*/
|
|
715
715
|
conflictResolution?: ConflictResolution;
|
|
716
716
|
}
|
|
@@ -719,14 +719,14 @@ export interface MergePullRequestByThreeWayInput {
|
|
|
719
719
|
*/
|
|
720
720
|
export interface MergePullRequestByThreeWayOutput {
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>Returns information about a pull request.</p>
|
|
723
|
+
* @public
|
|
724
724
|
*/
|
|
725
725
|
pullRequest?: PullRequest;
|
|
726
726
|
}
|
|
727
727
|
/**
|
|
728
|
-
* @public
|
|
729
728
|
* <p>The override status is not valid. Valid statuses are OVERRIDE and REVOKE.</p>
|
|
729
|
+
* @public
|
|
730
730
|
*/
|
|
731
731
|
export declare class InvalidOverrideStatusException extends __BaseException {
|
|
732
732
|
readonly name: "InvalidOverrideStatusException";
|
|
@@ -737,8 +737,8 @@ export declare class InvalidOverrideStatusException extends __BaseException {
|
|
|
737
737
|
constructor(opts: __ExceptionOptionType<InvalidOverrideStatusException, __BaseException>);
|
|
738
738
|
}
|
|
739
739
|
/**
|
|
740
|
-
* @public
|
|
741
740
|
* <p>The pull request has already had its approval rules set to override.</p>
|
|
741
|
+
* @public
|
|
742
742
|
*/
|
|
743
743
|
export declare class OverrideAlreadySetException extends __BaseException {
|
|
744
744
|
readonly name: "OverrideAlreadySetException";
|
|
@@ -753,28 +753,28 @@ export declare class OverrideAlreadySetException extends __BaseException {
|
|
|
753
753
|
*/
|
|
754
754
|
export interface OverridePullRequestApprovalRulesInput {
|
|
755
755
|
/**
|
|
756
|
-
* @public
|
|
757
756
|
* <p>The system-generated ID of the pull request for which you want to override all
|
|
758
757
|
* approval rule requirements. To get this information, use
|
|
759
758
|
* <a>GetPullRequest</a>.</p>
|
|
759
|
+
* @public
|
|
760
760
|
*/
|
|
761
761
|
pullRequestId: string | undefined;
|
|
762
762
|
/**
|
|
763
|
-
* @public
|
|
764
763
|
* <p>The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request.
|
|
765
764
|
* To get the revision ID, use GetPullRequest.</p>
|
|
765
|
+
* @public
|
|
766
766
|
*/
|
|
767
767
|
revisionId: string | undefined;
|
|
768
768
|
/**
|
|
769
|
-
* @public
|
|
770
769
|
* <p>Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply
|
|
771
770
|
* approval rule requirements (REVOKE). REVOKE status is not stored.</p>
|
|
771
|
+
* @public
|
|
772
772
|
*/
|
|
773
773
|
overrideStatus: OverrideStatus | undefined;
|
|
774
774
|
}
|
|
775
775
|
/**
|
|
776
|
-
* @public
|
|
777
776
|
* <p>An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.</p>
|
|
777
|
+
* @public
|
|
778
778
|
*/
|
|
779
779
|
export declare class OverrideStatusRequiredException extends __BaseException {
|
|
780
780
|
readonly name: "OverrideStatusRequiredException";
|
|
@@ -785,8 +785,8 @@ export declare class OverrideStatusRequiredException extends __BaseException {
|
|
|
785
785
|
constructor(opts: __ExceptionOptionType<OverrideStatusRequiredException, __BaseException>);
|
|
786
786
|
}
|
|
787
787
|
/**
|
|
788
|
-
* @public
|
|
789
788
|
* <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
|
|
789
|
+
* @public
|
|
790
790
|
*/
|
|
791
791
|
export declare class CommentContentRequiredException extends __BaseException {
|
|
792
792
|
readonly name: "CommentContentRequiredException";
|
|
@@ -797,8 +797,8 @@ export declare class CommentContentRequiredException extends __BaseException {
|
|
|
797
797
|
constructor(opts: __ExceptionOptionType<CommentContentRequiredException, __BaseException>);
|
|
798
798
|
}
|
|
799
799
|
/**
|
|
800
|
-
* @public
|
|
801
800
|
* <p>The comment is too large. Comments are limited to 10,240 characters.</p>
|
|
801
|
+
* @public
|
|
802
802
|
*/
|
|
803
803
|
export declare class CommentContentSizeLimitExceededException extends __BaseException {
|
|
804
804
|
readonly name: "CommentContentSizeLimitExceededException";
|
|
@@ -809,9 +809,9 @@ export declare class CommentContentSizeLimitExceededException extends __BaseExce
|
|
|
809
809
|
constructor(opts: __ExceptionOptionType<CommentContentSizeLimitExceededException, __BaseException>);
|
|
810
810
|
}
|
|
811
811
|
/**
|
|
812
|
-
* @public
|
|
813
812
|
* <p>The location of the file is not valid. Make sure that you include the file name and
|
|
814
813
|
* extension.</p>
|
|
814
|
+
* @public
|
|
815
815
|
*/
|
|
816
816
|
export declare class InvalidFileLocationException extends __BaseException {
|
|
817
817
|
readonly name: "InvalidFileLocationException";
|
|
@@ -822,8 +822,8 @@ export declare class InvalidFileLocationException extends __BaseException {
|
|
|
822
822
|
constructor(opts: __ExceptionOptionType<InvalidFileLocationException, __BaseException>);
|
|
823
823
|
}
|
|
824
824
|
/**
|
|
825
|
-
* @public
|
|
826
825
|
* <p>The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.</p>
|
|
826
|
+
* @public
|
|
827
827
|
*/
|
|
828
828
|
export declare class InvalidFilePositionException extends __BaseException {
|
|
829
829
|
readonly name: "InvalidFilePositionException";
|
|
@@ -834,8 +834,8 @@ export declare class InvalidFilePositionException extends __BaseException {
|
|
|
834
834
|
constructor(opts: __ExceptionOptionType<InvalidFilePositionException, __BaseException>);
|
|
835
835
|
}
|
|
836
836
|
/**
|
|
837
|
-
* @public
|
|
838
837
|
* <p>Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.</p>
|
|
838
|
+
* @public
|
|
839
839
|
*/
|
|
840
840
|
export declare class InvalidRelativeFileVersionEnumException extends __BaseException {
|
|
841
841
|
readonly name: "InvalidRelativeFileVersionEnumException";
|
|
@@ -850,39 +850,39 @@ export declare class InvalidRelativeFileVersionEnumException extends __BaseExcep
|
|
|
850
850
|
*/
|
|
851
851
|
export interface PostCommentForComparedCommitInput {
|
|
852
852
|
/**
|
|
853
|
-
* @public
|
|
854
853
|
* <p>The name of the repository where you want to post a comment on the comparison between commits.</p>
|
|
854
|
+
* @public
|
|
855
855
|
*/
|
|
856
856
|
repositoryName: string | undefined;
|
|
857
857
|
/**
|
|
858
|
-
* @public
|
|
859
858
|
* <p>To establish the directionality of the comparison, the full commit ID of the before
|
|
860
859
|
* commit. Required for commenting on any commit unless that commit is the initial
|
|
861
860
|
* commit.</p>
|
|
861
|
+
* @public
|
|
862
862
|
*/
|
|
863
863
|
beforeCommitId?: string;
|
|
864
864
|
/**
|
|
865
|
-
* @public
|
|
866
865
|
* <p>To establish the directionality of the comparison, the full commit ID of the after
|
|
867
866
|
* commit.</p>
|
|
867
|
+
* @public
|
|
868
868
|
*/
|
|
869
869
|
afterCommitId: string | undefined;
|
|
870
870
|
/**
|
|
871
|
-
* @public
|
|
872
871
|
* <p>The location of the comparison where you want to comment.</p>
|
|
872
|
+
* @public
|
|
873
873
|
*/
|
|
874
874
|
location?: Location;
|
|
875
875
|
/**
|
|
876
|
-
* @public
|
|
877
876
|
* <p>The content of the comment you want to make.</p>
|
|
877
|
+
* @public
|
|
878
878
|
*/
|
|
879
879
|
content: string | undefined;
|
|
880
880
|
/**
|
|
881
|
-
* @public
|
|
882
881
|
* <p>A unique, client-generated idempotency token that, when provided in a request, ensures
|
|
883
882
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
884
883
|
* the same parameters and a token is included, the request returns information about the
|
|
885
884
|
* initial request that used that token.</p>
|
|
885
|
+
* @public
|
|
886
886
|
*/
|
|
887
887
|
clientRequestToken?: string;
|
|
888
888
|
}
|
|
@@ -891,38 +891,38 @@ export interface PostCommentForComparedCommitInput {
|
|
|
891
891
|
*/
|
|
892
892
|
export interface PostCommentForComparedCommitOutput {
|
|
893
893
|
/**
|
|
894
|
-
* @public
|
|
895
894
|
* <p>The name of the repository where you posted a comment on the comparison between commits.</p>
|
|
895
|
+
* @public
|
|
896
896
|
*/
|
|
897
897
|
repositoryName?: string;
|
|
898
898
|
/**
|
|
899
|
-
* @public
|
|
900
899
|
* <p>In the directionality you established, the full commit ID of the before commit.</p>
|
|
900
|
+
* @public
|
|
901
901
|
*/
|
|
902
902
|
beforeCommitId?: string;
|
|
903
903
|
/**
|
|
904
|
-
* @public
|
|
905
904
|
* <p>In the directionality you established, the full commit ID of the after commit.</p>
|
|
905
|
+
* @public
|
|
906
906
|
*/
|
|
907
907
|
afterCommitId?: string;
|
|
908
908
|
/**
|
|
909
|
-
* @public
|
|
910
909
|
* <p>In the directionality you established, the blob ID of the before blob.</p>
|
|
910
|
+
* @public
|
|
911
911
|
*/
|
|
912
912
|
beforeBlobId?: string;
|
|
913
913
|
/**
|
|
914
|
-
* @public
|
|
915
914
|
* <p>In the directionality you established, the blob ID of the after blob.</p>
|
|
915
|
+
* @public
|
|
916
916
|
*/
|
|
917
917
|
afterBlobId?: string;
|
|
918
918
|
/**
|
|
919
|
-
* @public
|
|
920
919
|
* <p>The location of the comment in the comparison between the two commits.</p>
|
|
920
|
+
* @public
|
|
921
921
|
*/
|
|
922
922
|
location?: Location;
|
|
923
923
|
/**
|
|
924
|
-
* @public
|
|
925
924
|
* <p>The content of the comment you posted.</p>
|
|
925
|
+
* @public
|
|
926
926
|
*/
|
|
927
927
|
comment?: Comment;
|
|
928
928
|
}
|
|
@@ -931,43 +931,43 @@ export interface PostCommentForComparedCommitOutput {
|
|
|
931
931
|
*/
|
|
932
932
|
export interface PostCommentForPullRequestInput {
|
|
933
933
|
/**
|
|
934
|
-
* @public
|
|
935
934
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
935
|
+
* @public
|
|
936
936
|
*/
|
|
937
937
|
pullRequestId: string | undefined;
|
|
938
938
|
/**
|
|
939
|
-
* @public
|
|
940
939
|
* <p>The name of the repository where you want to post a comment on a pull request.</p>
|
|
940
|
+
* @public
|
|
941
941
|
*/
|
|
942
942
|
repositoryName: string | undefined;
|
|
943
943
|
/**
|
|
944
|
-
* @public
|
|
945
944
|
* <p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.</p>
|
|
945
|
+
* @public
|
|
946
946
|
*/
|
|
947
947
|
beforeCommitId: string | undefined;
|
|
948
948
|
/**
|
|
949
|
-
* @public
|
|
950
949
|
* <p>The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.</p>
|
|
950
|
+
* @public
|
|
951
951
|
*/
|
|
952
952
|
afterCommitId: string | undefined;
|
|
953
953
|
/**
|
|
954
|
-
* @public
|
|
955
954
|
* <p>The location of the change where you want to post your comment. If no location is
|
|
956
955
|
* provided, the comment is posted as a general comment on the pull request difference
|
|
957
956
|
* between the before commit ID and the after commit ID.</p>
|
|
957
|
+
* @public
|
|
958
958
|
*/
|
|
959
959
|
location?: Location;
|
|
960
960
|
/**
|
|
961
|
-
* @public
|
|
962
961
|
* <p>The content of your comment on the change.</p>
|
|
962
|
+
* @public
|
|
963
963
|
*/
|
|
964
964
|
content: string | undefined;
|
|
965
965
|
/**
|
|
966
|
-
* @public
|
|
967
966
|
* <p>A unique, client-generated idempotency token that, when provided in a request, ensures
|
|
968
967
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
969
968
|
* the same parameters and a token is included, the request returns information about the
|
|
970
969
|
* initial request that used that token.</p>
|
|
970
|
+
* @public
|
|
971
971
|
*/
|
|
972
972
|
clientRequestToken?: string;
|
|
973
973
|
}
|
|
@@ -976,45 +976,45 @@ export interface PostCommentForPullRequestInput {
|
|
|
976
976
|
*/
|
|
977
977
|
export interface PostCommentForPullRequestOutput {
|
|
978
978
|
/**
|
|
979
|
-
* @public
|
|
980
979
|
* <p>The name of the repository where you posted a comment on a pull request.</p>
|
|
980
|
+
* @public
|
|
981
981
|
*/
|
|
982
982
|
repositoryName?: string;
|
|
983
983
|
/**
|
|
984
|
-
* @public
|
|
985
984
|
* <p>The system-generated ID of the pull request. </p>
|
|
985
|
+
* @public
|
|
986
986
|
*/
|
|
987
987
|
pullRequestId?: string;
|
|
988
988
|
/**
|
|
989
|
-
* @public
|
|
990
989
|
* <p>The full commit ID of the commit in the source branch used to create the pull request,
|
|
991
990
|
* or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.</p>
|
|
991
|
+
* @public
|
|
992
992
|
*/
|
|
993
993
|
beforeCommitId?: string;
|
|
994
994
|
/**
|
|
995
|
-
* @public
|
|
996
995
|
* <p>The full commit ID of the commit in the destination branch where the pull request is
|
|
997
996
|
* merged.</p>
|
|
997
|
+
* @public
|
|
998
998
|
*/
|
|
999
999
|
afterCommitId?: string;
|
|
1000
1000
|
/**
|
|
1001
|
-
* @public
|
|
1002
1001
|
* <p>In the directionality of the pull request, the blob ID of the before blob.</p>
|
|
1002
|
+
* @public
|
|
1003
1003
|
*/
|
|
1004
1004
|
beforeBlobId?: string;
|
|
1005
1005
|
/**
|
|
1006
|
-
* @public
|
|
1007
1006
|
* <p>In the directionality of the pull request, the blob ID of the after blob.</p>
|
|
1007
|
+
* @public
|
|
1008
1008
|
*/
|
|
1009
1009
|
afterBlobId?: string;
|
|
1010
1010
|
/**
|
|
1011
|
-
* @public
|
|
1012
1011
|
* <p>The location of the change where you posted your comment.</p>
|
|
1012
|
+
* @public
|
|
1013
1013
|
*/
|
|
1014
1014
|
location?: Location;
|
|
1015
1015
|
/**
|
|
1016
|
-
* @public
|
|
1017
1016
|
* <p>The content of the comment you posted.</p>
|
|
1017
|
+
* @public
|
|
1018
1018
|
*/
|
|
1019
1019
|
comment?: Comment;
|
|
1020
1020
|
}
|
|
@@ -1023,22 +1023,22 @@ export interface PostCommentForPullRequestOutput {
|
|
|
1023
1023
|
*/
|
|
1024
1024
|
export interface PostCommentReplyInput {
|
|
1025
1025
|
/**
|
|
1026
|
-
* @public
|
|
1027
1026
|
* <p>The system-generated ID of the comment to which you want to reply. To get this ID, use <a>GetCommentsForComparedCommit</a>
|
|
1028
1027
|
* or <a>GetCommentsForPullRequest</a>.</p>
|
|
1028
|
+
* @public
|
|
1029
1029
|
*/
|
|
1030
1030
|
inReplyTo: string | undefined;
|
|
1031
1031
|
/**
|
|
1032
|
-
* @public
|
|
1033
1032
|
* <p>A unique, client-generated idempotency token that, when provided in a request, ensures
|
|
1034
1033
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
1035
1034
|
* the same parameters and a token is included, the request returns information about the
|
|
1036
1035
|
* initial request that used that token.</p>
|
|
1036
|
+
* @public
|
|
1037
1037
|
*/
|
|
1038
1038
|
clientRequestToken?: string;
|
|
1039
1039
|
/**
|
|
1040
|
-
* @public
|
|
1041
1040
|
* <p>The contents of your reply to a comment.</p>
|
|
1041
|
+
* @public
|
|
1042
1042
|
*/
|
|
1043
1043
|
content: string | undefined;
|
|
1044
1044
|
}
|
|
@@ -1047,14 +1047,14 @@ export interface PostCommentReplyInput {
|
|
|
1047
1047
|
*/
|
|
1048
1048
|
export interface PostCommentReplyOutput {
|
|
1049
1049
|
/**
|
|
1050
|
-
* @public
|
|
1051
1050
|
* <p>Information about the reply to a comment.</p>
|
|
1051
|
+
* @public
|
|
1052
1052
|
*/
|
|
1053
1053
|
comment?: Comment;
|
|
1054
1054
|
}
|
|
1055
1055
|
/**
|
|
1056
|
-
* @public
|
|
1057
1056
|
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">CodeCommit User Guide</a>.</p>
|
|
1057
|
+
* @public
|
|
1058
1058
|
*/
|
|
1059
1059
|
export declare class InvalidReactionValueException extends __BaseException {
|
|
1060
1060
|
readonly name: "InvalidReactionValueException";
|
|
@@ -1069,20 +1069,20 @@ export declare class InvalidReactionValueException extends __BaseException {
|
|
|
1069
1069
|
*/
|
|
1070
1070
|
export interface PutCommentReactionInput {
|
|
1071
1071
|
/**
|
|
1072
|
-
* @public
|
|
1073
1072
|
* <p>The ID of the comment to which you want to add or update a reaction.</p>
|
|
1073
|
+
* @public
|
|
1074
1074
|
*/
|
|
1075
1075
|
commentId: string | undefined;
|
|
1076
1076
|
/**
|
|
1077
|
-
* @public
|
|
1078
1077
|
* <p>The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none.
|
|
1079
1078
|
* For information about emoji reaction values supported in CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">CodeCommit User Guide</a>.</p>
|
|
1079
|
+
* @public
|
|
1080
1080
|
*/
|
|
1081
1081
|
reactionValue: string | undefined;
|
|
1082
1082
|
}
|
|
1083
1083
|
/**
|
|
1084
|
-
* @public
|
|
1085
1084
|
* <p>The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.</p>
|
|
1085
|
+
* @public
|
|
1086
1086
|
*/
|
|
1087
1087
|
export declare class ReactionLimitExceededException extends __BaseException {
|
|
1088
1088
|
readonly name: "ReactionLimitExceededException";
|
|
@@ -1093,8 +1093,8 @@ export declare class ReactionLimitExceededException extends __BaseException {
|
|
|
1093
1093
|
constructor(opts: __ExceptionOptionType<ReactionLimitExceededException, __BaseException>);
|
|
1094
1094
|
}
|
|
1095
1095
|
/**
|
|
1096
|
-
* @public
|
|
1097
1096
|
* <p>A reaction value is required. </p>
|
|
1097
|
+
* @public
|
|
1098
1098
|
*/
|
|
1099
1099
|
export declare class ReactionValueRequiredException extends __BaseException {
|
|
1100
1100
|
readonly name: "ReactionValueRequiredException";
|
|
@@ -1105,8 +1105,8 @@ export declare class ReactionValueRequiredException extends __BaseException {
|
|
|
1105
1105
|
constructor(opts: __ExceptionOptionType<ReactionValueRequiredException, __BaseException>);
|
|
1106
1106
|
}
|
|
1107
1107
|
/**
|
|
1108
|
-
* @public
|
|
1109
1108
|
* <p>The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.</p>
|
|
1109
|
+
* @public
|
|
1110
1110
|
*/
|
|
1111
1111
|
export declare class FileContentRequiredException extends __BaseException {
|
|
1112
1112
|
readonly name: "FileContentRequiredException";
|
|
@@ -1121,59 +1121,59 @@ export declare class FileContentRequiredException extends __BaseException {
|
|
|
1121
1121
|
*/
|
|
1122
1122
|
export interface PutFileInput {
|
|
1123
1123
|
/**
|
|
1124
|
-
* @public
|
|
1125
1124
|
* <p>The name of the repository where you want to add or update the file.</p>
|
|
1125
|
+
* @public
|
|
1126
1126
|
*/
|
|
1127
1127
|
repositoryName: string | undefined;
|
|
1128
1128
|
/**
|
|
1129
|
-
* @public
|
|
1130
1129
|
* <p>The name of the branch where you want to add or update the file. If this is an empty
|
|
1131
1130
|
* repository, this branch is created.</p>
|
|
1131
|
+
* @public
|
|
1132
1132
|
*/
|
|
1133
1133
|
branchName: string | undefined;
|
|
1134
1134
|
/**
|
|
1135
|
-
* @public
|
|
1136
1135
|
* <p>The content of the file, in binary object format. </p>
|
|
1136
|
+
* @public
|
|
1137
1137
|
*/
|
|
1138
1138
|
fileContent: Uint8Array | undefined;
|
|
1139
1139
|
/**
|
|
1140
|
-
* @public
|
|
1141
1140
|
* <p>The name of the file you want to add or update, including the relative path to the file in the repository.</p>
|
|
1142
1141
|
* <note>
|
|
1143
1142
|
* <p>If the path does not currently exist in the repository, the path is created as part of adding
|
|
1144
1143
|
* the file.</p>
|
|
1145
1144
|
* </note>
|
|
1145
|
+
* @public
|
|
1146
1146
|
*/
|
|
1147
1147
|
filePath: string | undefined;
|
|
1148
1148
|
/**
|
|
1149
|
-
* @public
|
|
1150
1149
|
* <p>The file mode permissions of the blob. Valid file mode permissions are listed
|
|
1151
1150
|
* here.</p>
|
|
1151
|
+
* @public
|
|
1152
1152
|
*/
|
|
1153
1153
|
fileMode?: FileModeTypeEnum;
|
|
1154
1154
|
/**
|
|
1155
|
-
* @public
|
|
1156
1155
|
* <p>The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository,
|
|
1157
1156
|
* no commit ID is required. If this is not an empty repository, a commit ID is required. </p>
|
|
1158
1157
|
* <p>The commit ID must match the ID of the head commit at the time of the operation.
|
|
1159
1158
|
* Otherwise, an error occurs, and the file is not added or updated.</p>
|
|
1159
|
+
* @public
|
|
1160
1160
|
*/
|
|
1161
1161
|
parentCommitId?: string;
|
|
1162
1162
|
/**
|
|
1163
|
-
* @public
|
|
1164
1163
|
* <p>A message about why this file was added or updated. Although it is optional, a message
|
|
1165
1164
|
* makes the commit history for your repository more useful.</p>
|
|
1165
|
+
* @public
|
|
1166
1166
|
*/
|
|
1167
1167
|
commitMessage?: string;
|
|
1168
1168
|
/**
|
|
1169
|
-
* @public
|
|
1170
1169
|
* <p>The name of the person adding or updating the file. Although it is optional, a name
|
|
1171
1170
|
* makes the commit history for your repository more useful.</p>
|
|
1171
|
+
* @public
|
|
1172
1172
|
*/
|
|
1173
1173
|
name?: string;
|
|
1174
1174
|
/**
|
|
1175
|
-
* @public
|
|
1176
1175
|
* <p>An email address for the person adding or updating the file.</p>
|
|
1176
|
+
* @public
|
|
1177
1177
|
*/
|
|
1178
1178
|
email?: string;
|
|
1179
1179
|
}
|
|
@@ -1182,25 +1182,25 @@ export interface PutFileInput {
|
|
|
1182
1182
|
*/
|
|
1183
1183
|
export interface PutFileOutput {
|
|
1184
1184
|
/**
|
|
1185
|
-
* @public
|
|
1186
1185
|
* <p>The full SHA ID of the commit that contains this file change.</p>
|
|
1186
|
+
* @public
|
|
1187
1187
|
*/
|
|
1188
1188
|
commitId: string | undefined;
|
|
1189
1189
|
/**
|
|
1190
|
-
* @public
|
|
1191
1190
|
* <p>The ID of the blob, which is its SHA-1 pointer.</p>
|
|
1191
|
+
* @public
|
|
1192
1192
|
*/
|
|
1193
1193
|
blobId: string | undefined;
|
|
1194
1194
|
/**
|
|
1195
|
-
* @public
|
|
1196
1195
|
* <p>The full SHA-1 pointer of the tree information for the commit that contains this file change.</p>
|
|
1196
|
+
* @public
|
|
1197
1197
|
*/
|
|
1198
1198
|
treeId: string | undefined;
|
|
1199
1199
|
}
|
|
1200
1200
|
/**
|
|
1201
|
-
* @public
|
|
1202
1201
|
* <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
|
|
1203
1202
|
* that you specified.</p>
|
|
1203
|
+
* @public
|
|
1204
1204
|
*/
|
|
1205
1205
|
export declare class SameFileContentException extends __BaseException {
|
|
1206
1206
|
readonly name: "SameFileContentException";
|
|
@@ -1211,8 +1211,8 @@ export declare class SameFileContentException extends __BaseException {
|
|
|
1211
1211
|
constructor(opts: __ExceptionOptionType<SameFileContentException, __BaseException>);
|
|
1212
1212
|
}
|
|
1213
1213
|
/**
|
|
1214
|
-
* @public
|
|
1215
1214
|
* <p>One or more branch names specified for the trigger is not valid.</p>
|
|
1215
|
+
* @public
|
|
1216
1216
|
*/
|
|
1217
1217
|
export declare class InvalidRepositoryTriggerBranchNameException extends __BaseException {
|
|
1218
1218
|
readonly name: "InvalidRepositoryTriggerBranchNameException";
|
|
@@ -1223,8 +1223,8 @@ export declare class InvalidRepositoryTriggerBranchNameException extends __BaseE
|
|
|
1223
1223
|
constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerBranchNameException, __BaseException>);
|
|
1224
1224
|
}
|
|
1225
1225
|
/**
|
|
1226
|
-
* @public
|
|
1227
1226
|
* <p>The custom data provided for the trigger is not valid.</p>
|
|
1227
|
+
* @public
|
|
1228
1228
|
*/
|
|
1229
1229
|
export declare class InvalidRepositoryTriggerCustomDataException extends __BaseException {
|
|
1230
1230
|
readonly name: "InvalidRepositoryTriggerCustomDataException";
|
|
@@ -1235,8 +1235,8 @@ export declare class InvalidRepositoryTriggerCustomDataException extends __BaseE
|
|
|
1235
1235
|
constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerCustomDataException, __BaseException>);
|
|
1236
1236
|
}
|
|
1237
1237
|
/**
|
|
1238
|
-
* @public
|
|
1239
1238
|
* <p>The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.</p>
|
|
1239
|
+
* @public
|
|
1240
1240
|
*/
|
|
1241
1241
|
export declare class InvalidRepositoryTriggerDestinationArnException extends __BaseException {
|
|
1242
1242
|
readonly name: "InvalidRepositoryTriggerDestinationArnException";
|
|
@@ -1247,8 +1247,8 @@ export declare class InvalidRepositoryTriggerDestinationArnException extends __B
|
|
|
1247
1247
|
constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerDestinationArnException, __BaseException>);
|
|
1248
1248
|
}
|
|
1249
1249
|
/**
|
|
1250
|
-
* @public
|
|
1251
1250
|
* <p>One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.</p>
|
|
1251
|
+
* @public
|
|
1252
1252
|
*/
|
|
1253
1253
|
export declare class InvalidRepositoryTriggerEventsException extends __BaseException {
|
|
1254
1254
|
readonly name: "InvalidRepositoryTriggerEventsException";
|
|
@@ -1259,8 +1259,8 @@ export declare class InvalidRepositoryTriggerEventsException extends __BaseExcep
|
|
|
1259
1259
|
constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerEventsException, __BaseException>);
|
|
1260
1260
|
}
|
|
1261
1261
|
/**
|
|
1262
|
-
* @public
|
|
1263
1262
|
* <p>The name of the trigger is not valid.</p>
|
|
1263
|
+
* @public
|
|
1264
1264
|
*/
|
|
1265
1265
|
export declare class InvalidRepositoryTriggerNameException extends __BaseException {
|
|
1266
1266
|
readonly name: "InvalidRepositoryTriggerNameException";
|
|
@@ -1271,10 +1271,10 @@ export declare class InvalidRepositoryTriggerNameException extends __BaseExcepti
|
|
|
1271
1271
|
constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerNameException, __BaseException>);
|
|
1272
1272
|
}
|
|
1273
1273
|
/**
|
|
1274
|
-
* @public
|
|
1275
1274
|
* <p>The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the
|
|
1276
1275
|
* repository. Triggers must be created in the same Amazon Web Services Region as the target for the
|
|
1277
1276
|
* trigger.</p>
|
|
1277
|
+
* @public
|
|
1278
1278
|
*/
|
|
1279
1279
|
export declare class InvalidRepositoryTriggerRegionException extends __BaseException {
|
|
1280
1280
|
readonly name: "InvalidRepositoryTriggerRegionException";
|
|
@@ -1285,8 +1285,8 @@ export declare class InvalidRepositoryTriggerRegionException extends __BaseExcep
|
|
|
1285
1285
|
constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerRegionException, __BaseException>);
|
|
1286
1286
|
}
|
|
1287
1287
|
/**
|
|
1288
|
-
* @public
|
|
1289
1288
|
* <p>The number of branches for the trigger was exceeded.</p>
|
|
1289
|
+
* @public
|
|
1290
1290
|
*/
|
|
1291
1291
|
export declare class MaximumBranchesExceededException extends __BaseException {
|
|
1292
1292
|
readonly name: "MaximumBranchesExceededException";
|
|
@@ -1297,8 +1297,8 @@ export declare class MaximumBranchesExceededException extends __BaseException {
|
|
|
1297
1297
|
constructor(opts: __ExceptionOptionType<MaximumBranchesExceededException, __BaseException>);
|
|
1298
1298
|
}
|
|
1299
1299
|
/**
|
|
1300
|
-
* @public
|
|
1301
1300
|
* <p>The number of triggers allowed for the repository was exceeded.</p>
|
|
1301
|
+
* @public
|
|
1302
1302
|
*/
|
|
1303
1303
|
export declare class MaximumRepositoryTriggersExceededException extends __BaseException {
|
|
1304
1304
|
readonly name: "MaximumRepositoryTriggersExceededException";
|
|
@@ -1309,36 +1309,36 @@ export declare class MaximumRepositoryTriggersExceededException extends __BaseEx
|
|
|
1309
1309
|
constructor(opts: __ExceptionOptionType<MaximumRepositoryTriggersExceededException, __BaseException>);
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
1312
|
-
* @public
|
|
1313
1312
|
* <p>Represents the input of a put repository triggers operation.</p>
|
|
1313
|
+
* @public
|
|
1314
1314
|
*/
|
|
1315
1315
|
export interface PutRepositoryTriggersInput {
|
|
1316
1316
|
/**
|
|
1317
|
-
* @public
|
|
1318
1317
|
* <p>The name of the repository where you want to create or update the trigger.</p>
|
|
1318
|
+
* @public
|
|
1319
1319
|
*/
|
|
1320
1320
|
repositoryName: string | undefined;
|
|
1321
1321
|
/**
|
|
1322
|
-
* @public
|
|
1323
1322
|
* <p>The JSON block of configuration information for each trigger.</p>
|
|
1323
|
+
* @public
|
|
1324
1324
|
*/
|
|
1325
1325
|
triggers: RepositoryTrigger[] | undefined;
|
|
1326
1326
|
}
|
|
1327
1327
|
/**
|
|
1328
|
-
* @public
|
|
1329
1328
|
* <p>Represents the output of a put repository triggers operation.</p>
|
|
1329
|
+
* @public
|
|
1330
1330
|
*/
|
|
1331
1331
|
export interface PutRepositoryTriggersOutput {
|
|
1332
1332
|
/**
|
|
1333
|
-
* @public
|
|
1334
1333
|
* <p>The system-generated unique ID for the create or update operation.</p>
|
|
1334
|
+
* @public
|
|
1335
1335
|
*/
|
|
1336
1336
|
configurationId?: string;
|
|
1337
1337
|
}
|
|
1338
1338
|
/**
|
|
1339
|
-
* @public
|
|
1340
1339
|
* <p>At least one branch name is required, but was not specified in the trigger
|
|
1341
1340
|
* configuration.</p>
|
|
1341
|
+
* @public
|
|
1342
1342
|
*/
|
|
1343
1343
|
export declare class RepositoryTriggerBranchNameListRequiredException extends __BaseException {
|
|
1344
1344
|
readonly name: "RepositoryTriggerBranchNameListRequiredException";
|
|
@@ -1349,9 +1349,9 @@ export declare class RepositoryTriggerBranchNameListRequiredException extends __
|
|
|
1349
1349
|
constructor(opts: __ExceptionOptionType<RepositoryTriggerBranchNameListRequiredException, __BaseException>);
|
|
1350
1350
|
}
|
|
1351
1351
|
/**
|
|
1352
|
-
* @public
|
|
1353
1352
|
* <p>A destination ARN for the target service for the trigger is required, but was not
|
|
1354
1353
|
* specified.</p>
|
|
1354
|
+
* @public
|
|
1355
1355
|
*/
|
|
1356
1356
|
export declare class RepositoryTriggerDestinationArnRequiredException extends __BaseException {
|
|
1357
1357
|
readonly name: "RepositoryTriggerDestinationArnRequiredException";
|
|
@@ -1362,8 +1362,8 @@ export declare class RepositoryTriggerDestinationArnRequiredException extends __
|
|
|
1362
1362
|
constructor(opts: __ExceptionOptionType<RepositoryTriggerDestinationArnRequiredException, __BaseException>);
|
|
1363
1363
|
}
|
|
1364
1364
|
/**
|
|
1365
|
-
* @public
|
|
1366
1365
|
* <p>At least one event for the trigger is required, but was not specified.</p>
|
|
1366
|
+
* @public
|
|
1367
1367
|
*/
|
|
1368
1368
|
export declare class RepositoryTriggerEventsListRequiredException extends __BaseException {
|
|
1369
1369
|
readonly name: "RepositoryTriggerEventsListRequiredException";
|
|
@@ -1374,8 +1374,8 @@ export declare class RepositoryTriggerEventsListRequiredException extends __Base
|
|
|
1374
1374
|
constructor(opts: __ExceptionOptionType<RepositoryTriggerEventsListRequiredException, __BaseException>);
|
|
1375
1375
|
}
|
|
1376
1376
|
/**
|
|
1377
|
-
* @public
|
|
1378
1377
|
* <p>A name for the trigger is required, but was not specified.</p>
|
|
1378
|
+
* @public
|
|
1379
1379
|
*/
|
|
1380
1380
|
export declare class RepositoryTriggerNameRequiredException extends __BaseException {
|
|
1381
1381
|
readonly name: "RepositoryTriggerNameRequiredException";
|
|
@@ -1386,8 +1386,8 @@ export declare class RepositoryTriggerNameRequiredException extends __BaseExcept
|
|
|
1386
1386
|
constructor(opts: __ExceptionOptionType<RepositoryTriggerNameRequiredException, __BaseException>);
|
|
1387
1387
|
}
|
|
1388
1388
|
/**
|
|
1389
|
-
* @public
|
|
1390
1389
|
* <p>The list of triggers for the repository is required, but was not specified.</p>
|
|
1390
|
+
* @public
|
|
1391
1391
|
*/
|
|
1392
1392
|
export declare class RepositoryTriggersListRequiredException extends __BaseException {
|
|
1393
1393
|
readonly name: "RepositoryTriggersListRequiredException";
|
|
@@ -1402,19 +1402,19 @@ export declare class RepositoryTriggersListRequiredException extends __BaseExcep
|
|
|
1402
1402
|
*/
|
|
1403
1403
|
export interface TagResourceInput {
|
|
1404
1404
|
/**
|
|
1405
|
-
* @public
|
|
1406
1405
|
* <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
|
|
1406
|
+
* @public
|
|
1407
1407
|
*/
|
|
1408
1408
|
resourceArn: string | undefined;
|
|
1409
1409
|
/**
|
|
1410
|
-
* @public
|
|
1411
1410
|
* <p>The key-value pair to use when tagging this repository.</p>
|
|
1411
|
+
* @public
|
|
1412
1412
|
*/
|
|
1413
1413
|
tags: Record<string, string> | undefined;
|
|
1414
1414
|
}
|
|
1415
1415
|
/**
|
|
1416
|
-
* @public
|
|
1417
1416
|
* <p>A map of tags is required.</p>
|
|
1417
|
+
* @public
|
|
1418
1418
|
*/
|
|
1419
1419
|
export declare class TagsMapRequiredException extends __BaseException {
|
|
1420
1420
|
readonly name: "TagsMapRequiredException";
|
|
@@ -1425,57 +1425,57 @@ export declare class TagsMapRequiredException extends __BaseException {
|
|
|
1425
1425
|
constructor(opts: __ExceptionOptionType<TagsMapRequiredException, __BaseException>);
|
|
1426
1426
|
}
|
|
1427
1427
|
/**
|
|
1428
|
-
* @public
|
|
1429
1428
|
* <p>Represents the input of a test repository triggers operation.</p>
|
|
1429
|
+
* @public
|
|
1430
1430
|
*/
|
|
1431
1431
|
export interface TestRepositoryTriggersInput {
|
|
1432
1432
|
/**
|
|
1433
|
-
* @public
|
|
1434
1433
|
* <p>The name of the repository in which to test the triggers.</p>
|
|
1434
|
+
* @public
|
|
1435
1435
|
*/
|
|
1436
1436
|
repositoryName: string | undefined;
|
|
1437
1437
|
/**
|
|
1438
|
-
* @public
|
|
1439
1438
|
* <p>The list of triggers to test.</p>
|
|
1439
|
+
* @public
|
|
1440
1440
|
*/
|
|
1441
1441
|
triggers: RepositoryTrigger[] | undefined;
|
|
1442
1442
|
}
|
|
1443
1443
|
/**
|
|
1444
|
-
* @public
|
|
1445
1444
|
* <p>A trigger failed to run.</p>
|
|
1445
|
+
* @public
|
|
1446
1446
|
*/
|
|
1447
1447
|
export interface RepositoryTriggerExecutionFailure {
|
|
1448
1448
|
/**
|
|
1449
|
-
* @public
|
|
1450
1449
|
* <p>The name of the trigger that did not run.</p>
|
|
1450
|
+
* @public
|
|
1451
1451
|
*/
|
|
1452
1452
|
trigger?: string;
|
|
1453
1453
|
/**
|
|
1454
|
-
* @public
|
|
1455
1454
|
* <p>Message information about the trigger that did not run.</p>
|
|
1455
|
+
* @public
|
|
1456
1456
|
*/
|
|
1457
1457
|
failureMessage?: string;
|
|
1458
1458
|
}
|
|
1459
1459
|
/**
|
|
1460
|
-
* @public
|
|
1461
1460
|
* <p>Represents the output of a test repository triggers operation.</p>
|
|
1461
|
+
* @public
|
|
1462
1462
|
*/
|
|
1463
1463
|
export interface TestRepositoryTriggersOutput {
|
|
1464
1464
|
/**
|
|
1465
|
-
* @public
|
|
1466
1465
|
* <p>The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.</p>
|
|
1466
|
+
* @public
|
|
1467
1467
|
*/
|
|
1468
1468
|
successfulExecutions?: string[];
|
|
1469
1469
|
/**
|
|
1470
|
-
* @public
|
|
1471
1470
|
* <p>The list of triggers that were not tested. This list provides the names of the
|
|
1472
1471
|
* triggers that could not be tested, separated by commas.</p>
|
|
1472
|
+
* @public
|
|
1473
1473
|
*/
|
|
1474
1474
|
failedExecutions?: RepositoryTriggerExecutionFailure[];
|
|
1475
1475
|
}
|
|
1476
1476
|
/**
|
|
1477
|
-
* @public
|
|
1478
1477
|
* <p>The list of tags is not valid.</p>
|
|
1478
|
+
* @public
|
|
1479
1479
|
*/
|
|
1480
1480
|
export declare class InvalidTagKeysListException extends __BaseException {
|
|
1481
1481
|
readonly name: "InvalidTagKeysListException";
|
|
@@ -1486,8 +1486,8 @@ export declare class InvalidTagKeysListException extends __BaseException {
|
|
|
1486
1486
|
constructor(opts: __ExceptionOptionType<InvalidTagKeysListException, __BaseException>);
|
|
1487
1487
|
}
|
|
1488
1488
|
/**
|
|
1489
|
-
* @public
|
|
1490
1489
|
* <p>A list of tag keys is required. The list cannot be empty or null.</p>
|
|
1490
|
+
* @public
|
|
1491
1491
|
*/
|
|
1492
1492
|
export declare class TagKeysListRequiredException extends __BaseException {
|
|
1493
1493
|
readonly name: "TagKeysListRequiredException";
|
|
@@ -1502,19 +1502,19 @@ export declare class TagKeysListRequiredException extends __BaseException {
|
|
|
1502
1502
|
*/
|
|
1503
1503
|
export interface UntagResourceInput {
|
|
1504
1504
|
/**
|
|
1505
|
-
* @public
|
|
1506
1505
|
* <p>The Amazon Resource Name (ARN) of the resource to which you want to remove tags.</p>
|
|
1506
|
+
* @public
|
|
1507
1507
|
*/
|
|
1508
1508
|
resourceArn: string | undefined;
|
|
1509
1509
|
/**
|
|
1510
|
-
* @public
|
|
1511
1510
|
* <p>The tag key for each tag that you want to remove from the resource.</p>
|
|
1511
|
+
* @public
|
|
1512
1512
|
*/
|
|
1513
1513
|
tagKeys: string[] | undefined;
|
|
1514
1514
|
}
|
|
1515
1515
|
/**
|
|
1516
|
-
* @public
|
|
1517
1516
|
* <p>The SHA-256 hash signature for the rule content is not valid.</p>
|
|
1517
|
+
* @public
|
|
1518
1518
|
*/
|
|
1519
1519
|
export declare class InvalidRuleContentSha256Exception extends __BaseException {
|
|
1520
1520
|
readonly name: "InvalidRuleContentSha256Exception";
|
|
@@ -1529,21 +1529,21 @@ export declare class InvalidRuleContentSha256Exception extends __BaseException {
|
|
|
1529
1529
|
*/
|
|
1530
1530
|
export interface UpdateApprovalRuleTemplateContentInput {
|
|
1531
1531
|
/**
|
|
1532
|
-
* @public
|
|
1533
1532
|
* <p>The name of the approval rule template where you want to update the content of the rule. </p>
|
|
1533
|
+
* @public
|
|
1534
1534
|
*/
|
|
1535
1535
|
approvalRuleTemplateName: string | undefined;
|
|
1536
1536
|
/**
|
|
1537
|
-
* @public
|
|
1538
1537
|
* <p>The content that replaces the existing content of the rule. Content statements must be
|
|
1539
1538
|
* complete. You cannot provide only the changes.</p>
|
|
1539
|
+
* @public
|
|
1540
1540
|
*/
|
|
1541
1541
|
newRuleContent: string | undefined;
|
|
1542
1542
|
/**
|
|
1543
|
-
* @public
|
|
1544
1543
|
* <p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this
|
|
1545
1544
|
* information by using
|
|
1546
1545
|
* <a>GetPullRequest</a>.</p>
|
|
1546
|
+
* @public
|
|
1547
1547
|
*/
|
|
1548
1548
|
existingRuleContentSha256?: string;
|
|
1549
1549
|
}
|
|
@@ -1552,8 +1552,8 @@ export interface UpdateApprovalRuleTemplateContentInput {
|
|
|
1552
1552
|
*/
|
|
1553
1553
|
export interface UpdateApprovalRuleTemplateContentOutput {
|
|
1554
1554
|
/**
|
|
1555
|
-
* @public
|
|
1556
1555
|
* <p>Returns information about an approval rule template.</p>
|
|
1556
|
+
* @public
|
|
1557
1557
|
*/
|
|
1558
1558
|
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
1559
1559
|
}
|
|
@@ -1562,13 +1562,13 @@ export interface UpdateApprovalRuleTemplateContentOutput {
|
|
|
1562
1562
|
*/
|
|
1563
1563
|
export interface UpdateApprovalRuleTemplateDescriptionInput {
|
|
1564
1564
|
/**
|
|
1565
|
-
* @public
|
|
1566
1565
|
* <p>The name of the template for which you want to update the description.</p>
|
|
1566
|
+
* @public
|
|
1567
1567
|
*/
|
|
1568
1568
|
approvalRuleTemplateName: string | undefined;
|
|
1569
1569
|
/**
|
|
1570
|
-
* @public
|
|
1571
1570
|
* <p>The updated description of the approval rule template.</p>
|
|
1571
|
+
* @public
|
|
1572
1572
|
*/
|
|
1573
1573
|
approvalRuleTemplateDescription: string | undefined;
|
|
1574
1574
|
}
|
|
@@ -1577,8 +1577,8 @@ export interface UpdateApprovalRuleTemplateDescriptionInput {
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
export interface UpdateApprovalRuleTemplateDescriptionOutput {
|
|
1579
1579
|
/**
|
|
1580
|
-
* @public
|
|
1581
1580
|
* <p>The structure and content of the updated approval rule template.</p>
|
|
1581
|
+
* @public
|
|
1582
1582
|
*/
|
|
1583
1583
|
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
1584
1584
|
}
|
|
@@ -1587,13 +1587,13 @@ export interface UpdateApprovalRuleTemplateDescriptionOutput {
|
|
|
1587
1587
|
*/
|
|
1588
1588
|
export interface UpdateApprovalRuleTemplateNameInput {
|
|
1589
1589
|
/**
|
|
1590
|
-
* @public
|
|
1591
1590
|
* <p>The current name of the approval rule template.</p>
|
|
1591
|
+
* @public
|
|
1592
1592
|
*/
|
|
1593
1593
|
oldApprovalRuleTemplateName: string | undefined;
|
|
1594
1594
|
/**
|
|
1595
|
-
* @public
|
|
1596
1595
|
* <p>The new name you want to apply to the approval rule template.</p>
|
|
1596
|
+
* @public
|
|
1597
1597
|
*/
|
|
1598
1598
|
newApprovalRuleTemplateName: string | undefined;
|
|
1599
1599
|
}
|
|
@@ -1602,14 +1602,14 @@ export interface UpdateApprovalRuleTemplateNameInput {
|
|
|
1602
1602
|
*/
|
|
1603
1603
|
export interface UpdateApprovalRuleTemplateNameOutput {
|
|
1604
1604
|
/**
|
|
1605
|
-
* @public
|
|
1606
1605
|
* <p>The structure and content of the updated approval rule template.</p>
|
|
1606
|
+
* @public
|
|
1607
1607
|
*/
|
|
1608
1608
|
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
1609
1609
|
}
|
|
1610
1610
|
/**
|
|
1611
|
-
* @public
|
|
1612
1611
|
* <p>You cannot modify or delete this comment. Only comment authors can modify or delete their comments.</p>
|
|
1612
|
+
* @public
|
|
1613
1613
|
*/
|
|
1614
1614
|
export declare class CommentNotCreatedByCallerException extends __BaseException {
|
|
1615
1615
|
readonly name: "CommentNotCreatedByCallerException";
|
|
@@ -1624,14 +1624,14 @@ export declare class CommentNotCreatedByCallerException extends __BaseException
|
|
|
1624
1624
|
*/
|
|
1625
1625
|
export interface UpdateCommentInput {
|
|
1626
1626
|
/**
|
|
1627
|
-
* @public
|
|
1628
1627
|
* <p>The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a>
|
|
1629
1628
|
* or <a>GetCommentsForPullRequest</a>.</p>
|
|
1629
|
+
* @public
|
|
1630
1630
|
*/
|
|
1631
1631
|
commentId: string | undefined;
|
|
1632
1632
|
/**
|
|
1633
|
-
* @public
|
|
1634
1633
|
* <p>The updated content to replace the existing content of the comment.</p>
|
|
1634
|
+
* @public
|
|
1635
1635
|
*/
|
|
1636
1636
|
content: string | undefined;
|
|
1637
1637
|
}
|
|
@@ -1640,24 +1640,24 @@ export interface UpdateCommentInput {
|
|
|
1640
1640
|
*/
|
|
1641
1641
|
export interface UpdateCommentOutput {
|
|
1642
1642
|
/**
|
|
1643
|
-
* @public
|
|
1644
1643
|
* <p>Information about the updated comment.</p>
|
|
1644
|
+
* @public
|
|
1645
1645
|
*/
|
|
1646
1646
|
comment?: Comment;
|
|
1647
1647
|
}
|
|
1648
1648
|
/**
|
|
1649
|
-
* @public
|
|
1650
1649
|
* <p>Represents the input of an update default branch operation.</p>
|
|
1650
|
+
* @public
|
|
1651
1651
|
*/
|
|
1652
1652
|
export interface UpdateDefaultBranchInput {
|
|
1653
1653
|
/**
|
|
1654
|
-
* @public
|
|
1655
1654
|
* <p>The name of the repository for which you want to set or change the default branch.</p>
|
|
1655
|
+
* @public
|
|
1656
1656
|
*/
|
|
1657
1657
|
repositoryName: string | undefined;
|
|
1658
1658
|
/**
|
|
1659
|
-
* @public
|
|
1660
1659
|
* <p>The name of the branch to set as the default branch.</p>
|
|
1660
|
+
* @public
|
|
1661
1661
|
*/
|
|
1662
1662
|
defaultBranchName: string | undefined;
|
|
1663
1663
|
}
|
|
@@ -1666,24 +1666,23 @@ export interface UpdateDefaultBranchInput {
|
|
|
1666
1666
|
*/
|
|
1667
1667
|
export interface UpdatePullRequestApprovalRuleContentInput {
|
|
1668
1668
|
/**
|
|
1669
|
-
* @public
|
|
1670
1669
|
* <p>The system-generated ID of the pull request.</p>
|
|
1670
|
+
* @public
|
|
1671
1671
|
*/
|
|
1672
1672
|
pullRequestId: string | undefined;
|
|
1673
1673
|
/**
|
|
1674
|
-
* @public
|
|
1675
1674
|
* <p>The name of the approval rule you want to update.</p>
|
|
1675
|
+
* @public
|
|
1676
1676
|
*/
|
|
1677
1677
|
approvalRuleName: string | undefined;
|
|
1678
1678
|
/**
|
|
1679
|
-
* @public
|
|
1680
1679
|
* <p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this
|
|
1681
1680
|
* information by using
|
|
1682
1681
|
* <a>GetPullRequest</a>.</p>
|
|
1682
|
+
* @public
|
|
1683
1683
|
*/
|
|
1684
1684
|
existingRuleContentSha256?: string;
|
|
1685
1685
|
/**
|
|
1686
|
-
* @public
|
|
1687
1686
|
* <p>The updated content for the approval rule.</p>
|
|
1688
1687
|
* <note>
|
|
1689
1688
|
* <p>When you update the content of the approval rule, you can specify approvers in an
|
|
@@ -1724,6 +1723,7 @@ export interface UpdatePullRequestApprovalRuleContentInput {
|
|
|
1724
1723
|
* <p>For more information about IAM ARNs, wildcards, and formats, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM
|
|
1725
1724
|
* Identifiers</a> in the <i>IAM User Guide</i>.</p>
|
|
1726
1725
|
* </note>
|
|
1726
|
+
* @public
|
|
1727
1727
|
*/
|
|
1728
1728
|
newRuleContent: string | undefined;
|
|
1729
1729
|
}
|
|
@@ -1732,14 +1732,14 @@ export interface UpdatePullRequestApprovalRuleContentInput {
|
|
|
1732
1732
|
*/
|
|
1733
1733
|
export interface UpdatePullRequestApprovalRuleContentOutput {
|
|
1734
1734
|
/**
|
|
1735
|
-
* @public
|
|
1736
1735
|
* <p>Information about the updated approval rule.</p>
|
|
1736
|
+
* @public
|
|
1737
1737
|
*/
|
|
1738
1738
|
approvalRule: ApprovalRule | undefined;
|
|
1739
1739
|
}
|
|
1740
1740
|
/**
|
|
1741
|
-
* @public
|
|
1742
1741
|
* <p>The state for the approval is not valid. Valid values include APPROVE and REVOKE. </p>
|
|
1742
|
+
* @public
|
|
1743
1743
|
*/
|
|
1744
1744
|
export declare class InvalidApprovalStateException extends __BaseException {
|
|
1745
1745
|
readonly name: "InvalidApprovalStateException";
|
|
@@ -1750,8 +1750,8 @@ export declare class InvalidApprovalStateException extends __BaseException {
|
|
|
1750
1750
|
constructor(opts: __ExceptionOptionType<InvalidApprovalStateException, __BaseException>);
|
|
1751
1751
|
}
|
|
1752
1752
|
/**
|
|
1753
|
-
* @public
|
|
1754
1753
|
* <p>The number of approvals required for the approval rule exceeds the maximum number allowed.</p>
|
|
1754
|
+
* @public
|
|
1755
1755
|
*/
|
|
1756
1756
|
export declare class MaximumNumberOfApprovalsExceededException extends __BaseException {
|
|
1757
1757
|
readonly name: "MaximumNumberOfApprovalsExceededException";
|
|
@@ -1762,9 +1762,9 @@ export declare class MaximumNumberOfApprovalsExceededException extends __BaseExc
|
|
|
1762
1762
|
constructor(opts: __ExceptionOptionType<MaximumNumberOfApprovalsExceededException, __BaseException>);
|
|
1763
1763
|
}
|
|
1764
1764
|
/**
|
|
1765
|
-
* @public
|
|
1766
1765
|
* <p>The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull
|
|
1767
1766
|
* request that you created.</p>
|
|
1767
|
+
* @public
|
|
1768
1768
|
*/
|
|
1769
1769
|
export declare class PullRequestCannotBeApprovedByAuthorException extends __BaseException {
|
|
1770
1770
|
readonly name: "PullRequestCannotBeApprovedByAuthorException";
|
|
@@ -1779,18 +1779,18 @@ export declare class PullRequestCannotBeApprovedByAuthorException extends __Base
|
|
|
1779
1779
|
*/
|
|
1780
1780
|
export interface UpdatePullRequestApprovalStateInput {
|
|
1781
1781
|
/**
|
|
1782
|
-
* @public
|
|
1783
1782
|
* <p>The system-generated ID of the pull request.</p>
|
|
1783
|
+
* @public
|
|
1784
1784
|
*/
|
|
1785
1785
|
pullRequestId: string | undefined;
|
|
1786
1786
|
/**
|
|
1787
|
-
* @public
|
|
1788
1787
|
* <p>The system-generated ID of the revision.</p>
|
|
1788
|
+
* @public
|
|
1789
1789
|
*/
|
|
1790
1790
|
revisionId: string | undefined;
|
|
1791
1791
|
/**
|
|
1792
|
-
* @public
|
|
1793
1792
|
* <p>The approval state to associate with the user on the pull request.</p>
|
|
1793
|
+
* @public
|
|
1794
1794
|
*/
|
|
1795
1795
|
approvalState: ApprovalState | undefined;
|
|
1796
1796
|
}
|
|
@@ -1799,14 +1799,14 @@ export interface UpdatePullRequestApprovalStateInput {
|
|
|
1799
1799
|
*/
|
|
1800
1800
|
export interface UpdatePullRequestDescriptionInput {
|
|
1801
1801
|
/**
|
|
1802
|
-
* @public
|
|
1803
1802
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
1803
|
+
* @public
|
|
1804
1804
|
*/
|
|
1805
1805
|
pullRequestId: string | undefined;
|
|
1806
1806
|
/**
|
|
1807
|
-
* @public
|
|
1808
1807
|
* <p>The updated content of the description for the pull request. This content replaces the
|
|
1809
1808
|
* existing description.</p>
|
|
1809
|
+
* @public
|
|
1810
1810
|
*/
|
|
1811
1811
|
description: string | undefined;
|
|
1812
1812
|
}
|
|
@@ -1815,14 +1815,14 @@ export interface UpdatePullRequestDescriptionInput {
|
|
|
1815
1815
|
*/
|
|
1816
1816
|
export interface UpdatePullRequestDescriptionOutput {
|
|
1817
1817
|
/**
|
|
1818
|
-
* @public
|
|
1819
1818
|
* <p>Information about the updated pull request.</p>
|
|
1819
|
+
* @public
|
|
1820
1820
|
*/
|
|
1821
1821
|
pullRequest: PullRequest | undefined;
|
|
1822
1822
|
}
|
|
1823
1823
|
/**
|
|
1824
|
-
* @public
|
|
1825
1824
|
* <p>The pull request status update is not valid. The only valid update is from <code>OPEN</code> to <code>CLOSED</code>.</p>
|
|
1825
|
+
* @public
|
|
1826
1826
|
*/
|
|
1827
1827
|
export declare class InvalidPullRequestStatusUpdateException extends __BaseException {
|
|
1828
1828
|
readonly name: "InvalidPullRequestStatusUpdateException";
|
|
@@ -1833,8 +1833,8 @@ export declare class InvalidPullRequestStatusUpdateException extends __BaseExcep
|
|
|
1833
1833
|
constructor(opts: __ExceptionOptionType<InvalidPullRequestStatusUpdateException, __BaseException>);
|
|
1834
1834
|
}
|
|
1835
1835
|
/**
|
|
1836
|
-
* @public
|
|
1837
1836
|
* <p>A pull request status is required, but none was provided.</p>
|
|
1837
|
+
* @public
|
|
1838
1838
|
*/
|
|
1839
1839
|
export declare class PullRequestStatusRequiredException extends __BaseException {
|
|
1840
1840
|
readonly name: "PullRequestStatusRequiredException";
|
|
@@ -1849,15 +1849,15 @@ export declare class PullRequestStatusRequiredException extends __BaseException
|
|
|
1849
1849
|
*/
|
|
1850
1850
|
export interface UpdatePullRequestStatusInput {
|
|
1851
1851
|
/**
|
|
1852
|
-
* @public
|
|
1853
1852
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
1853
|
+
* @public
|
|
1854
1854
|
*/
|
|
1855
1855
|
pullRequestId: string | undefined;
|
|
1856
1856
|
/**
|
|
1857
|
-
* @public
|
|
1858
1857
|
* <p>The status of the pull request. The only valid operations are to update the status
|
|
1859
1858
|
* from <code>OPEN</code> to <code>OPEN</code>, <code>OPEN</code> to <code>CLOSED</code> or
|
|
1860
1859
|
* from <code>CLOSED</code> to <code>CLOSED</code>.</p>
|
|
1860
|
+
* @public
|
|
1861
1861
|
*/
|
|
1862
1862
|
pullRequestStatus: PullRequestStatusEnum | undefined;
|
|
1863
1863
|
}
|
|
@@ -1866,8 +1866,8 @@ export interface UpdatePullRequestStatusInput {
|
|
|
1866
1866
|
*/
|
|
1867
1867
|
export interface UpdatePullRequestStatusOutput {
|
|
1868
1868
|
/**
|
|
1869
|
-
* @public
|
|
1870
1869
|
* <p>Information about the pull request.</p>
|
|
1870
|
+
* @public
|
|
1871
1871
|
*/
|
|
1872
1872
|
pullRequest: PullRequest | undefined;
|
|
1873
1873
|
}
|
|
@@ -1876,13 +1876,13 @@ export interface UpdatePullRequestStatusOutput {
|
|
|
1876
1876
|
*/
|
|
1877
1877
|
export interface UpdatePullRequestTitleInput {
|
|
1878
1878
|
/**
|
|
1879
|
-
* @public
|
|
1880
1879
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
1880
|
+
* @public
|
|
1881
1881
|
*/
|
|
1882
1882
|
pullRequestId: string | undefined;
|
|
1883
1883
|
/**
|
|
1884
|
-
* @public
|
|
1885
1884
|
* <p>The updated title of the pull request. This replaces the existing title.</p>
|
|
1885
|
+
* @public
|
|
1886
1886
|
*/
|
|
1887
1887
|
title: string | undefined;
|
|
1888
1888
|
}
|
|
@@ -1891,30 +1891,30 @@ export interface UpdatePullRequestTitleInput {
|
|
|
1891
1891
|
*/
|
|
1892
1892
|
export interface UpdatePullRequestTitleOutput {
|
|
1893
1893
|
/**
|
|
1894
|
-
* @public
|
|
1895
1894
|
* <p>Information about the updated pull request.</p>
|
|
1895
|
+
* @public
|
|
1896
1896
|
*/
|
|
1897
1897
|
pullRequest: PullRequest | undefined;
|
|
1898
1898
|
}
|
|
1899
1899
|
/**
|
|
1900
|
-
* @public
|
|
1901
1900
|
* <p>Represents the input of an update repository description operation.</p>
|
|
1901
|
+
* @public
|
|
1902
1902
|
*/
|
|
1903
1903
|
export interface UpdateRepositoryDescriptionInput {
|
|
1904
1904
|
/**
|
|
1905
|
-
* @public
|
|
1906
1905
|
* <p>The name of the repository to set or change the comment or description for.</p>
|
|
1906
|
+
* @public
|
|
1907
1907
|
*/
|
|
1908
1908
|
repositoryName: string | undefined;
|
|
1909
1909
|
/**
|
|
1910
|
-
* @public
|
|
1911
1910
|
* <p>The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.</p>
|
|
1911
|
+
* @public
|
|
1912
1912
|
*/
|
|
1913
1913
|
repositoryDescription?: string;
|
|
1914
1914
|
}
|
|
1915
1915
|
/**
|
|
1916
|
-
* @public
|
|
1917
1916
|
* <p>A KMS encryption key ID is required but was not specified.</p>
|
|
1917
|
+
* @public
|
|
1918
1918
|
*/
|
|
1919
1919
|
export declare class EncryptionKeyRequiredException extends __BaseException {
|
|
1920
1920
|
readonly name: "EncryptionKeyRequiredException";
|
|
@@ -1929,16 +1929,16 @@ export declare class EncryptionKeyRequiredException extends __BaseException {
|
|
|
1929
1929
|
*/
|
|
1930
1930
|
export interface UpdateRepositoryEncryptionKeyInput {
|
|
1931
1931
|
/**
|
|
1932
|
-
* @public
|
|
1933
1932
|
* <p>The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.</p>
|
|
1933
|
+
* @public
|
|
1934
1934
|
*/
|
|
1935
1935
|
repositoryName: string | undefined;
|
|
1936
1936
|
/**
|
|
1937
|
-
* @public
|
|
1938
1937
|
* <p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to
|
|
1939
1938
|
* programmatically retrieve a key ID. For more information about acceptable values for keyID, see
|
|
1940
1939
|
* <a href="https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
|
|
1941
1940
|
* the <i>Key Management Service API Reference</i>.</p>
|
|
1941
|
+
* @public
|
|
1942
1942
|
*/
|
|
1943
1943
|
kmsKeyId: string | undefined;
|
|
1944
1944
|
}
|
|
@@ -1947,34 +1947,34 @@ export interface UpdateRepositoryEncryptionKeyInput {
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
export interface UpdateRepositoryEncryptionKeyOutput {
|
|
1949
1949
|
/**
|
|
1950
|
-
* @public
|
|
1951
1950
|
* <p>The ID of the repository.</p>
|
|
1951
|
+
* @public
|
|
1952
1952
|
*/
|
|
1953
1953
|
repositoryId?: string;
|
|
1954
1954
|
/**
|
|
1955
|
-
* @public
|
|
1956
1955
|
* <p>The ID of the encryption key.</p>
|
|
1956
|
+
* @public
|
|
1957
1957
|
*/
|
|
1958
1958
|
kmsKeyId?: string;
|
|
1959
1959
|
/**
|
|
1960
|
-
* @public
|
|
1961
1960
|
* <p>The ID of the encryption key formerly used to encrypt and decrypt the repository.</p>
|
|
1961
|
+
* @public
|
|
1962
1962
|
*/
|
|
1963
1963
|
originalKmsKeyId?: string;
|
|
1964
1964
|
}
|
|
1965
1965
|
/**
|
|
1966
|
-
* @public
|
|
1967
1966
|
* <p>Represents the input of an update repository description operation.</p>
|
|
1967
|
+
* @public
|
|
1968
1968
|
*/
|
|
1969
1969
|
export interface UpdateRepositoryNameInput {
|
|
1970
1970
|
/**
|
|
1971
|
-
* @public
|
|
1972
1971
|
* <p>The current name of the repository.</p>
|
|
1972
|
+
* @public
|
|
1973
1973
|
*/
|
|
1974
1974
|
oldName: string | undefined;
|
|
1975
1975
|
/**
|
|
1976
|
-
* @public
|
|
1977
1976
|
* <p>The new name for the repository.</p>
|
|
1977
|
+
* @public
|
|
1978
1978
|
*/
|
|
1979
1979
|
newName: string | undefined;
|
|
1980
1980
|
}
|