@aws-sdk/client-codecommit 3.1108.0 → 3.1110.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/README.md +13 -0
- package/dist-cjs/index.js +92 -1
- package/dist-es/CodeCommit.js +4 -0
- package/dist-es/commands/GetBlobDifferencesCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/GetBlobDifferencesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +58 -1
- package/dist-types/CodeCommit.d.ts +20 -0
- package/dist-types/CodeCommitClient.d.ts +9 -2
- package/dist-types/commands/GetBlobDifferencesCommand.d.ts +152 -0
- package/dist-types/commands/GetDifferencesCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +176 -1
- package/dist-types/pagination/GetBlobDifferencesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/CodeCommit.d.ts +24 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetBlobDifferencesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -0
- package/dist-types/ts3.4/pagination/GetBlobDifferencesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,6 +86,12 @@ individual Git blob object in a repository.</p>
|
|
|
86
86
|
</li>
|
|
87
87
|
<li>
|
|
88
88
|
<p>
|
|
89
|
+
<a>GetBlobDifferences</a>, which returns a structured, line-level
|
|
90
|
+
diff between two blob versions in a repository, with optional surrounding
|
|
91
|
+
context lines.</p>
|
|
92
|
+
</li>
|
|
93
|
+
<li>
|
|
94
|
+
<p>
|
|
89
95
|
<a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
|
|
90
96
|
</li>
|
|
91
97
|
<li>
|
|
@@ -741,6 +747,13 @@ GetBlob
|
|
|
741
747
|
</details>
|
|
742
748
|
<details>
|
|
743
749
|
<summary>
|
|
750
|
+
GetBlobDifferences
|
|
751
|
+
</summary>
|
|
752
|
+
|
|
753
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codecommit/command/GetBlobDifferencesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codecommit/Interface/GetBlobDifferencesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codecommit/Interface/GetBlobDifferencesCommandOutput/)
|
|
754
|
+
</details>
|
|
755
|
+
<details>
|
|
756
|
+
<summary>
|
|
744
757
|
GetBranch
|
|
745
758
|
</summary>
|
|
746
759
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1109.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -1770,6 +1770,18 @@ class InvalidBlobIdException extends CodeCommitServiceException {
|
|
|
1770
1770
|
Object.setPrototypeOf(this, InvalidBlobIdException.prototype);
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
|
+
class ValidationException extends CodeCommitServiceException {
|
|
1774
|
+
name = "ValidationException";
|
|
1775
|
+
$fault = "client";
|
|
1776
|
+
constructor(opts) {
|
|
1777
|
+
super({
|
|
1778
|
+
name: "ValidationException",
|
|
1779
|
+
$fault: "client",
|
|
1780
|
+
...opts,
|
|
1781
|
+
});
|
|
1782
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1773
1785
|
class InvalidReactionUserArnException extends CodeCommitServiceException {
|
|
1774
1786
|
name = "InvalidReactionUserArnException";
|
|
1775
1787
|
$fault = "client";
|
|
@@ -2524,14 +2536,18 @@ const _DB = "DeleteBranch";
|
|
|
2524
2536
|
const _DBCBDE = "DefaultBranchCannotBeDeletedException";
|
|
2525
2537
|
const _DBI = "DeleteBranchInput";
|
|
2526
2538
|
const _DBO = "DeleteBranchOutput";
|
|
2539
|
+
const _DC = "DiffChange";
|
|
2527
2540
|
const _DCC = "DeleteCommentContent";
|
|
2528
2541
|
const _DCCI = "DeleteCommentContentInput";
|
|
2529
2542
|
const _DCCO = "DeleteCommentContentOutput";
|
|
2543
|
+
const _DCL = "DiffChangeList";
|
|
2530
2544
|
const _DF = "DeleteFile";
|
|
2531
2545
|
const _DFE = "DeleteFileEntry";
|
|
2532
2546
|
const _DFEe = "DeleteFileEntries";
|
|
2533
2547
|
const _DFI = "DeleteFileInput";
|
|
2534
2548
|
const _DFO = "DeleteFileOutput";
|
|
2549
|
+
const _DH = "DiffHunk";
|
|
2550
|
+
const _DHL = "DiffHunkList";
|
|
2535
2551
|
const _DL = "DifferenceList";
|
|
2536
2552
|
const _DMC = "DescribeMergeConflicts";
|
|
2537
2553
|
const _DMCI = "DescribeMergeConflictsInput";
|
|
@@ -2582,6 +2598,9 @@ const _GART = "GetApprovalRuleTemplate";
|
|
|
2582
2598
|
const _GARTI = "GetApprovalRuleTemplateInput";
|
|
2583
2599
|
const _GARTO = "GetApprovalRuleTemplateOutput";
|
|
2584
2600
|
const _GB = "GetBlob";
|
|
2601
|
+
const _GBD = "GetBlobDifferences";
|
|
2602
|
+
const _GBDI = "GetBlobDifferencesInput";
|
|
2603
|
+
const _GBDO = "GetBlobDifferencesOutput";
|
|
2585
2604
|
const _GBI = "GetBlobInput";
|
|
2586
2605
|
const _GBIe = "GetBranchInput";
|
|
2587
2606
|
const _GBO = "GetBlobOutput";
|
|
@@ -2916,15 +2935,19 @@ const _UREKO = "UpdateRepositoryEncryptionKeyOutput";
|
|
|
2916
2935
|
const _URI = "UntagResourceInput";
|
|
2917
2936
|
const _URN = "UpdateRepositoryName";
|
|
2918
2937
|
const _URNI = "UpdateRepositoryNameInput";
|
|
2938
|
+
const _VE = "ValidationException";
|
|
2919
2939
|
const _a = "author";
|
|
2920
2940
|
const _aA = "authorArn";
|
|
2921
2941
|
const _aAc = "actorArn";
|
|
2922
2942
|
const _aB = "afterBlob";
|
|
2923
2943
|
const _aBI = "afterBlobId";
|
|
2944
|
+
const _aBS = "afterBlobSize";
|
|
2924
2945
|
const _aCI = "afterCommitId";
|
|
2925
2946
|
const _aCS = "afterCommitSpecifier";
|
|
2926
2947
|
const _aD = "additionalData";
|
|
2927
2948
|
const _aI = "accountId";
|
|
2949
|
+
const _aLC = "afterLineCount";
|
|
2950
|
+
const _aLN = "afterLineNumber";
|
|
2928
2951
|
const _aN = "authorName";
|
|
2929
2952
|
const _aP = "absolutePath";
|
|
2930
2953
|
const _aPf = "afterPath";
|
|
@@ -2946,18 +2969,23 @@ const _aRTNp = "approvalRuleTemplateNames";
|
|
|
2946
2969
|
const _aRp = "approvalRules";
|
|
2947
2970
|
const _aS = "approvalState";
|
|
2948
2971
|
const _aSCEM = "approvalStateChangedEventMetadata";
|
|
2972
|
+
const _aSL = "afterStartLine";
|
|
2949
2973
|
const _aSp = "approvalStatus";
|
|
2950
2974
|
const _ap = "approved";
|
|
2951
2975
|
const _app = "approvals";
|
|
2952
2976
|
const _b = "base";
|
|
2953
2977
|
const _bB = "beforeBlob";
|
|
2954
2978
|
const _bBI = "beforeBlobId";
|
|
2979
|
+
const _bBS = "beforeBlobSize";
|
|
2955
2980
|
const _bCI = "baseCommitId";
|
|
2956
2981
|
const _bCIe = "beforeCommitId";
|
|
2957
2982
|
const _bCS = "beforeCommitSpecifier";
|
|
2958
2983
|
const _bI = "blobId";
|
|
2984
|
+
const _bLC = "beforeLineCount";
|
|
2985
|
+
const _bLN = "beforeLineNumber";
|
|
2959
2986
|
const _bN = "branchName";
|
|
2960
2987
|
const _bP = "beforePath";
|
|
2988
|
+
const _bSL = "beforeStartLine";
|
|
2961
2989
|
const _br = "branch";
|
|
2962
2990
|
const _bra = "branches";
|
|
2963
2991
|
const _c = "client";
|
|
@@ -2971,6 +2999,7 @@ const _cI = "commitId";
|
|
|
2971
2999
|
const _cIo = "commitIds";
|
|
2972
3000
|
const _cIom = "commentId";
|
|
2973
3001
|
const _cIon = "configurationId";
|
|
3002
|
+
const _cL = "contextLines";
|
|
2974
3003
|
const _cM = "conflictMetadata";
|
|
2975
3004
|
const _cML = "conflictMetadataList";
|
|
2976
3005
|
const _cMo = "commitMessage";
|
|
@@ -2982,6 +3011,7 @@ const _cS = "commitSpecifier";
|
|
|
2982
3011
|
const _cT = "changeType";
|
|
2983
3012
|
const _cUH = "cloneUrlHttp";
|
|
2984
3013
|
const _cUS = "cloneUrlSsh";
|
|
3014
|
+
const _ch = "changes";
|
|
2985
3015
|
const _co = "conflicts";
|
|
2986
3016
|
const _com = "commits";
|
|
2987
3017
|
const _comm = "comments";
|
|
@@ -3032,12 +3062,15 @@ const _fPo = "folderPath";
|
|
|
3032
3062
|
const _fS = "fileSizes";
|
|
3033
3063
|
const _fSi = "fileSize";
|
|
3034
3064
|
const _fU = "filesUpdated";
|
|
3065
|
+
const _h = "hunks";
|
|
3035
3066
|
const _hC = "hunkContent";
|
|
3067
|
+
const _iB = "isBinary";
|
|
3036
3068
|
const _iBF = "isBinaryFile";
|
|
3037
3069
|
const _iC = "isConflict";
|
|
3038
3070
|
const _iM = "isMerged";
|
|
3039
3071
|
const _iMs = "isMove";
|
|
3040
3072
|
const _iRT = "inReplyTo";
|
|
3073
|
+
const _iW = "ignoreWhitespace";
|
|
3041
3074
|
const _kEF = "keepEmptyFolders";
|
|
3042
3075
|
const _kKI = "kmsKeyId";
|
|
3043
3076
|
const _l = "location";
|
|
@@ -3137,6 +3170,7 @@ const _ta = "targets";
|
|
|
3137
3170
|
const _tag = "tags";
|
|
3138
3171
|
const _tr = "triggers";
|
|
3139
3172
|
const _tri = "trigger";
|
|
3173
|
+
const _ty = "type";
|
|
3140
3174
|
const _u = "unicode";
|
|
3141
3175
|
const _uA = "userArn";
|
|
3142
3176
|
const n0 = "com.amazonaws.codecommit";
|
|
@@ -4278,6 +4312,12 @@ var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
|
4278
4312
|
[0]
|
|
4279
4313
|
];
|
|
4280
4314
|
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
4315
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
4316
|
+
{ [_e]: _c },
|
|
4317
|
+
[_m],
|
|
4318
|
+
[0]
|
|
4319
|
+
];
|
|
4320
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
4281
4321
|
const errorTypeRegistries = [
|
|
4282
4322
|
_s_registry,
|
|
4283
4323
|
n0_registry,
|
|
@@ -4587,11 +4627,21 @@ var DescribePullRequestEventsOutput$ = [3, n0, _DPREO,
|
|
|
4587
4627
|
[_pRE, _nT],
|
|
4588
4628
|
[() => PullRequestEventList, 0], 1
|
|
4589
4629
|
];
|
|
4630
|
+
var DiffChange$ = [3, n0, _DC,
|
|
4631
|
+
0,
|
|
4632
|
+
[_ty, _bLN, _aLN, _con],
|
|
4633
|
+
[0, 1, 1, 0]
|
|
4634
|
+
];
|
|
4590
4635
|
var Difference$ = [3, n0, _D,
|
|
4591
4636
|
0,
|
|
4592
4637
|
[_bB, _aB, _cT],
|
|
4593
4638
|
[() => BlobMetadata$, () => BlobMetadata$, 0]
|
|
4594
4639
|
];
|
|
4640
|
+
var DiffHunk$ = [3, n0, _DH,
|
|
4641
|
+
0,
|
|
4642
|
+
[_bSL, _bLC, _aSL, _aLC, _ch],
|
|
4643
|
+
[1, 1, 1, 1, () => DiffChangeList]
|
|
4644
|
+
];
|
|
4595
4645
|
var DisassociateApprovalRuleTemplateFromRepositoryInput$ = [3, n0, _DARTFRI,
|
|
4596
4646
|
0,
|
|
4597
4647
|
[_aRTN, _rN],
|
|
@@ -4652,6 +4702,16 @@ var GetApprovalRuleTemplateOutput$ = [3, n0, _GARTO,
|
|
|
4652
4702
|
[_aRT],
|
|
4653
4703
|
[() => ApprovalRuleTemplate$], 1
|
|
4654
4704
|
];
|
|
4705
|
+
var GetBlobDifferencesInput$ = [3, n0, _GBDI,
|
|
4706
|
+
0,
|
|
4707
|
+
[_rN, _aBI, _bBI, _cL, _iW, _MR, _NT],
|
|
4708
|
+
[0, 0, 0, 1, 2, 1, 0], 2
|
|
4709
|
+
];
|
|
4710
|
+
var GetBlobDifferencesOutput$ = [3, n0, _GBDO,
|
|
4711
|
+
0,
|
|
4712
|
+
[_h, _iB, _aBS, _bBS, _NT],
|
|
4713
|
+
[() => DiffHunkList, 2, 1, 1, 0], 3
|
|
4714
|
+
];
|
|
4655
4715
|
var GetBlobInput$ = [3, n0, _GBI,
|
|
4656
4716
|
0,
|
|
4657
4717
|
[_rN, _bI],
|
|
@@ -5350,9 +5410,15 @@ var Conflicts = [1, n0, _Conf,
|
|
|
5350
5410
|
var DeleteFileEntries = [1, n0, _DFEe,
|
|
5351
5411
|
0, () => DeleteFileEntry$
|
|
5352
5412
|
];
|
|
5413
|
+
var DiffChangeList = [1, n0, _DCL,
|
|
5414
|
+
0, () => DiffChange$
|
|
5415
|
+
];
|
|
5353
5416
|
var DifferenceList = [1, n0, _DL,
|
|
5354
5417
|
0, () => Difference$
|
|
5355
5418
|
];
|
|
5419
|
+
var DiffHunkList = [1, n0, _DHL,
|
|
5420
|
+
0, () => DiffHunk$
|
|
5421
|
+
];
|
|
5356
5422
|
var FileList = [1, n0, _FL,
|
|
5357
5423
|
0, () => File$
|
|
5358
5424
|
];
|
|
@@ -5482,6 +5548,9 @@ var GetApprovalRuleTemplate$ = [9, n0, _GART,
|
|
|
5482
5548
|
var GetBlob$ = [9, n0, _GB,
|
|
5483
5549
|
0, () => GetBlobInput$, () => GetBlobOutput$
|
|
5484
5550
|
];
|
|
5551
|
+
var GetBlobDifferences$ = [9, n0, _GBD,
|
|
5552
|
+
0, () => GetBlobDifferencesInput$, () => GetBlobDifferencesOutput$
|
|
5553
|
+
];
|
|
5485
5554
|
var GetBranch$ = [9, n0, _GBe,
|
|
5486
5555
|
0, () => GetBranchInput$, () => GetBranchOutput$
|
|
5487
5556
|
];
|
|
@@ -5871,6 +5940,9 @@ class GetApprovalRuleTemplateCommand extends command(_ep0, _mw0, "GetApprovalRul
|
|
|
5871
5940
|
class GetBlobCommand extends command(_ep0, _mw0, "GetBlob", GetBlob$) {
|
|
5872
5941
|
}
|
|
5873
5942
|
|
|
5943
|
+
class GetBlobDifferencesCommand extends command(_ep0, _mw0, "GetBlobDifferences", GetBlobDifferences$) {
|
|
5944
|
+
}
|
|
5945
|
+
|
|
5874
5946
|
class GetBranchCommand extends command(_ep0, _mw0, "GetBranch", GetBranch$) {
|
|
5875
5947
|
}
|
|
5876
5948
|
|
|
@@ -6037,6 +6109,8 @@ const paginateDescribeMergeConflicts = createPaginator(CodeCommitClient, Describ
|
|
|
6037
6109
|
|
|
6038
6110
|
const paginateDescribePullRequestEvents = createPaginator(CodeCommitClient, DescribePullRequestEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
6039
6111
|
|
|
6112
|
+
const paginateGetBlobDifferences = createPaginator(CodeCommitClient, GetBlobDifferencesCommand, "NextToken", "NextToken", "MaxResults");
|
|
6113
|
+
|
|
6040
6114
|
const paginateGetCommentReactions = createPaginator(CodeCommitClient, GetCommentReactionsCommand, "nextToken", "nextToken", "maxResults");
|
|
6041
6115
|
|
|
6042
6116
|
const paginateGetCommentsForComparedCommit = createPaginator(CodeCommitClient, GetCommentsForComparedCommitCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -6087,6 +6161,7 @@ const commands = {
|
|
|
6087
6161
|
EvaluatePullRequestApprovalRulesCommand,
|
|
6088
6162
|
GetApprovalRuleTemplateCommand,
|
|
6089
6163
|
GetBlobCommand,
|
|
6164
|
+
GetBlobDifferencesCommand,
|
|
6090
6165
|
GetBranchCommand,
|
|
6091
6166
|
GetCommentCommand,
|
|
6092
6167
|
GetCommentReactionsCommand,
|
|
@@ -6145,6 +6220,7 @@ const commands = {
|
|
|
6145
6220
|
const paginators = {
|
|
6146
6221
|
paginateDescribeMergeConflicts,
|
|
6147
6222
|
paginateDescribePullRequestEvents,
|
|
6223
|
+
paginateGetBlobDifferences,
|
|
6148
6224
|
paginateGetCommentReactions,
|
|
6149
6225
|
paginateGetCommentsForComparedCommit,
|
|
6150
6226
|
paginateGetCommentsForPullRequest,
|
|
@@ -6230,6 +6306,11 @@ const PullRequestEventType = {
|
|
|
6230
6306
|
PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
|
|
6231
6307
|
PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED",
|
|
6232
6308
|
};
|
|
6309
|
+
const DiffChangeType = {
|
|
6310
|
+
ADD: "ADD",
|
|
6311
|
+
CONTEXT: "CONTEXT",
|
|
6312
|
+
DELETE: "DELETE",
|
|
6313
|
+
};
|
|
6233
6314
|
const RelativeFileVersionEnum = {
|
|
6234
6315
|
AFTER: "AFTER",
|
|
6235
6316
|
BEFORE: "BEFORE",
|
|
@@ -6435,6 +6516,9 @@ exports.DescribePullRequestEvents$ = DescribePullRequestEvents$;
|
|
|
6435
6516
|
exports.DescribePullRequestEventsCommand = DescribePullRequestEventsCommand;
|
|
6436
6517
|
exports.DescribePullRequestEventsInput$ = DescribePullRequestEventsInput$;
|
|
6437
6518
|
exports.DescribePullRequestEventsOutput$ = DescribePullRequestEventsOutput$;
|
|
6519
|
+
exports.DiffChange$ = DiffChange$;
|
|
6520
|
+
exports.DiffChangeType = DiffChangeType;
|
|
6521
|
+
exports.DiffHunk$ = DiffHunk$;
|
|
6438
6522
|
exports.Difference$ = Difference$;
|
|
6439
6523
|
exports.DirectoryNameConflictsWithFileNameException = DirectoryNameConflictsWithFileNameException;
|
|
6440
6524
|
exports.DirectoryNameConflictsWithFileNameException$ = DirectoryNameConflictsWithFileNameException$;
|
|
@@ -6497,6 +6581,10 @@ exports.GetApprovalRuleTemplateInput$ = GetApprovalRuleTemplateInput$;
|
|
|
6497
6581
|
exports.GetApprovalRuleTemplateOutput$ = GetApprovalRuleTemplateOutput$;
|
|
6498
6582
|
exports.GetBlob$ = GetBlob$;
|
|
6499
6583
|
exports.GetBlobCommand = GetBlobCommand;
|
|
6584
|
+
exports.GetBlobDifferences$ = GetBlobDifferences$;
|
|
6585
|
+
exports.GetBlobDifferencesCommand = GetBlobDifferencesCommand;
|
|
6586
|
+
exports.GetBlobDifferencesInput$ = GetBlobDifferencesInput$;
|
|
6587
|
+
exports.GetBlobDifferencesOutput$ = GetBlobDifferencesOutput$;
|
|
6500
6588
|
exports.GetBlobInput$ = GetBlobInput$;
|
|
6501
6589
|
exports.GetBlobOutput$ = GetBlobOutput$;
|
|
6502
6590
|
exports.GetBranch$ = GetBranch$;
|
|
@@ -7010,9 +7098,12 @@ exports.UpdateRepositoryName$ = UpdateRepositoryName$;
|
|
|
7010
7098
|
exports.UpdateRepositoryNameCommand = UpdateRepositoryNameCommand;
|
|
7011
7099
|
exports.UpdateRepositoryNameInput$ = UpdateRepositoryNameInput$;
|
|
7012
7100
|
exports.UserInfo$ = UserInfo$;
|
|
7101
|
+
exports.ValidationException = ValidationException;
|
|
7102
|
+
exports.ValidationException$ = ValidationException$;
|
|
7013
7103
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
7014
7104
|
exports.paginateDescribeMergeConflicts = paginateDescribeMergeConflicts;
|
|
7015
7105
|
exports.paginateDescribePullRequestEvents = paginateDescribePullRequestEvents;
|
|
7106
|
+
exports.paginateGetBlobDifferences = paginateGetBlobDifferences;
|
|
7016
7107
|
exports.paginateGetCommentReactions = paginateGetCommentReactions;
|
|
7017
7108
|
exports.paginateGetCommentsForComparedCommit = paginateGetCommentsForComparedCommit;
|
|
7018
7109
|
exports.paginateGetCommentsForPullRequest = paginateGetCommentsForPullRequest;
|
package/dist-es/CodeCommit.js
CHANGED
|
@@ -25,6 +25,7 @@ import { DisassociateApprovalRuleTemplateFromRepositoryCommand, } from "./comman
|
|
|
25
25
|
import { EvaluatePullRequestApprovalRulesCommand, } from "./commands/EvaluatePullRequestApprovalRulesCommand";
|
|
26
26
|
import { GetApprovalRuleTemplateCommand, } from "./commands/GetApprovalRuleTemplateCommand";
|
|
27
27
|
import { GetBlobCommand } from "./commands/GetBlobCommand";
|
|
28
|
+
import { GetBlobDifferencesCommand, } from "./commands/GetBlobDifferencesCommand";
|
|
28
29
|
import { GetBranchCommand } from "./commands/GetBranchCommand";
|
|
29
30
|
import { GetCommentCommand, } from "./commands/GetCommentCommand";
|
|
30
31
|
import { GetCommentReactionsCommand, } from "./commands/GetCommentReactionsCommand";
|
|
@@ -81,6 +82,7 @@ import { UpdateRepositoryEncryptionKeyCommand, } from "./commands/UpdateReposito
|
|
|
81
82
|
import { UpdateRepositoryNameCommand, } from "./commands/UpdateRepositoryNameCommand";
|
|
82
83
|
import { paginateDescribeMergeConflicts } from "./pagination/DescribeMergeConflictsPaginator";
|
|
83
84
|
import { paginateDescribePullRequestEvents } from "./pagination/DescribePullRequestEventsPaginator";
|
|
85
|
+
import { paginateGetBlobDifferences } from "./pagination/GetBlobDifferencesPaginator";
|
|
84
86
|
import { paginateGetCommentReactions } from "./pagination/GetCommentReactionsPaginator";
|
|
85
87
|
import { paginateGetCommentsForComparedCommit } from "./pagination/GetCommentsForComparedCommitPaginator";
|
|
86
88
|
import { paginateGetCommentsForPullRequest } from "./pagination/GetCommentsForPullRequestPaginator";
|
|
@@ -119,6 +121,7 @@ const commands = {
|
|
|
119
121
|
EvaluatePullRequestApprovalRulesCommand,
|
|
120
122
|
GetApprovalRuleTemplateCommand,
|
|
121
123
|
GetBlobCommand,
|
|
124
|
+
GetBlobDifferencesCommand,
|
|
122
125
|
GetBranchCommand,
|
|
123
126
|
GetCommentCommand,
|
|
124
127
|
GetCommentReactionsCommand,
|
|
@@ -177,6 +180,7 @@ const commands = {
|
|
|
177
180
|
const paginators = {
|
|
178
181
|
paginateDescribeMergeConflicts,
|
|
179
182
|
paginateDescribePullRequestEvents,
|
|
183
|
+
paginateGetBlobDifferences,
|
|
180
184
|
paginateGetCommentReactions,
|
|
181
185
|
paginateGetCommentsForComparedCommit,
|
|
182
186
|
paginateGetCommentsForPullRequest,
|
|
@@ -23,6 +23,7 @@ export * from "./DisassociateApprovalRuleTemplateFromRepositoryCommand";
|
|
|
23
23
|
export * from "./EvaluatePullRequestApprovalRulesCommand";
|
|
24
24
|
export * from "./GetApprovalRuleTemplateCommand";
|
|
25
25
|
export * from "./GetBlobCommand";
|
|
26
|
+
export * from "./GetBlobDifferencesCommand";
|
|
26
27
|
export * from "./GetBranchCommand";
|
|
27
28
|
export * from "./GetCommentCommand";
|
|
28
29
|
export * from "./GetCommentReactionsCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -66,6 +66,11 @@ export const PullRequestEventType = {
|
|
|
66
66
|
PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
|
|
67
67
|
PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED",
|
|
68
68
|
};
|
|
69
|
+
export const DiffChangeType = {
|
|
70
|
+
ADD: "ADD",
|
|
71
|
+
CONTEXT: "CONTEXT",
|
|
72
|
+
DELETE: "DELETE",
|
|
73
|
+
};
|
|
69
74
|
export const RelativeFileVersionEnum = {
|
|
70
75
|
AFTER: "AFTER",
|
|
71
76
|
BEFORE: "BEFORE",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1631,6 +1631,18 @@ export class InvalidBlobIdException extends __BaseException {
|
|
|
1631
1631
|
Object.setPrototypeOf(this, InvalidBlobIdException.prototype);
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
|
+
export class ValidationException extends __BaseException {
|
|
1635
|
+
name = "ValidationException";
|
|
1636
|
+
$fault = "client";
|
|
1637
|
+
constructor(opts) {
|
|
1638
|
+
super({
|
|
1639
|
+
name: "ValidationException",
|
|
1640
|
+
$fault: "client",
|
|
1641
|
+
...opts,
|
|
1642
|
+
});
|
|
1643
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1634
1646
|
export class InvalidReactionUserArnException extends __BaseException {
|
|
1635
1647
|
name = "InvalidReactionUserArnException";
|
|
1636
1648
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CodeCommitClient } from "../CodeCommitClient";
|
|
3
|
+
import { GetBlobDifferencesCommand, } from "../commands/GetBlobDifferencesCommand";
|
|
4
|
+
export const paginateGetBlobDifferences = createPaginator(CodeCommitClient, GetBlobDifferencesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./DescribeMergeConflictsPaginator";
|
|
3
3
|
export * from "./DescribePullRequestEventsPaginator";
|
|
4
|
+
export * from "./GetBlobDifferencesPaginator";
|
|
4
5
|
export * from "./GetCommentReactionsPaginator";
|
|
5
6
|
export * from "./GetCommentsForComparedCommitPaginator";
|
|
6
7
|
export * from "./GetCommentsForPullRequestPaginator";
|
|
@@ -115,14 +115,18 @@ const _DB = "DeleteBranch";
|
|
|
115
115
|
const _DBCBDE = "DefaultBranchCannotBeDeletedException";
|
|
116
116
|
const _DBI = "DeleteBranchInput";
|
|
117
117
|
const _DBO = "DeleteBranchOutput";
|
|
118
|
+
const _DC = "DiffChange";
|
|
118
119
|
const _DCC = "DeleteCommentContent";
|
|
119
120
|
const _DCCI = "DeleteCommentContentInput";
|
|
120
121
|
const _DCCO = "DeleteCommentContentOutput";
|
|
122
|
+
const _DCL = "DiffChangeList";
|
|
121
123
|
const _DF = "DeleteFile";
|
|
122
124
|
const _DFE = "DeleteFileEntry";
|
|
123
125
|
const _DFEe = "DeleteFileEntries";
|
|
124
126
|
const _DFI = "DeleteFileInput";
|
|
125
127
|
const _DFO = "DeleteFileOutput";
|
|
128
|
+
const _DH = "DiffHunk";
|
|
129
|
+
const _DHL = "DiffHunkList";
|
|
126
130
|
const _DL = "DifferenceList";
|
|
127
131
|
const _DMC = "DescribeMergeConflicts";
|
|
128
132
|
const _DMCI = "DescribeMergeConflictsInput";
|
|
@@ -173,6 +177,9 @@ const _GART = "GetApprovalRuleTemplate";
|
|
|
173
177
|
const _GARTI = "GetApprovalRuleTemplateInput";
|
|
174
178
|
const _GARTO = "GetApprovalRuleTemplateOutput";
|
|
175
179
|
const _GB = "GetBlob";
|
|
180
|
+
const _GBD = "GetBlobDifferences";
|
|
181
|
+
const _GBDI = "GetBlobDifferencesInput";
|
|
182
|
+
const _GBDO = "GetBlobDifferencesOutput";
|
|
176
183
|
const _GBI = "GetBlobInput";
|
|
177
184
|
const _GBIe = "GetBranchInput";
|
|
178
185
|
const _GBO = "GetBlobOutput";
|
|
@@ -507,15 +514,19 @@ const _UREKO = "UpdateRepositoryEncryptionKeyOutput";
|
|
|
507
514
|
const _URI = "UntagResourceInput";
|
|
508
515
|
const _URN = "UpdateRepositoryName";
|
|
509
516
|
const _URNI = "UpdateRepositoryNameInput";
|
|
517
|
+
const _VE = "ValidationException";
|
|
510
518
|
const _a = "author";
|
|
511
519
|
const _aA = "authorArn";
|
|
512
520
|
const _aAc = "actorArn";
|
|
513
521
|
const _aB = "afterBlob";
|
|
514
522
|
const _aBI = "afterBlobId";
|
|
523
|
+
const _aBS = "afterBlobSize";
|
|
515
524
|
const _aCI = "afterCommitId";
|
|
516
525
|
const _aCS = "afterCommitSpecifier";
|
|
517
526
|
const _aD = "additionalData";
|
|
518
527
|
const _aI = "accountId";
|
|
528
|
+
const _aLC = "afterLineCount";
|
|
529
|
+
const _aLN = "afterLineNumber";
|
|
519
530
|
const _aN = "authorName";
|
|
520
531
|
const _aP = "absolutePath";
|
|
521
532
|
const _aPf = "afterPath";
|
|
@@ -537,18 +548,23 @@ const _aRTNp = "approvalRuleTemplateNames";
|
|
|
537
548
|
const _aRp = "approvalRules";
|
|
538
549
|
const _aS = "approvalState";
|
|
539
550
|
const _aSCEM = "approvalStateChangedEventMetadata";
|
|
551
|
+
const _aSL = "afterStartLine";
|
|
540
552
|
const _aSp = "approvalStatus";
|
|
541
553
|
const _ap = "approved";
|
|
542
554
|
const _app = "approvals";
|
|
543
555
|
const _b = "base";
|
|
544
556
|
const _bB = "beforeBlob";
|
|
545
557
|
const _bBI = "beforeBlobId";
|
|
558
|
+
const _bBS = "beforeBlobSize";
|
|
546
559
|
const _bCI = "baseCommitId";
|
|
547
560
|
const _bCIe = "beforeCommitId";
|
|
548
561
|
const _bCS = "beforeCommitSpecifier";
|
|
549
562
|
const _bI = "blobId";
|
|
563
|
+
const _bLC = "beforeLineCount";
|
|
564
|
+
const _bLN = "beforeLineNumber";
|
|
550
565
|
const _bN = "branchName";
|
|
551
566
|
const _bP = "beforePath";
|
|
567
|
+
const _bSL = "beforeStartLine";
|
|
552
568
|
const _br = "branch";
|
|
553
569
|
const _bra = "branches";
|
|
554
570
|
const _c = "client";
|
|
@@ -562,6 +578,7 @@ const _cI = "commitId";
|
|
|
562
578
|
const _cIo = "commitIds";
|
|
563
579
|
const _cIom = "commentId";
|
|
564
580
|
const _cIon = "configurationId";
|
|
581
|
+
const _cL = "contextLines";
|
|
565
582
|
const _cM = "conflictMetadata";
|
|
566
583
|
const _cML = "conflictMetadataList";
|
|
567
584
|
const _cMo = "commitMessage";
|
|
@@ -573,6 +590,7 @@ const _cS = "commitSpecifier";
|
|
|
573
590
|
const _cT = "changeType";
|
|
574
591
|
const _cUH = "cloneUrlHttp";
|
|
575
592
|
const _cUS = "cloneUrlSsh";
|
|
593
|
+
const _ch = "changes";
|
|
576
594
|
const _co = "conflicts";
|
|
577
595
|
const _com = "commits";
|
|
578
596
|
const _comm = "comments";
|
|
@@ -623,12 +641,15 @@ const _fPo = "folderPath";
|
|
|
623
641
|
const _fS = "fileSizes";
|
|
624
642
|
const _fSi = "fileSize";
|
|
625
643
|
const _fU = "filesUpdated";
|
|
644
|
+
const _h = "hunks";
|
|
626
645
|
const _hC = "hunkContent";
|
|
646
|
+
const _iB = "isBinary";
|
|
627
647
|
const _iBF = "isBinaryFile";
|
|
628
648
|
const _iC = "isConflict";
|
|
629
649
|
const _iM = "isMerged";
|
|
630
650
|
const _iMs = "isMove";
|
|
631
651
|
const _iRT = "inReplyTo";
|
|
652
|
+
const _iW = "ignoreWhitespace";
|
|
632
653
|
const _kEF = "keepEmptyFolders";
|
|
633
654
|
const _kKI = "kmsKeyId";
|
|
634
655
|
const _l = "location";
|
|
@@ -728,12 +749,13 @@ const _ta = "targets";
|
|
|
728
749
|
const _tag = "tags";
|
|
729
750
|
const _tr = "triggers";
|
|
730
751
|
const _tri = "trigger";
|
|
752
|
+
const _ty = "type";
|
|
731
753
|
const _u = "unicode";
|
|
732
754
|
const _uA = "userArn";
|
|
733
755
|
const n0 = "com.amazonaws.codecommit";
|
|
734
756
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
735
757
|
import { CodeCommitServiceException } from "../models/CodeCommitServiceException";
|
|
736
|
-
import { ActorDoesNotExistException, ApprovalRuleContentRequiredException, ApprovalRuleDoesNotExistException, ApprovalRuleNameAlreadyExistsException, ApprovalRuleNameRequiredException, ApprovalRuleTemplateContentRequiredException, ApprovalRuleTemplateDoesNotExistException, ApprovalRuleTemplateInUseException, ApprovalRuleTemplateNameAlreadyExistsException, ApprovalRuleTemplateNameRequiredException, ApprovalStateRequiredException, AuthorDoesNotExistException, BeforeCommitIdAndAfterCommitIdAreSameException, BlobIdDoesNotExistException, BlobIdRequiredException, BranchDoesNotExistException, BranchNameExistsException, BranchNameIsTagNameException, BranchNameRequiredException, CannotDeleteApprovalRuleFromTemplateException, CannotModifyApprovalRuleFromTemplateException, ClientRequestTokenRequiredException, CommentContentRequiredException, CommentContentSizeLimitExceededException, CommentDeletedException, CommentDoesNotExistException, CommentIdRequiredException, CommentNotCreatedByCallerException, CommitDoesNotExistException, CommitIdDoesNotExistException, CommitIdRequiredException, CommitIdsLimitExceededException, CommitIdsListRequiredException, CommitMessageLengthExceededException, CommitRequiredException, ConcurrentReferenceUpdateException, DefaultBranchCannotBeDeletedException, DirectoryNameConflictsWithFileNameException, EncryptionIntegrityChecksFailedException, EncryptionKeyAccessDeniedException, EncryptionKeyDisabledException, EncryptionKeyInvalidIdException, EncryptionKeyInvalidUsageException, EncryptionKeyNotFoundException, EncryptionKeyRequiredException, EncryptionKeyUnavailableException, FileContentAndSourceFileSpecifiedException, FileContentRequiredException, FileContentSizeLimitExceededException, FileDoesNotExistException, FileEntryRequiredException, FileModeRequiredException, FileNameConflictsWithDirectoryNameException, FilePathConflictsWithSubmodulePathException, FileTooLargeException, FolderContentSizeLimitExceededException, FolderDoesNotExistException, IdempotencyParameterMismatchException, InvalidActorArnException, InvalidApprovalRuleContentException, InvalidApprovalRuleNameException, InvalidApprovalRuleTemplateContentException, InvalidApprovalRuleTemplateDescriptionException, InvalidApprovalRuleTemplateNameException, InvalidApprovalStateException, InvalidAuthorArnException, InvalidBlobIdException, InvalidBranchNameException, InvalidClientRequestTokenException, InvalidCommentIdException, InvalidCommitException, InvalidCommitIdException, InvalidConflictDetailLevelException, InvalidConflictResolutionException, InvalidConflictResolutionStrategyException, InvalidContinuationTokenException, InvalidDeletionParameterException, InvalidDescriptionException, InvalidDestinationCommitSpecifierException, InvalidEmailException, InvalidFileLocationException, InvalidFileModeException, InvalidFilePositionException, InvalidMaxConflictFilesException, InvalidMaxMergeHunksException, InvalidMaxResultsException, InvalidMergeOptionException, InvalidOrderException, InvalidOverrideStatusException, InvalidParentCommitIdException, InvalidPathException, InvalidPullRequestEventTypeException, InvalidPullRequestIdException, InvalidPullRequestStatusException, InvalidPullRequestStatusUpdateException, InvalidReactionUserArnException, InvalidReactionValueException, InvalidReferenceNameException, InvalidRelativeFileVersionEnumException, InvalidReplacementContentException, InvalidReplacementTypeException, InvalidRepositoryDescriptionException, InvalidRepositoryNameException, InvalidRepositoryTriggerBranchNameException, InvalidRepositoryTriggerCustomDataException, InvalidRepositoryTriggerDestinationArnException, InvalidRepositoryTriggerEventsException, InvalidRepositoryTriggerNameException, InvalidRepositoryTriggerRegionException, InvalidResourceArnException, InvalidRevisionIdException, InvalidRuleContentSha256Exception, InvalidSortByException, InvalidSourceCommitSpecifierException, InvalidSystemTagUsageException, InvalidTagKeysListException, InvalidTagsMapException, InvalidTargetBranchException, InvalidTargetException, InvalidTargetsException, InvalidTitleException, ManualMergeRequiredException, MaximumBranchesExceededException, MaximumConflictResolutionEntriesExceededException, MaximumFileContentToLoadExceededException, MaximumFileEntriesExceededException, MaximumItemsToCompareExceededException, MaximumNumberOfApprovalsExceededException, MaximumOpenPullRequestsExceededException, MaximumRepositoryNamesExceededException, MaximumRepositoryTriggersExceededException, MaximumRuleTemplatesAssociatedWithRepositoryException, MergeOptionRequiredException, MultipleConflictResolutionEntriesException, MultipleRepositoriesInPullRequestException, NameLengthExceededException, NoChangeException, NumberOfRulesExceededException, NumberOfRuleTemplatesExceededException, OperationNotAllowedException, OverrideAlreadySetException, OverrideStatusRequiredException, ParentCommitDoesNotExistException, ParentCommitIdOutdatedException, ParentCommitIdRequiredException, PathDoesNotExistException, PathRequiredException, PullRequestAlreadyClosedException, PullRequestApprovalRulesNotSatisfiedException, PullRequestCannotBeApprovedByAuthorException, PullRequestDoesNotExistException, PullRequestIdRequiredException, PullRequestStatusRequiredException, PutFileEntryConflictException, ReactionLimitExceededException, ReactionValueRequiredException, ReferenceDoesNotExistException, ReferenceNameRequiredException, ReferenceTypeNotSupportedException, ReplacementContentRequiredException, ReplacementTypeRequiredException, RepositoryDoesNotExistException, RepositoryLimitExceededException, RepositoryNameExistsException, RepositoryNameRequiredException, RepositoryNamesRequiredException, RepositoryNotAssociatedWithPullRequestException, RepositoryTriggerBranchNameListRequiredException, RepositoryTriggerDestinationArnRequiredException, RepositoryTriggerEventsListRequiredException, RepositoryTriggerNameRequiredException, RepositoryTriggersListRequiredException, ResourceArnRequiredException, RestrictedSourceFileException, RevisionIdRequiredException, RevisionNotCurrentException, SameFileContentException, SamePathRequestException, SourceAndDestinationAreSameException, SourceFileOrContentRequiredException, TagKeysListRequiredException, TagPolicyException, TagsMapRequiredException, TargetRequiredException, TargetsRequiredException, TipOfSourceReferenceIsDifferentException, TipsDivergenceExceededException, TitleRequiredException, TooManyTagsException, } from "../models/errors";
|
|
758
|
+
import { ActorDoesNotExistException, ApprovalRuleContentRequiredException, ApprovalRuleDoesNotExistException, ApprovalRuleNameAlreadyExistsException, ApprovalRuleNameRequiredException, ApprovalRuleTemplateContentRequiredException, ApprovalRuleTemplateDoesNotExistException, ApprovalRuleTemplateInUseException, ApprovalRuleTemplateNameAlreadyExistsException, ApprovalRuleTemplateNameRequiredException, ApprovalStateRequiredException, AuthorDoesNotExistException, BeforeCommitIdAndAfterCommitIdAreSameException, BlobIdDoesNotExistException, BlobIdRequiredException, BranchDoesNotExistException, BranchNameExistsException, BranchNameIsTagNameException, BranchNameRequiredException, CannotDeleteApprovalRuleFromTemplateException, CannotModifyApprovalRuleFromTemplateException, ClientRequestTokenRequiredException, CommentContentRequiredException, CommentContentSizeLimitExceededException, CommentDeletedException, CommentDoesNotExistException, CommentIdRequiredException, CommentNotCreatedByCallerException, CommitDoesNotExistException, CommitIdDoesNotExistException, CommitIdRequiredException, CommitIdsLimitExceededException, CommitIdsListRequiredException, CommitMessageLengthExceededException, CommitRequiredException, ConcurrentReferenceUpdateException, DefaultBranchCannotBeDeletedException, DirectoryNameConflictsWithFileNameException, EncryptionIntegrityChecksFailedException, EncryptionKeyAccessDeniedException, EncryptionKeyDisabledException, EncryptionKeyInvalidIdException, EncryptionKeyInvalidUsageException, EncryptionKeyNotFoundException, EncryptionKeyRequiredException, EncryptionKeyUnavailableException, FileContentAndSourceFileSpecifiedException, FileContentRequiredException, FileContentSizeLimitExceededException, FileDoesNotExistException, FileEntryRequiredException, FileModeRequiredException, FileNameConflictsWithDirectoryNameException, FilePathConflictsWithSubmodulePathException, FileTooLargeException, FolderContentSizeLimitExceededException, FolderDoesNotExistException, IdempotencyParameterMismatchException, InvalidActorArnException, InvalidApprovalRuleContentException, InvalidApprovalRuleNameException, InvalidApprovalRuleTemplateContentException, InvalidApprovalRuleTemplateDescriptionException, InvalidApprovalRuleTemplateNameException, InvalidApprovalStateException, InvalidAuthorArnException, InvalidBlobIdException, InvalidBranchNameException, InvalidClientRequestTokenException, InvalidCommentIdException, InvalidCommitException, InvalidCommitIdException, InvalidConflictDetailLevelException, InvalidConflictResolutionException, InvalidConflictResolutionStrategyException, InvalidContinuationTokenException, InvalidDeletionParameterException, InvalidDescriptionException, InvalidDestinationCommitSpecifierException, InvalidEmailException, InvalidFileLocationException, InvalidFileModeException, InvalidFilePositionException, InvalidMaxConflictFilesException, InvalidMaxMergeHunksException, InvalidMaxResultsException, InvalidMergeOptionException, InvalidOrderException, InvalidOverrideStatusException, InvalidParentCommitIdException, InvalidPathException, InvalidPullRequestEventTypeException, InvalidPullRequestIdException, InvalidPullRequestStatusException, InvalidPullRequestStatusUpdateException, InvalidReactionUserArnException, InvalidReactionValueException, InvalidReferenceNameException, InvalidRelativeFileVersionEnumException, InvalidReplacementContentException, InvalidReplacementTypeException, InvalidRepositoryDescriptionException, InvalidRepositoryNameException, InvalidRepositoryTriggerBranchNameException, InvalidRepositoryTriggerCustomDataException, InvalidRepositoryTriggerDestinationArnException, InvalidRepositoryTriggerEventsException, InvalidRepositoryTriggerNameException, InvalidRepositoryTriggerRegionException, InvalidResourceArnException, InvalidRevisionIdException, InvalidRuleContentSha256Exception, InvalidSortByException, InvalidSourceCommitSpecifierException, InvalidSystemTagUsageException, InvalidTagKeysListException, InvalidTagsMapException, InvalidTargetBranchException, InvalidTargetException, InvalidTargetsException, InvalidTitleException, ManualMergeRequiredException, MaximumBranchesExceededException, MaximumConflictResolutionEntriesExceededException, MaximumFileContentToLoadExceededException, MaximumFileEntriesExceededException, MaximumItemsToCompareExceededException, MaximumNumberOfApprovalsExceededException, MaximumOpenPullRequestsExceededException, MaximumRepositoryNamesExceededException, MaximumRepositoryTriggersExceededException, MaximumRuleTemplatesAssociatedWithRepositoryException, MergeOptionRequiredException, MultipleConflictResolutionEntriesException, MultipleRepositoriesInPullRequestException, NameLengthExceededException, NoChangeException, NumberOfRulesExceededException, NumberOfRuleTemplatesExceededException, OperationNotAllowedException, OverrideAlreadySetException, OverrideStatusRequiredException, ParentCommitDoesNotExistException, ParentCommitIdOutdatedException, ParentCommitIdRequiredException, PathDoesNotExistException, PathRequiredException, PullRequestAlreadyClosedException, PullRequestApprovalRulesNotSatisfiedException, PullRequestCannotBeApprovedByAuthorException, PullRequestDoesNotExistException, PullRequestIdRequiredException, PullRequestStatusRequiredException, PutFileEntryConflictException, ReactionLimitExceededException, ReactionValueRequiredException, ReferenceDoesNotExistException, ReferenceNameRequiredException, ReferenceTypeNotSupportedException, ReplacementContentRequiredException, ReplacementTypeRequiredException, RepositoryDoesNotExistException, RepositoryLimitExceededException, RepositoryNameExistsException, RepositoryNameRequiredException, RepositoryNamesRequiredException, RepositoryNotAssociatedWithPullRequestException, RepositoryTriggerBranchNameListRequiredException, RepositoryTriggerDestinationArnRequiredException, RepositoryTriggerEventsListRequiredException, RepositoryTriggerNameRequiredException, RepositoryTriggersListRequiredException, ResourceArnRequiredException, RestrictedSourceFileException, RevisionIdRequiredException, RevisionNotCurrentException, SameFileContentException, SamePathRequestException, SourceAndDestinationAreSameException, SourceFileOrContentRequiredException, TagKeysListRequiredException, TagPolicyException, TagsMapRequiredException, TargetRequiredException, TargetsRequiredException, TipOfSourceReferenceIsDifferentException, TipsDivergenceExceededException, TitleRequiredException, TooManyTagsException, ValidationException, } from "../models/errors";
|
|
737
759
|
const _s_registry = TypeRegistry.for(_s);
|
|
738
760
|
export var CodeCommitServiceException$ = [-3, _s, "CodeCommitServiceException", 0, [], []];
|
|
739
761
|
_s_registry.registerError(CodeCommitServiceException$, CodeCommitServiceException);
|
|
@@ -1872,6 +1894,12 @@ export var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
|
1872
1894
|
[0]
|
|
1873
1895
|
];
|
|
1874
1896
|
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
1897
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
1898
|
+
{ [_e]: _c },
|
|
1899
|
+
[_m],
|
|
1900
|
+
[0]
|
|
1901
|
+
];
|
|
1902
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
1875
1903
|
export const errorTypeRegistries = [
|
|
1876
1904
|
_s_registry,
|
|
1877
1905
|
n0_registry,
|
|
@@ -2181,11 +2209,21 @@ export var DescribePullRequestEventsOutput$ = [3, n0, _DPREO,
|
|
|
2181
2209
|
[_pRE, _nT],
|
|
2182
2210
|
[() => PullRequestEventList, 0], 1
|
|
2183
2211
|
];
|
|
2212
|
+
export var DiffChange$ = [3, n0, _DC,
|
|
2213
|
+
0,
|
|
2214
|
+
[_ty, _bLN, _aLN, _con],
|
|
2215
|
+
[0, 1, 1, 0]
|
|
2216
|
+
];
|
|
2184
2217
|
export var Difference$ = [3, n0, _D,
|
|
2185
2218
|
0,
|
|
2186
2219
|
[_bB, _aB, _cT],
|
|
2187
2220
|
[() => BlobMetadata$, () => BlobMetadata$, 0]
|
|
2188
2221
|
];
|
|
2222
|
+
export var DiffHunk$ = [3, n0, _DH,
|
|
2223
|
+
0,
|
|
2224
|
+
[_bSL, _bLC, _aSL, _aLC, _ch],
|
|
2225
|
+
[1, 1, 1, 1, () => DiffChangeList]
|
|
2226
|
+
];
|
|
2189
2227
|
export var DisassociateApprovalRuleTemplateFromRepositoryInput$ = [3, n0, _DARTFRI,
|
|
2190
2228
|
0,
|
|
2191
2229
|
[_aRTN, _rN],
|
|
@@ -2246,6 +2284,16 @@ export var GetApprovalRuleTemplateOutput$ = [3, n0, _GARTO,
|
|
|
2246
2284
|
[_aRT],
|
|
2247
2285
|
[() => ApprovalRuleTemplate$], 1
|
|
2248
2286
|
];
|
|
2287
|
+
export var GetBlobDifferencesInput$ = [3, n0, _GBDI,
|
|
2288
|
+
0,
|
|
2289
|
+
[_rN, _aBI, _bBI, _cL, _iW, _MR, _NT],
|
|
2290
|
+
[0, 0, 0, 1, 2, 1, 0], 2
|
|
2291
|
+
];
|
|
2292
|
+
export var GetBlobDifferencesOutput$ = [3, n0, _GBDO,
|
|
2293
|
+
0,
|
|
2294
|
+
[_h, _iB, _aBS, _bBS, _NT],
|
|
2295
|
+
[() => DiffHunkList, 2, 1, 1, 0], 3
|
|
2296
|
+
];
|
|
2249
2297
|
export var GetBlobInput$ = [3, n0, _GBI,
|
|
2250
2298
|
0,
|
|
2251
2299
|
[_rN, _bI],
|
|
@@ -2950,9 +2998,15 @@ var Conflicts = [1, n0, _Conf,
|
|
|
2950
2998
|
var DeleteFileEntries = [1, n0, _DFEe,
|
|
2951
2999
|
0, () => DeleteFileEntry$
|
|
2952
3000
|
];
|
|
3001
|
+
var DiffChangeList = [1, n0, _DCL,
|
|
3002
|
+
0, () => DiffChange$
|
|
3003
|
+
];
|
|
2953
3004
|
var DifferenceList = [1, n0, _DL,
|
|
2954
3005
|
0, () => Difference$
|
|
2955
3006
|
];
|
|
3007
|
+
var DiffHunkList = [1, n0, _DHL,
|
|
3008
|
+
0, () => DiffHunk$
|
|
3009
|
+
];
|
|
2956
3010
|
var FileList = [1, n0, _FL,
|
|
2957
3011
|
0, () => File$
|
|
2958
3012
|
];
|
|
@@ -3095,6 +3149,9 @@ export var GetApprovalRuleTemplate$ = [9, n0, _GART,
|
|
|
3095
3149
|
export var GetBlob$ = [9, n0, _GB,
|
|
3096
3150
|
0, () => GetBlobInput$, () => GetBlobOutput$
|
|
3097
3151
|
];
|
|
3152
|
+
export var GetBlobDifferences$ = [9, n0, _GBD,
|
|
3153
|
+
0, () => GetBlobDifferencesInput$, () => GetBlobDifferencesOutput$
|
|
3154
|
+
];
|
|
3098
3155
|
export var GetBranch$ = [9, n0, _GBe,
|
|
3099
3156
|
0, () => GetBranchInput$, () => GetBranchOutput$
|
|
3100
3157
|
];
|