@aws-sdk/client-codecommit 3.934.0 → 3.935.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 (89) hide show
  1. package/dist-cjs/index.js +87 -87
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +86 -0
  4. package/dist-es/models/errors.js +2269 -0
  5. package/dist-es/models/models_0.js +1 -1795
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +1 -2
  8. package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
  9. package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
  10. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  11. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  12. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  13. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +1 -1
  14. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
  15. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  16. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +1 -1
  17. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
  18. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  19. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
  20. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +1 -1
  21. package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
  22. package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
  23. package/dist-types/commands/PutFileCommand.d.ts +1 -1
  24. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +1 -1
  25. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +1 -1
  27. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  41. package/dist-types/index.d.ts +3 -1
  42. package/dist-types/models/enums.d.ts +214 -0
  43. package/dist-types/models/errors.d.ts +2337 -0
  44. package/dist-types/models/models_0.d.ts +1480 -2026
  45. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/PutFileCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/index.d.ts +3 -1
  80. package/dist-types/ts3.4/models/enums.d.ts +115 -0
  81. package/dist-types/ts3.4/models/errors.d.ts +1621 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +332 -1326
  83. package/package.json +12 -12
  84. package/dist-es/models/index.js +0 -2
  85. package/dist-es/models/models_1.js +0 -561
  86. package/dist-types/models/index.d.ts +0 -2
  87. package/dist-types/models/models_1.d.ts +0 -2007
  88. package/dist-types/ts3.4/models/index.d.ts +0 -2
  89. package/dist-types/ts3.4/models/models_1.d.ts +0 -742
@@ -0,0 +1,214 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ApprovalState: {
6
+ readonly APPROVE: "APPROVE";
7
+ readonly REVOKE: "REVOKE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ApprovalState = (typeof ApprovalState)[keyof typeof ApprovalState];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const OverrideStatus: {
18
+ readonly OVERRIDE: "OVERRIDE";
19
+ readonly REVOKE: "REVOKE";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type OverrideStatus = (typeof OverrideStatus)[keyof typeof OverrideStatus];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const ConflictDetailLevelTypeEnum: {
30
+ readonly FILE_LEVEL: "FILE_LEVEL";
31
+ readonly LINE_LEVEL: "LINE_LEVEL";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type ConflictDetailLevelTypeEnum = (typeof ConflictDetailLevelTypeEnum)[keyof typeof ConflictDetailLevelTypeEnum];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const ConflictResolutionStrategyTypeEnum: {
42
+ readonly ACCEPT_DESTINATION: "ACCEPT_DESTINATION";
43
+ readonly ACCEPT_SOURCE: "ACCEPT_SOURCE";
44
+ readonly AUTOMERGE: "AUTOMERGE";
45
+ readonly NONE: "NONE";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type ConflictResolutionStrategyTypeEnum = (typeof ConflictResolutionStrategyTypeEnum)[keyof typeof ConflictResolutionStrategyTypeEnum];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const MergeOptionTypeEnum: {
56
+ readonly FAST_FORWARD_MERGE: "FAST_FORWARD_MERGE";
57
+ readonly SQUASH_MERGE: "SQUASH_MERGE";
58
+ readonly THREE_WAY_MERGE: "THREE_WAY_MERGE";
59
+ };
60
+ /**
61
+ * @public
62
+ */
63
+ export type MergeOptionTypeEnum = (typeof MergeOptionTypeEnum)[keyof typeof MergeOptionTypeEnum];
64
+ /**
65
+ * @public
66
+ * @enum
67
+ */
68
+ export declare const FileModeTypeEnum: {
69
+ readonly EXECUTABLE: "EXECUTABLE";
70
+ readonly NORMAL: "NORMAL";
71
+ readonly SYMLINK: "SYMLINK";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type FileModeTypeEnum = (typeof FileModeTypeEnum)[keyof typeof FileModeTypeEnum];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const ChangeTypeEnum: {
82
+ readonly ADDED: "A";
83
+ readonly DELETED: "D";
84
+ readonly MODIFIED: "M";
85
+ };
86
+ /**
87
+ * @public
88
+ */
89
+ export type ChangeTypeEnum = (typeof ChangeTypeEnum)[keyof typeof ChangeTypeEnum];
90
+ /**
91
+ * @public
92
+ * @enum
93
+ */
94
+ export declare const ObjectTypeEnum: {
95
+ readonly DIRECTORY: "DIRECTORY";
96
+ readonly FILE: "FILE";
97
+ readonly GIT_LINK: "GIT_LINK";
98
+ readonly SYMBOLIC_LINK: "SYMBOLIC_LINK";
99
+ };
100
+ /**
101
+ * @public
102
+ */
103
+ export type ObjectTypeEnum = (typeof ObjectTypeEnum)[keyof typeof ObjectTypeEnum];
104
+ /**
105
+ * @public
106
+ * @enum
107
+ */
108
+ export declare const BatchGetRepositoriesErrorCodeEnum: {
109
+ readonly ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION: "EncryptionIntegrityChecksFailedException";
110
+ readonly ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION: "EncryptionKeyAccessDeniedException";
111
+ readonly ENCRYPTION_KEY_DISABLED_EXCEPTION: "EncryptionKeyDisabledException";
112
+ readonly ENCRYPTION_KEY_NOT_FOUND_EXCEPTION: "EncryptionKeyNotFoundException";
113
+ readonly ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION: "EncryptionKeyUnavailableException";
114
+ readonly REPOSITORY_DOES_NOT_EXIST_EXCEPTION: "RepositoryDoesNotExistException";
115
+ };
116
+ /**
117
+ * @public
118
+ */
119
+ export type BatchGetRepositoriesErrorCodeEnum = (typeof BatchGetRepositoriesErrorCodeEnum)[keyof typeof BatchGetRepositoriesErrorCodeEnum];
120
+ /**
121
+ * @public
122
+ * @enum
123
+ */
124
+ export declare const PullRequestStatusEnum: {
125
+ readonly CLOSED: "CLOSED";
126
+ readonly OPEN: "OPEN";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type PullRequestStatusEnum = (typeof PullRequestStatusEnum)[keyof typeof PullRequestStatusEnum];
132
+ /**
133
+ * @public
134
+ * @enum
135
+ */
136
+ export declare const ReplacementTypeEnum: {
137
+ readonly KEEP_BASE: "KEEP_BASE";
138
+ readonly KEEP_DESTINATION: "KEEP_DESTINATION";
139
+ readonly KEEP_SOURCE: "KEEP_SOURCE";
140
+ readonly USE_NEW_CONTENT: "USE_NEW_CONTENT";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type ReplacementTypeEnum = (typeof ReplacementTypeEnum)[keyof typeof ReplacementTypeEnum];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const PullRequestEventType: {
151
+ readonly PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED";
152
+ readonly PULL_REQUEST_APPROVAL_RULE_DELETED: "PULL_REQUEST_APPROVAL_RULE_DELETED";
153
+ readonly PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN: "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN";
154
+ readonly PULL_REQUEST_APPROVAL_RULE_UPDATED: "PULL_REQUEST_APPROVAL_RULE_UPDATED";
155
+ readonly PULL_REQUEST_APPROVAL_STATE_CHANGED: "PULL_REQUEST_APPROVAL_STATE_CHANGED";
156
+ readonly PULL_REQUEST_CREATED: "PULL_REQUEST_CREATED";
157
+ readonly PULL_REQUEST_MERGE_STATE_CHANGED: "PULL_REQUEST_MERGE_STATE_CHANGED";
158
+ readonly PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED";
159
+ readonly PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED";
160
+ };
161
+ /**
162
+ * @public
163
+ */
164
+ export type PullRequestEventType = (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
165
+ /**
166
+ * @public
167
+ * @enum
168
+ */
169
+ export declare const RelativeFileVersionEnum: {
170
+ readonly AFTER: "AFTER";
171
+ readonly BEFORE: "BEFORE";
172
+ };
173
+ /**
174
+ * @public
175
+ */
176
+ export type RelativeFileVersionEnum = (typeof RelativeFileVersionEnum)[keyof typeof RelativeFileVersionEnum];
177
+ /**
178
+ * @public
179
+ * @enum
180
+ */
181
+ export declare const RepositoryTriggerEventEnum: {
182
+ readonly ALL: "all";
183
+ readonly CREATE_REFERENCE: "createReference";
184
+ readonly DELETE_REFERENCE: "deleteReference";
185
+ readonly UPDATE_REFERENCE: "updateReference";
186
+ };
187
+ /**
188
+ * @public
189
+ */
190
+ export type RepositoryTriggerEventEnum = (typeof RepositoryTriggerEventEnum)[keyof typeof RepositoryTriggerEventEnum];
191
+ /**
192
+ * @public
193
+ * @enum
194
+ */
195
+ export declare const OrderEnum: {
196
+ readonly ASCENDING: "ascending";
197
+ readonly DESCENDING: "descending";
198
+ };
199
+ /**
200
+ * @public
201
+ */
202
+ export type OrderEnum = (typeof OrderEnum)[keyof typeof OrderEnum];
203
+ /**
204
+ * @public
205
+ * @enum
206
+ */
207
+ export declare const SortByEnum: {
208
+ readonly MODIFIED_DATE: "lastModifiedDate";
209
+ readonly REPOSITORY_NAME: "repositoryName";
210
+ };
211
+ /**
212
+ * @public
213
+ */
214
+ export type SortByEnum = (typeof SortByEnum)[keyof typeof SortByEnum];