@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.
Files changed (86) hide show
  1. package/dist-cjs/models/models_0.js +70 -83
  2. package/dist-cjs/models/models_1.js +8 -10
  3. package/dist-es/models/models_0.js +70 -83
  4. package/dist-es/models/models_1.js +8 -10
  5. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +1 -1
  6. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +2 -2
  7. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +2 -2
  8. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +2 -2
  9. package/dist-types/commands/BatchGetCommitsCommand.d.ts +2 -2
  10. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -2
  11. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateBranchCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateCommitCommand.d.ts +8 -8
  14. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +1 -1
  15. package/dist-types/commands/CreatePullRequestCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -8
  18. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteBranchCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteCommentContentCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteFileCommand.d.ts +1 -1
  22. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +1 -1
  26. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +1 -1
  27. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +1 -1
  28. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/GetBlobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetBranchCommand.d.ts +1 -1
  31. package/dist-types/commands/GetCommentCommand.d.ts +1 -1
  32. package/dist-types/commands/GetCommentReactionsCommand.d.ts +1 -1
  33. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +1 -1
  34. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +1 -1
  35. package/dist-types/commands/GetCommitCommand.d.ts +1 -1
  36. package/dist-types/commands/GetDifferencesCommand.d.ts +1 -1
  37. package/dist-types/commands/GetFileCommand.d.ts +1 -1
  38. package/dist-types/commands/GetFolderCommand.d.ts +1 -1
  39. package/dist-types/commands/GetMergeCommitCommand.d.ts +1 -1
  40. package/dist-types/commands/GetMergeConflictsCommand.d.ts +1 -1
  41. package/dist-types/commands/GetMergeOptionsCommand.d.ts +1 -1
  42. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
  43. package/dist-types/commands/GetPullRequestCommand.d.ts +1 -1
  44. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +1 -1
  45. package/dist-types/commands/GetRepositoryCommand.d.ts +1 -1
  46. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +1 -1
  47. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -1
  49. package/dist-types/commands/ListBranchesCommand.d.ts +1 -1
  50. package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
  51. package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
  52. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  54. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  55. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +8 -8
  56. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +8 -8
  57. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  58. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -8
  59. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -8
  60. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  61. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +2 -2
  62. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +2 -2
  63. package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
  64. package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
  65. package/dist-types/commands/PutFileCommand.d.ts +1 -1
  66. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +5 -5
  67. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  68. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +5 -5
  69. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  70. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  82. package/dist-types/models/models_0.d.ts +135 -70
  83. package/dist-types/models/models_1.d.ts +18 -8
  84. package/dist-types/ts3.4/models/models_0.d.ts +95 -70
  85. package/dist-types/ts3.4/models/models_1.d.ts +10 -8
  86. 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
- var ApprovalState;
22
- (function (ApprovalState) {
23
- ApprovalState["APPROVE"] = "APPROVE";
24
- ApprovalState["REVOKE"] = "REVOKE";
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
- var OverrideStatus;
79
- (function (OverrideStatus) {
80
- OverrideStatus["OVERRIDE"] = "OVERRIDE";
81
- OverrideStatus["REVOKE"] = "REVOKE";
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
- var ConflictDetailLevelTypeEnum;
331
- (function (ConflictDetailLevelTypeEnum) {
332
- ConflictDetailLevelTypeEnum["FILE_LEVEL"] = "FILE_LEVEL";
333
- ConflictDetailLevelTypeEnum["LINE_LEVEL"] = "LINE_LEVEL";
334
- })(ConflictDetailLevelTypeEnum = exports.ConflictDetailLevelTypeEnum || (exports.ConflictDetailLevelTypeEnum = {}));
335
- var ConflictResolutionStrategyTypeEnum;
336
- (function (ConflictResolutionStrategyTypeEnum) {
337
- ConflictResolutionStrategyTypeEnum["ACCEPT_DESTINATION"] = "ACCEPT_DESTINATION";
338
- ConflictResolutionStrategyTypeEnum["ACCEPT_SOURCE"] = "ACCEPT_SOURCE";
339
- ConflictResolutionStrategyTypeEnum["AUTOMERGE"] = "AUTOMERGE";
340
- ConflictResolutionStrategyTypeEnum["NONE"] = "NONE";
341
- })(ConflictResolutionStrategyTypeEnum = exports.ConflictResolutionStrategyTypeEnum || (exports.ConflictResolutionStrategyTypeEnum = {}));
342
- var MergeOptionTypeEnum;
343
- (function (MergeOptionTypeEnum) {
344
- MergeOptionTypeEnum["FAST_FORWARD_MERGE"] = "FAST_FORWARD_MERGE";
345
- MergeOptionTypeEnum["SQUASH_MERGE"] = "SQUASH_MERGE";
346
- MergeOptionTypeEnum["THREE_WAY_MERGE"] = "THREE_WAY_MERGE";
347
- })(MergeOptionTypeEnum = exports.MergeOptionTypeEnum || (exports.MergeOptionTypeEnum = {}));
348
- var FileModeTypeEnum;
349
- (function (FileModeTypeEnum) {
350
- FileModeTypeEnum["EXECUTABLE"] = "EXECUTABLE";
351
- FileModeTypeEnum["NORMAL"] = "NORMAL";
352
- FileModeTypeEnum["SYMLINK"] = "SYMLINK";
353
- })(FileModeTypeEnum = exports.FileModeTypeEnum || (exports.FileModeTypeEnum = {}));
354
- var ChangeTypeEnum;
355
- (function (ChangeTypeEnum) {
356
- ChangeTypeEnum["ADDED"] = "A";
357
- ChangeTypeEnum["DELETED"] = "D";
358
- ChangeTypeEnum["MODIFIED"] = "M";
359
- })(ChangeTypeEnum = exports.ChangeTypeEnum || (exports.ChangeTypeEnum = {}));
360
- var ObjectTypeEnum;
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
- var PullRequestStatusEnum;
1109
- (function (PullRequestStatusEnum) {
1110
- PullRequestStatusEnum["CLOSED"] = "CLOSED";
1111
- PullRequestStatusEnum["OPEN"] = "OPEN";
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
- var ReplacementTypeEnum;
1517
- (function (ReplacementTypeEnum) {
1518
- ReplacementTypeEnum["KEEP_BASE"] = "KEEP_BASE";
1519
- ReplacementTypeEnum["KEEP_DESTINATION"] = "KEEP_DESTINATION";
1520
- ReplacementTypeEnum["KEEP_SOURCE"] = "KEEP_SOURCE";
1521
- ReplacementTypeEnum["USE_NEW_CONTENT"] = "USE_NEW_CONTENT";
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
- var PullRequestEventType;
1693
- (function (PullRequestEventType) {
1694
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_CREATED"] = "PULL_REQUEST_APPROVAL_RULE_CREATED";
1695
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_DELETED"] = "PULL_REQUEST_APPROVAL_RULE_DELETED";
1696
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"] = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN";
1697
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_UPDATED"] = "PULL_REQUEST_APPROVAL_RULE_UPDATED";
1698
- PullRequestEventType["PULL_REQUEST_APPROVAL_STATE_CHANGED"] = "PULL_REQUEST_APPROVAL_STATE_CHANGED";
1699
- PullRequestEventType["PULL_REQUEST_CREATED"] = "PULL_REQUEST_CREATED";
1700
- PullRequestEventType["PULL_REQUEST_MERGE_STATE_CHANGED"] = "PULL_REQUEST_MERGE_STATE_CHANGED";
1701
- PullRequestEventType["PULL_REQUEST_SOURCE_REFERENCE_UPDATED"] = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED";
1702
- PullRequestEventType["PULL_REQUEST_STATUS_CHANGED"] = "PULL_REQUEST_STATUS_CHANGED";
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
- var RelativeFileVersionEnum;
1822
- (function (RelativeFileVersionEnum) {
1823
- RelativeFileVersionEnum["AFTER"] = "AFTER";
1824
- RelativeFileVersionEnum["BEFORE"] = "BEFORE";
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
- var RepositoryTriggerEventEnum;
1905
- (function (RepositoryTriggerEventEnum) {
1906
- RepositoryTriggerEventEnum["ALL"] = "all";
1907
- RepositoryTriggerEventEnum["CREATE_REFERENCE"] = "createReference";
1908
- RepositoryTriggerEventEnum["DELETE_REFERENCE"] = "deleteReference";
1909
- RepositoryTriggerEventEnum["UPDATE_REFERENCE"] = "updateReference";
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
- var OrderEnum;
6
- (function (OrderEnum) {
7
- OrderEnum["ASCENDING"] = "ascending";
8
- OrderEnum["DESCENDING"] = "descending";
9
- })(OrderEnum = exports.OrderEnum || (exports.OrderEnum = {}));
10
- var SortByEnum;
11
- (function (SortByEnum) {
12
- SortByEnum["MODIFIED_DATE"] = "lastModifiedDate";
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 var ApprovalState;
15
- (function (ApprovalState) {
16
- ApprovalState["APPROVE"] = "APPROVE";
17
- ApprovalState["REVOKE"] = "REVOKE";
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 var OverrideStatus;
68
- (function (OverrideStatus) {
69
- OverrideStatus["OVERRIDE"] = "OVERRIDE";
70
- OverrideStatus["REVOKE"] = "REVOKE";
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 var ConflictDetailLevelTypeEnum;
301
- (function (ConflictDetailLevelTypeEnum) {
302
- ConflictDetailLevelTypeEnum["FILE_LEVEL"] = "FILE_LEVEL";
303
- ConflictDetailLevelTypeEnum["LINE_LEVEL"] = "LINE_LEVEL";
304
- })(ConflictDetailLevelTypeEnum || (ConflictDetailLevelTypeEnum = {}));
305
- export var ConflictResolutionStrategyTypeEnum;
306
- (function (ConflictResolutionStrategyTypeEnum) {
307
- ConflictResolutionStrategyTypeEnum["ACCEPT_DESTINATION"] = "ACCEPT_DESTINATION";
308
- ConflictResolutionStrategyTypeEnum["ACCEPT_SOURCE"] = "ACCEPT_SOURCE";
309
- ConflictResolutionStrategyTypeEnum["AUTOMERGE"] = "AUTOMERGE";
310
- ConflictResolutionStrategyTypeEnum["NONE"] = "NONE";
311
- })(ConflictResolutionStrategyTypeEnum || (ConflictResolutionStrategyTypeEnum = {}));
312
- export var MergeOptionTypeEnum;
313
- (function (MergeOptionTypeEnum) {
314
- MergeOptionTypeEnum["FAST_FORWARD_MERGE"] = "FAST_FORWARD_MERGE";
315
- MergeOptionTypeEnum["SQUASH_MERGE"] = "SQUASH_MERGE";
316
- MergeOptionTypeEnum["THREE_WAY_MERGE"] = "THREE_WAY_MERGE";
317
- })(MergeOptionTypeEnum || (MergeOptionTypeEnum = {}));
318
- export var FileModeTypeEnum;
319
- (function (FileModeTypeEnum) {
320
- FileModeTypeEnum["EXECUTABLE"] = "EXECUTABLE";
321
- FileModeTypeEnum["NORMAL"] = "NORMAL";
322
- FileModeTypeEnum["SYMLINK"] = "SYMLINK";
323
- })(FileModeTypeEnum || (FileModeTypeEnum = {}));
324
- export var ChangeTypeEnum;
325
- (function (ChangeTypeEnum) {
326
- ChangeTypeEnum["ADDED"] = "A";
327
- ChangeTypeEnum["DELETED"] = "D";
328
- ChangeTypeEnum["MODIFIED"] = "M";
329
- })(ChangeTypeEnum || (ChangeTypeEnum = {}));
330
- export var ObjectTypeEnum;
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 var PullRequestStatusEnum;
1022
- (function (PullRequestStatusEnum) {
1023
- PullRequestStatusEnum["CLOSED"] = "CLOSED";
1024
- PullRequestStatusEnum["OPEN"] = "OPEN";
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 var ReplacementTypeEnum;
1399
- (function (ReplacementTypeEnum) {
1400
- ReplacementTypeEnum["KEEP_BASE"] = "KEEP_BASE";
1401
- ReplacementTypeEnum["KEEP_DESTINATION"] = "KEEP_DESTINATION";
1402
- ReplacementTypeEnum["KEEP_SOURCE"] = "KEEP_SOURCE";
1403
- ReplacementTypeEnum["USE_NEW_CONTENT"] = "USE_NEW_CONTENT";
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 var PullRequestEventType;
1562
- (function (PullRequestEventType) {
1563
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_CREATED"] = "PULL_REQUEST_APPROVAL_RULE_CREATED";
1564
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_DELETED"] = "PULL_REQUEST_APPROVAL_RULE_DELETED";
1565
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"] = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN";
1566
- PullRequestEventType["PULL_REQUEST_APPROVAL_RULE_UPDATED"] = "PULL_REQUEST_APPROVAL_RULE_UPDATED";
1567
- PullRequestEventType["PULL_REQUEST_APPROVAL_STATE_CHANGED"] = "PULL_REQUEST_APPROVAL_STATE_CHANGED";
1568
- PullRequestEventType["PULL_REQUEST_CREATED"] = "PULL_REQUEST_CREATED";
1569
- PullRequestEventType["PULL_REQUEST_MERGE_STATE_CHANGED"] = "PULL_REQUEST_MERGE_STATE_CHANGED";
1570
- PullRequestEventType["PULL_REQUEST_SOURCE_REFERENCE_UPDATED"] = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED";
1571
- PullRequestEventType["PULL_REQUEST_STATUS_CHANGED"] = "PULL_REQUEST_STATUS_CHANGED";
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 var RelativeFileVersionEnum;
1682
- (function (RelativeFileVersionEnum) {
1683
- RelativeFileVersionEnum["AFTER"] = "AFTER";
1684
- RelativeFileVersionEnum["BEFORE"] = "BEFORE";
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 var RepositoryTriggerEventEnum;
1759
- (function (RepositoryTriggerEventEnum) {
1760
- RepositoryTriggerEventEnum["ALL"] = "all";
1761
- RepositoryTriggerEventEnum["CREATE_REFERENCE"] = "createReference";
1762
- RepositoryTriggerEventEnum["DELETE_REFERENCE"] = "deleteReference";
1763
- RepositoryTriggerEventEnum["UPDATE_REFERENCE"] = "updateReference";
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 var OrderEnum;
3
- (function (OrderEnum) {
4
- OrderEnum["ASCENDING"] = "ascending";
5
- OrderEnum["DESCENDING"] = "descending";
6
- })(OrderEnum || (OrderEnum = {}));
7
- export var SortByEnum;
8
- (function (SortByEnum) {
9
- SortByEnum["MODIFIED_DATE"] = "lastModifiedDate";
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",
@@ -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