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