@aws-sdk/client-codecommit 3.45.0 → 3.47.2
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/CHANGELOG.md +44 -0
- package/dist-cjs/endpoints.js +0 -28
- package/dist-cjs/models/models_0.js +4 -870
- package/dist-cjs/models/models_1.js +2 -248
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +0 -28
- package/dist-es/models/models_0.js +0 -576
- package/dist-es/models/models_1.js +0 -164
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/CodeCommitClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -864
- package/dist-types/models/models_1.d.ts +0 -246
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -576
- package/dist-types/ts3.4/models/models_1.d.ts +0 -164
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -29,10 +29,6 @@ export var ListRepositoriesForApprovalRuleTemplateOutput;
|
|
|
29
29
|
(function (ListRepositoriesForApprovalRuleTemplateOutput) {
|
|
30
30
|
ListRepositoriesForApprovalRuleTemplateOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
31
|
})(ListRepositoriesForApprovalRuleTemplateOutput || (ListRepositoriesForApprovalRuleTemplateOutput = {}));
|
|
32
|
-
export var InvalidResourceArnException;
|
|
33
|
-
(function (InvalidResourceArnException) {
|
|
34
|
-
InvalidResourceArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(InvalidResourceArnException || (InvalidResourceArnException = {}));
|
|
36
32
|
export var ListTagsForResourceInput;
|
|
37
33
|
(function (ListTagsForResourceInput) {
|
|
38
34
|
ListTagsForResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -41,14 +37,6 @@ export var ListTagsForResourceOutput;
|
|
|
41
37
|
(function (ListTagsForResourceOutput) {
|
|
42
38
|
ListTagsForResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
39
|
})(ListTagsForResourceOutput || (ListTagsForResourceOutput = {}));
|
|
44
|
-
export var ResourceArnRequiredException;
|
|
45
|
-
(function (ResourceArnRequiredException) {
|
|
46
|
-
ResourceArnRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
|
-
})(ResourceArnRequiredException || (ResourceArnRequiredException = {}));
|
|
48
|
-
export var InvalidTargetBranchException;
|
|
49
|
-
(function (InvalidTargetBranchException) {
|
|
50
|
-
InvalidTargetBranchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
|
-
})(InvalidTargetBranchException || (InvalidTargetBranchException = {}));
|
|
52
40
|
export var MergeBranchesByFastForwardInput;
|
|
53
41
|
(function (MergeBranchesByFastForwardInput) {
|
|
54
42
|
MergeBranchesByFastForwardInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -81,14 +69,6 @@ export var MergePullRequestByFastForwardOutput;
|
|
|
81
69
|
(function (MergePullRequestByFastForwardOutput) {
|
|
82
70
|
MergePullRequestByFastForwardOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
71
|
})(MergePullRequestByFastForwardOutput || (MergePullRequestByFastForwardOutput = {}));
|
|
84
|
-
export var PullRequestApprovalRulesNotSatisfiedException;
|
|
85
|
-
(function (PullRequestApprovalRulesNotSatisfiedException) {
|
|
86
|
-
PullRequestApprovalRulesNotSatisfiedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
-
})(PullRequestApprovalRulesNotSatisfiedException || (PullRequestApprovalRulesNotSatisfiedException = {}));
|
|
88
|
-
export var TipOfSourceReferenceIsDifferentException;
|
|
89
|
-
(function (TipOfSourceReferenceIsDifferentException) {
|
|
90
|
-
TipOfSourceReferenceIsDifferentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
-
})(TipOfSourceReferenceIsDifferentException || (TipOfSourceReferenceIsDifferentException = {}));
|
|
92
72
|
export var MergePullRequestBySquashInput;
|
|
93
73
|
(function (MergePullRequestBySquashInput) {
|
|
94
74
|
MergePullRequestBySquashInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -105,42 +85,10 @@ export var MergePullRequestByThreeWayOutput;
|
|
|
105
85
|
(function (MergePullRequestByThreeWayOutput) {
|
|
106
86
|
MergePullRequestByThreeWayOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
87
|
})(MergePullRequestByThreeWayOutput || (MergePullRequestByThreeWayOutput = {}));
|
|
108
|
-
export var InvalidOverrideStatusException;
|
|
109
|
-
(function (InvalidOverrideStatusException) {
|
|
110
|
-
InvalidOverrideStatusException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
-
})(InvalidOverrideStatusException || (InvalidOverrideStatusException = {}));
|
|
112
|
-
export var OverrideAlreadySetException;
|
|
113
|
-
(function (OverrideAlreadySetException) {
|
|
114
|
-
OverrideAlreadySetException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
-
})(OverrideAlreadySetException || (OverrideAlreadySetException = {}));
|
|
116
88
|
export var OverridePullRequestApprovalRulesInput;
|
|
117
89
|
(function (OverridePullRequestApprovalRulesInput) {
|
|
118
90
|
OverridePullRequestApprovalRulesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
119
91
|
})(OverridePullRequestApprovalRulesInput || (OverridePullRequestApprovalRulesInput = {}));
|
|
120
|
-
export var OverrideStatusRequiredException;
|
|
121
|
-
(function (OverrideStatusRequiredException) {
|
|
122
|
-
OverrideStatusRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
123
|
-
})(OverrideStatusRequiredException || (OverrideStatusRequiredException = {}));
|
|
124
|
-
export var CommentContentRequiredException;
|
|
125
|
-
(function (CommentContentRequiredException) {
|
|
126
|
-
CommentContentRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
|
-
})(CommentContentRequiredException || (CommentContentRequiredException = {}));
|
|
128
|
-
export var CommentContentSizeLimitExceededException;
|
|
129
|
-
(function (CommentContentSizeLimitExceededException) {
|
|
130
|
-
CommentContentSizeLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(CommentContentSizeLimitExceededException || (CommentContentSizeLimitExceededException = {}));
|
|
132
|
-
export var InvalidFileLocationException;
|
|
133
|
-
(function (InvalidFileLocationException) {
|
|
134
|
-
InvalidFileLocationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
-
})(InvalidFileLocationException || (InvalidFileLocationException = {}));
|
|
136
|
-
export var InvalidFilePositionException;
|
|
137
|
-
(function (InvalidFilePositionException) {
|
|
138
|
-
InvalidFilePositionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
-
})(InvalidFilePositionException || (InvalidFilePositionException = {}));
|
|
140
|
-
export var InvalidRelativeFileVersionEnumException;
|
|
141
|
-
(function (InvalidRelativeFileVersionEnumException) {
|
|
142
|
-
InvalidRelativeFileVersionEnumException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
-
})(InvalidRelativeFileVersionEnumException || (InvalidRelativeFileVersionEnumException = {}));
|
|
144
92
|
export var PostCommentForComparedCommitInput;
|
|
145
93
|
(function (PostCommentForComparedCommitInput) {
|
|
146
94
|
PostCommentForComparedCommitInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -165,26 +113,10 @@ export var PostCommentReplyOutput;
|
|
|
165
113
|
(function (PostCommentReplyOutput) {
|
|
166
114
|
PostCommentReplyOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
115
|
})(PostCommentReplyOutput || (PostCommentReplyOutput = {}));
|
|
168
|
-
export var InvalidReactionValueException;
|
|
169
|
-
(function (InvalidReactionValueException) {
|
|
170
|
-
InvalidReactionValueException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
-
})(InvalidReactionValueException || (InvalidReactionValueException = {}));
|
|
172
116
|
export var PutCommentReactionInput;
|
|
173
117
|
(function (PutCommentReactionInput) {
|
|
174
118
|
PutCommentReactionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
119
|
})(PutCommentReactionInput || (PutCommentReactionInput = {}));
|
|
176
|
-
export var ReactionLimitExceededException;
|
|
177
|
-
(function (ReactionLimitExceededException) {
|
|
178
|
-
ReactionLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
-
})(ReactionLimitExceededException || (ReactionLimitExceededException = {}));
|
|
180
|
-
export var ReactionValueRequiredException;
|
|
181
|
-
(function (ReactionValueRequiredException) {
|
|
182
|
-
ReactionValueRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
-
})(ReactionValueRequiredException || (ReactionValueRequiredException = {}));
|
|
184
|
-
export var FileContentRequiredException;
|
|
185
|
-
(function (FileContentRequiredException) {
|
|
186
|
-
FileContentRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
-
})(FileContentRequiredException || (FileContentRequiredException = {}));
|
|
188
120
|
export var PutFileInput;
|
|
189
121
|
(function (PutFileInput) {
|
|
190
122
|
PutFileInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -193,42 +125,6 @@ export var PutFileOutput;
|
|
|
193
125
|
(function (PutFileOutput) {
|
|
194
126
|
PutFileOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
127
|
})(PutFileOutput || (PutFileOutput = {}));
|
|
196
|
-
export var SameFileContentException;
|
|
197
|
-
(function (SameFileContentException) {
|
|
198
|
-
SameFileContentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
-
})(SameFileContentException || (SameFileContentException = {}));
|
|
200
|
-
export var InvalidRepositoryTriggerBranchNameException;
|
|
201
|
-
(function (InvalidRepositoryTriggerBranchNameException) {
|
|
202
|
-
InvalidRepositoryTriggerBranchNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
-
})(InvalidRepositoryTriggerBranchNameException || (InvalidRepositoryTriggerBranchNameException = {}));
|
|
204
|
-
export var InvalidRepositoryTriggerCustomDataException;
|
|
205
|
-
(function (InvalidRepositoryTriggerCustomDataException) {
|
|
206
|
-
InvalidRepositoryTriggerCustomDataException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
-
})(InvalidRepositoryTriggerCustomDataException || (InvalidRepositoryTriggerCustomDataException = {}));
|
|
208
|
-
export var InvalidRepositoryTriggerDestinationArnException;
|
|
209
|
-
(function (InvalidRepositoryTriggerDestinationArnException) {
|
|
210
|
-
InvalidRepositoryTriggerDestinationArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
-
})(InvalidRepositoryTriggerDestinationArnException || (InvalidRepositoryTriggerDestinationArnException = {}));
|
|
212
|
-
export var InvalidRepositoryTriggerEventsException;
|
|
213
|
-
(function (InvalidRepositoryTriggerEventsException) {
|
|
214
|
-
InvalidRepositoryTriggerEventsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
-
})(InvalidRepositoryTriggerEventsException || (InvalidRepositoryTriggerEventsException = {}));
|
|
216
|
-
export var InvalidRepositoryTriggerNameException;
|
|
217
|
-
(function (InvalidRepositoryTriggerNameException) {
|
|
218
|
-
InvalidRepositoryTriggerNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
-
})(InvalidRepositoryTriggerNameException || (InvalidRepositoryTriggerNameException = {}));
|
|
220
|
-
export var InvalidRepositoryTriggerRegionException;
|
|
221
|
-
(function (InvalidRepositoryTriggerRegionException) {
|
|
222
|
-
InvalidRepositoryTriggerRegionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
-
})(InvalidRepositoryTriggerRegionException || (InvalidRepositoryTriggerRegionException = {}));
|
|
224
|
-
export var MaximumBranchesExceededException;
|
|
225
|
-
(function (MaximumBranchesExceededException) {
|
|
226
|
-
MaximumBranchesExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
-
})(MaximumBranchesExceededException || (MaximumBranchesExceededException = {}));
|
|
228
|
-
export var MaximumRepositoryTriggersExceededException;
|
|
229
|
-
(function (MaximumRepositoryTriggersExceededException) {
|
|
230
|
-
MaximumRepositoryTriggersExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
-
})(MaximumRepositoryTriggersExceededException || (MaximumRepositoryTriggersExceededException = {}));
|
|
232
128
|
export var PutRepositoryTriggersInput;
|
|
233
129
|
(function (PutRepositoryTriggersInput) {
|
|
234
130
|
PutRepositoryTriggersInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -237,34 +133,10 @@ export var PutRepositoryTriggersOutput;
|
|
|
237
133
|
(function (PutRepositoryTriggersOutput) {
|
|
238
134
|
PutRepositoryTriggersOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
135
|
})(PutRepositoryTriggersOutput || (PutRepositoryTriggersOutput = {}));
|
|
240
|
-
export var RepositoryTriggerBranchNameListRequiredException;
|
|
241
|
-
(function (RepositoryTriggerBranchNameListRequiredException) {
|
|
242
|
-
RepositoryTriggerBranchNameListRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
|
-
})(RepositoryTriggerBranchNameListRequiredException || (RepositoryTriggerBranchNameListRequiredException = {}));
|
|
244
|
-
export var RepositoryTriggerDestinationArnRequiredException;
|
|
245
|
-
(function (RepositoryTriggerDestinationArnRequiredException) {
|
|
246
|
-
RepositoryTriggerDestinationArnRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
-
})(RepositoryTriggerDestinationArnRequiredException || (RepositoryTriggerDestinationArnRequiredException = {}));
|
|
248
|
-
export var RepositoryTriggerEventsListRequiredException;
|
|
249
|
-
(function (RepositoryTriggerEventsListRequiredException) {
|
|
250
|
-
RepositoryTriggerEventsListRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
251
|
-
})(RepositoryTriggerEventsListRequiredException || (RepositoryTriggerEventsListRequiredException = {}));
|
|
252
|
-
export var RepositoryTriggerNameRequiredException;
|
|
253
|
-
(function (RepositoryTriggerNameRequiredException) {
|
|
254
|
-
RepositoryTriggerNameRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
255
|
-
})(RepositoryTriggerNameRequiredException || (RepositoryTriggerNameRequiredException = {}));
|
|
256
|
-
export var RepositoryTriggersListRequiredException;
|
|
257
|
-
(function (RepositoryTriggersListRequiredException) {
|
|
258
|
-
RepositoryTriggersListRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
|
-
})(RepositoryTriggersListRequiredException || (RepositoryTriggersListRequiredException = {}));
|
|
260
136
|
export var TagResourceInput;
|
|
261
137
|
(function (TagResourceInput) {
|
|
262
138
|
TagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
139
|
})(TagResourceInput || (TagResourceInput = {}));
|
|
264
|
-
export var TagsMapRequiredException;
|
|
265
|
-
(function (TagsMapRequiredException) {
|
|
266
|
-
TagsMapRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
-
})(TagsMapRequiredException || (TagsMapRequiredException = {}));
|
|
268
140
|
export var TestRepositoryTriggersInput;
|
|
269
141
|
(function (TestRepositoryTriggersInput) {
|
|
270
142
|
TestRepositoryTriggersInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -277,22 +149,10 @@ export var TestRepositoryTriggersOutput;
|
|
|
277
149
|
(function (TestRepositoryTriggersOutput) {
|
|
278
150
|
TestRepositoryTriggersOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
151
|
})(TestRepositoryTriggersOutput || (TestRepositoryTriggersOutput = {}));
|
|
280
|
-
export var InvalidTagKeysListException;
|
|
281
|
-
(function (InvalidTagKeysListException) {
|
|
282
|
-
InvalidTagKeysListException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
-
})(InvalidTagKeysListException || (InvalidTagKeysListException = {}));
|
|
284
|
-
export var TagKeysListRequiredException;
|
|
285
|
-
(function (TagKeysListRequiredException) {
|
|
286
|
-
TagKeysListRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
|
-
})(TagKeysListRequiredException || (TagKeysListRequiredException = {}));
|
|
288
152
|
export var UntagResourceInput;
|
|
289
153
|
(function (UntagResourceInput) {
|
|
290
154
|
UntagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
291
155
|
})(UntagResourceInput || (UntagResourceInput = {}));
|
|
292
|
-
export var InvalidRuleContentSha256Exception;
|
|
293
|
-
(function (InvalidRuleContentSha256Exception) {
|
|
294
|
-
InvalidRuleContentSha256Exception.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
295
|
-
})(InvalidRuleContentSha256Exception || (InvalidRuleContentSha256Exception = {}));
|
|
296
156
|
export var UpdateApprovalRuleTemplateContentInput;
|
|
297
157
|
(function (UpdateApprovalRuleTemplateContentInput) {
|
|
298
158
|
UpdateApprovalRuleTemplateContentInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -317,10 +177,6 @@ export var UpdateApprovalRuleTemplateNameOutput;
|
|
|
317
177
|
(function (UpdateApprovalRuleTemplateNameOutput) {
|
|
318
178
|
UpdateApprovalRuleTemplateNameOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
319
179
|
})(UpdateApprovalRuleTemplateNameOutput || (UpdateApprovalRuleTemplateNameOutput = {}));
|
|
320
|
-
export var CommentNotCreatedByCallerException;
|
|
321
|
-
(function (CommentNotCreatedByCallerException) {
|
|
322
|
-
CommentNotCreatedByCallerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
323
|
-
})(CommentNotCreatedByCallerException || (CommentNotCreatedByCallerException = {}));
|
|
324
180
|
export var UpdateCommentInput;
|
|
325
181
|
(function (UpdateCommentInput) {
|
|
326
182
|
UpdateCommentInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -341,18 +197,6 @@ export var UpdatePullRequestApprovalRuleContentOutput;
|
|
|
341
197
|
(function (UpdatePullRequestApprovalRuleContentOutput) {
|
|
342
198
|
UpdatePullRequestApprovalRuleContentOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
199
|
})(UpdatePullRequestApprovalRuleContentOutput || (UpdatePullRequestApprovalRuleContentOutput = {}));
|
|
344
|
-
export var InvalidApprovalStateException;
|
|
345
|
-
(function (InvalidApprovalStateException) {
|
|
346
|
-
InvalidApprovalStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
347
|
-
})(InvalidApprovalStateException || (InvalidApprovalStateException = {}));
|
|
348
|
-
export var MaximumNumberOfApprovalsExceededException;
|
|
349
|
-
(function (MaximumNumberOfApprovalsExceededException) {
|
|
350
|
-
MaximumNumberOfApprovalsExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
351
|
-
})(MaximumNumberOfApprovalsExceededException || (MaximumNumberOfApprovalsExceededException = {}));
|
|
352
|
-
export var PullRequestCannotBeApprovedByAuthorException;
|
|
353
|
-
(function (PullRequestCannotBeApprovedByAuthorException) {
|
|
354
|
-
PullRequestCannotBeApprovedByAuthorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
|
-
})(PullRequestCannotBeApprovedByAuthorException || (PullRequestCannotBeApprovedByAuthorException = {}));
|
|
356
200
|
export var UpdatePullRequestApprovalStateInput;
|
|
357
201
|
(function (UpdatePullRequestApprovalStateInput) {
|
|
358
202
|
UpdatePullRequestApprovalStateInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -365,14 +209,6 @@ export var UpdatePullRequestDescriptionOutput;
|
|
|
365
209
|
(function (UpdatePullRequestDescriptionOutput) {
|
|
366
210
|
UpdatePullRequestDescriptionOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
367
211
|
})(UpdatePullRequestDescriptionOutput || (UpdatePullRequestDescriptionOutput = {}));
|
|
368
|
-
export var InvalidPullRequestStatusUpdateException;
|
|
369
|
-
(function (InvalidPullRequestStatusUpdateException) {
|
|
370
|
-
InvalidPullRequestStatusUpdateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
371
|
-
})(InvalidPullRequestStatusUpdateException || (InvalidPullRequestStatusUpdateException = {}));
|
|
372
|
-
export var PullRequestStatusRequiredException;
|
|
373
|
-
(function (PullRequestStatusRequiredException) {
|
|
374
|
-
PullRequestStatusRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
375
|
-
})(PullRequestStatusRequiredException || (PullRequestStatusRequiredException = {}));
|
|
376
212
|
export var UpdatePullRequestStatusInput;
|
|
377
213
|
(function (UpdatePullRequestStatusInput) {
|
|
378
214
|
UpdatePullRequestStatusInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput } from "./commands/AssociateApprovalRuleTemplateWithRepositoryCommand";
|
|
10
10
|
import { BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput } from "./commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand";
|
|
@@ -185,6 +185,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
185
185
|
* @internal
|
|
186
186
|
*/
|
|
187
187
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
188
|
+
/**
|
|
189
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
190
|
+
*/
|
|
191
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
188
192
|
}
|
|
189
193
|
declare type CodeCommitClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
190
194
|
/**
|