@effect-aws/client-lambda 1.9.5 → 1.10.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/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/LambdaService.d.ts +72 -71
- package/dist/cjs/LambdaService.d.ts.map +1 -1
- package/dist/cjs/LambdaService.js +1 -1
- package/dist/cjs/LambdaService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/LambdaService.d.ts +72 -71
- package/dist/dts/LambdaService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/LambdaService.js +1 -1
- package/dist/esm/LambdaService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/LambdaService.ts +197 -36
package/src/LambdaService.ts
CHANGED
|
@@ -209,8 +209,9 @@ import {
|
|
|
209
209
|
type UpdateFunctionUrlConfigCommandInput,
|
|
210
210
|
type UpdateFunctionUrlConfigCommandOutput,
|
|
211
211
|
} from "@aws-sdk/client-lambda";
|
|
212
|
-
import type { HttpHandlerOptions,
|
|
212
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
213
213
|
import { Service } from "@effect-aws/commons";
|
|
214
|
+
import type { Cause } from "effect";
|
|
214
215
|
import { Effect, Layer } from "effect";
|
|
215
216
|
import type {
|
|
216
217
|
CodeSigningConfigNotFoundError,
|
|
@@ -244,6 +245,7 @@ import type {
|
|
|
244
245
|
ResourceInUseError,
|
|
245
246
|
ResourceNotFoundError,
|
|
246
247
|
ResourceNotReadyError,
|
|
248
|
+
SdkError,
|
|
247
249
|
ServiceError,
|
|
248
250
|
SnapStartError,
|
|
249
251
|
SnapStartNotReadyError,
|
|
@@ -338,6 +340,7 @@ interface LambdaService$ {
|
|
|
338
340
|
options?: HttpHandlerOptions,
|
|
339
341
|
): Effect.Effect<
|
|
340
342
|
AddLayerVersionPermissionCommandOutput,
|
|
343
|
+
| Cause.TimeoutException
|
|
341
344
|
| SdkError
|
|
342
345
|
| InvalidParameterValueError
|
|
343
346
|
| PolicyLengthExceededError
|
|
@@ -356,6 +359,7 @@ interface LambdaService$ {
|
|
|
356
359
|
options?: HttpHandlerOptions,
|
|
357
360
|
): Effect.Effect<
|
|
358
361
|
AddPermissionCommandOutput,
|
|
362
|
+
| Cause.TimeoutException
|
|
359
363
|
| SdkError
|
|
360
364
|
| InvalidParameterValueError
|
|
361
365
|
| PolicyLengthExceededError
|
|
@@ -374,6 +378,7 @@ interface LambdaService$ {
|
|
|
374
378
|
options?: HttpHandlerOptions,
|
|
375
379
|
): Effect.Effect<
|
|
376
380
|
CreateAliasCommandOutput,
|
|
381
|
+
| Cause.TimeoutException
|
|
377
382
|
| SdkError
|
|
378
383
|
| InvalidParameterValueError
|
|
379
384
|
| ResourceConflictError
|
|
@@ -390,7 +395,7 @@ interface LambdaService$ {
|
|
|
390
395
|
options?: HttpHandlerOptions,
|
|
391
396
|
): Effect.Effect<
|
|
392
397
|
CreateCodeSigningConfigCommandOutput,
|
|
393
|
-
SdkError | InvalidParameterValueError | ServiceError
|
|
398
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError
|
|
394
399
|
>;
|
|
395
400
|
|
|
396
401
|
/**
|
|
@@ -401,6 +406,7 @@ interface LambdaService$ {
|
|
|
401
406
|
options?: HttpHandlerOptions,
|
|
402
407
|
): Effect.Effect<
|
|
403
408
|
CreateEventSourceMappingCommandOutput,
|
|
409
|
+
| Cause.TimeoutException
|
|
404
410
|
| SdkError
|
|
405
411
|
| InvalidParameterValueError
|
|
406
412
|
| ResourceConflictError
|
|
@@ -417,6 +423,7 @@ interface LambdaService$ {
|
|
|
417
423
|
options?: HttpHandlerOptions,
|
|
418
424
|
): Effect.Effect<
|
|
419
425
|
CreateFunctionCommandOutput,
|
|
426
|
+
| Cause.TimeoutException
|
|
420
427
|
| SdkError
|
|
421
428
|
| CodeSigningConfigNotFoundError
|
|
422
429
|
| CodeStorageExceededError
|
|
@@ -437,6 +444,7 @@ interface LambdaService$ {
|
|
|
437
444
|
options?: HttpHandlerOptions,
|
|
438
445
|
): Effect.Effect<
|
|
439
446
|
CreateFunctionUrlConfigCommandOutput,
|
|
447
|
+
| Cause.TimeoutException
|
|
440
448
|
| SdkError
|
|
441
449
|
| InvalidParameterValueError
|
|
442
450
|
| ResourceConflictError
|
|
@@ -453,7 +461,12 @@ interface LambdaService$ {
|
|
|
453
461
|
options?: HttpHandlerOptions,
|
|
454
462
|
): Effect.Effect<
|
|
455
463
|
DeleteAliasCommandOutput,
|
|
456
|
-
|
|
464
|
+
| Cause.TimeoutException
|
|
465
|
+
| SdkError
|
|
466
|
+
| InvalidParameterValueError
|
|
467
|
+
| ResourceConflictError
|
|
468
|
+
| ServiceError
|
|
469
|
+
| TooManyRequestsError
|
|
457
470
|
>;
|
|
458
471
|
|
|
459
472
|
/**
|
|
@@ -464,7 +477,12 @@ interface LambdaService$ {
|
|
|
464
477
|
options?: HttpHandlerOptions,
|
|
465
478
|
): Effect.Effect<
|
|
466
479
|
DeleteCodeSigningConfigCommandOutput,
|
|
467
|
-
|
|
480
|
+
| Cause.TimeoutException
|
|
481
|
+
| SdkError
|
|
482
|
+
| InvalidParameterValueError
|
|
483
|
+
| ResourceConflictError
|
|
484
|
+
| ResourceNotFoundError
|
|
485
|
+
| ServiceError
|
|
468
486
|
>;
|
|
469
487
|
|
|
470
488
|
/**
|
|
@@ -475,6 +493,7 @@ interface LambdaService$ {
|
|
|
475
493
|
options?: HttpHandlerOptions,
|
|
476
494
|
): Effect.Effect<
|
|
477
495
|
DeleteEventSourceMappingCommandOutput,
|
|
496
|
+
| Cause.TimeoutException
|
|
478
497
|
| SdkError
|
|
479
498
|
| InvalidParameterValueError
|
|
480
499
|
| ResourceConflictError
|
|
@@ -492,6 +511,7 @@ interface LambdaService$ {
|
|
|
492
511
|
options?: HttpHandlerOptions,
|
|
493
512
|
): Effect.Effect<
|
|
494
513
|
DeleteFunctionCommandOutput,
|
|
514
|
+
| Cause.TimeoutException
|
|
495
515
|
| SdkError
|
|
496
516
|
| InvalidParameterValueError
|
|
497
517
|
| ResourceConflictError
|
|
@@ -508,6 +528,7 @@ interface LambdaService$ {
|
|
|
508
528
|
options?: HttpHandlerOptions,
|
|
509
529
|
): Effect.Effect<
|
|
510
530
|
DeleteFunctionCodeSigningConfigCommandOutput,
|
|
531
|
+
| Cause.TimeoutException
|
|
511
532
|
| SdkError
|
|
512
533
|
| CodeSigningConfigNotFoundError
|
|
513
534
|
| InvalidParameterValueError
|
|
@@ -525,6 +546,7 @@ interface LambdaService$ {
|
|
|
525
546
|
options?: HttpHandlerOptions,
|
|
526
547
|
): Effect.Effect<
|
|
527
548
|
DeleteFunctionConcurrencyCommandOutput,
|
|
549
|
+
| Cause.TimeoutException
|
|
528
550
|
| SdkError
|
|
529
551
|
| InvalidParameterValueError
|
|
530
552
|
| ResourceConflictError
|
|
@@ -541,6 +563,7 @@ interface LambdaService$ {
|
|
|
541
563
|
options?: HttpHandlerOptions,
|
|
542
564
|
): Effect.Effect<
|
|
543
565
|
DeleteFunctionEventInvokeConfigCommandOutput,
|
|
566
|
+
| Cause.TimeoutException
|
|
544
567
|
| SdkError
|
|
545
568
|
| InvalidParameterValueError
|
|
546
569
|
| ResourceConflictError
|
|
@@ -557,7 +580,12 @@ interface LambdaService$ {
|
|
|
557
580
|
options?: HttpHandlerOptions,
|
|
558
581
|
): Effect.Effect<
|
|
559
582
|
DeleteFunctionUrlConfigCommandOutput,
|
|
560
|
-
|
|
583
|
+
| Cause.TimeoutException
|
|
584
|
+
| SdkError
|
|
585
|
+
| ResourceConflictError
|
|
586
|
+
| ResourceNotFoundError
|
|
587
|
+
| ServiceError
|
|
588
|
+
| TooManyRequestsError
|
|
561
589
|
>;
|
|
562
590
|
|
|
563
591
|
/**
|
|
@@ -568,7 +596,7 @@ interface LambdaService$ {
|
|
|
568
596
|
options?: HttpHandlerOptions,
|
|
569
597
|
): Effect.Effect<
|
|
570
598
|
DeleteLayerVersionCommandOutput,
|
|
571
|
-
SdkError | ServiceError | TooManyRequestsError
|
|
599
|
+
Cause.TimeoutException | SdkError | ServiceError | TooManyRequestsError
|
|
572
600
|
>;
|
|
573
601
|
|
|
574
602
|
/**
|
|
@@ -579,6 +607,7 @@ interface LambdaService$ {
|
|
|
579
607
|
options?: HttpHandlerOptions,
|
|
580
608
|
): Effect.Effect<
|
|
581
609
|
DeleteProvisionedConcurrencyConfigCommandOutput,
|
|
610
|
+
| Cause.TimeoutException
|
|
582
611
|
| SdkError
|
|
583
612
|
| InvalidParameterValueError
|
|
584
613
|
| ResourceConflictError
|
|
@@ -595,7 +624,7 @@ interface LambdaService$ {
|
|
|
595
624
|
options?: HttpHandlerOptions,
|
|
596
625
|
): Effect.Effect<
|
|
597
626
|
GetAccountSettingsCommandOutput,
|
|
598
|
-
SdkError | ServiceError | TooManyRequestsError
|
|
627
|
+
Cause.TimeoutException | SdkError | ServiceError | TooManyRequestsError
|
|
599
628
|
>;
|
|
600
629
|
|
|
601
630
|
/**
|
|
@@ -606,7 +635,12 @@ interface LambdaService$ {
|
|
|
606
635
|
options?: HttpHandlerOptions,
|
|
607
636
|
): Effect.Effect<
|
|
608
637
|
GetAliasCommandOutput,
|
|
609
|
-
|
|
638
|
+
| Cause.TimeoutException
|
|
639
|
+
| SdkError
|
|
640
|
+
| InvalidParameterValueError
|
|
641
|
+
| ResourceNotFoundError
|
|
642
|
+
| ServiceError
|
|
643
|
+
| TooManyRequestsError
|
|
610
644
|
>;
|
|
611
645
|
|
|
612
646
|
/**
|
|
@@ -617,7 +651,7 @@ interface LambdaService$ {
|
|
|
617
651
|
options?: HttpHandlerOptions,
|
|
618
652
|
): Effect.Effect<
|
|
619
653
|
GetCodeSigningConfigCommandOutput,
|
|
620
|
-
SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
654
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
621
655
|
>;
|
|
622
656
|
|
|
623
657
|
/**
|
|
@@ -628,7 +662,12 @@ interface LambdaService$ {
|
|
|
628
662
|
options?: HttpHandlerOptions,
|
|
629
663
|
): Effect.Effect<
|
|
630
664
|
GetEventSourceMappingCommandOutput,
|
|
631
|
-
|
|
665
|
+
| Cause.TimeoutException
|
|
666
|
+
| SdkError
|
|
667
|
+
| InvalidParameterValueError
|
|
668
|
+
| ResourceNotFoundError
|
|
669
|
+
| ServiceError
|
|
670
|
+
| TooManyRequestsError
|
|
632
671
|
>;
|
|
633
672
|
|
|
634
673
|
/**
|
|
@@ -639,7 +678,12 @@ interface LambdaService$ {
|
|
|
639
678
|
options?: HttpHandlerOptions,
|
|
640
679
|
): Effect.Effect<
|
|
641
680
|
GetFunctionCommandOutput,
|
|
642
|
-
|
|
681
|
+
| Cause.TimeoutException
|
|
682
|
+
| SdkError
|
|
683
|
+
| InvalidParameterValueError
|
|
684
|
+
| ResourceNotFoundError
|
|
685
|
+
| ServiceError
|
|
686
|
+
| TooManyRequestsError
|
|
643
687
|
>;
|
|
644
688
|
|
|
645
689
|
/**
|
|
@@ -650,7 +694,12 @@ interface LambdaService$ {
|
|
|
650
694
|
options?: HttpHandlerOptions,
|
|
651
695
|
): Effect.Effect<
|
|
652
696
|
GetFunctionCodeSigningConfigCommandOutput,
|
|
653
|
-
|
|
697
|
+
| Cause.TimeoutException
|
|
698
|
+
| SdkError
|
|
699
|
+
| InvalidParameterValueError
|
|
700
|
+
| ResourceNotFoundError
|
|
701
|
+
| ServiceError
|
|
702
|
+
| TooManyRequestsError
|
|
654
703
|
>;
|
|
655
704
|
|
|
656
705
|
/**
|
|
@@ -661,7 +710,12 @@ interface LambdaService$ {
|
|
|
661
710
|
options?: HttpHandlerOptions,
|
|
662
711
|
): Effect.Effect<
|
|
663
712
|
GetFunctionConcurrencyCommandOutput,
|
|
664
|
-
|
|
713
|
+
| Cause.TimeoutException
|
|
714
|
+
| SdkError
|
|
715
|
+
| InvalidParameterValueError
|
|
716
|
+
| ResourceNotFoundError
|
|
717
|
+
| ServiceError
|
|
718
|
+
| TooManyRequestsError
|
|
665
719
|
>;
|
|
666
720
|
|
|
667
721
|
/**
|
|
@@ -672,7 +726,12 @@ interface LambdaService$ {
|
|
|
672
726
|
options?: HttpHandlerOptions,
|
|
673
727
|
): Effect.Effect<
|
|
674
728
|
GetFunctionConfigurationCommandOutput,
|
|
675
|
-
|
|
729
|
+
| Cause.TimeoutException
|
|
730
|
+
| SdkError
|
|
731
|
+
| InvalidParameterValueError
|
|
732
|
+
| ResourceNotFoundError
|
|
733
|
+
| ServiceError
|
|
734
|
+
| TooManyRequestsError
|
|
676
735
|
>;
|
|
677
736
|
|
|
678
737
|
/**
|
|
@@ -683,7 +742,12 @@ interface LambdaService$ {
|
|
|
683
742
|
options?: HttpHandlerOptions,
|
|
684
743
|
): Effect.Effect<
|
|
685
744
|
GetFunctionEventInvokeConfigCommandOutput,
|
|
686
|
-
|
|
745
|
+
| Cause.TimeoutException
|
|
746
|
+
| SdkError
|
|
747
|
+
| InvalidParameterValueError
|
|
748
|
+
| ResourceNotFoundError
|
|
749
|
+
| ServiceError
|
|
750
|
+
| TooManyRequestsError
|
|
687
751
|
>;
|
|
688
752
|
|
|
689
753
|
/**
|
|
@@ -694,7 +758,12 @@ interface LambdaService$ {
|
|
|
694
758
|
options?: HttpHandlerOptions,
|
|
695
759
|
): Effect.Effect<
|
|
696
760
|
GetFunctionRecursionConfigCommandOutput,
|
|
697
|
-
|
|
761
|
+
| Cause.TimeoutException
|
|
762
|
+
| SdkError
|
|
763
|
+
| InvalidParameterValueError
|
|
764
|
+
| ResourceNotFoundError
|
|
765
|
+
| ServiceError
|
|
766
|
+
| TooManyRequestsError
|
|
698
767
|
>;
|
|
699
768
|
|
|
700
769
|
/**
|
|
@@ -705,7 +774,12 @@ interface LambdaService$ {
|
|
|
705
774
|
options?: HttpHandlerOptions,
|
|
706
775
|
): Effect.Effect<
|
|
707
776
|
GetFunctionUrlConfigCommandOutput,
|
|
708
|
-
|
|
777
|
+
| Cause.TimeoutException
|
|
778
|
+
| SdkError
|
|
779
|
+
| InvalidParameterValueError
|
|
780
|
+
| ResourceNotFoundError
|
|
781
|
+
| ServiceError
|
|
782
|
+
| TooManyRequestsError
|
|
709
783
|
>;
|
|
710
784
|
|
|
711
785
|
/**
|
|
@@ -716,7 +790,12 @@ interface LambdaService$ {
|
|
|
716
790
|
options?: HttpHandlerOptions,
|
|
717
791
|
): Effect.Effect<
|
|
718
792
|
GetLayerVersionCommandOutput,
|
|
719
|
-
|
|
793
|
+
| Cause.TimeoutException
|
|
794
|
+
| SdkError
|
|
795
|
+
| InvalidParameterValueError
|
|
796
|
+
| ResourceNotFoundError
|
|
797
|
+
| ServiceError
|
|
798
|
+
| TooManyRequestsError
|
|
720
799
|
>;
|
|
721
800
|
|
|
722
801
|
/**
|
|
@@ -727,7 +806,12 @@ interface LambdaService$ {
|
|
|
727
806
|
options?: HttpHandlerOptions,
|
|
728
807
|
): Effect.Effect<
|
|
729
808
|
GetLayerVersionByArnCommandOutput,
|
|
730
|
-
|
|
809
|
+
| Cause.TimeoutException
|
|
810
|
+
| SdkError
|
|
811
|
+
| InvalidParameterValueError
|
|
812
|
+
| ResourceNotFoundError
|
|
813
|
+
| ServiceError
|
|
814
|
+
| TooManyRequestsError
|
|
731
815
|
>;
|
|
732
816
|
|
|
733
817
|
/**
|
|
@@ -738,7 +822,12 @@ interface LambdaService$ {
|
|
|
738
822
|
options?: HttpHandlerOptions,
|
|
739
823
|
): Effect.Effect<
|
|
740
824
|
GetLayerVersionPolicyCommandOutput,
|
|
741
|
-
|
|
825
|
+
| Cause.TimeoutException
|
|
826
|
+
| SdkError
|
|
827
|
+
| InvalidParameterValueError
|
|
828
|
+
| ResourceNotFoundError
|
|
829
|
+
| ServiceError
|
|
830
|
+
| TooManyRequestsError
|
|
742
831
|
>;
|
|
743
832
|
|
|
744
833
|
/**
|
|
@@ -749,7 +838,12 @@ interface LambdaService$ {
|
|
|
749
838
|
options?: HttpHandlerOptions,
|
|
750
839
|
): Effect.Effect<
|
|
751
840
|
GetPolicyCommandOutput,
|
|
752
|
-
|
|
841
|
+
| Cause.TimeoutException
|
|
842
|
+
| SdkError
|
|
843
|
+
| InvalidParameterValueError
|
|
844
|
+
| ResourceNotFoundError
|
|
845
|
+
| ServiceError
|
|
846
|
+
| TooManyRequestsError
|
|
753
847
|
>;
|
|
754
848
|
|
|
755
849
|
/**
|
|
@@ -760,6 +854,7 @@ interface LambdaService$ {
|
|
|
760
854
|
options?: HttpHandlerOptions,
|
|
761
855
|
): Effect.Effect<
|
|
762
856
|
GetProvisionedConcurrencyConfigCommandOutput,
|
|
857
|
+
| Cause.TimeoutException
|
|
763
858
|
| SdkError
|
|
764
859
|
| InvalidParameterValueError
|
|
765
860
|
| ProvisionedConcurrencyConfigNotFoundError
|
|
@@ -776,7 +871,12 @@ interface LambdaService$ {
|
|
|
776
871
|
options?: HttpHandlerOptions,
|
|
777
872
|
): Effect.Effect<
|
|
778
873
|
GetRuntimeManagementConfigCommandOutput,
|
|
779
|
-
|
|
874
|
+
| Cause.TimeoutException
|
|
875
|
+
| SdkError
|
|
876
|
+
| InvalidParameterValueError
|
|
877
|
+
| ResourceNotFoundError
|
|
878
|
+
| ServiceError
|
|
879
|
+
| TooManyRequestsError
|
|
780
880
|
>;
|
|
781
881
|
|
|
782
882
|
/**
|
|
@@ -787,6 +887,7 @@ interface LambdaService$ {
|
|
|
787
887
|
options?: HttpHandlerOptions,
|
|
788
888
|
): Effect.Effect<
|
|
789
889
|
InvokeCommandOutput,
|
|
890
|
+
| Cause.TimeoutException
|
|
790
891
|
| SdkError
|
|
791
892
|
| EC2AccessDeniedError
|
|
792
893
|
| EC2ThrottledError
|
|
@@ -828,6 +929,7 @@ interface LambdaService$ {
|
|
|
828
929
|
options?: HttpHandlerOptions,
|
|
829
930
|
): Effect.Effect<
|
|
830
931
|
InvokeAsyncCommandOutput,
|
|
932
|
+
| Cause.TimeoutException
|
|
831
933
|
| SdkError
|
|
832
934
|
| InvalidRequestContentError
|
|
833
935
|
| InvalidRuntimeError
|
|
@@ -844,6 +946,7 @@ interface LambdaService$ {
|
|
|
844
946
|
options?: HttpHandlerOptions,
|
|
845
947
|
): Effect.Effect<
|
|
846
948
|
InvokeWithResponseStreamCommandOutput,
|
|
949
|
+
| Cause.TimeoutException
|
|
847
950
|
| SdkError
|
|
848
951
|
| EC2AccessDeniedError
|
|
849
952
|
| EC2ThrottledError
|
|
@@ -885,7 +988,12 @@ interface LambdaService$ {
|
|
|
885
988
|
options?: HttpHandlerOptions,
|
|
886
989
|
): Effect.Effect<
|
|
887
990
|
ListAliasesCommandOutput,
|
|
888
|
-
|
|
991
|
+
| Cause.TimeoutException
|
|
992
|
+
| SdkError
|
|
993
|
+
| InvalidParameterValueError
|
|
994
|
+
| ResourceNotFoundError
|
|
995
|
+
| ServiceError
|
|
996
|
+
| TooManyRequestsError
|
|
889
997
|
>;
|
|
890
998
|
|
|
891
999
|
/**
|
|
@@ -896,7 +1004,7 @@ interface LambdaService$ {
|
|
|
896
1004
|
options?: HttpHandlerOptions,
|
|
897
1005
|
): Effect.Effect<
|
|
898
1006
|
ListCodeSigningConfigsCommandOutput,
|
|
899
|
-
SdkError | InvalidParameterValueError | ServiceError
|
|
1007
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError
|
|
900
1008
|
>;
|
|
901
1009
|
|
|
902
1010
|
/**
|
|
@@ -907,7 +1015,12 @@ interface LambdaService$ {
|
|
|
907
1015
|
options?: HttpHandlerOptions,
|
|
908
1016
|
): Effect.Effect<
|
|
909
1017
|
ListEventSourceMappingsCommandOutput,
|
|
910
|
-
|
|
1018
|
+
| Cause.TimeoutException
|
|
1019
|
+
| SdkError
|
|
1020
|
+
| InvalidParameterValueError
|
|
1021
|
+
| ResourceNotFoundError
|
|
1022
|
+
| ServiceError
|
|
1023
|
+
| TooManyRequestsError
|
|
911
1024
|
>;
|
|
912
1025
|
|
|
913
1026
|
/**
|
|
@@ -918,7 +1031,12 @@ interface LambdaService$ {
|
|
|
918
1031
|
options?: HttpHandlerOptions,
|
|
919
1032
|
): Effect.Effect<
|
|
920
1033
|
ListFunctionEventInvokeConfigsCommandOutput,
|
|
921
|
-
|
|
1034
|
+
| Cause.TimeoutException
|
|
1035
|
+
| SdkError
|
|
1036
|
+
| InvalidParameterValueError
|
|
1037
|
+
| ResourceNotFoundError
|
|
1038
|
+
| ServiceError
|
|
1039
|
+
| TooManyRequestsError
|
|
922
1040
|
>;
|
|
923
1041
|
|
|
924
1042
|
/**
|
|
@@ -929,7 +1047,12 @@ interface LambdaService$ {
|
|
|
929
1047
|
options?: HttpHandlerOptions,
|
|
930
1048
|
): Effect.Effect<
|
|
931
1049
|
ListFunctionUrlConfigsCommandOutput,
|
|
932
|
-
|
|
1050
|
+
| Cause.TimeoutException
|
|
1051
|
+
| SdkError
|
|
1052
|
+
| InvalidParameterValueError
|
|
1053
|
+
| ResourceNotFoundError
|
|
1054
|
+
| ServiceError
|
|
1055
|
+
| TooManyRequestsError
|
|
933
1056
|
>;
|
|
934
1057
|
|
|
935
1058
|
/**
|
|
@@ -940,7 +1063,7 @@ interface LambdaService$ {
|
|
|
940
1063
|
options?: HttpHandlerOptions,
|
|
941
1064
|
): Effect.Effect<
|
|
942
1065
|
ListFunctionsCommandOutput,
|
|
943
|
-
SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
1066
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
944
1067
|
>;
|
|
945
1068
|
|
|
946
1069
|
/**
|
|
@@ -951,7 +1074,7 @@ interface LambdaService$ {
|
|
|
951
1074
|
options?: HttpHandlerOptions,
|
|
952
1075
|
): Effect.Effect<
|
|
953
1076
|
ListFunctionsByCodeSigningConfigCommandOutput,
|
|
954
|
-
SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
1077
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
955
1078
|
>;
|
|
956
1079
|
|
|
957
1080
|
/**
|
|
@@ -962,7 +1085,12 @@ interface LambdaService$ {
|
|
|
962
1085
|
options?: HttpHandlerOptions,
|
|
963
1086
|
): Effect.Effect<
|
|
964
1087
|
ListLayerVersionsCommandOutput,
|
|
965
|
-
|
|
1088
|
+
| Cause.TimeoutException
|
|
1089
|
+
| SdkError
|
|
1090
|
+
| InvalidParameterValueError
|
|
1091
|
+
| ResourceNotFoundError
|
|
1092
|
+
| ServiceError
|
|
1093
|
+
| TooManyRequestsError
|
|
966
1094
|
>;
|
|
967
1095
|
|
|
968
1096
|
/**
|
|
@@ -973,7 +1101,7 @@ interface LambdaService$ {
|
|
|
973
1101
|
options?: HttpHandlerOptions,
|
|
974
1102
|
): Effect.Effect<
|
|
975
1103
|
ListLayersCommandOutput,
|
|
976
|
-
SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
1104
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
977
1105
|
>;
|
|
978
1106
|
|
|
979
1107
|
/**
|
|
@@ -984,7 +1112,12 @@ interface LambdaService$ {
|
|
|
984
1112
|
options?: HttpHandlerOptions,
|
|
985
1113
|
): Effect.Effect<
|
|
986
1114
|
ListProvisionedConcurrencyConfigsCommandOutput,
|
|
987
|
-
|
|
1115
|
+
| Cause.TimeoutException
|
|
1116
|
+
| SdkError
|
|
1117
|
+
| InvalidParameterValueError
|
|
1118
|
+
| ResourceNotFoundError
|
|
1119
|
+
| ServiceError
|
|
1120
|
+
| TooManyRequestsError
|
|
988
1121
|
>;
|
|
989
1122
|
|
|
990
1123
|
/**
|
|
@@ -995,7 +1128,12 @@ interface LambdaService$ {
|
|
|
995
1128
|
options?: HttpHandlerOptions,
|
|
996
1129
|
): Effect.Effect<
|
|
997
1130
|
ListTagsCommandOutput,
|
|
998
|
-
|
|
1131
|
+
| Cause.TimeoutException
|
|
1132
|
+
| SdkError
|
|
1133
|
+
| InvalidParameterValueError
|
|
1134
|
+
| ResourceNotFoundError
|
|
1135
|
+
| ServiceError
|
|
1136
|
+
| TooManyRequestsError
|
|
999
1137
|
>;
|
|
1000
1138
|
|
|
1001
1139
|
/**
|
|
@@ -1006,7 +1144,12 @@ interface LambdaService$ {
|
|
|
1006
1144
|
options?: HttpHandlerOptions,
|
|
1007
1145
|
): Effect.Effect<
|
|
1008
1146
|
ListVersionsByFunctionCommandOutput,
|
|
1009
|
-
|
|
1147
|
+
| Cause.TimeoutException
|
|
1148
|
+
| SdkError
|
|
1149
|
+
| InvalidParameterValueError
|
|
1150
|
+
| ResourceNotFoundError
|
|
1151
|
+
| ServiceError
|
|
1152
|
+
| TooManyRequestsError
|
|
1010
1153
|
>;
|
|
1011
1154
|
|
|
1012
1155
|
/**
|
|
@@ -1017,6 +1160,7 @@ interface LambdaService$ {
|
|
|
1017
1160
|
options?: HttpHandlerOptions,
|
|
1018
1161
|
): Effect.Effect<
|
|
1019
1162
|
PublishLayerVersionCommandOutput,
|
|
1163
|
+
| Cause.TimeoutException
|
|
1020
1164
|
| SdkError
|
|
1021
1165
|
| CodeStorageExceededError
|
|
1022
1166
|
| InvalidParameterValueError
|
|
@@ -1033,6 +1177,7 @@ interface LambdaService$ {
|
|
|
1033
1177
|
options?: HttpHandlerOptions,
|
|
1034
1178
|
): Effect.Effect<
|
|
1035
1179
|
PublishVersionCommandOutput,
|
|
1180
|
+
| Cause.TimeoutException
|
|
1036
1181
|
| SdkError
|
|
1037
1182
|
| CodeStorageExceededError
|
|
1038
1183
|
| InvalidParameterValueError
|
|
@@ -1051,6 +1196,7 @@ interface LambdaService$ {
|
|
|
1051
1196
|
options?: HttpHandlerOptions,
|
|
1052
1197
|
): Effect.Effect<
|
|
1053
1198
|
PutFunctionCodeSigningConfigCommandOutput,
|
|
1199
|
+
| Cause.TimeoutException
|
|
1054
1200
|
| SdkError
|
|
1055
1201
|
| CodeSigningConfigNotFoundError
|
|
1056
1202
|
| InvalidParameterValueError
|
|
@@ -1068,6 +1214,7 @@ interface LambdaService$ {
|
|
|
1068
1214
|
options?: HttpHandlerOptions,
|
|
1069
1215
|
): Effect.Effect<
|
|
1070
1216
|
PutFunctionConcurrencyCommandOutput,
|
|
1217
|
+
| Cause.TimeoutException
|
|
1071
1218
|
| SdkError
|
|
1072
1219
|
| InvalidParameterValueError
|
|
1073
1220
|
| ResourceConflictError
|
|
@@ -1084,6 +1231,7 @@ interface LambdaService$ {
|
|
|
1084
1231
|
options?: HttpHandlerOptions,
|
|
1085
1232
|
): Effect.Effect<
|
|
1086
1233
|
PutFunctionEventInvokeConfigCommandOutput,
|
|
1234
|
+
| Cause.TimeoutException
|
|
1087
1235
|
| SdkError
|
|
1088
1236
|
| InvalidParameterValueError
|
|
1089
1237
|
| ResourceConflictError
|
|
@@ -1100,6 +1248,7 @@ interface LambdaService$ {
|
|
|
1100
1248
|
options?: HttpHandlerOptions,
|
|
1101
1249
|
): Effect.Effect<
|
|
1102
1250
|
PutFunctionRecursionConfigCommandOutput,
|
|
1251
|
+
| Cause.TimeoutException
|
|
1103
1252
|
| SdkError
|
|
1104
1253
|
| InvalidParameterValueError
|
|
1105
1254
|
| ResourceConflictError
|
|
@@ -1116,6 +1265,7 @@ interface LambdaService$ {
|
|
|
1116
1265
|
options?: HttpHandlerOptions,
|
|
1117
1266
|
): Effect.Effect<
|
|
1118
1267
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
1268
|
+
| Cause.TimeoutException
|
|
1119
1269
|
| SdkError
|
|
1120
1270
|
| InvalidParameterValueError
|
|
1121
1271
|
| ResourceConflictError
|
|
@@ -1132,6 +1282,7 @@ interface LambdaService$ {
|
|
|
1132
1282
|
options?: HttpHandlerOptions,
|
|
1133
1283
|
): Effect.Effect<
|
|
1134
1284
|
PutRuntimeManagementConfigCommandOutput,
|
|
1285
|
+
| Cause.TimeoutException
|
|
1135
1286
|
| SdkError
|
|
1136
1287
|
| InvalidParameterValueError
|
|
1137
1288
|
| ResourceConflictError
|
|
@@ -1148,6 +1299,7 @@ interface LambdaService$ {
|
|
|
1148
1299
|
options?: HttpHandlerOptions,
|
|
1149
1300
|
): Effect.Effect<
|
|
1150
1301
|
RemoveLayerVersionPermissionCommandOutput,
|
|
1302
|
+
| Cause.TimeoutException
|
|
1151
1303
|
| SdkError
|
|
1152
1304
|
| InvalidParameterValueError
|
|
1153
1305
|
| PreconditionFailedError
|
|
@@ -1164,6 +1316,7 @@ interface LambdaService$ {
|
|
|
1164
1316
|
options?: HttpHandlerOptions,
|
|
1165
1317
|
): Effect.Effect<
|
|
1166
1318
|
RemovePermissionCommandOutput,
|
|
1319
|
+
| Cause.TimeoutException
|
|
1167
1320
|
| SdkError
|
|
1168
1321
|
| InvalidParameterValueError
|
|
1169
1322
|
| PreconditionFailedError
|
|
@@ -1180,6 +1333,7 @@ interface LambdaService$ {
|
|
|
1180
1333
|
options?: HttpHandlerOptions,
|
|
1181
1334
|
): Effect.Effect<
|
|
1182
1335
|
TagResourceCommandOutput,
|
|
1336
|
+
| Cause.TimeoutException
|
|
1183
1337
|
| SdkError
|
|
1184
1338
|
| InvalidParameterValueError
|
|
1185
1339
|
| ResourceConflictError
|
|
@@ -1196,6 +1350,7 @@ interface LambdaService$ {
|
|
|
1196
1350
|
options?: HttpHandlerOptions,
|
|
1197
1351
|
): Effect.Effect<
|
|
1198
1352
|
UntagResourceCommandOutput,
|
|
1353
|
+
| Cause.TimeoutException
|
|
1199
1354
|
| SdkError
|
|
1200
1355
|
| InvalidParameterValueError
|
|
1201
1356
|
| ResourceConflictError
|
|
@@ -1212,6 +1367,7 @@ interface LambdaService$ {
|
|
|
1212
1367
|
options?: HttpHandlerOptions,
|
|
1213
1368
|
): Effect.Effect<
|
|
1214
1369
|
UpdateAliasCommandOutput,
|
|
1370
|
+
| Cause.TimeoutException
|
|
1215
1371
|
| SdkError
|
|
1216
1372
|
| InvalidParameterValueError
|
|
1217
1373
|
| PreconditionFailedError
|
|
@@ -1229,7 +1385,7 @@ interface LambdaService$ {
|
|
|
1229
1385
|
options?: HttpHandlerOptions,
|
|
1230
1386
|
): Effect.Effect<
|
|
1231
1387
|
UpdateCodeSigningConfigCommandOutput,
|
|
1232
|
-
SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
1388
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
1233
1389
|
>;
|
|
1234
1390
|
|
|
1235
1391
|
/**
|
|
@@ -1240,6 +1396,7 @@ interface LambdaService$ {
|
|
|
1240
1396
|
options?: HttpHandlerOptions,
|
|
1241
1397
|
): Effect.Effect<
|
|
1242
1398
|
UpdateEventSourceMappingCommandOutput,
|
|
1399
|
+
| Cause.TimeoutException
|
|
1243
1400
|
| SdkError
|
|
1244
1401
|
| InvalidParameterValueError
|
|
1245
1402
|
| ResourceConflictError
|
|
@@ -1257,6 +1414,7 @@ interface LambdaService$ {
|
|
|
1257
1414
|
options?: HttpHandlerOptions,
|
|
1258
1415
|
): Effect.Effect<
|
|
1259
1416
|
UpdateFunctionCodeCommandOutput,
|
|
1417
|
+
| Cause.TimeoutException
|
|
1260
1418
|
| SdkError
|
|
1261
1419
|
| CodeSigningConfigNotFoundError
|
|
1262
1420
|
| CodeStorageExceededError
|
|
@@ -1278,6 +1436,7 @@ interface LambdaService$ {
|
|
|
1278
1436
|
options?: HttpHandlerOptions,
|
|
1279
1437
|
): Effect.Effect<
|
|
1280
1438
|
UpdateFunctionConfigurationCommandOutput,
|
|
1439
|
+
| Cause.TimeoutException
|
|
1281
1440
|
| SdkError
|
|
1282
1441
|
| CodeSigningConfigNotFoundError
|
|
1283
1442
|
| CodeVerificationFailedError
|
|
@@ -1298,6 +1457,7 @@ interface LambdaService$ {
|
|
|
1298
1457
|
options?: HttpHandlerOptions,
|
|
1299
1458
|
): Effect.Effect<
|
|
1300
1459
|
UpdateFunctionEventInvokeConfigCommandOutput,
|
|
1460
|
+
| Cause.TimeoutException
|
|
1301
1461
|
| SdkError
|
|
1302
1462
|
| InvalidParameterValueError
|
|
1303
1463
|
| ResourceConflictError
|
|
@@ -1314,6 +1474,7 @@ interface LambdaService$ {
|
|
|
1314
1474
|
options?: HttpHandlerOptions,
|
|
1315
1475
|
): Effect.Effect<
|
|
1316
1476
|
UpdateFunctionUrlConfigCommandOutput,
|
|
1477
|
+
| Cause.TimeoutException
|
|
1317
1478
|
| SdkError
|
|
1318
1479
|
| InvalidParameterValueError
|
|
1319
1480
|
| ResourceConflictError
|
|
@@ -1330,7 +1491,7 @@ interface LambdaService$ {
|
|
|
1330
1491
|
export const makeLambdaService = Effect.gen(function*() {
|
|
1331
1492
|
const client = yield* Instance.LambdaClientInstance;
|
|
1332
1493
|
|
|
1333
|
-
return Service.fromClientAndCommands<LambdaService$>(
|
|
1494
|
+
return yield* Service.fromClientAndCommands<LambdaService$>(
|
|
1334
1495
|
client,
|
|
1335
1496
|
commands,
|
|
1336
1497
|
{
|