@aws-sdk/client-lambda 3.721.0 → 3.726.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.
@@ -15,6 +15,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
15
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
16
  export { __Client };
17
17
  export class LambdaClient extends __Client {
18
+ config;
18
19
  constructor(...[configuration]) {
19
20
  const _config_0 = __getRuntimeConfig(configuration || {});
20
21
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,80 +1,88 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
3
3
  export class InvalidParameterValueException extends __BaseException {
4
+ name = "InvalidParameterValueException";
5
+ $fault = "client";
6
+ Type;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "InvalidParameterValueException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "InvalidParameterValueException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
13
14
  this.Type = opts.Type;
14
15
  }
15
16
  }
16
17
  export class PolicyLengthExceededException extends __BaseException {
18
+ name = "PolicyLengthExceededException";
19
+ $fault = "client";
20
+ Type;
17
21
  constructor(opts) {
18
22
  super({
19
23
  name: "PolicyLengthExceededException",
20
24
  $fault: "client",
21
25
  ...opts,
22
26
  });
23
- this.name = "PolicyLengthExceededException";
24
- this.$fault = "client";
25
27
  Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
26
28
  this.Type = opts.Type;
27
29
  }
28
30
  }
29
31
  export class PreconditionFailedException extends __BaseException {
32
+ name = "PreconditionFailedException";
33
+ $fault = "client";
34
+ Type;
30
35
  constructor(opts) {
31
36
  super({
32
37
  name: "PreconditionFailedException",
33
38
  $fault: "client",
34
39
  ...opts,
35
40
  });
36
- this.name = "PreconditionFailedException";
37
- this.$fault = "client";
38
41
  Object.setPrototypeOf(this, PreconditionFailedException.prototype);
39
42
  this.Type = opts.Type;
40
43
  }
41
44
  }
42
45
  export class ResourceConflictException extends __BaseException {
46
+ name = "ResourceConflictException";
47
+ $fault = "client";
48
+ Type;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "ResourceConflictException",
46
52
  $fault: "client",
47
53
  ...opts,
48
54
  });
49
- this.name = "ResourceConflictException";
50
- this.$fault = "client";
51
55
  Object.setPrototypeOf(this, ResourceConflictException.prototype);
52
56
  this.Type = opts.Type;
53
57
  }
54
58
  }
55
59
  export class ResourceNotFoundException extends __BaseException {
60
+ name = "ResourceNotFoundException";
61
+ $fault = "client";
62
+ Type;
63
+ Message;
56
64
  constructor(opts) {
57
65
  super({
58
66
  name: "ResourceNotFoundException",
59
67
  $fault: "client",
60
68
  ...opts,
61
69
  });
62
- this.name = "ResourceNotFoundException";
63
- this.$fault = "client";
64
70
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
65
71
  this.Type = opts.Type;
66
72
  this.Message = opts.Message;
67
73
  }
68
74
  }
69
75
  export class ServiceException extends __BaseException {
76
+ name = "ServiceException";
77
+ $fault = "server";
78
+ Type;
79
+ Message;
70
80
  constructor(opts) {
71
81
  super({
72
82
  name: "ServiceException",
73
83
  $fault: "server",
74
84
  ...opts,
75
85
  });
76
- this.name = "ServiceException";
77
- this.$fault = "server";
78
86
  Object.setPrototypeOf(this, ServiceException.prototype);
79
87
  this.Type = opts.Type;
80
88
  this.Message = opts.Message;
@@ -89,14 +97,17 @@ export const ThrottleReason = {
89
97
  ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
90
98
  };
91
99
  export class TooManyRequestsException extends __BaseException {
100
+ name = "TooManyRequestsException";
101
+ $fault = "client";
102
+ retryAfterSeconds;
103
+ Type;
104
+ Reason;
92
105
  constructor(opts) {
93
106
  super({
94
107
  name: "TooManyRequestsException",
95
108
  $fault: "client",
96
109
  ...opts,
97
110
  });
98
- this.name = "TooManyRequestsException";
99
- this.$fault = "client";
100
111
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
101
112
  this.retryAfterSeconds = opts.retryAfterSeconds;
102
113
  this.Type = opts.Type;
@@ -152,41 +163,46 @@ export const EventSourcePosition = {
152
163
  TRIM_HORIZON: "TRIM_HORIZON",
153
164
  };
154
165
  export class CodeSigningConfigNotFoundException extends __BaseException {
166
+ name = "CodeSigningConfigNotFoundException";
167
+ $fault = "client";
168
+ Type;
169
+ Message;
155
170
  constructor(opts) {
156
171
  super({
157
172
  name: "CodeSigningConfigNotFoundException",
158
173
  $fault: "client",
159
174
  ...opts,
160
175
  });
161
- this.name = "CodeSigningConfigNotFoundException";
162
- this.$fault = "client";
163
176
  Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype);
164
177
  this.Type = opts.Type;
165
178
  this.Message = opts.Message;
166
179
  }
167
180
  }
168
181
  export class CodeStorageExceededException extends __BaseException {
182
+ name = "CodeStorageExceededException";
183
+ $fault = "client";
184
+ Type;
169
185
  constructor(opts) {
170
186
  super({
171
187
  name: "CodeStorageExceededException",
172
188
  $fault: "client",
173
189
  ...opts,
174
190
  });
175
- this.name = "CodeStorageExceededException";
176
- this.$fault = "client";
177
191
  Object.setPrototypeOf(this, CodeStorageExceededException.prototype);
178
192
  this.Type = opts.Type;
179
193
  }
180
194
  }
181
195
  export class CodeVerificationFailedException extends __BaseException {
196
+ name = "CodeVerificationFailedException";
197
+ $fault = "client";
198
+ Type;
199
+ Message;
182
200
  constructor(opts) {
183
201
  super({
184
202
  name: "CodeVerificationFailedException",
185
203
  $fault: "client",
186
204
  ...opts,
187
205
  });
188
- this.name = "CodeVerificationFailedException";
189
- this.$fault = "client";
190
206
  Object.setPrototypeOf(this, CodeVerificationFailedException.prototype);
191
207
  this.Type = opts.Type;
192
208
  this.Message = opts.Message;
@@ -320,14 +336,16 @@ export const StateReasonCode = {
320
336
  SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
321
337
  };
322
338
  export class InvalidCodeSignatureException extends __BaseException {
339
+ name = "InvalidCodeSignatureException";
340
+ $fault = "client";
341
+ Type;
342
+ Message;
323
343
  constructor(opts) {
324
344
  super({
325
345
  name: "InvalidCodeSignatureException",
326
346
  $fault: "client",
327
347
  ...opts,
328
348
  });
329
- this.name = "InvalidCodeSignatureException";
330
- this.$fault = "client";
331
349
  Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype);
332
350
  this.Type = opts.Type;
333
351
  this.Message = opts.Message;
@@ -338,14 +356,16 @@ export const InvokeMode = {
338
356
  RESPONSE_STREAM: "RESPONSE_STREAM",
339
357
  };
340
358
  export class ResourceInUseException extends __BaseException {
359
+ name = "ResourceInUseException";
360
+ $fault = "client";
361
+ Type;
362
+ Message;
341
363
  constructor(opts) {
342
364
  super({
343
365
  name: "ResourceInUseException",
344
366
  $fault: "client",
345
367
  ...opts,
346
368
  });
347
- this.name = "ResourceInUseException";
348
- this.$fault = "client";
349
369
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
350
370
  this.Type = opts.Type;
351
371
  this.Message = opts.Message;
@@ -361,14 +381,15 @@ export const ProvisionedConcurrencyStatusEnum = {
361
381
  READY: "READY",
362
382
  };
363
383
  export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
384
+ name = "ProvisionedConcurrencyConfigNotFoundException";
385
+ $fault = "client";
386
+ Type;
364
387
  constructor(opts) {
365
388
  super({
366
389
  name: "ProvisionedConcurrencyConfigNotFoundException",
367
390
  $fault: "client",
368
391
  ...opts,
369
392
  });
370
- this.name = "ProvisionedConcurrencyConfigNotFoundException";
371
- this.$fault = "client";
372
393
  Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype);
373
394
  this.Type = opts.Type;
374
395
  }
@@ -379,42 +400,49 @@ export const UpdateRuntimeOn = {
379
400
  Manual: "Manual",
380
401
  };
381
402
  export class EC2AccessDeniedException extends __BaseException {
403
+ name = "EC2AccessDeniedException";
404
+ $fault = "server";
405
+ Type;
406
+ Message;
382
407
  constructor(opts) {
383
408
  super({
384
409
  name: "EC2AccessDeniedException",
385
410
  $fault: "server",
386
411
  ...opts,
387
412
  });
388
- this.name = "EC2AccessDeniedException";
389
- this.$fault = "server";
390
413
  Object.setPrototypeOf(this, EC2AccessDeniedException.prototype);
391
414
  this.Type = opts.Type;
392
415
  this.Message = opts.Message;
393
416
  }
394
417
  }
395
418
  export class EC2ThrottledException extends __BaseException {
419
+ name = "EC2ThrottledException";
420
+ $fault = "server";
421
+ Type;
422
+ Message;
396
423
  constructor(opts) {
397
424
  super({
398
425
  name: "EC2ThrottledException",
399
426
  $fault: "server",
400
427
  ...opts,
401
428
  });
402
- this.name = "EC2ThrottledException";
403
- this.$fault = "server";
404
429
  Object.setPrototypeOf(this, EC2ThrottledException.prototype);
405
430
  this.Type = opts.Type;
406
431
  this.Message = opts.Message;
407
432
  }
408
433
  }
409
434
  export class EC2UnexpectedException extends __BaseException {
435
+ name = "EC2UnexpectedException";
436
+ $fault = "server";
437
+ Type;
438
+ Message;
439
+ EC2ErrorCode;
410
440
  constructor(opts) {
411
441
  super({
412
442
  name: "EC2UnexpectedException",
413
443
  $fault: "server",
414
444
  ...opts,
415
445
  });
416
- this.name = "EC2UnexpectedException";
417
- this.$fault = "server";
418
446
  Object.setPrototypeOf(this, EC2UnexpectedException.prototype);
419
447
  this.Type = opts.Type;
420
448
  this.Message = opts.Message;
@@ -422,139 +450,158 @@ export class EC2UnexpectedException extends __BaseException {
422
450
  }
423
451
  }
424
452
  export class EFSIOException extends __BaseException {
453
+ name = "EFSIOException";
454
+ $fault = "client";
455
+ Type;
456
+ Message;
425
457
  constructor(opts) {
426
458
  super({
427
459
  name: "EFSIOException",
428
460
  $fault: "client",
429
461
  ...opts,
430
462
  });
431
- this.name = "EFSIOException";
432
- this.$fault = "client";
433
463
  Object.setPrototypeOf(this, EFSIOException.prototype);
434
464
  this.Type = opts.Type;
435
465
  this.Message = opts.Message;
436
466
  }
437
467
  }
438
468
  export class EFSMountConnectivityException extends __BaseException {
469
+ name = "EFSMountConnectivityException";
470
+ $fault = "client";
471
+ Type;
472
+ Message;
439
473
  constructor(opts) {
440
474
  super({
441
475
  name: "EFSMountConnectivityException",
442
476
  $fault: "client",
443
477
  ...opts,
444
478
  });
445
- this.name = "EFSMountConnectivityException";
446
- this.$fault = "client";
447
479
  Object.setPrototypeOf(this, EFSMountConnectivityException.prototype);
448
480
  this.Type = opts.Type;
449
481
  this.Message = opts.Message;
450
482
  }
451
483
  }
452
484
  export class EFSMountFailureException extends __BaseException {
485
+ name = "EFSMountFailureException";
486
+ $fault = "client";
487
+ Type;
488
+ Message;
453
489
  constructor(opts) {
454
490
  super({
455
491
  name: "EFSMountFailureException",
456
492
  $fault: "client",
457
493
  ...opts,
458
494
  });
459
- this.name = "EFSMountFailureException";
460
- this.$fault = "client";
461
495
  Object.setPrototypeOf(this, EFSMountFailureException.prototype);
462
496
  this.Type = opts.Type;
463
497
  this.Message = opts.Message;
464
498
  }
465
499
  }
466
500
  export class EFSMountTimeoutException extends __BaseException {
501
+ name = "EFSMountTimeoutException";
502
+ $fault = "client";
503
+ Type;
504
+ Message;
467
505
  constructor(opts) {
468
506
  super({
469
507
  name: "EFSMountTimeoutException",
470
508
  $fault: "client",
471
509
  ...opts,
472
510
  });
473
- this.name = "EFSMountTimeoutException";
474
- this.$fault = "client";
475
511
  Object.setPrototypeOf(this, EFSMountTimeoutException.prototype);
476
512
  this.Type = opts.Type;
477
513
  this.Message = opts.Message;
478
514
  }
479
515
  }
480
516
  export class ENILimitReachedException extends __BaseException {
517
+ name = "ENILimitReachedException";
518
+ $fault = "server";
519
+ Type;
520
+ Message;
481
521
  constructor(opts) {
482
522
  super({
483
523
  name: "ENILimitReachedException",
484
524
  $fault: "server",
485
525
  ...opts,
486
526
  });
487
- this.name = "ENILimitReachedException";
488
- this.$fault = "server";
489
527
  Object.setPrototypeOf(this, ENILimitReachedException.prototype);
490
528
  this.Type = opts.Type;
491
529
  this.Message = opts.Message;
492
530
  }
493
531
  }
494
532
  export class InvalidRequestContentException extends __BaseException {
533
+ name = "InvalidRequestContentException";
534
+ $fault = "client";
535
+ Type;
495
536
  constructor(opts) {
496
537
  super({
497
538
  name: "InvalidRequestContentException",
498
539
  $fault: "client",
499
540
  ...opts,
500
541
  });
501
- this.name = "InvalidRequestContentException";
502
- this.$fault = "client";
503
542
  Object.setPrototypeOf(this, InvalidRequestContentException.prototype);
504
543
  this.Type = opts.Type;
505
544
  }
506
545
  }
507
546
  export class InvalidRuntimeException extends __BaseException {
547
+ name = "InvalidRuntimeException";
548
+ $fault = "server";
549
+ Type;
550
+ Message;
508
551
  constructor(opts) {
509
552
  super({
510
553
  name: "InvalidRuntimeException",
511
554
  $fault: "server",
512
555
  ...opts,
513
556
  });
514
- this.name = "InvalidRuntimeException";
515
- this.$fault = "server";
516
557
  Object.setPrototypeOf(this, InvalidRuntimeException.prototype);
517
558
  this.Type = opts.Type;
518
559
  this.Message = opts.Message;
519
560
  }
520
561
  }
521
562
  export class InvalidSecurityGroupIDException extends __BaseException {
563
+ name = "InvalidSecurityGroupIDException";
564
+ $fault = "server";
565
+ Type;
566
+ Message;
522
567
  constructor(opts) {
523
568
  super({
524
569
  name: "InvalidSecurityGroupIDException",
525
570
  $fault: "server",
526
571
  ...opts,
527
572
  });
528
- this.name = "InvalidSecurityGroupIDException";
529
- this.$fault = "server";
530
573
  Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype);
531
574
  this.Type = opts.Type;
532
575
  this.Message = opts.Message;
533
576
  }
534
577
  }
535
578
  export class InvalidSubnetIDException extends __BaseException {
579
+ name = "InvalidSubnetIDException";
580
+ $fault = "server";
581
+ Type;
582
+ Message;
536
583
  constructor(opts) {
537
584
  super({
538
585
  name: "InvalidSubnetIDException",
539
586
  $fault: "server",
540
587
  ...opts,
541
588
  });
542
- this.name = "InvalidSubnetIDException";
543
- this.$fault = "server";
544
589
  Object.setPrototypeOf(this, InvalidSubnetIDException.prototype);
545
590
  this.Type = opts.Type;
546
591
  this.Message = opts.Message;
547
592
  }
548
593
  }
549
594
  export class InvalidZipFileException extends __BaseException {
595
+ name = "InvalidZipFileException";
596
+ $fault = "server";
597
+ Type;
598
+ Message;
550
599
  constructor(opts) {
551
600
  super({
552
601
  name: "InvalidZipFileException",
553
602
  $fault: "server",
554
603
  ...opts,
555
604
  });
556
- this.name = "InvalidZipFileException";
557
- this.$fault = "server";
558
605
  Object.setPrototypeOf(this, InvalidZipFileException.prototype);
559
606
  this.Type = opts.Type;
560
607
  this.Message = opts.Message;
@@ -570,166 +617,187 @@ export const LogType = {
570
617
  Tail: "Tail",
571
618
  };
572
619
  export class KMSAccessDeniedException extends __BaseException {
620
+ name = "KMSAccessDeniedException";
621
+ $fault = "server";
622
+ Type;
623
+ Message;
573
624
  constructor(opts) {
574
625
  super({
575
626
  name: "KMSAccessDeniedException",
576
627
  $fault: "server",
577
628
  ...opts,
578
629
  });
579
- this.name = "KMSAccessDeniedException";
580
- this.$fault = "server";
581
630
  Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
582
631
  this.Type = opts.Type;
583
632
  this.Message = opts.Message;
584
633
  }
585
634
  }
586
635
  export class KMSDisabledException extends __BaseException {
636
+ name = "KMSDisabledException";
637
+ $fault = "server";
638
+ Type;
639
+ Message;
587
640
  constructor(opts) {
588
641
  super({
589
642
  name: "KMSDisabledException",
590
643
  $fault: "server",
591
644
  ...opts,
592
645
  });
593
- this.name = "KMSDisabledException";
594
- this.$fault = "server";
595
646
  Object.setPrototypeOf(this, KMSDisabledException.prototype);
596
647
  this.Type = opts.Type;
597
648
  this.Message = opts.Message;
598
649
  }
599
650
  }
600
651
  export class KMSInvalidStateException extends __BaseException {
652
+ name = "KMSInvalidStateException";
653
+ $fault = "server";
654
+ Type;
655
+ Message;
601
656
  constructor(opts) {
602
657
  super({
603
658
  name: "KMSInvalidStateException",
604
659
  $fault: "server",
605
660
  ...opts,
606
661
  });
607
- this.name = "KMSInvalidStateException";
608
- this.$fault = "server";
609
662
  Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
610
663
  this.Type = opts.Type;
611
664
  this.Message = opts.Message;
612
665
  }
613
666
  }
614
667
  export class KMSNotFoundException extends __BaseException {
668
+ name = "KMSNotFoundException";
669
+ $fault = "server";
670
+ Type;
671
+ Message;
615
672
  constructor(opts) {
616
673
  super({
617
674
  name: "KMSNotFoundException",
618
675
  $fault: "server",
619
676
  ...opts,
620
677
  });
621
- this.name = "KMSNotFoundException";
622
- this.$fault = "server";
623
678
  Object.setPrototypeOf(this, KMSNotFoundException.prototype);
624
679
  this.Type = opts.Type;
625
680
  this.Message = opts.Message;
626
681
  }
627
682
  }
628
683
  export class RecursiveInvocationException extends __BaseException {
684
+ name = "RecursiveInvocationException";
685
+ $fault = "client";
686
+ Type;
687
+ Message;
629
688
  constructor(opts) {
630
689
  super({
631
690
  name: "RecursiveInvocationException",
632
691
  $fault: "client",
633
692
  ...opts,
634
693
  });
635
- this.name = "RecursiveInvocationException";
636
- this.$fault = "client";
637
694
  Object.setPrototypeOf(this, RecursiveInvocationException.prototype);
638
695
  this.Type = opts.Type;
639
696
  this.Message = opts.Message;
640
697
  }
641
698
  }
642
699
  export class RequestTooLargeException extends __BaseException {
700
+ name = "RequestTooLargeException";
701
+ $fault = "client";
702
+ Type;
643
703
  constructor(opts) {
644
704
  super({
645
705
  name: "RequestTooLargeException",
646
706
  $fault: "client",
647
707
  ...opts,
648
708
  });
649
- this.name = "RequestTooLargeException";
650
- this.$fault = "client";
651
709
  Object.setPrototypeOf(this, RequestTooLargeException.prototype);
652
710
  this.Type = opts.Type;
653
711
  }
654
712
  }
655
713
  export class ResourceNotReadyException extends __BaseException {
714
+ name = "ResourceNotReadyException";
715
+ $fault = "server";
716
+ Type;
656
717
  constructor(opts) {
657
718
  super({
658
719
  name: "ResourceNotReadyException",
659
720
  $fault: "server",
660
721
  ...opts,
661
722
  });
662
- this.name = "ResourceNotReadyException";
663
- this.$fault = "server";
664
723
  Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
665
724
  this.Type = opts.Type;
666
725
  }
667
726
  }
668
727
  export class SnapStartException extends __BaseException {
728
+ name = "SnapStartException";
729
+ $fault = "client";
730
+ Type;
731
+ Message;
669
732
  constructor(opts) {
670
733
  super({
671
734
  name: "SnapStartException",
672
735
  $fault: "client",
673
736
  ...opts,
674
737
  });
675
- this.name = "SnapStartException";
676
- this.$fault = "client";
677
738
  Object.setPrototypeOf(this, SnapStartException.prototype);
678
739
  this.Type = opts.Type;
679
740
  this.Message = opts.Message;
680
741
  }
681
742
  }
682
743
  export class SnapStartNotReadyException extends __BaseException {
744
+ name = "SnapStartNotReadyException";
745
+ $fault = "client";
746
+ Type;
747
+ Message;
683
748
  constructor(opts) {
684
749
  super({
685
750
  name: "SnapStartNotReadyException",
686
751
  $fault: "client",
687
752
  ...opts,
688
753
  });
689
- this.name = "SnapStartNotReadyException";
690
- this.$fault = "client";
691
754
  Object.setPrototypeOf(this, SnapStartNotReadyException.prototype);
692
755
  this.Type = opts.Type;
693
756
  this.Message = opts.Message;
694
757
  }
695
758
  }
696
759
  export class SnapStartTimeoutException extends __BaseException {
760
+ name = "SnapStartTimeoutException";
761
+ $fault = "client";
762
+ Type;
763
+ Message;
697
764
  constructor(opts) {
698
765
  super({
699
766
  name: "SnapStartTimeoutException",
700
767
  $fault: "client",
701
768
  ...opts,
702
769
  });
703
- this.name = "SnapStartTimeoutException";
704
- this.$fault = "client";
705
770
  Object.setPrototypeOf(this, SnapStartTimeoutException.prototype);
706
771
  this.Type = opts.Type;
707
772
  this.Message = opts.Message;
708
773
  }
709
774
  }
710
775
  export class SubnetIPAddressLimitReachedException extends __BaseException {
776
+ name = "SubnetIPAddressLimitReachedException";
777
+ $fault = "server";
778
+ Type;
779
+ Message;
711
780
  constructor(opts) {
712
781
  super({
713
782
  name: "SubnetIPAddressLimitReachedException",
714
783
  $fault: "server",
715
784
  ...opts,
716
785
  });
717
- this.name = "SubnetIPAddressLimitReachedException";
718
- this.$fault = "server";
719
786
  Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype);
720
787
  this.Type = opts.Type;
721
788
  this.Message = opts.Message;
722
789
  }
723
790
  }
724
791
  export class UnsupportedMediaTypeException extends __BaseException {
792
+ name = "UnsupportedMediaTypeException";
793
+ $fault = "client";
794
+ Type;
725
795
  constructor(opts) {
726
796
  super({
727
797
  name: "UnsupportedMediaTypeException",
728
798
  $fault: "client",
729
799
  ...opts,
730
800
  });
731
- this.name = "UnsupportedMediaTypeException";
732
- this.$fault = "client";
733
801
  Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
734
802
  this.Type = opts.Type;
735
803
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
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
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;