@aws-sdk/client-codecommit 3.300.0 → 3.303.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-cjs/models/models_0.js +70 -83
- package/dist-cjs/models/models_1.js +8 -10
- package/dist-es/models/models_0.js +70 -83
- package/dist-es/models/models_1.js +8 -10
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +2 -2
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateBranchCommand.d.ts +1 -1
- package/dist-types/commands/CreateCommitCommand.d.ts +8 -8
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreatePullRequestCommand.d.ts +3 -3
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -8
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBranchCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFileCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetBlobCommand.d.ts +1 -1
- package/dist-types/commands/GetBranchCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +1 -1
- package/dist-types/commands/GetCommitCommand.d.ts +1 -1
- package/dist-types/commands/GetDifferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetFileCommand.d.ts +1 -1
- package/dist-types/commands/GetFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetMergeCommitCommand.d.ts +1 -1
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +1 -1
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +1 -1
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/ListBranchesCommand.d.ts +1 -1
- package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +8 -8
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +8 -8
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -8
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -8
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +2 -2
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +2 -2
- package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
- package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
- package/dist-types/commands/PutFileCommand.d.ts +1 -1
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +5 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +135 -70
- package/dist-types/models/models_1.d.ts +18 -8
- package/dist-types/ts3.4/models/models_0.d.ts +95 -70
- package/dist-types/ts3.4/models/models_1.d.ts +10 -8
- package/package.json +34 -34
|
@@ -18,11 +18,10 @@ class ActorDoesNotExistException extends CodeCommitServiceException_1.CodeCommit
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.ActorDoesNotExistException = ActorDoesNotExistException;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(ApprovalState = exports.ApprovalState || (exports.ApprovalState = {}));
|
|
21
|
+
exports.ApprovalState = {
|
|
22
|
+
APPROVE: "APPROVE",
|
|
23
|
+
REVOKE: "REVOKE",
|
|
24
|
+
};
|
|
26
25
|
class ApprovalRuleContentRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
27
26
|
constructor(opts) {
|
|
28
27
|
super({
|
|
@@ -75,11 +74,10 @@ class ApprovalRuleNameRequiredException extends CodeCommitServiceException_1.Cod
|
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
76
|
exports.ApprovalRuleNameRequiredException = ApprovalRuleNameRequiredException;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
})(OverrideStatus = exports.OverrideStatus || (exports.OverrideStatus = {}));
|
|
77
|
+
exports.OverrideStatus = {
|
|
78
|
+
OVERRIDE: "OVERRIDE",
|
|
79
|
+
REVOKE: "REVOKE",
|
|
80
|
+
};
|
|
83
81
|
class ApprovalRuleTemplateContentRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
84
82
|
constructor(opts) {
|
|
85
83
|
super({
|
|
@@ -327,43 +325,37 @@ class RepositoryNamesRequiredException extends CodeCommitServiceException_1.Code
|
|
|
327
325
|
}
|
|
328
326
|
}
|
|
329
327
|
exports.RepositoryNamesRequiredException = RepositoryNamesRequiredException;
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
(function (ObjectTypeEnum) {
|
|
362
|
-
ObjectTypeEnum["DIRECTORY"] = "DIRECTORY";
|
|
363
|
-
ObjectTypeEnum["FILE"] = "FILE";
|
|
364
|
-
ObjectTypeEnum["GIT_LINK"] = "GIT_LINK";
|
|
365
|
-
ObjectTypeEnum["SYMBOLIC_LINK"] = "SYMBOLIC_LINK";
|
|
366
|
-
})(ObjectTypeEnum = exports.ObjectTypeEnum || (exports.ObjectTypeEnum = {}));
|
|
328
|
+
exports.ConflictDetailLevelTypeEnum = {
|
|
329
|
+
FILE_LEVEL: "FILE_LEVEL",
|
|
330
|
+
LINE_LEVEL: "LINE_LEVEL",
|
|
331
|
+
};
|
|
332
|
+
exports.ConflictResolutionStrategyTypeEnum = {
|
|
333
|
+
ACCEPT_DESTINATION: "ACCEPT_DESTINATION",
|
|
334
|
+
ACCEPT_SOURCE: "ACCEPT_SOURCE",
|
|
335
|
+
AUTOMERGE: "AUTOMERGE",
|
|
336
|
+
NONE: "NONE",
|
|
337
|
+
};
|
|
338
|
+
exports.MergeOptionTypeEnum = {
|
|
339
|
+
FAST_FORWARD_MERGE: "FAST_FORWARD_MERGE",
|
|
340
|
+
SQUASH_MERGE: "SQUASH_MERGE",
|
|
341
|
+
THREE_WAY_MERGE: "THREE_WAY_MERGE",
|
|
342
|
+
};
|
|
343
|
+
exports.FileModeTypeEnum = {
|
|
344
|
+
EXECUTABLE: "EXECUTABLE",
|
|
345
|
+
NORMAL: "NORMAL",
|
|
346
|
+
SYMLINK: "SYMLINK",
|
|
347
|
+
};
|
|
348
|
+
exports.ChangeTypeEnum = {
|
|
349
|
+
ADDED: "A",
|
|
350
|
+
DELETED: "D",
|
|
351
|
+
MODIFIED: "M",
|
|
352
|
+
};
|
|
353
|
+
exports.ObjectTypeEnum = {
|
|
354
|
+
DIRECTORY: "DIRECTORY",
|
|
355
|
+
FILE: "FILE",
|
|
356
|
+
GIT_LINK: "GIT_LINK",
|
|
357
|
+
SYMBOLIC_LINK: "SYMBOLIC_LINK",
|
|
358
|
+
};
|
|
367
359
|
class CommitDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
368
360
|
constructor(opts) {
|
|
369
361
|
super({
|
|
@@ -1105,11 +1097,10 @@ class SourceFileOrContentRequiredException extends CodeCommitServiceException_1.
|
|
|
1105
1097
|
}
|
|
1106
1098
|
}
|
|
1107
1099
|
exports.SourceFileOrContentRequiredException = SourceFileOrContentRequiredException;
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
})(PullRequestStatusEnum = exports.PullRequestStatusEnum || (exports.PullRequestStatusEnum = {}));
|
|
1100
|
+
exports.PullRequestStatusEnum = {
|
|
1101
|
+
CLOSED: "CLOSED",
|
|
1102
|
+
OPEN: "OPEN",
|
|
1103
|
+
};
|
|
1113
1104
|
class IdempotencyParameterMismatchException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
1114
1105
|
constructor(opts) {
|
|
1115
1106
|
super({
|
|
@@ -1513,13 +1504,12 @@ class ConcurrentReferenceUpdateException extends CodeCommitServiceException_1.Co
|
|
|
1513
1504
|
}
|
|
1514
1505
|
}
|
|
1515
1506
|
exports.ConcurrentReferenceUpdateException = ConcurrentReferenceUpdateException;
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
})(ReplacementTypeEnum = exports.ReplacementTypeEnum || (exports.ReplacementTypeEnum = {}));
|
|
1507
|
+
exports.ReplacementTypeEnum = {
|
|
1508
|
+
KEEP_BASE: "KEEP_BASE",
|
|
1509
|
+
KEEP_DESTINATION: "KEEP_DESTINATION",
|
|
1510
|
+
KEEP_SOURCE: "KEEP_SOURCE",
|
|
1511
|
+
USE_NEW_CONTENT: "USE_NEW_CONTENT",
|
|
1512
|
+
};
|
|
1523
1513
|
class InvalidConflictResolutionException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
1524
1514
|
constructor(opts) {
|
|
1525
1515
|
super({
|
|
@@ -1689,18 +1679,17 @@ class InvalidCommentIdException extends CodeCommitServiceException_1.CodeCommitS
|
|
|
1689
1679
|
}
|
|
1690
1680
|
}
|
|
1691
1681
|
exports.InvalidCommentIdException = InvalidCommentIdException;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
})(PullRequestEventType = exports.PullRequestEventType || (exports.PullRequestEventType = {}));
|
|
1682
|
+
exports.PullRequestEventType = {
|
|
1683
|
+
PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED",
|
|
1684
|
+
PULL_REQUEST_APPROVAL_RULE_DELETED: "PULL_REQUEST_APPROVAL_RULE_DELETED",
|
|
1685
|
+
PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN: "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
|
|
1686
|
+
PULL_REQUEST_APPROVAL_RULE_UPDATED: "PULL_REQUEST_APPROVAL_RULE_UPDATED",
|
|
1687
|
+
PULL_REQUEST_APPROVAL_STATE_CHANGED: "PULL_REQUEST_APPROVAL_STATE_CHANGED",
|
|
1688
|
+
PULL_REQUEST_CREATED: "PULL_REQUEST_CREATED",
|
|
1689
|
+
PULL_REQUEST_MERGE_STATE_CHANGED: "PULL_REQUEST_MERGE_STATE_CHANGED",
|
|
1690
|
+
PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
|
|
1691
|
+
PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED",
|
|
1692
|
+
};
|
|
1704
1693
|
class InvalidActorArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
1705
1694
|
constructor(opts) {
|
|
1706
1695
|
super({
|
|
@@ -1818,11 +1807,10 @@ class InvalidReactionUserArnException extends CodeCommitServiceException_1.CodeC
|
|
|
1818
1807
|
}
|
|
1819
1808
|
}
|
|
1820
1809
|
exports.InvalidReactionUserArnException = InvalidReactionUserArnException;
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
})(RelativeFileVersionEnum = exports.RelativeFileVersionEnum || (exports.RelativeFileVersionEnum = {}));
|
|
1810
|
+
exports.RelativeFileVersionEnum = {
|
|
1811
|
+
AFTER: "AFTER",
|
|
1812
|
+
BEFORE: "BEFORE",
|
|
1813
|
+
};
|
|
1826
1814
|
class RepositoryNotAssociatedWithPullRequestException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
1827
1815
|
constructor(opts) {
|
|
1828
1816
|
super({
|
|
@@ -1901,13 +1889,12 @@ class InvalidSourceCommitSpecifierException extends CodeCommitServiceException_1
|
|
|
1901
1889
|
}
|
|
1902
1890
|
}
|
|
1903
1891
|
exports.InvalidSourceCommitSpecifierException = InvalidSourceCommitSpecifierException;
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
})(RepositoryTriggerEventEnum = exports.RepositoryTriggerEventEnum || (exports.RepositoryTriggerEventEnum = {}));
|
|
1892
|
+
exports.RepositoryTriggerEventEnum = {
|
|
1893
|
+
ALL: "all",
|
|
1894
|
+
CREATE_REFERENCE: "createReference",
|
|
1895
|
+
DELETE_REFERENCE: "deleteReference",
|
|
1896
|
+
UPDATE_REFERENCE: "updateReference",
|
|
1897
|
+
};
|
|
1911
1898
|
class InvalidAuthorArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
1912
1899
|
constructor(opts) {
|
|
1913
1900
|
super({
|
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PullRequestStatusRequiredException = exports.InvalidPullRequestStatusUpdateException = exports.PullRequestCannotBeApprovedByAuthorException = exports.MaximumNumberOfApprovalsExceededException = exports.InvalidApprovalStateException = exports.CommentNotCreatedByCallerException = exports.InvalidRuleContentSha256Exception = exports.TagKeysListRequiredException = exports.InvalidTagKeysListException = exports.TagsMapRequiredException = exports.RepositoryTriggersListRequiredException = exports.RepositoryTriggerNameRequiredException = exports.RepositoryTriggerEventsListRequiredException = exports.RepositoryTriggerDestinationArnRequiredException = exports.RepositoryTriggerBranchNameListRequiredException = exports.MaximumRepositoryTriggersExceededException = exports.MaximumBranchesExceededException = exports.InvalidRepositoryTriggerRegionException = exports.InvalidRepositoryTriggerNameException = exports.InvalidRepositoryTriggerEventsException = exports.InvalidRepositoryTriggerDestinationArnException = exports.InvalidRepositoryTriggerCustomDataException = exports.InvalidRepositoryTriggerBranchNameException = exports.SameFileContentException = exports.FileContentRequiredException = exports.ReactionValueRequiredException = exports.ReactionLimitExceededException = exports.InvalidReactionValueException = exports.InvalidRelativeFileVersionEnumException = exports.InvalidFilePositionException = exports.InvalidFileLocationException = exports.CommentContentSizeLimitExceededException = exports.CommentContentRequiredException = exports.OverrideStatusRequiredException = exports.OverrideAlreadySetException = exports.InvalidOverrideStatusException = exports.TipOfSourceReferenceIsDifferentException = exports.PullRequestApprovalRulesNotSatisfiedException = exports.InvalidTargetBranchException = exports.ResourceArnRequiredException = exports.InvalidResourceArnException = exports.SortByEnum = exports.OrderEnum = void 0;
|
|
4
4
|
const CodeCommitServiceException_1 = require("./CodeCommitServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
SortByEnum["REPOSITORY_NAME"] = "repositoryName";
|
|
14
|
-
})(SortByEnum = exports.SortByEnum || (exports.SortByEnum = {}));
|
|
5
|
+
exports.OrderEnum = {
|
|
6
|
+
ASCENDING: "ascending",
|
|
7
|
+
DESCENDING: "descending",
|
|
8
|
+
};
|
|
9
|
+
exports.SortByEnum = {
|
|
10
|
+
MODIFIED_DATE: "lastModifiedDate",
|
|
11
|
+
REPOSITORY_NAME: "repositoryName",
|
|
12
|
+
};
|
|
15
13
|
class InvalidResourceArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
|
|
16
14
|
constructor(opts) {
|
|
17
15
|
super({
|
|
@@ -11,11 +11,10 @@ export class ActorDoesNotExistException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, ActorDoesNotExistException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})(ApprovalState || (ApprovalState = {}));
|
|
14
|
+
export const ApprovalState = {
|
|
15
|
+
APPROVE: "APPROVE",
|
|
16
|
+
REVOKE: "REVOKE",
|
|
17
|
+
};
|
|
19
18
|
export class ApprovalRuleContentRequiredException extends __BaseException {
|
|
20
19
|
constructor(opts) {
|
|
21
20
|
super({
|
|
@@ -64,11 +63,10 @@ export class ApprovalRuleNameRequiredException extends __BaseException {
|
|
|
64
63
|
Object.setPrototypeOf(this, ApprovalRuleNameRequiredException.prototype);
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
})(OverrideStatus || (OverrideStatus = {}));
|
|
66
|
+
export const OverrideStatus = {
|
|
67
|
+
OVERRIDE: "OVERRIDE",
|
|
68
|
+
REVOKE: "REVOKE",
|
|
69
|
+
};
|
|
72
70
|
export class ApprovalRuleTemplateContentRequiredException extends __BaseException {
|
|
73
71
|
constructor(opts) {
|
|
74
72
|
super({
|
|
@@ -297,43 +295,37 @@ export class RepositoryNamesRequiredException extends __BaseException {
|
|
|
297
295
|
Object.setPrototypeOf(this, RepositoryNamesRequiredException.prototype);
|
|
298
296
|
}
|
|
299
297
|
}
|
|
300
|
-
export
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
(function (ObjectTypeEnum) {
|
|
332
|
-
ObjectTypeEnum["DIRECTORY"] = "DIRECTORY";
|
|
333
|
-
ObjectTypeEnum["FILE"] = "FILE";
|
|
334
|
-
ObjectTypeEnum["GIT_LINK"] = "GIT_LINK";
|
|
335
|
-
ObjectTypeEnum["SYMBOLIC_LINK"] = "SYMBOLIC_LINK";
|
|
336
|
-
})(ObjectTypeEnum || (ObjectTypeEnum = {}));
|
|
298
|
+
export const ConflictDetailLevelTypeEnum = {
|
|
299
|
+
FILE_LEVEL: "FILE_LEVEL",
|
|
300
|
+
LINE_LEVEL: "LINE_LEVEL",
|
|
301
|
+
};
|
|
302
|
+
export const ConflictResolutionStrategyTypeEnum = {
|
|
303
|
+
ACCEPT_DESTINATION: "ACCEPT_DESTINATION",
|
|
304
|
+
ACCEPT_SOURCE: "ACCEPT_SOURCE",
|
|
305
|
+
AUTOMERGE: "AUTOMERGE",
|
|
306
|
+
NONE: "NONE",
|
|
307
|
+
};
|
|
308
|
+
export const MergeOptionTypeEnum = {
|
|
309
|
+
FAST_FORWARD_MERGE: "FAST_FORWARD_MERGE",
|
|
310
|
+
SQUASH_MERGE: "SQUASH_MERGE",
|
|
311
|
+
THREE_WAY_MERGE: "THREE_WAY_MERGE",
|
|
312
|
+
};
|
|
313
|
+
export const FileModeTypeEnum = {
|
|
314
|
+
EXECUTABLE: "EXECUTABLE",
|
|
315
|
+
NORMAL: "NORMAL",
|
|
316
|
+
SYMLINK: "SYMLINK",
|
|
317
|
+
};
|
|
318
|
+
export const ChangeTypeEnum = {
|
|
319
|
+
ADDED: "A",
|
|
320
|
+
DELETED: "D",
|
|
321
|
+
MODIFIED: "M",
|
|
322
|
+
};
|
|
323
|
+
export const ObjectTypeEnum = {
|
|
324
|
+
DIRECTORY: "DIRECTORY",
|
|
325
|
+
FILE: "FILE",
|
|
326
|
+
GIT_LINK: "GIT_LINK",
|
|
327
|
+
SYMBOLIC_LINK: "SYMBOLIC_LINK",
|
|
328
|
+
};
|
|
337
329
|
export class CommitDoesNotExistException extends __BaseException {
|
|
338
330
|
constructor(opts) {
|
|
339
331
|
super({
|
|
@@ -1018,11 +1010,10 @@ export class SourceFileOrContentRequiredException extends __BaseException {
|
|
|
1018
1010
|
Object.setPrototypeOf(this, SourceFileOrContentRequiredException.prototype);
|
|
1019
1011
|
}
|
|
1020
1012
|
}
|
|
1021
|
-
export
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
})(PullRequestStatusEnum || (PullRequestStatusEnum = {}));
|
|
1013
|
+
export const PullRequestStatusEnum = {
|
|
1014
|
+
CLOSED: "CLOSED",
|
|
1015
|
+
OPEN: "OPEN",
|
|
1016
|
+
};
|
|
1026
1017
|
export class IdempotencyParameterMismatchException extends __BaseException {
|
|
1027
1018
|
constructor(opts) {
|
|
1028
1019
|
super({
|
|
@@ -1395,13 +1386,12 @@ export class ConcurrentReferenceUpdateException extends __BaseException {
|
|
|
1395
1386
|
Object.setPrototypeOf(this, ConcurrentReferenceUpdateException.prototype);
|
|
1396
1387
|
}
|
|
1397
1388
|
}
|
|
1398
|
-
export
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
})(ReplacementTypeEnum || (ReplacementTypeEnum = {}));
|
|
1389
|
+
export const ReplacementTypeEnum = {
|
|
1390
|
+
KEEP_BASE: "KEEP_BASE",
|
|
1391
|
+
KEEP_DESTINATION: "KEEP_DESTINATION",
|
|
1392
|
+
KEEP_SOURCE: "KEEP_SOURCE",
|
|
1393
|
+
USE_NEW_CONTENT: "USE_NEW_CONTENT",
|
|
1394
|
+
};
|
|
1405
1395
|
export class InvalidConflictResolutionException extends __BaseException {
|
|
1406
1396
|
constructor(opts) {
|
|
1407
1397
|
super({
|
|
@@ -1558,18 +1548,17 @@ export class InvalidCommentIdException extends __BaseException {
|
|
|
1558
1548
|
Object.setPrototypeOf(this, InvalidCommentIdException.prototype);
|
|
1559
1549
|
}
|
|
1560
1550
|
}
|
|
1561
|
-
export
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
})(PullRequestEventType || (PullRequestEventType = {}));
|
|
1551
|
+
export const PullRequestEventType = {
|
|
1552
|
+
PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED",
|
|
1553
|
+
PULL_REQUEST_APPROVAL_RULE_DELETED: "PULL_REQUEST_APPROVAL_RULE_DELETED",
|
|
1554
|
+
PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN: "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
|
|
1555
|
+
PULL_REQUEST_APPROVAL_RULE_UPDATED: "PULL_REQUEST_APPROVAL_RULE_UPDATED",
|
|
1556
|
+
PULL_REQUEST_APPROVAL_STATE_CHANGED: "PULL_REQUEST_APPROVAL_STATE_CHANGED",
|
|
1557
|
+
PULL_REQUEST_CREATED: "PULL_REQUEST_CREATED",
|
|
1558
|
+
PULL_REQUEST_MERGE_STATE_CHANGED: "PULL_REQUEST_MERGE_STATE_CHANGED",
|
|
1559
|
+
PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
|
|
1560
|
+
PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED",
|
|
1561
|
+
};
|
|
1573
1562
|
export class InvalidActorArnException extends __BaseException {
|
|
1574
1563
|
constructor(opts) {
|
|
1575
1564
|
super({
|
|
@@ -1678,11 +1667,10 @@ export class InvalidReactionUserArnException extends __BaseException {
|
|
|
1678
1667
|
Object.setPrototypeOf(this, InvalidReactionUserArnException.prototype);
|
|
1679
1668
|
}
|
|
1680
1669
|
}
|
|
1681
|
-
export
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
})(RelativeFileVersionEnum || (RelativeFileVersionEnum = {}));
|
|
1670
|
+
export const RelativeFileVersionEnum = {
|
|
1671
|
+
AFTER: "AFTER",
|
|
1672
|
+
BEFORE: "BEFORE",
|
|
1673
|
+
};
|
|
1686
1674
|
export class RepositoryNotAssociatedWithPullRequestException extends __BaseException {
|
|
1687
1675
|
constructor(opts) {
|
|
1688
1676
|
super({
|
|
@@ -1755,13 +1743,12 @@ export class InvalidSourceCommitSpecifierException extends __BaseException {
|
|
|
1755
1743
|
Object.setPrototypeOf(this, InvalidSourceCommitSpecifierException.prototype);
|
|
1756
1744
|
}
|
|
1757
1745
|
}
|
|
1758
|
-
export
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
})(RepositoryTriggerEventEnum || (RepositoryTriggerEventEnum = {}));
|
|
1746
|
+
export const RepositoryTriggerEventEnum = {
|
|
1747
|
+
ALL: "all",
|
|
1748
|
+
CREATE_REFERENCE: "createReference",
|
|
1749
|
+
DELETE_REFERENCE: "deleteReference",
|
|
1750
|
+
UPDATE_REFERENCE: "updateReference",
|
|
1751
|
+
};
|
|
1765
1752
|
export class InvalidAuthorArnException extends __BaseException {
|
|
1766
1753
|
constructor(opts) {
|
|
1767
1754
|
super({
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
SortByEnum["REPOSITORY_NAME"] = "repositoryName";
|
|
11
|
-
})(SortByEnum || (SortByEnum = {}));
|
|
2
|
+
export const OrderEnum = {
|
|
3
|
+
ASCENDING: "ascending",
|
|
4
|
+
DESCENDING: "descending",
|
|
5
|
+
};
|
|
6
|
+
export const SortByEnum = {
|
|
7
|
+
MODIFIED_DATE: "lastModifiedDate",
|
|
8
|
+
REPOSITORY_NAME: "repositoryName",
|
|
9
|
+
};
|
|
12
10
|
export class InvalidResourceArnException extends __BaseException {
|
|
13
11
|
constructor(opts) {
|
|
14
12
|
super({
|
|
@@ -32,7 +32,7 @@ export interface AssociateApprovalRuleTemplateWithRepositoryCommandOutput extend
|
|
|
32
32
|
* import { CodeCommitClient, AssociateApprovalRuleTemplateWithRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
33
33
|
* // const { CodeCommitClient, AssociateApprovalRuleTemplateWithRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
34
34
|
* const client = new CodeCommitClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // AssociateApprovalRuleTemplateWithRepositoryInput
|
|
36
36
|
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
37
37
|
* repositoryName: "STRING_VALUE", // required
|
|
38
38
|
* };
|
|
@@ -26,9 +26,9 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput
|
|
|
26
26
|
* import { CodeCommitClient, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // BatchAssociateApprovalRuleTemplateWithRepositoriesInput
|
|
30
30
|
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
|
-
* repositoryNames: [ // required
|
|
31
|
+
* repositoryNames: [ // RepositoryNameList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,14 +26,14 @@ export interface BatchDescribeMergeConflictsCommandOutput extends BatchDescribeM
|
|
|
26
26
|
* import { CodeCommitClient, BatchDescribeMergeConflictsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchDescribeMergeConflictsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // BatchDescribeMergeConflictsInput
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
31
|
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
32
32
|
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
33
33
|
* mergeOption: "STRING_VALUE", // required
|
|
34
34
|
* maxMergeHunks: Number("int"),
|
|
35
35
|
* maxConflictFiles: Number("int"),
|
|
36
|
-
* filePaths: [
|
|
36
|
+
* filePaths: [ // FilePaths
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* conflictDetailLevel: "STRING_VALUE",
|
package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts
CHANGED
|
@@ -26,9 +26,9 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
|
|
|
26
26
|
* import { CodeCommitClient, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
|
|
30
30
|
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
|
-
* repositoryNames: [ // required
|
|
31
|
+
* repositoryNames: [ // RepositoryNameList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,8 +26,8 @@ export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __M
|
|
|
26
26
|
* import { CodeCommitClient, BatchGetCommitsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchGetCommitsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* commitIds: [ // required
|
|
29
|
+
* const input = { // BatchGetCommitsInput
|
|
30
|
+
* commitIds: [ // CommitIdsInputList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
@@ -33,8 +33,8 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
|
|
|
33
33
|
* import { CodeCommitClient, BatchGetRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
34
34
|
* // const { CodeCommitClient, BatchGetRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
35
35
|
* const client = new CodeCommitClient(config);
|
|
36
|
-
* const input = {
|
|
37
|
-
* repositoryNames: [ // required
|
|
36
|
+
* const input = { // BatchGetRepositoriesInput
|
|
37
|
+
* repositoryNames: [ // RepositoryNameList // required
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -30,7 +30,7 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
|
|
|
30
30
|
* import { CodeCommitClient, CreateApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
31
31
|
* // const { CodeCommitClient, CreateApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
32
32
|
* const client = new CodeCommitClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateApprovalRuleTemplateInput
|
|
34
34
|
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
35
35
|
* approvalRuleTemplateContent: "STRING_VALUE", // required
|
|
36
36
|
* approvalRuleTemplateDescription: "STRING_VALUE",
|
|
@@ -29,7 +29,7 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { CodeCommitClient, CreateBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
30
30
|
* // const { CodeCommitClient, CreateBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
31
31
|
* const client = new CodeCommitClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateBranchInput
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* branchName: "STRING_VALUE", // required
|
|
35
35
|
* commitId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
|
|
|
26
26
|
* import { CodeCommitClient, CreateCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, CreateCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateCommitInput
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* parentCommitId: "STRING_VALUE",
|
|
@@ -34,24 +34,24 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
|
|
|
34
34
|
* email: "STRING_VALUE",
|
|
35
35
|
* commitMessage: "STRING_VALUE",
|
|
36
36
|
* keepEmptyFolders: true || false,
|
|
37
|
-
* putFiles: [
|
|
38
|
-
* {
|
|
37
|
+
* putFiles: [ // PutFileEntries
|
|
38
|
+
* { // PutFileEntry
|
|
39
39
|
* filePath: "STRING_VALUE", // required
|
|
40
40
|
* fileMode: "STRING_VALUE",
|
|
41
41
|
* fileContent: "BLOB_VALUE",
|
|
42
|
-
* sourceFile: {
|
|
42
|
+
* sourceFile: { // SourceFileSpecifier
|
|
43
43
|
* filePath: "STRING_VALUE", // required
|
|
44
44
|
* isMove: true || false,
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
|
-
* deleteFiles: [
|
|
49
|
-
* {
|
|
48
|
+
* deleteFiles: [ // DeleteFileEntries
|
|
49
|
+
* { // DeleteFileEntry
|
|
50
50
|
* filePath: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
|
-
* setFileModes: [
|
|
54
|
-
* {
|
|
53
|
+
* setFileModes: [ // SetFileModeEntries
|
|
54
|
+
* { // SetFileModeEntry
|
|
55
55
|
* filePath: "STRING_VALUE", // required
|
|
56
56
|
* fileMode: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
@@ -26,7 +26,7 @@ export interface CreatePullRequestApprovalRuleCommandOutput extends CreatePullRe
|
|
|
26
26
|
* import { CodeCommitClient, CreatePullRequestApprovalRuleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, CreatePullRequestApprovalRuleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreatePullRequestApprovalRuleInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* approvalRuleName: "STRING_VALUE", // required
|
|
32
32
|
* approvalRuleContent: "STRING_VALUE", // required
|