@aws-sdk/client-codecommit 3.686.0 → 3.691.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/models/models_0.d.ts +343 -343
- package/dist-types/models/models_1.d.ts +106 -106
- package/dist-types/ts3.4/models/models_0.d.ts +353 -343
- package/dist-types/ts3.4/models/models_1.d.ts +106 -106
- package/package.json +7 -7
|
@@ -10,23 +10,23 @@ export interface FileVersion {
|
|
|
10
10
|
* <p>Returns information about a specific commit.</p>
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
commit?: Commit;
|
|
13
|
+
commit?: Commit | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* <p>The blob ID of the object that represents the content of the file in this version.</p>
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
|
-
blobId?: string;
|
|
18
|
+
blobId?: string | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* <p>The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will
|
|
21
21
|
* vary between file versions if a file is renamed or if its path changes.</p>
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
path?: string;
|
|
24
|
+
path?: string | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* <p>An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.</p>
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
|
-
revisionChildren?: string[];
|
|
29
|
+
revisionChildren?: string[] | undefined;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @public
|
|
@@ -41,7 +41,7 @@ export interface ListFileCommitHistoryResponse {
|
|
|
41
41
|
* <p>An enumeration token that can be used to return the next batch of results.</p>
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
nextToken?: string;
|
|
44
|
+
nextToken?: string | undefined;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* <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>
|
|
@@ -81,23 +81,23 @@ export interface ListPullRequestsInput {
|
|
|
81
81
|
* to pull requests created by that user.</p>
|
|
82
82
|
* @public
|
|
83
83
|
*/
|
|
84
|
-
authorArn?: string;
|
|
84
|
+
authorArn?: string | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* <p>Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.</p>
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
|
-
pullRequestStatus?: PullRequestStatusEnum;
|
|
89
|
+
pullRequestStatus?: PullRequestStatusEnum | undefined;
|
|
90
90
|
/**
|
|
91
91
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
92
92
|
* results.</p>
|
|
93
93
|
* @public
|
|
94
94
|
*/
|
|
95
|
-
nextToken?: string;
|
|
95
|
+
nextToken?: string | undefined;
|
|
96
96
|
/**
|
|
97
97
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
98
98
|
* @public
|
|
99
99
|
*/
|
|
100
|
-
maxResults?: number;
|
|
100
|
+
maxResults?: number | undefined;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* @public
|
|
@@ -112,7 +112,7 @@ export interface ListPullRequestsOutput {
|
|
|
112
112
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
113
113
|
* @public
|
|
114
114
|
*/
|
|
115
|
-
nextToken?: string;
|
|
115
|
+
nextToken?: string | undefined;
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
118
|
* <p>The specified sort order is not valid.</p>
|
|
@@ -173,17 +173,17 @@ export interface ListRepositoriesInput {
|
|
|
173
173
|
* another page of 1,000 records is retrieved.</p>
|
|
174
174
|
* @public
|
|
175
175
|
*/
|
|
176
|
-
nextToken?: string;
|
|
176
|
+
nextToken?: string | undefined;
|
|
177
177
|
/**
|
|
178
178
|
* <p>The criteria used to sort the results of a list repositories operation.</p>
|
|
179
179
|
* @public
|
|
180
180
|
*/
|
|
181
|
-
sortBy?: SortByEnum;
|
|
181
|
+
sortBy?: SortByEnum | undefined;
|
|
182
182
|
/**
|
|
183
183
|
* <p>The order in which to sort the results of a list repositories operation.</p>
|
|
184
184
|
* @public
|
|
185
185
|
*/
|
|
186
|
-
order?: OrderEnum;
|
|
186
|
+
order?: OrderEnum | undefined;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
* <p>Information about a repository name and ID.</p>
|
|
@@ -194,12 +194,12 @@ export interface RepositoryNameIdPair {
|
|
|
194
194
|
* <p>The name associated with the repository.</p>
|
|
195
195
|
* @public
|
|
196
196
|
*/
|
|
197
|
-
repositoryName?: string;
|
|
197
|
+
repositoryName?: string | undefined;
|
|
198
198
|
/**
|
|
199
199
|
* <p>The ID associated with the repository.</p>
|
|
200
200
|
* @public
|
|
201
201
|
*/
|
|
202
|
-
repositoryId?: string;
|
|
202
|
+
repositoryId?: string | undefined;
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
205
|
* <p>Represents the output of a list repositories operation.</p>
|
|
@@ -210,14 +210,14 @@ export interface ListRepositoriesOutput {
|
|
|
210
210
|
* <p>Lists the repositories called by the list repositories operation.</p>
|
|
211
211
|
* @public
|
|
212
212
|
*/
|
|
213
|
-
repositories?: RepositoryNameIdPair[];
|
|
213
|
+
repositories?: RepositoryNameIdPair[] | undefined;
|
|
214
214
|
/**
|
|
215
215
|
* <p>An enumeration token that allows the operation to batch the results of the operation.
|
|
216
216
|
* Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit,
|
|
217
217
|
* another page of 1,000 records is retrieved.</p>
|
|
218
218
|
* @public
|
|
219
219
|
*/
|
|
220
|
-
nextToken?: string;
|
|
220
|
+
nextToken?: string | undefined;
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
223
|
* @public
|
|
@@ -233,12 +233,12 @@ export interface ListRepositoriesForApprovalRuleTemplateInput {
|
|
|
233
233
|
* results.</p>
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
|
-
nextToken?: string;
|
|
236
|
+
nextToken?: string | undefined;
|
|
237
237
|
/**
|
|
238
238
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
239
239
|
* @public
|
|
240
240
|
*/
|
|
241
|
-
maxResults?: number;
|
|
241
|
+
maxResults?: number | undefined;
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
244
|
* @public
|
|
@@ -248,12 +248,12 @@ export interface ListRepositoriesForApprovalRuleTemplateOutput {
|
|
|
248
248
|
* <p>A list of repository names that are associated with the specified approval rule template.</p>
|
|
249
249
|
* @public
|
|
250
250
|
*/
|
|
251
|
-
repositoryNames?: string[];
|
|
251
|
+
repositoryNames?: string[] | undefined;
|
|
252
252
|
/**
|
|
253
253
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
254
254
|
* @public
|
|
255
255
|
*/
|
|
256
|
-
nextToken?: string;
|
|
256
|
+
nextToken?: string | undefined;
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
259
|
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
@@ -284,7 +284,7 @@ export interface ListTagsForResourceInput {
|
|
|
284
284
|
* results.</p>
|
|
285
285
|
* @public
|
|
286
286
|
*/
|
|
287
|
-
nextToken?: string;
|
|
287
|
+
nextToken?: string | undefined;
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
290
|
* @public
|
|
@@ -294,12 +294,12 @@ export interface ListTagsForResourceOutput {
|
|
|
294
294
|
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
295
295
|
* @public
|
|
296
296
|
*/
|
|
297
|
-
tags?: Record<string, string
|
|
297
|
+
tags?: Record<string, string> | undefined;
|
|
298
298
|
/**
|
|
299
299
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
300
300
|
* @public
|
|
301
301
|
*/
|
|
302
|
-
nextToken?: string;
|
|
302
|
+
nextToken?: string | undefined;
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
305
|
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
@@ -352,7 +352,7 @@ export interface MergeBranchesByFastForwardInput {
|
|
|
352
352
|
* <p>The branch where the merge is applied.</p>
|
|
353
353
|
* @public
|
|
354
354
|
*/
|
|
355
|
-
targetBranch?: string;
|
|
355
|
+
targetBranch?: string | undefined;
|
|
356
356
|
}
|
|
357
357
|
/**
|
|
358
358
|
* @public
|
|
@@ -362,12 +362,12 @@ export interface MergeBranchesByFastForwardOutput {
|
|
|
362
362
|
* <p>The commit ID of the merge in the destination or target branch.</p>
|
|
363
363
|
* @public
|
|
364
364
|
*/
|
|
365
|
-
commitId?: string;
|
|
365
|
+
commitId?: string | undefined;
|
|
366
366
|
/**
|
|
367
367
|
* <p>The tree ID of the merge in the destination or target branch.</p>
|
|
368
368
|
* @public
|
|
369
369
|
*/
|
|
370
|
-
treeId?: string;
|
|
370
|
+
treeId?: string | undefined;
|
|
371
371
|
}
|
|
372
372
|
/**
|
|
373
373
|
* @public
|
|
@@ -394,7 +394,7 @@ export interface MergeBranchesBySquashInput {
|
|
|
394
394
|
* <p>The branch where the merge is applied. </p>
|
|
395
395
|
* @public
|
|
396
396
|
*/
|
|
397
|
-
targetBranch?: string;
|
|
397
|
+
targetBranch?: string | undefined;
|
|
398
398
|
/**
|
|
399
399
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
400
400
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
@@ -402,44 +402,44 @@ export interface MergeBranchesBySquashInput {
|
|
|
402
402
|
* both branches has differences on the same line.</p>
|
|
403
403
|
* @public
|
|
404
404
|
*/
|
|
405
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
405
|
+
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
406
406
|
/**
|
|
407
407
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
408
408
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
409
409
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
410
410
|
* @public
|
|
411
411
|
*/
|
|
412
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
412
|
+
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
415
415
|
* author and committer for the commit.</p>
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
|
-
authorName?: string;
|
|
418
|
+
authorName?: string | undefined;
|
|
419
419
|
/**
|
|
420
420
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
421
421
|
* commit information for the merge.</p>
|
|
422
422
|
* @public
|
|
423
423
|
*/
|
|
424
|
-
email?: string;
|
|
424
|
+
email?: string | undefined;
|
|
425
425
|
/**
|
|
426
426
|
* <p>The commit message for the merge.</p>
|
|
427
427
|
* @public
|
|
428
428
|
*/
|
|
429
|
-
commitMessage?: string;
|
|
429
|
+
commitMessage?: string | undefined;
|
|
430
430
|
/**
|
|
431
431
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
432
432
|
* changes leave the folders empty. If this is specified as true, a .gitkeep file is
|
|
433
433
|
* created for empty folders. The default is false.</p>
|
|
434
434
|
* @public
|
|
435
435
|
*/
|
|
436
|
-
keepEmptyFolders?: boolean;
|
|
436
|
+
keepEmptyFolders?: boolean | undefined;
|
|
437
437
|
/**
|
|
438
438
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
439
439
|
* resolving conflicts during a merge.</p>
|
|
440
440
|
* @public
|
|
441
441
|
*/
|
|
442
|
-
conflictResolution?: ConflictResolution;
|
|
442
|
+
conflictResolution?: ConflictResolution | undefined;
|
|
443
443
|
}
|
|
444
444
|
/**
|
|
445
445
|
* @public
|
|
@@ -449,12 +449,12 @@ export interface MergeBranchesBySquashOutput {
|
|
|
449
449
|
* <p>The commit ID of the merge in the destination or target branch.</p>
|
|
450
450
|
* @public
|
|
451
451
|
*/
|
|
452
|
-
commitId?: string;
|
|
452
|
+
commitId?: string | undefined;
|
|
453
453
|
/**
|
|
454
454
|
* <p>The tree ID of the merge in the destination or target branch.</p>
|
|
455
455
|
* @public
|
|
456
456
|
*/
|
|
457
|
-
treeId?: string;
|
|
457
|
+
treeId?: string | undefined;
|
|
458
458
|
}
|
|
459
459
|
/**
|
|
460
460
|
* @public
|
|
@@ -481,7 +481,7 @@ export interface MergeBranchesByThreeWayInput {
|
|
|
481
481
|
* <p>The branch where the merge is applied. </p>
|
|
482
482
|
* @public
|
|
483
483
|
*/
|
|
484
|
-
targetBranch?: string;
|
|
484
|
+
targetBranch?: string | undefined;
|
|
485
485
|
/**
|
|
486
486
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
487
487
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
@@ -489,44 +489,44 @@ export interface MergeBranchesByThreeWayInput {
|
|
|
489
489
|
* both branches has differences on the same line.</p>
|
|
490
490
|
* @public
|
|
491
491
|
*/
|
|
492
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
492
|
+
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
493
493
|
/**
|
|
494
494
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
495
495
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
496
496
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
497
497
|
* @public
|
|
498
498
|
*/
|
|
499
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
499
|
+
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
500
500
|
/**
|
|
501
501
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
502
502
|
* author and committer for the commit.</p>
|
|
503
503
|
* @public
|
|
504
504
|
*/
|
|
505
|
-
authorName?: string;
|
|
505
|
+
authorName?: string | undefined;
|
|
506
506
|
/**
|
|
507
507
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
508
508
|
* commit information for the merge.</p>
|
|
509
509
|
* @public
|
|
510
510
|
*/
|
|
511
|
-
email?: string;
|
|
511
|
+
email?: string | undefined;
|
|
512
512
|
/**
|
|
513
513
|
* <p>The commit message to include in the commit information for the merge.</p>
|
|
514
514
|
* @public
|
|
515
515
|
*/
|
|
516
|
-
commitMessage?: string;
|
|
516
|
+
commitMessage?: string | undefined;
|
|
517
517
|
/**
|
|
518
518
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
519
519
|
* changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
|
|
520
520
|
* The default is false.</p>
|
|
521
521
|
* @public
|
|
522
522
|
*/
|
|
523
|
-
keepEmptyFolders?: boolean;
|
|
523
|
+
keepEmptyFolders?: boolean | undefined;
|
|
524
524
|
/**
|
|
525
525
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
526
526
|
* resolving conflicts during a merge.</p>
|
|
527
527
|
* @public
|
|
528
528
|
*/
|
|
529
|
-
conflictResolution?: ConflictResolution;
|
|
529
|
+
conflictResolution?: ConflictResolution | undefined;
|
|
530
530
|
}
|
|
531
531
|
/**
|
|
532
532
|
* @public
|
|
@@ -536,12 +536,12 @@ export interface MergeBranchesByThreeWayOutput {
|
|
|
536
536
|
* <p>The commit ID of the merge in the destination or target branch.</p>
|
|
537
537
|
* @public
|
|
538
538
|
*/
|
|
539
|
-
commitId?: string;
|
|
539
|
+
commitId?: string | undefined;
|
|
540
540
|
/**
|
|
541
541
|
* <p>The tree ID of the merge in the destination or target branch.</p>
|
|
542
542
|
* @public
|
|
543
543
|
*/
|
|
544
|
-
treeId?: string;
|
|
544
|
+
treeId?: string | undefined;
|
|
545
545
|
}
|
|
546
546
|
/**
|
|
547
547
|
* @public
|
|
@@ -562,7 +562,7 @@ export interface MergePullRequestByFastForwardInput {
|
|
|
562
562
|
* exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
|
|
563
563
|
* @public
|
|
564
564
|
*/
|
|
565
|
-
sourceCommitId?: string;
|
|
565
|
+
sourceCommitId?: string | undefined;
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
568
|
* @public
|
|
@@ -572,7 +572,7 @@ export interface MergePullRequestByFastForwardOutput {
|
|
|
572
572
|
* <p>Information about the specified pull request, including the merge.</p>
|
|
573
573
|
* @public
|
|
574
574
|
*/
|
|
575
|
-
pullRequest?: PullRequest;
|
|
575
|
+
pullRequest?: PullRequest | undefined;
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
578
|
* <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>
|
|
@@ -618,7 +618,7 @@ export interface MergePullRequestBySquashInput {
|
|
|
618
618
|
* exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
|
|
619
619
|
* @public
|
|
620
620
|
*/
|
|
621
|
-
sourceCommitId?: string;
|
|
621
|
+
sourceCommitId?: string | undefined;
|
|
622
622
|
/**
|
|
623
623
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
624
624
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
@@ -626,44 +626,44 @@ export interface MergePullRequestBySquashInput {
|
|
|
626
626
|
* both branches has differences on the same line.</p>
|
|
627
627
|
* @public
|
|
628
628
|
*/
|
|
629
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
629
|
+
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
630
630
|
/**
|
|
631
631
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
632
632
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
633
633
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
634
634
|
* @public
|
|
635
635
|
*/
|
|
636
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
636
|
+
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
637
637
|
/**
|
|
638
638
|
* <p>The commit message to include in the commit information for the merge.</p>
|
|
639
639
|
* @public
|
|
640
640
|
*/
|
|
641
|
-
commitMessage?: string;
|
|
641
|
+
commitMessage?: string | undefined;
|
|
642
642
|
/**
|
|
643
643
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
644
644
|
* author and committer for the commit.</p>
|
|
645
645
|
* @public
|
|
646
646
|
*/
|
|
647
|
-
authorName?: string;
|
|
647
|
+
authorName?: string | undefined;
|
|
648
648
|
/**
|
|
649
649
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
650
650
|
* commit information for the merge.</p>
|
|
651
651
|
* @public
|
|
652
652
|
*/
|
|
653
|
-
email?: string;
|
|
653
|
+
email?: string | undefined;
|
|
654
654
|
/**
|
|
655
655
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
656
656
|
* changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
|
|
657
657
|
* The default is false.</p>
|
|
658
658
|
* @public
|
|
659
659
|
*/
|
|
660
|
-
keepEmptyFolders?: boolean;
|
|
660
|
+
keepEmptyFolders?: boolean | undefined;
|
|
661
661
|
/**
|
|
662
662
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
663
663
|
* resolving conflicts during a merge.</p>
|
|
664
664
|
* @public
|
|
665
665
|
*/
|
|
666
|
-
conflictResolution?: ConflictResolution;
|
|
666
|
+
conflictResolution?: ConflictResolution | undefined;
|
|
667
667
|
}
|
|
668
668
|
/**
|
|
669
669
|
* @public
|
|
@@ -673,7 +673,7 @@ export interface MergePullRequestBySquashOutput {
|
|
|
673
673
|
* <p>Returns information about a pull request.</p>
|
|
674
674
|
* @public
|
|
675
675
|
*/
|
|
676
|
-
pullRequest?: PullRequest;
|
|
676
|
+
pullRequest?: PullRequest | undefined;
|
|
677
677
|
}
|
|
678
678
|
/**
|
|
679
679
|
* @public
|
|
@@ -694,7 +694,7 @@ export interface MergePullRequestByThreeWayInput {
|
|
|
694
694
|
* exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
|
|
695
695
|
* @public
|
|
696
696
|
*/
|
|
697
|
-
sourceCommitId?: string;
|
|
697
|
+
sourceCommitId?: string | undefined;
|
|
698
698
|
/**
|
|
699
699
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
700
700
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
@@ -702,44 +702,44 @@ export interface MergePullRequestByThreeWayInput {
|
|
|
702
702
|
* both branches has differences on the same line.</p>
|
|
703
703
|
* @public
|
|
704
704
|
*/
|
|
705
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum;
|
|
705
|
+
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
706
706
|
/**
|
|
707
707
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
708
708
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
709
709
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
710
710
|
* @public
|
|
711
711
|
*/
|
|
712
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
|
|
712
|
+
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
713
713
|
/**
|
|
714
714
|
* <p>The commit message to include in the commit information for the merge.</p>
|
|
715
715
|
* @public
|
|
716
716
|
*/
|
|
717
|
-
commitMessage?: string;
|
|
717
|
+
commitMessage?: string | undefined;
|
|
718
718
|
/**
|
|
719
719
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
720
720
|
* author and committer for the commit.</p>
|
|
721
721
|
* @public
|
|
722
722
|
*/
|
|
723
|
-
authorName?: string;
|
|
723
|
+
authorName?: string | undefined;
|
|
724
724
|
/**
|
|
725
725
|
* <p>The email address of the person merging the branches. This information is used in the
|
|
726
726
|
* commit information for the merge.</p>
|
|
727
727
|
* @public
|
|
728
728
|
*/
|
|
729
|
-
email?: string;
|
|
729
|
+
email?: string | undefined;
|
|
730
730
|
/**
|
|
731
731
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
732
732
|
* changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
|
|
733
733
|
* The default is false.</p>
|
|
734
734
|
* @public
|
|
735
735
|
*/
|
|
736
|
-
keepEmptyFolders?: boolean;
|
|
736
|
+
keepEmptyFolders?: boolean | undefined;
|
|
737
737
|
/**
|
|
738
738
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
739
739
|
* resolving conflicts during a merge.</p>
|
|
740
740
|
* @public
|
|
741
741
|
*/
|
|
742
|
-
conflictResolution?: ConflictResolution;
|
|
742
|
+
conflictResolution?: ConflictResolution | undefined;
|
|
743
743
|
}
|
|
744
744
|
/**
|
|
745
745
|
* @public
|
|
@@ -749,7 +749,7 @@ export interface MergePullRequestByThreeWayOutput {
|
|
|
749
749
|
* <p>Returns information about a pull request.</p>
|
|
750
750
|
* @public
|
|
751
751
|
*/
|
|
752
|
-
pullRequest?: PullRequest;
|
|
752
|
+
pullRequest?: PullRequest | undefined;
|
|
753
753
|
}
|
|
754
754
|
/**
|
|
755
755
|
* <p>The override status is not valid. Valid statuses are OVERRIDE and REVOKE.</p>
|
|
@@ -887,7 +887,7 @@ export interface PostCommentForComparedCommitInput {
|
|
|
887
887
|
* commit.</p>
|
|
888
888
|
* @public
|
|
889
889
|
*/
|
|
890
|
-
beforeCommitId?: string;
|
|
890
|
+
beforeCommitId?: string | undefined;
|
|
891
891
|
/**
|
|
892
892
|
* <p>To establish the directionality of the comparison, the full commit ID of the after
|
|
893
893
|
* commit.</p>
|
|
@@ -898,7 +898,7 @@ export interface PostCommentForComparedCommitInput {
|
|
|
898
898
|
* <p>The location of the comparison where you want to comment.</p>
|
|
899
899
|
* @public
|
|
900
900
|
*/
|
|
901
|
-
location?: Location;
|
|
901
|
+
location?: Location | undefined;
|
|
902
902
|
/**
|
|
903
903
|
* <p>The content of the comment you want to make.</p>
|
|
904
904
|
* @public
|
|
@@ -911,7 +911,7 @@ export interface PostCommentForComparedCommitInput {
|
|
|
911
911
|
* initial request that used that token.</p>
|
|
912
912
|
* @public
|
|
913
913
|
*/
|
|
914
|
-
clientRequestToken?: string;
|
|
914
|
+
clientRequestToken?: string | undefined;
|
|
915
915
|
}
|
|
916
916
|
/**
|
|
917
917
|
* @public
|
|
@@ -921,37 +921,37 @@ export interface PostCommentForComparedCommitOutput {
|
|
|
921
921
|
* <p>The name of the repository where you posted a comment on the comparison between commits.</p>
|
|
922
922
|
* @public
|
|
923
923
|
*/
|
|
924
|
-
repositoryName?: string;
|
|
924
|
+
repositoryName?: string | undefined;
|
|
925
925
|
/**
|
|
926
926
|
* <p>In the directionality you established, the full commit ID of the before commit.</p>
|
|
927
927
|
* @public
|
|
928
928
|
*/
|
|
929
|
-
beforeCommitId?: string;
|
|
929
|
+
beforeCommitId?: string | undefined;
|
|
930
930
|
/**
|
|
931
931
|
* <p>In the directionality you established, the full commit ID of the after commit.</p>
|
|
932
932
|
* @public
|
|
933
933
|
*/
|
|
934
|
-
afterCommitId?: string;
|
|
934
|
+
afterCommitId?: string | undefined;
|
|
935
935
|
/**
|
|
936
936
|
* <p>In the directionality you established, the blob ID of the before blob.</p>
|
|
937
937
|
* @public
|
|
938
938
|
*/
|
|
939
|
-
beforeBlobId?: string;
|
|
939
|
+
beforeBlobId?: string | undefined;
|
|
940
940
|
/**
|
|
941
941
|
* <p>In the directionality you established, the blob ID of the after blob.</p>
|
|
942
942
|
* @public
|
|
943
943
|
*/
|
|
944
|
-
afterBlobId?: string;
|
|
944
|
+
afterBlobId?: string | undefined;
|
|
945
945
|
/**
|
|
946
946
|
* <p>The location of the comment in the comparison between the two commits.</p>
|
|
947
947
|
* @public
|
|
948
948
|
*/
|
|
949
|
-
location?: Location;
|
|
949
|
+
location?: Location | undefined;
|
|
950
950
|
/**
|
|
951
951
|
* <p>The content of the comment you posted.</p>
|
|
952
952
|
* @public
|
|
953
953
|
*/
|
|
954
|
-
comment?: Comment;
|
|
954
|
+
comment?: Comment | undefined;
|
|
955
955
|
}
|
|
956
956
|
/**
|
|
957
957
|
* @public
|
|
@@ -983,7 +983,7 @@ export interface PostCommentForPullRequestInput {
|
|
|
983
983
|
* between the before commit ID and the after commit ID.</p>
|
|
984
984
|
* @public
|
|
985
985
|
*/
|
|
986
|
-
location?: Location;
|
|
986
|
+
location?: Location | undefined;
|
|
987
987
|
/**
|
|
988
988
|
* <p>The content of your comment on the change.</p>
|
|
989
989
|
* @public
|
|
@@ -996,7 +996,7 @@ export interface PostCommentForPullRequestInput {
|
|
|
996
996
|
* initial request that used that token.</p>
|
|
997
997
|
* @public
|
|
998
998
|
*/
|
|
999
|
-
clientRequestToken?: string;
|
|
999
|
+
clientRequestToken?: string | undefined;
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
1002
|
* @public
|
|
@@ -1006,44 +1006,44 @@ export interface PostCommentForPullRequestOutput {
|
|
|
1006
1006
|
* <p>The name of the repository where you posted a comment on a pull request.</p>
|
|
1007
1007
|
* @public
|
|
1008
1008
|
*/
|
|
1009
|
-
repositoryName?: string;
|
|
1009
|
+
repositoryName?: string | undefined;
|
|
1010
1010
|
/**
|
|
1011
1011
|
* <p>The system-generated ID of the pull request. </p>
|
|
1012
1012
|
* @public
|
|
1013
1013
|
*/
|
|
1014
|
-
pullRequestId?: string;
|
|
1014
|
+
pullRequestId?: string | undefined;
|
|
1015
1015
|
/**
|
|
1016
1016
|
* <p>The full commit ID of the commit in the source branch used to create the pull request,
|
|
1017
1017
|
* or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.</p>
|
|
1018
1018
|
* @public
|
|
1019
1019
|
*/
|
|
1020
|
-
beforeCommitId?: string;
|
|
1020
|
+
beforeCommitId?: string | undefined;
|
|
1021
1021
|
/**
|
|
1022
1022
|
* <p>The full commit ID of the commit in the destination branch where the pull request is
|
|
1023
1023
|
* merged.</p>
|
|
1024
1024
|
* @public
|
|
1025
1025
|
*/
|
|
1026
|
-
afterCommitId?: string;
|
|
1026
|
+
afterCommitId?: string | undefined;
|
|
1027
1027
|
/**
|
|
1028
1028
|
* <p>In the directionality of the pull request, the blob ID of the before blob.</p>
|
|
1029
1029
|
* @public
|
|
1030
1030
|
*/
|
|
1031
|
-
beforeBlobId?: string;
|
|
1031
|
+
beforeBlobId?: string | undefined;
|
|
1032
1032
|
/**
|
|
1033
1033
|
* <p>In the directionality of the pull request, the blob ID of the after blob.</p>
|
|
1034
1034
|
* @public
|
|
1035
1035
|
*/
|
|
1036
|
-
afterBlobId?: string;
|
|
1036
|
+
afterBlobId?: string | undefined;
|
|
1037
1037
|
/**
|
|
1038
1038
|
* <p>The location of the change where you posted your comment.</p>
|
|
1039
1039
|
* @public
|
|
1040
1040
|
*/
|
|
1041
|
-
location?: Location;
|
|
1041
|
+
location?: Location | undefined;
|
|
1042
1042
|
/**
|
|
1043
1043
|
* <p>The content of the comment you posted.</p>
|
|
1044
1044
|
* @public
|
|
1045
1045
|
*/
|
|
1046
|
-
comment?: Comment;
|
|
1046
|
+
comment?: Comment | undefined;
|
|
1047
1047
|
}
|
|
1048
1048
|
/**
|
|
1049
1049
|
* @public
|
|
@@ -1062,7 +1062,7 @@ export interface PostCommentReplyInput {
|
|
|
1062
1062
|
* initial request that used that token.</p>
|
|
1063
1063
|
* @public
|
|
1064
1064
|
*/
|
|
1065
|
-
clientRequestToken?: string;
|
|
1065
|
+
clientRequestToken?: string | undefined;
|
|
1066
1066
|
/**
|
|
1067
1067
|
* <p>The contents of your reply to a comment.</p>
|
|
1068
1068
|
* @public
|
|
@@ -1077,7 +1077,7 @@ export interface PostCommentReplyOutput {
|
|
|
1077
1077
|
* <p>Information about the reply to a comment.</p>
|
|
1078
1078
|
* @public
|
|
1079
1079
|
*/
|
|
1080
|
-
comment?: Comment;
|
|
1080
|
+
comment?: Comment | undefined;
|
|
1081
1081
|
}
|
|
1082
1082
|
/**
|
|
1083
1083
|
* <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>
|
|
@@ -1177,7 +1177,7 @@ export interface PutFileInput {
|
|
|
1177
1177
|
* here.</p>
|
|
1178
1178
|
* @public
|
|
1179
1179
|
*/
|
|
1180
|
-
fileMode?: FileModeTypeEnum;
|
|
1180
|
+
fileMode?: FileModeTypeEnum | undefined;
|
|
1181
1181
|
/**
|
|
1182
1182
|
* <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,
|
|
1183
1183
|
* no commit ID is required. If this is not an empty repository, a commit ID is required. </p>
|
|
@@ -1185,24 +1185,24 @@ export interface PutFileInput {
|
|
|
1185
1185
|
* Otherwise, an error occurs, and the file is not added or updated.</p>
|
|
1186
1186
|
* @public
|
|
1187
1187
|
*/
|
|
1188
|
-
parentCommitId?: string;
|
|
1188
|
+
parentCommitId?: string | undefined;
|
|
1189
1189
|
/**
|
|
1190
1190
|
* <p>A message about why this file was added or updated. Although it is optional, a message
|
|
1191
1191
|
* makes the commit history for your repository more useful.</p>
|
|
1192
1192
|
* @public
|
|
1193
1193
|
*/
|
|
1194
|
-
commitMessage?: string;
|
|
1194
|
+
commitMessage?: string | undefined;
|
|
1195
1195
|
/**
|
|
1196
1196
|
* <p>The name of the person adding or updating the file. Although it is optional, a name
|
|
1197
1197
|
* makes the commit history for your repository more useful.</p>
|
|
1198
1198
|
* @public
|
|
1199
1199
|
*/
|
|
1200
|
-
name?: string;
|
|
1200
|
+
name?: string | undefined;
|
|
1201
1201
|
/**
|
|
1202
1202
|
* <p>An email address for the person adding or updating the file.</p>
|
|
1203
1203
|
* @public
|
|
1204
1204
|
*/
|
|
1205
|
-
email?: string;
|
|
1205
|
+
email?: string | undefined;
|
|
1206
1206
|
}
|
|
1207
1207
|
/**
|
|
1208
1208
|
* @public
|
|
@@ -1360,7 +1360,7 @@ export interface PutRepositoryTriggersOutput {
|
|
|
1360
1360
|
* <p>The system-generated unique ID for the create or update operation.</p>
|
|
1361
1361
|
* @public
|
|
1362
1362
|
*/
|
|
1363
|
-
configurationId?: string;
|
|
1363
|
+
configurationId?: string | undefined;
|
|
1364
1364
|
}
|
|
1365
1365
|
/**
|
|
1366
1366
|
* <p>At least one branch name is required, but was not specified in the trigger
|
|
@@ -1476,12 +1476,12 @@ export interface RepositoryTriggerExecutionFailure {
|
|
|
1476
1476
|
* <p>The name of the trigger that did not run.</p>
|
|
1477
1477
|
* @public
|
|
1478
1478
|
*/
|
|
1479
|
-
trigger?: string;
|
|
1479
|
+
trigger?: string | undefined;
|
|
1480
1480
|
/**
|
|
1481
1481
|
* <p>Message information about the trigger that did not run.</p>
|
|
1482
1482
|
* @public
|
|
1483
1483
|
*/
|
|
1484
|
-
failureMessage?: string;
|
|
1484
|
+
failureMessage?: string | undefined;
|
|
1485
1485
|
}
|
|
1486
1486
|
/**
|
|
1487
1487
|
* <p>Represents the output of a test repository triggers operation.</p>
|
|
@@ -1492,13 +1492,13 @@ export interface TestRepositoryTriggersOutput {
|
|
|
1492
1492
|
* <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>
|
|
1493
1493
|
* @public
|
|
1494
1494
|
*/
|
|
1495
|
-
successfulExecutions?: string[];
|
|
1495
|
+
successfulExecutions?: string[] | undefined;
|
|
1496
1496
|
/**
|
|
1497
1497
|
* <p>The list of triggers that were not tested. This list provides the names of the
|
|
1498
1498
|
* triggers that could not be tested, separated by commas.</p>
|
|
1499
1499
|
* @public
|
|
1500
1500
|
*/
|
|
1501
|
-
failedExecutions?: RepositoryTriggerExecutionFailure[];
|
|
1501
|
+
failedExecutions?: RepositoryTriggerExecutionFailure[] | undefined;
|
|
1502
1502
|
}
|
|
1503
1503
|
/**
|
|
1504
1504
|
* <p>The list of tags is not valid.</p>
|
|
@@ -1572,7 +1572,7 @@ export interface UpdateApprovalRuleTemplateContentInput {
|
|
|
1572
1572
|
* <a>GetPullRequest</a>.</p>
|
|
1573
1573
|
* @public
|
|
1574
1574
|
*/
|
|
1575
|
-
existingRuleContentSha256?: string;
|
|
1575
|
+
existingRuleContentSha256?: string | undefined;
|
|
1576
1576
|
}
|
|
1577
1577
|
/**
|
|
1578
1578
|
* @public
|
|
@@ -1670,7 +1670,7 @@ export interface UpdateCommentOutput {
|
|
|
1670
1670
|
* <p>Information about the updated comment.</p>
|
|
1671
1671
|
* @public
|
|
1672
1672
|
*/
|
|
1673
|
-
comment?: Comment;
|
|
1673
|
+
comment?: Comment | undefined;
|
|
1674
1674
|
}
|
|
1675
1675
|
/**
|
|
1676
1676
|
* <p>Represents the input of an update default branch operation.</p>
|
|
@@ -1708,7 +1708,7 @@ export interface UpdatePullRequestApprovalRuleContentInput {
|
|
|
1708
1708
|
* <a>GetPullRequest</a>.</p>
|
|
1709
1709
|
* @public
|
|
1710
1710
|
*/
|
|
1711
|
-
existingRuleContentSha256?: string;
|
|
1711
|
+
existingRuleContentSha256?: string | undefined;
|
|
1712
1712
|
/**
|
|
1713
1713
|
* <p>The updated content for the approval rule.</p>
|
|
1714
1714
|
* <note>
|
|
@@ -1937,7 +1937,7 @@ export interface UpdateRepositoryDescriptionInput {
|
|
|
1937
1937
|
* <p>The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.</p>
|
|
1938
1938
|
* @public
|
|
1939
1939
|
*/
|
|
1940
|
-
repositoryDescription?: string;
|
|
1940
|
+
repositoryDescription?: string | undefined;
|
|
1941
1941
|
}
|
|
1942
1942
|
/**
|
|
1943
1943
|
* <p>A KMS encryption key ID is required but was not specified.</p>
|
|
@@ -1977,17 +1977,17 @@ export interface UpdateRepositoryEncryptionKeyOutput {
|
|
|
1977
1977
|
* <p>The ID of the repository.</p>
|
|
1978
1978
|
* @public
|
|
1979
1979
|
*/
|
|
1980
|
-
repositoryId?: string;
|
|
1980
|
+
repositoryId?: string | undefined;
|
|
1981
1981
|
/**
|
|
1982
1982
|
* <p>The ID of the encryption key.</p>
|
|
1983
1983
|
* @public
|
|
1984
1984
|
*/
|
|
1985
|
-
kmsKeyId?: string;
|
|
1985
|
+
kmsKeyId?: string | undefined;
|
|
1986
1986
|
/**
|
|
1987
1987
|
* <p>The ID of the encryption key formerly used to encrypt and decrypt the repository.</p>
|
|
1988
1988
|
* @public
|
|
1989
1989
|
*/
|
|
1990
|
-
originalKmsKeyId?: string;
|
|
1990
|
+
originalKmsKeyId?: string | undefined;
|
|
1991
1991
|
}
|
|
1992
1992
|
/**
|
|
1993
1993
|
* <p>Represents the input of an update repository description operation.</p>
|