@aws-sdk/client-codecommit 3.716.0 → 3.723.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.
@@ -1,49 +1,49 @@
1
1
  import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
2
2
  export class InvalidAuthorArnException extends __BaseException {
3
+ name = "InvalidAuthorArnException";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "InvalidAuthorArnException",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "InvalidAuthorArnException";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, InvalidAuthorArnException.prototype);
12
12
  }
13
13
  }
14
14
  export class InvalidPullRequestStatusException extends __BaseException {
15
+ name = "InvalidPullRequestStatusException";
16
+ $fault = "client";
15
17
  constructor(opts) {
16
18
  super({
17
19
  name: "InvalidPullRequestStatusException",
18
20
  $fault: "client",
19
21
  ...opts,
20
22
  });
21
- this.name = "InvalidPullRequestStatusException";
22
- this.$fault = "client";
23
23
  Object.setPrototypeOf(this, InvalidPullRequestStatusException.prototype);
24
24
  }
25
25
  }
26
26
  export class InvalidOrderException extends __BaseException {
27
+ name = "InvalidOrderException";
28
+ $fault = "client";
27
29
  constructor(opts) {
28
30
  super({
29
31
  name: "InvalidOrderException",
30
32
  $fault: "client",
31
33
  ...opts,
32
34
  });
33
- this.name = "InvalidOrderException";
34
- this.$fault = "client";
35
35
  Object.setPrototypeOf(this, InvalidOrderException.prototype);
36
36
  }
37
37
  }
38
38
  export class InvalidSortByException extends __BaseException {
39
+ name = "InvalidSortByException";
40
+ $fault = "client";
39
41
  constructor(opts) {
40
42
  super({
41
43
  name: "InvalidSortByException",
42
44
  $fault: "client",
43
45
  ...opts,
44
46
  });
45
- this.name = "InvalidSortByException";
46
- this.$fault = "client";
47
47
  Object.setPrototypeOf(this, InvalidSortByException.prototype);
48
48
  }
49
49
  }
@@ -56,506 +56,506 @@ export const SortByEnum = {
56
56
  REPOSITORY_NAME: "repositoryName",
57
57
  };
58
58
  export class InvalidResourceArnException extends __BaseException {
59
+ name = "InvalidResourceArnException";
60
+ $fault = "client";
59
61
  constructor(opts) {
60
62
  super({
61
63
  name: "InvalidResourceArnException",
62
64
  $fault: "client",
63
65
  ...opts,
64
66
  });
65
- this.name = "InvalidResourceArnException";
66
- this.$fault = "client";
67
67
  Object.setPrototypeOf(this, InvalidResourceArnException.prototype);
68
68
  }
69
69
  }
70
70
  export class ResourceArnRequiredException extends __BaseException {
71
+ name = "ResourceArnRequiredException";
72
+ $fault = "client";
71
73
  constructor(opts) {
72
74
  super({
73
75
  name: "ResourceArnRequiredException",
74
76
  $fault: "client",
75
77
  ...opts,
76
78
  });
77
- this.name = "ResourceArnRequiredException";
78
- this.$fault = "client";
79
79
  Object.setPrototypeOf(this, ResourceArnRequiredException.prototype);
80
80
  }
81
81
  }
82
82
  export class InvalidTargetBranchException extends __BaseException {
83
+ name = "InvalidTargetBranchException";
84
+ $fault = "client";
83
85
  constructor(opts) {
84
86
  super({
85
87
  name: "InvalidTargetBranchException",
86
88
  $fault: "client",
87
89
  ...opts,
88
90
  });
89
- this.name = "InvalidTargetBranchException";
90
- this.$fault = "client";
91
91
  Object.setPrototypeOf(this, InvalidTargetBranchException.prototype);
92
92
  }
93
93
  }
94
94
  export class PullRequestApprovalRulesNotSatisfiedException extends __BaseException {
95
+ name = "PullRequestApprovalRulesNotSatisfiedException";
96
+ $fault = "client";
95
97
  constructor(opts) {
96
98
  super({
97
99
  name: "PullRequestApprovalRulesNotSatisfiedException",
98
100
  $fault: "client",
99
101
  ...opts,
100
102
  });
101
- this.name = "PullRequestApprovalRulesNotSatisfiedException";
102
- this.$fault = "client";
103
103
  Object.setPrototypeOf(this, PullRequestApprovalRulesNotSatisfiedException.prototype);
104
104
  }
105
105
  }
106
106
  export class TipOfSourceReferenceIsDifferentException extends __BaseException {
107
+ name = "TipOfSourceReferenceIsDifferentException";
108
+ $fault = "client";
107
109
  constructor(opts) {
108
110
  super({
109
111
  name: "TipOfSourceReferenceIsDifferentException",
110
112
  $fault: "client",
111
113
  ...opts,
112
114
  });
113
- this.name = "TipOfSourceReferenceIsDifferentException";
114
- this.$fault = "client";
115
115
  Object.setPrototypeOf(this, TipOfSourceReferenceIsDifferentException.prototype);
116
116
  }
117
117
  }
118
118
  export class InvalidOverrideStatusException extends __BaseException {
119
+ name = "InvalidOverrideStatusException";
120
+ $fault = "client";
119
121
  constructor(opts) {
120
122
  super({
121
123
  name: "InvalidOverrideStatusException",
122
124
  $fault: "client",
123
125
  ...opts,
124
126
  });
125
- this.name = "InvalidOverrideStatusException";
126
- this.$fault = "client";
127
127
  Object.setPrototypeOf(this, InvalidOverrideStatusException.prototype);
128
128
  }
129
129
  }
130
130
  export class OverrideAlreadySetException extends __BaseException {
131
+ name = "OverrideAlreadySetException";
132
+ $fault = "client";
131
133
  constructor(opts) {
132
134
  super({
133
135
  name: "OverrideAlreadySetException",
134
136
  $fault: "client",
135
137
  ...opts,
136
138
  });
137
- this.name = "OverrideAlreadySetException";
138
- this.$fault = "client";
139
139
  Object.setPrototypeOf(this, OverrideAlreadySetException.prototype);
140
140
  }
141
141
  }
142
142
  export class OverrideStatusRequiredException extends __BaseException {
143
+ name = "OverrideStatusRequiredException";
144
+ $fault = "client";
143
145
  constructor(opts) {
144
146
  super({
145
147
  name: "OverrideStatusRequiredException",
146
148
  $fault: "client",
147
149
  ...opts,
148
150
  });
149
- this.name = "OverrideStatusRequiredException";
150
- this.$fault = "client";
151
151
  Object.setPrototypeOf(this, OverrideStatusRequiredException.prototype);
152
152
  }
153
153
  }
154
154
  export class CommentContentRequiredException extends __BaseException {
155
+ name = "CommentContentRequiredException";
156
+ $fault = "client";
155
157
  constructor(opts) {
156
158
  super({
157
159
  name: "CommentContentRequiredException",
158
160
  $fault: "client",
159
161
  ...opts,
160
162
  });
161
- this.name = "CommentContentRequiredException";
162
- this.$fault = "client";
163
163
  Object.setPrototypeOf(this, CommentContentRequiredException.prototype);
164
164
  }
165
165
  }
166
166
  export class CommentContentSizeLimitExceededException extends __BaseException {
167
+ name = "CommentContentSizeLimitExceededException";
168
+ $fault = "client";
167
169
  constructor(opts) {
168
170
  super({
169
171
  name: "CommentContentSizeLimitExceededException",
170
172
  $fault: "client",
171
173
  ...opts,
172
174
  });
173
- this.name = "CommentContentSizeLimitExceededException";
174
- this.$fault = "client";
175
175
  Object.setPrototypeOf(this, CommentContentSizeLimitExceededException.prototype);
176
176
  }
177
177
  }
178
178
  export class InvalidFileLocationException extends __BaseException {
179
+ name = "InvalidFileLocationException";
180
+ $fault = "client";
179
181
  constructor(opts) {
180
182
  super({
181
183
  name: "InvalidFileLocationException",
182
184
  $fault: "client",
183
185
  ...opts,
184
186
  });
185
- this.name = "InvalidFileLocationException";
186
- this.$fault = "client";
187
187
  Object.setPrototypeOf(this, InvalidFileLocationException.prototype);
188
188
  }
189
189
  }
190
190
  export class InvalidFilePositionException extends __BaseException {
191
+ name = "InvalidFilePositionException";
192
+ $fault = "client";
191
193
  constructor(opts) {
192
194
  super({
193
195
  name: "InvalidFilePositionException",
194
196
  $fault: "client",
195
197
  ...opts,
196
198
  });
197
- this.name = "InvalidFilePositionException";
198
- this.$fault = "client";
199
199
  Object.setPrototypeOf(this, InvalidFilePositionException.prototype);
200
200
  }
201
201
  }
202
202
  export class InvalidRelativeFileVersionEnumException extends __BaseException {
203
+ name = "InvalidRelativeFileVersionEnumException";
204
+ $fault = "client";
203
205
  constructor(opts) {
204
206
  super({
205
207
  name: "InvalidRelativeFileVersionEnumException",
206
208
  $fault: "client",
207
209
  ...opts,
208
210
  });
209
- this.name = "InvalidRelativeFileVersionEnumException";
210
- this.$fault = "client";
211
211
  Object.setPrototypeOf(this, InvalidRelativeFileVersionEnumException.prototype);
212
212
  }
213
213
  }
214
214
  export class InvalidReactionValueException extends __BaseException {
215
+ name = "InvalidReactionValueException";
216
+ $fault = "client";
215
217
  constructor(opts) {
216
218
  super({
217
219
  name: "InvalidReactionValueException",
218
220
  $fault: "client",
219
221
  ...opts,
220
222
  });
221
- this.name = "InvalidReactionValueException";
222
- this.$fault = "client";
223
223
  Object.setPrototypeOf(this, InvalidReactionValueException.prototype);
224
224
  }
225
225
  }
226
226
  export class ReactionLimitExceededException extends __BaseException {
227
+ name = "ReactionLimitExceededException";
228
+ $fault = "client";
227
229
  constructor(opts) {
228
230
  super({
229
231
  name: "ReactionLimitExceededException",
230
232
  $fault: "client",
231
233
  ...opts,
232
234
  });
233
- this.name = "ReactionLimitExceededException";
234
- this.$fault = "client";
235
235
  Object.setPrototypeOf(this, ReactionLimitExceededException.prototype);
236
236
  }
237
237
  }
238
238
  export class ReactionValueRequiredException extends __BaseException {
239
+ name = "ReactionValueRequiredException";
240
+ $fault = "client";
239
241
  constructor(opts) {
240
242
  super({
241
243
  name: "ReactionValueRequiredException",
242
244
  $fault: "client",
243
245
  ...opts,
244
246
  });
245
- this.name = "ReactionValueRequiredException";
246
- this.$fault = "client";
247
247
  Object.setPrototypeOf(this, ReactionValueRequiredException.prototype);
248
248
  }
249
249
  }
250
250
  export class FileContentRequiredException extends __BaseException {
251
+ name = "FileContentRequiredException";
252
+ $fault = "client";
251
253
  constructor(opts) {
252
254
  super({
253
255
  name: "FileContentRequiredException",
254
256
  $fault: "client",
255
257
  ...opts,
256
258
  });
257
- this.name = "FileContentRequiredException";
258
- this.$fault = "client";
259
259
  Object.setPrototypeOf(this, FileContentRequiredException.prototype);
260
260
  }
261
261
  }
262
262
  export class SameFileContentException extends __BaseException {
263
+ name = "SameFileContentException";
264
+ $fault = "client";
263
265
  constructor(opts) {
264
266
  super({
265
267
  name: "SameFileContentException",
266
268
  $fault: "client",
267
269
  ...opts,
268
270
  });
269
- this.name = "SameFileContentException";
270
- this.$fault = "client";
271
271
  Object.setPrototypeOf(this, SameFileContentException.prototype);
272
272
  }
273
273
  }
274
274
  export class InvalidRepositoryTriggerBranchNameException extends __BaseException {
275
+ name = "InvalidRepositoryTriggerBranchNameException";
276
+ $fault = "client";
275
277
  constructor(opts) {
276
278
  super({
277
279
  name: "InvalidRepositoryTriggerBranchNameException",
278
280
  $fault: "client",
279
281
  ...opts,
280
282
  });
281
- this.name = "InvalidRepositoryTriggerBranchNameException";
282
- this.$fault = "client";
283
283
  Object.setPrototypeOf(this, InvalidRepositoryTriggerBranchNameException.prototype);
284
284
  }
285
285
  }
286
286
  export class InvalidRepositoryTriggerCustomDataException extends __BaseException {
287
+ name = "InvalidRepositoryTriggerCustomDataException";
288
+ $fault = "client";
287
289
  constructor(opts) {
288
290
  super({
289
291
  name: "InvalidRepositoryTriggerCustomDataException",
290
292
  $fault: "client",
291
293
  ...opts,
292
294
  });
293
- this.name = "InvalidRepositoryTriggerCustomDataException";
294
- this.$fault = "client";
295
295
  Object.setPrototypeOf(this, InvalidRepositoryTriggerCustomDataException.prototype);
296
296
  }
297
297
  }
298
298
  export class InvalidRepositoryTriggerDestinationArnException extends __BaseException {
299
+ name = "InvalidRepositoryTriggerDestinationArnException";
300
+ $fault = "client";
299
301
  constructor(opts) {
300
302
  super({
301
303
  name: "InvalidRepositoryTriggerDestinationArnException",
302
304
  $fault: "client",
303
305
  ...opts,
304
306
  });
305
- this.name = "InvalidRepositoryTriggerDestinationArnException";
306
- this.$fault = "client";
307
307
  Object.setPrototypeOf(this, InvalidRepositoryTriggerDestinationArnException.prototype);
308
308
  }
309
309
  }
310
310
  export class InvalidRepositoryTriggerEventsException extends __BaseException {
311
+ name = "InvalidRepositoryTriggerEventsException";
312
+ $fault = "client";
311
313
  constructor(opts) {
312
314
  super({
313
315
  name: "InvalidRepositoryTriggerEventsException",
314
316
  $fault: "client",
315
317
  ...opts,
316
318
  });
317
- this.name = "InvalidRepositoryTriggerEventsException";
318
- this.$fault = "client";
319
319
  Object.setPrototypeOf(this, InvalidRepositoryTriggerEventsException.prototype);
320
320
  }
321
321
  }
322
322
  export class InvalidRepositoryTriggerNameException extends __BaseException {
323
+ name = "InvalidRepositoryTriggerNameException";
324
+ $fault = "client";
323
325
  constructor(opts) {
324
326
  super({
325
327
  name: "InvalidRepositoryTriggerNameException",
326
328
  $fault: "client",
327
329
  ...opts,
328
330
  });
329
- this.name = "InvalidRepositoryTriggerNameException";
330
- this.$fault = "client";
331
331
  Object.setPrototypeOf(this, InvalidRepositoryTriggerNameException.prototype);
332
332
  }
333
333
  }
334
334
  export class InvalidRepositoryTriggerRegionException extends __BaseException {
335
+ name = "InvalidRepositoryTriggerRegionException";
336
+ $fault = "client";
335
337
  constructor(opts) {
336
338
  super({
337
339
  name: "InvalidRepositoryTriggerRegionException",
338
340
  $fault: "client",
339
341
  ...opts,
340
342
  });
341
- this.name = "InvalidRepositoryTriggerRegionException";
342
- this.$fault = "client";
343
343
  Object.setPrototypeOf(this, InvalidRepositoryTriggerRegionException.prototype);
344
344
  }
345
345
  }
346
346
  export class MaximumBranchesExceededException extends __BaseException {
347
+ name = "MaximumBranchesExceededException";
348
+ $fault = "client";
347
349
  constructor(opts) {
348
350
  super({
349
351
  name: "MaximumBranchesExceededException",
350
352
  $fault: "client",
351
353
  ...opts,
352
354
  });
353
- this.name = "MaximumBranchesExceededException";
354
- this.$fault = "client";
355
355
  Object.setPrototypeOf(this, MaximumBranchesExceededException.prototype);
356
356
  }
357
357
  }
358
358
  export class MaximumRepositoryTriggersExceededException extends __BaseException {
359
+ name = "MaximumRepositoryTriggersExceededException";
360
+ $fault = "client";
359
361
  constructor(opts) {
360
362
  super({
361
363
  name: "MaximumRepositoryTriggersExceededException",
362
364
  $fault: "client",
363
365
  ...opts,
364
366
  });
365
- this.name = "MaximumRepositoryTriggersExceededException";
366
- this.$fault = "client";
367
367
  Object.setPrototypeOf(this, MaximumRepositoryTriggersExceededException.prototype);
368
368
  }
369
369
  }
370
370
  export class RepositoryTriggerBranchNameListRequiredException extends __BaseException {
371
+ name = "RepositoryTriggerBranchNameListRequiredException";
372
+ $fault = "client";
371
373
  constructor(opts) {
372
374
  super({
373
375
  name: "RepositoryTriggerBranchNameListRequiredException",
374
376
  $fault: "client",
375
377
  ...opts,
376
378
  });
377
- this.name = "RepositoryTriggerBranchNameListRequiredException";
378
- this.$fault = "client";
379
379
  Object.setPrototypeOf(this, RepositoryTriggerBranchNameListRequiredException.prototype);
380
380
  }
381
381
  }
382
382
  export class RepositoryTriggerDestinationArnRequiredException extends __BaseException {
383
+ name = "RepositoryTriggerDestinationArnRequiredException";
384
+ $fault = "client";
383
385
  constructor(opts) {
384
386
  super({
385
387
  name: "RepositoryTriggerDestinationArnRequiredException",
386
388
  $fault: "client",
387
389
  ...opts,
388
390
  });
389
- this.name = "RepositoryTriggerDestinationArnRequiredException";
390
- this.$fault = "client";
391
391
  Object.setPrototypeOf(this, RepositoryTriggerDestinationArnRequiredException.prototype);
392
392
  }
393
393
  }
394
394
  export class RepositoryTriggerEventsListRequiredException extends __BaseException {
395
+ name = "RepositoryTriggerEventsListRequiredException";
396
+ $fault = "client";
395
397
  constructor(opts) {
396
398
  super({
397
399
  name: "RepositoryTriggerEventsListRequiredException",
398
400
  $fault: "client",
399
401
  ...opts,
400
402
  });
401
- this.name = "RepositoryTriggerEventsListRequiredException";
402
- this.$fault = "client";
403
403
  Object.setPrototypeOf(this, RepositoryTriggerEventsListRequiredException.prototype);
404
404
  }
405
405
  }
406
406
  export class RepositoryTriggerNameRequiredException extends __BaseException {
407
+ name = "RepositoryTriggerNameRequiredException";
408
+ $fault = "client";
407
409
  constructor(opts) {
408
410
  super({
409
411
  name: "RepositoryTriggerNameRequiredException",
410
412
  $fault: "client",
411
413
  ...opts,
412
414
  });
413
- this.name = "RepositoryTriggerNameRequiredException";
414
- this.$fault = "client";
415
415
  Object.setPrototypeOf(this, RepositoryTriggerNameRequiredException.prototype);
416
416
  }
417
417
  }
418
418
  export class RepositoryTriggersListRequiredException extends __BaseException {
419
+ name = "RepositoryTriggersListRequiredException";
420
+ $fault = "client";
419
421
  constructor(opts) {
420
422
  super({
421
423
  name: "RepositoryTriggersListRequiredException",
422
424
  $fault: "client",
423
425
  ...opts,
424
426
  });
425
- this.name = "RepositoryTriggersListRequiredException";
426
- this.$fault = "client";
427
427
  Object.setPrototypeOf(this, RepositoryTriggersListRequiredException.prototype);
428
428
  }
429
429
  }
430
430
  export class TagsMapRequiredException extends __BaseException {
431
+ name = "TagsMapRequiredException";
432
+ $fault = "client";
431
433
  constructor(opts) {
432
434
  super({
433
435
  name: "TagsMapRequiredException",
434
436
  $fault: "client",
435
437
  ...opts,
436
438
  });
437
- this.name = "TagsMapRequiredException";
438
- this.$fault = "client";
439
439
  Object.setPrototypeOf(this, TagsMapRequiredException.prototype);
440
440
  }
441
441
  }
442
442
  export class InvalidTagKeysListException extends __BaseException {
443
+ name = "InvalidTagKeysListException";
444
+ $fault = "client";
443
445
  constructor(opts) {
444
446
  super({
445
447
  name: "InvalidTagKeysListException",
446
448
  $fault: "client",
447
449
  ...opts,
448
450
  });
449
- this.name = "InvalidTagKeysListException";
450
- this.$fault = "client";
451
451
  Object.setPrototypeOf(this, InvalidTagKeysListException.prototype);
452
452
  }
453
453
  }
454
454
  export class TagKeysListRequiredException extends __BaseException {
455
+ name = "TagKeysListRequiredException";
456
+ $fault = "client";
455
457
  constructor(opts) {
456
458
  super({
457
459
  name: "TagKeysListRequiredException",
458
460
  $fault: "client",
459
461
  ...opts,
460
462
  });
461
- this.name = "TagKeysListRequiredException";
462
- this.$fault = "client";
463
463
  Object.setPrototypeOf(this, TagKeysListRequiredException.prototype);
464
464
  }
465
465
  }
466
466
  export class InvalidRuleContentSha256Exception extends __BaseException {
467
+ name = "InvalidRuleContentSha256Exception";
468
+ $fault = "client";
467
469
  constructor(opts) {
468
470
  super({
469
471
  name: "InvalidRuleContentSha256Exception",
470
472
  $fault: "client",
471
473
  ...opts,
472
474
  });
473
- this.name = "InvalidRuleContentSha256Exception";
474
- this.$fault = "client";
475
475
  Object.setPrototypeOf(this, InvalidRuleContentSha256Exception.prototype);
476
476
  }
477
477
  }
478
478
  export class CommentNotCreatedByCallerException extends __BaseException {
479
+ name = "CommentNotCreatedByCallerException";
480
+ $fault = "client";
479
481
  constructor(opts) {
480
482
  super({
481
483
  name: "CommentNotCreatedByCallerException",
482
484
  $fault: "client",
483
485
  ...opts,
484
486
  });
485
- this.name = "CommentNotCreatedByCallerException";
486
- this.$fault = "client";
487
487
  Object.setPrototypeOf(this, CommentNotCreatedByCallerException.prototype);
488
488
  }
489
489
  }
490
490
  export class InvalidApprovalStateException extends __BaseException {
491
+ name = "InvalidApprovalStateException";
492
+ $fault = "client";
491
493
  constructor(opts) {
492
494
  super({
493
495
  name: "InvalidApprovalStateException",
494
496
  $fault: "client",
495
497
  ...opts,
496
498
  });
497
- this.name = "InvalidApprovalStateException";
498
- this.$fault = "client";
499
499
  Object.setPrototypeOf(this, InvalidApprovalStateException.prototype);
500
500
  }
501
501
  }
502
502
  export class MaximumNumberOfApprovalsExceededException extends __BaseException {
503
+ name = "MaximumNumberOfApprovalsExceededException";
504
+ $fault = "client";
503
505
  constructor(opts) {
504
506
  super({
505
507
  name: "MaximumNumberOfApprovalsExceededException",
506
508
  $fault: "client",
507
509
  ...opts,
508
510
  });
509
- this.name = "MaximumNumberOfApprovalsExceededException";
510
- this.$fault = "client";
511
511
  Object.setPrototypeOf(this, MaximumNumberOfApprovalsExceededException.prototype);
512
512
  }
513
513
  }
514
514
  export class PullRequestCannotBeApprovedByAuthorException extends __BaseException {
515
+ name = "PullRequestCannotBeApprovedByAuthorException";
516
+ $fault = "client";
515
517
  constructor(opts) {
516
518
  super({
517
519
  name: "PullRequestCannotBeApprovedByAuthorException",
518
520
  $fault: "client",
519
521
  ...opts,
520
522
  });
521
- this.name = "PullRequestCannotBeApprovedByAuthorException";
522
- this.$fault = "client";
523
523
  Object.setPrototypeOf(this, PullRequestCannotBeApprovedByAuthorException.prototype);
524
524
  }
525
525
  }
526
526
  export class InvalidPullRequestStatusUpdateException extends __BaseException {
527
+ name = "InvalidPullRequestStatusUpdateException";
528
+ $fault = "client";
527
529
  constructor(opts) {
528
530
  super({
529
531
  name: "InvalidPullRequestStatusUpdateException",
530
532
  $fault: "client",
531
533
  ...opts,
532
534
  });
533
- this.name = "InvalidPullRequestStatusUpdateException";
534
- this.$fault = "client";
535
535
  Object.setPrototypeOf(this, InvalidPullRequestStatusUpdateException.prototype);
536
536
  }
537
537
  }
538
538
  export class PullRequestStatusRequiredException extends __BaseException {
539
+ name = "PullRequestStatusRequiredException";
540
+ $fault = "client";
539
541
  constructor(opts) {
540
542
  super({
541
543
  name: "PullRequestStatusRequiredException",
542
544
  $fault: "client",
543
545
  ...opts,
544
546
  });
545
- this.name = "PullRequestStatusRequiredException";
546
- this.$fault = "client";
547
547
  Object.setPrototypeOf(this, PullRequestStatusRequiredException.prototype);
548
548
  }
549
549
  }
550
550
  export class EncryptionKeyRequiredException extends __BaseException {
551
+ name = "EncryptionKeyRequiredException";
552
+ $fault = "client";
551
553
  constructor(opts) {
552
554
  super({
553
555
  name: "EncryptionKeyRequiredException",
554
556
  $fault: "client",
555
557
  ...opts,
556
558
  });
557
- this.name = "EncryptionKeyRequiredException";
558
- this.$fault = "client";
559
559
  Object.setPrototypeOf(this, EncryptionKeyRequiredException.prototype);
560
560
  }
561
561
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;