@effect-aws/client-lambda 1.10.9 → 2.0.0-beta.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.
Files changed (37) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/LambdaClientInstance.d.ts +2 -2
  4. package/dist/dts/LambdaClientInstance.d.ts.map +1 -1
  5. package/dist/dts/LambdaService.d.ts +87 -89
  6. package/dist/dts/LambdaService.d.ts.map +1 -1
  7. package/dist/dts/LambdaServiceConfig.d.ts.map +1 -1
  8. package/dist/esm/LambdaClientInstance.js +3 -3
  9. package/dist/esm/LambdaClientInstance.js.map +1 -1
  10. package/dist/esm/LambdaService.js +2 -2
  11. package/dist/esm/LambdaService.js.map +1 -1
  12. package/dist/esm/LambdaServiceConfig.js +5 -6
  13. package/dist/esm/LambdaServiceConfig.js.map +1 -1
  14. package/package.json +8 -14
  15. package/src/LambdaClientInstance.ts +4 -4
  16. package/src/LambdaService.ts +88 -93
  17. package/src/LambdaServiceConfig.ts +6 -7
  18. package/dist/cjs/Errors.d.ts +0 -51
  19. package/dist/cjs/Errors.d.ts.map +0 -1
  20. package/dist/cjs/Errors.js +0 -50
  21. package/dist/cjs/Errors.js.map +0 -1
  22. package/dist/cjs/LambdaClientInstance.d.ts +0 -24
  23. package/dist/cjs/LambdaClientInstance.d.ts.map +0 -1
  24. package/dist/cjs/LambdaClientInstance.js +0 -50
  25. package/dist/cjs/LambdaClientInstance.js.map +0 -1
  26. package/dist/cjs/LambdaService.d.ts +0 -386
  27. package/dist/cjs/LambdaService.d.ts.map +0 -1
  28. package/dist/cjs/LambdaService.js +0 -144
  29. package/dist/cjs/LambdaService.js.map +0 -1
  30. package/dist/cjs/LambdaServiceConfig.d.ts +0 -25
  31. package/dist/cjs/LambdaServiceConfig.d.ts.map +0 -1
  32. package/dist/cjs/LambdaServiceConfig.js +0 -35
  33. package/dist/cjs/LambdaServiceConfig.js.map +0 -1
  34. package/dist/cjs/index.d.ts +0 -44
  35. package/dist/cjs/index.d.ts.map +0 -1
  36. package/dist/cjs/index.js +0 -56
  37. package/dist/cjs/index.js.map +0 -1
@@ -263,7 +263,7 @@ import {
263
263
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
264
264
  import { Service } from "@effect-aws/commons";
265
265
  import type { Cause } from "effect";
266
- import { Effect, Layer } from "effect";
266
+ import { Effect, Layer, ServiceMap } from "effect";
267
267
  import type {
268
268
  CallbackTimeoutError,
269
269
  CapacityProviderLimitExceededError,
@@ -414,7 +414,7 @@ interface LambdaService$ {
414
414
  options?: HttpHandlerOptions,
415
415
  ): Effect.Effect<
416
416
  AddLayerVersionPermissionCommandOutput,
417
- | Cause.TimeoutException
417
+ | Cause.TimeoutError
418
418
  | SdkError
419
419
  | InvalidParameterValueError
420
420
  | PolicyLengthExceededError
@@ -433,7 +433,7 @@ interface LambdaService$ {
433
433
  options?: HttpHandlerOptions,
434
434
  ): Effect.Effect<
435
435
  AddPermissionCommandOutput,
436
- | Cause.TimeoutException
436
+ | Cause.TimeoutError
437
437
  | SdkError
438
438
  | InvalidParameterValueError
439
439
  | PolicyLengthExceededError
@@ -452,7 +452,7 @@ interface LambdaService$ {
452
452
  options?: HttpHandlerOptions,
453
453
  ): Effect.Effect<
454
454
  CheckpointDurableExecutionCommandOutput,
455
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
455
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
456
456
  >;
457
457
 
458
458
  /**
@@ -463,7 +463,7 @@ interface LambdaService$ {
463
463
  options?: HttpHandlerOptions,
464
464
  ): Effect.Effect<
465
465
  CreateAliasCommandOutput,
466
- | Cause.TimeoutException
466
+ | Cause.TimeoutError
467
467
  | SdkError
468
468
  | InvalidParameterValueError
469
469
  | ResourceConflictError
@@ -480,7 +480,7 @@ interface LambdaService$ {
480
480
  options?: HttpHandlerOptions,
481
481
  ): Effect.Effect<
482
482
  CreateCapacityProviderCommandOutput,
483
- | Cause.TimeoutException
483
+ | Cause.TimeoutError
484
484
  | SdkError
485
485
  | CapacityProviderLimitExceededError
486
486
  | InvalidParameterValueError
@@ -497,7 +497,7 @@ interface LambdaService$ {
497
497
  options?: HttpHandlerOptions,
498
498
  ): Effect.Effect<
499
499
  CreateCodeSigningConfigCommandOutput,
500
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError
500
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError
501
501
  >;
502
502
 
503
503
  /**
@@ -508,7 +508,7 @@ interface LambdaService$ {
508
508
  options?: HttpHandlerOptions,
509
509
  ): Effect.Effect<
510
510
  CreateEventSourceMappingCommandOutput,
511
- | Cause.TimeoutException
511
+ | Cause.TimeoutError
512
512
  | SdkError
513
513
  | InvalidParameterValueError
514
514
  | ResourceConflictError
@@ -525,7 +525,7 @@ interface LambdaService$ {
525
525
  options?: HttpHandlerOptions,
526
526
  ): Effect.Effect<
527
527
  CreateFunctionCommandOutput,
528
- | Cause.TimeoutException
528
+ | Cause.TimeoutError
529
529
  | SdkError
530
530
  | CodeSigningConfigNotFoundError
531
531
  | CodeStorageExceededError
@@ -547,7 +547,7 @@ interface LambdaService$ {
547
547
  options?: HttpHandlerOptions,
548
548
  ): Effect.Effect<
549
549
  CreateFunctionUrlConfigCommandOutput,
550
- | Cause.TimeoutException
550
+ | Cause.TimeoutError
551
551
  | SdkError
552
552
  | InvalidParameterValueError
553
553
  | ResourceConflictError
@@ -564,7 +564,7 @@ interface LambdaService$ {
564
564
  options?: HttpHandlerOptions,
565
565
  ): Effect.Effect<
566
566
  DeleteAliasCommandOutput,
567
- | Cause.TimeoutException
567
+ | Cause.TimeoutError
568
568
  | SdkError
569
569
  | InvalidParameterValueError
570
570
  | ResourceConflictError
@@ -580,7 +580,7 @@ interface LambdaService$ {
580
580
  options?: HttpHandlerOptions,
581
581
  ): Effect.Effect<
582
582
  DeleteCapacityProviderCommandOutput,
583
- | Cause.TimeoutException
583
+ | Cause.TimeoutError
584
584
  | SdkError
585
585
  | InvalidParameterValueError
586
586
  | ResourceConflictError
@@ -597,7 +597,7 @@ interface LambdaService$ {
597
597
  options?: HttpHandlerOptions,
598
598
  ): Effect.Effect<
599
599
  DeleteCodeSigningConfigCommandOutput,
600
- | Cause.TimeoutException
600
+ | Cause.TimeoutError
601
601
  | SdkError
602
602
  | InvalidParameterValueError
603
603
  | ResourceConflictError
@@ -613,7 +613,7 @@ interface LambdaService$ {
613
613
  options?: HttpHandlerOptions,
614
614
  ): Effect.Effect<
615
615
  DeleteEventSourceMappingCommandOutput,
616
- | Cause.TimeoutException
616
+ | Cause.TimeoutError
617
617
  | SdkError
618
618
  | InvalidParameterValueError
619
619
  | ResourceConflictError
@@ -631,7 +631,7 @@ interface LambdaService$ {
631
631
  options?: HttpHandlerOptions,
632
632
  ): Effect.Effect<
633
633
  DeleteFunctionCommandOutput,
634
- | Cause.TimeoutException
634
+ | Cause.TimeoutError
635
635
  | SdkError
636
636
  | InvalidParameterValueError
637
637
  | ResourceConflictError
@@ -648,7 +648,7 @@ interface LambdaService$ {
648
648
  options?: HttpHandlerOptions,
649
649
  ): Effect.Effect<
650
650
  DeleteFunctionCodeSigningConfigCommandOutput,
651
- | Cause.TimeoutException
651
+ | Cause.TimeoutError
652
652
  | SdkError
653
653
  | CodeSigningConfigNotFoundError
654
654
  | InvalidParameterValueError
@@ -666,7 +666,7 @@ interface LambdaService$ {
666
666
  options?: HttpHandlerOptions,
667
667
  ): Effect.Effect<
668
668
  DeleteFunctionConcurrencyCommandOutput,
669
- | Cause.TimeoutException
669
+ | Cause.TimeoutError
670
670
  | SdkError
671
671
  | InvalidParameterValueError
672
672
  | ResourceConflictError
@@ -683,7 +683,7 @@ interface LambdaService$ {
683
683
  options?: HttpHandlerOptions,
684
684
  ): Effect.Effect<
685
685
  DeleteFunctionEventInvokeConfigCommandOutput,
686
- | Cause.TimeoutException
686
+ | Cause.TimeoutError
687
687
  | SdkError
688
688
  | InvalidParameterValueError
689
689
  | ResourceConflictError
@@ -700,12 +700,7 @@ interface LambdaService$ {
700
700
  options?: HttpHandlerOptions,
701
701
  ): Effect.Effect<
702
702
  DeleteFunctionUrlConfigCommandOutput,
703
- | Cause.TimeoutException
704
- | SdkError
705
- | ResourceConflictError
706
- | ResourceNotFoundError
707
- | ServiceError
708
- | TooManyRequestsError
703
+ Cause.TimeoutError | SdkError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError
709
704
  >;
710
705
 
711
706
  /**
@@ -716,7 +711,7 @@ interface LambdaService$ {
716
711
  options?: HttpHandlerOptions,
717
712
  ): Effect.Effect<
718
713
  DeleteLayerVersionCommandOutput,
719
- Cause.TimeoutException | SdkError | ServiceError | TooManyRequestsError
714
+ Cause.TimeoutError | SdkError | ServiceError | TooManyRequestsError
720
715
  >;
721
716
 
722
717
  /**
@@ -727,7 +722,7 @@ interface LambdaService$ {
727
722
  options?: HttpHandlerOptions,
728
723
  ): Effect.Effect<
729
724
  DeleteProvisionedConcurrencyConfigCommandOutput,
730
- | Cause.TimeoutException
725
+ | Cause.TimeoutError
731
726
  | SdkError
732
727
  | InvalidParameterValueError
733
728
  | ResourceConflictError
@@ -744,7 +739,7 @@ interface LambdaService$ {
744
739
  options?: HttpHandlerOptions,
745
740
  ): Effect.Effect<
746
741
  GetAccountSettingsCommandOutput,
747
- Cause.TimeoutException | SdkError | ServiceError | TooManyRequestsError
742
+ Cause.TimeoutError | SdkError | ServiceError | TooManyRequestsError
748
743
  >;
749
744
 
750
745
  /**
@@ -755,7 +750,7 @@ interface LambdaService$ {
755
750
  options?: HttpHandlerOptions,
756
751
  ): Effect.Effect<
757
752
  GetAliasCommandOutput,
758
- | Cause.TimeoutException
753
+ | Cause.TimeoutError
759
754
  | SdkError
760
755
  | InvalidParameterValueError
761
756
  | ResourceNotFoundError
@@ -771,7 +766,7 @@ interface LambdaService$ {
771
766
  options?: HttpHandlerOptions,
772
767
  ): Effect.Effect<
773
768
  GetCapacityProviderCommandOutput,
774
- | Cause.TimeoutException
769
+ | Cause.TimeoutError
775
770
  | SdkError
776
771
  | InvalidParameterValueError
777
772
  | ResourceNotFoundError
@@ -787,7 +782,7 @@ interface LambdaService$ {
787
782
  options?: HttpHandlerOptions,
788
783
  ): Effect.Effect<
789
784
  GetCodeSigningConfigCommandOutput,
790
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
785
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
791
786
  >;
792
787
 
793
788
  /**
@@ -798,7 +793,7 @@ interface LambdaService$ {
798
793
  options?: HttpHandlerOptions,
799
794
  ): Effect.Effect<
800
795
  GetDurableExecutionCommandOutput,
801
- | Cause.TimeoutException
796
+ | Cause.TimeoutError
802
797
  | SdkError
803
798
  | InvalidParameterValueError
804
799
  | ResourceNotFoundError
@@ -814,7 +809,7 @@ interface LambdaService$ {
814
809
  options?: HttpHandlerOptions,
815
810
  ): Effect.Effect<
816
811
  GetDurableExecutionHistoryCommandOutput,
817
- | Cause.TimeoutException
812
+ | Cause.TimeoutError
818
813
  | SdkError
819
814
  | InvalidParameterValueError
820
815
  | ResourceNotFoundError
@@ -830,7 +825,7 @@ interface LambdaService$ {
830
825
  options?: HttpHandlerOptions,
831
826
  ): Effect.Effect<
832
827
  GetDurableExecutionStateCommandOutput,
833
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
828
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
834
829
  >;
835
830
 
836
831
  /**
@@ -841,7 +836,7 @@ interface LambdaService$ {
841
836
  options?: HttpHandlerOptions,
842
837
  ): Effect.Effect<
843
838
  GetEventSourceMappingCommandOutput,
844
- | Cause.TimeoutException
839
+ | Cause.TimeoutError
845
840
  | SdkError
846
841
  | InvalidParameterValueError
847
842
  | ResourceNotFoundError
@@ -857,7 +852,7 @@ interface LambdaService$ {
857
852
  options?: HttpHandlerOptions,
858
853
  ): Effect.Effect<
859
854
  GetFunctionCommandOutput,
860
- | Cause.TimeoutException
855
+ | Cause.TimeoutError
861
856
  | SdkError
862
857
  | InvalidParameterValueError
863
858
  | ResourceNotFoundError
@@ -873,7 +868,7 @@ interface LambdaService$ {
873
868
  options?: HttpHandlerOptions,
874
869
  ): Effect.Effect<
875
870
  GetFunctionCodeSigningConfigCommandOutput,
876
- | Cause.TimeoutException
871
+ | Cause.TimeoutError
877
872
  | SdkError
878
873
  | InvalidParameterValueError
879
874
  | ResourceNotFoundError
@@ -889,7 +884,7 @@ interface LambdaService$ {
889
884
  options?: HttpHandlerOptions,
890
885
  ): Effect.Effect<
891
886
  GetFunctionConcurrencyCommandOutput,
892
- | Cause.TimeoutException
887
+ | Cause.TimeoutError
893
888
  | SdkError
894
889
  | InvalidParameterValueError
895
890
  | ResourceNotFoundError
@@ -905,7 +900,7 @@ interface LambdaService$ {
905
900
  options?: HttpHandlerOptions,
906
901
  ): Effect.Effect<
907
902
  GetFunctionConfigurationCommandOutput,
908
- | Cause.TimeoutException
903
+ | Cause.TimeoutError
909
904
  | SdkError
910
905
  | InvalidParameterValueError
911
906
  | ResourceNotFoundError
@@ -921,7 +916,7 @@ interface LambdaService$ {
921
916
  options?: HttpHandlerOptions,
922
917
  ): Effect.Effect<
923
918
  GetFunctionEventInvokeConfigCommandOutput,
924
- | Cause.TimeoutException
919
+ | Cause.TimeoutError
925
920
  | SdkError
926
921
  | InvalidParameterValueError
927
922
  | ResourceNotFoundError
@@ -937,7 +932,7 @@ interface LambdaService$ {
937
932
  options?: HttpHandlerOptions,
938
933
  ): Effect.Effect<
939
934
  GetFunctionRecursionConfigCommandOutput,
940
- | Cause.TimeoutException
935
+ | Cause.TimeoutError
941
936
  | SdkError
942
937
  | InvalidParameterValueError
943
938
  | ResourceNotFoundError
@@ -953,7 +948,7 @@ interface LambdaService$ {
953
948
  options?: HttpHandlerOptions,
954
949
  ): Effect.Effect<
955
950
  GetFunctionScalingConfigCommandOutput,
956
- | Cause.TimeoutException
951
+ | Cause.TimeoutError
957
952
  | SdkError
958
953
  | InvalidParameterValueError
959
954
  | ResourceNotFoundError
@@ -969,7 +964,7 @@ interface LambdaService$ {
969
964
  options?: HttpHandlerOptions,
970
965
  ): Effect.Effect<
971
966
  GetFunctionUrlConfigCommandOutput,
972
- | Cause.TimeoutException
967
+ | Cause.TimeoutError
973
968
  | SdkError
974
969
  | InvalidParameterValueError
975
970
  | ResourceNotFoundError
@@ -985,7 +980,7 @@ interface LambdaService$ {
985
980
  options?: HttpHandlerOptions,
986
981
  ): Effect.Effect<
987
982
  GetLayerVersionCommandOutput,
988
- | Cause.TimeoutException
983
+ | Cause.TimeoutError
989
984
  | SdkError
990
985
  | InvalidParameterValueError
991
986
  | ResourceNotFoundError
@@ -1001,7 +996,7 @@ interface LambdaService$ {
1001
996
  options?: HttpHandlerOptions,
1002
997
  ): Effect.Effect<
1003
998
  GetLayerVersionByArnCommandOutput,
1004
- | Cause.TimeoutException
999
+ | Cause.TimeoutError
1005
1000
  | SdkError
1006
1001
  | InvalidParameterValueError
1007
1002
  | ResourceNotFoundError
@@ -1017,7 +1012,7 @@ interface LambdaService$ {
1017
1012
  options?: HttpHandlerOptions,
1018
1013
  ): Effect.Effect<
1019
1014
  GetLayerVersionPolicyCommandOutput,
1020
- | Cause.TimeoutException
1015
+ | Cause.TimeoutError
1021
1016
  | SdkError
1022
1017
  | InvalidParameterValueError
1023
1018
  | ResourceNotFoundError
@@ -1033,7 +1028,7 @@ interface LambdaService$ {
1033
1028
  options?: HttpHandlerOptions,
1034
1029
  ): Effect.Effect<
1035
1030
  GetPolicyCommandOutput,
1036
- | Cause.TimeoutException
1031
+ | Cause.TimeoutError
1037
1032
  | SdkError
1038
1033
  | InvalidParameterValueError
1039
1034
  | ResourceNotFoundError
@@ -1049,7 +1044,7 @@ interface LambdaService$ {
1049
1044
  options?: HttpHandlerOptions,
1050
1045
  ): Effect.Effect<
1051
1046
  GetProvisionedConcurrencyConfigCommandOutput,
1052
- | Cause.TimeoutException
1047
+ | Cause.TimeoutError
1053
1048
  | SdkError
1054
1049
  | InvalidParameterValueError
1055
1050
  | ProvisionedConcurrencyConfigNotFoundError
@@ -1066,7 +1061,7 @@ interface LambdaService$ {
1066
1061
  options?: HttpHandlerOptions,
1067
1062
  ): Effect.Effect<
1068
1063
  GetRuntimeManagementConfigCommandOutput,
1069
- | Cause.TimeoutException
1064
+ | Cause.TimeoutError
1070
1065
  | SdkError
1071
1066
  | InvalidParameterValueError
1072
1067
  | ResourceNotFoundError
@@ -1082,7 +1077,7 @@ interface LambdaService$ {
1082
1077
  options?: HttpHandlerOptions,
1083
1078
  ): Effect.Effect<
1084
1079
  InvokeCommandOutput,
1085
- | Cause.TimeoutException
1080
+ | Cause.TimeoutError
1086
1081
  | SdkError
1087
1082
  | DurableExecutionAlreadyStartedError
1088
1083
  | EC2AccessDeniedError
@@ -1127,7 +1122,7 @@ interface LambdaService$ {
1127
1122
  options?: HttpHandlerOptions,
1128
1123
  ): Effect.Effect<
1129
1124
  InvokeAsyncCommandOutput,
1130
- | Cause.TimeoutException
1125
+ | Cause.TimeoutError
1131
1126
  | SdkError
1132
1127
  | InvalidRequestContentError
1133
1128
  | InvalidRuntimeError
@@ -1144,7 +1139,7 @@ interface LambdaService$ {
1144
1139
  options?: HttpHandlerOptions,
1145
1140
  ): Effect.Effect<
1146
1141
  InvokeWithResponseStreamCommandOutput,
1147
- | Cause.TimeoutException
1142
+ | Cause.TimeoutError
1148
1143
  | SdkError
1149
1144
  | EC2AccessDeniedError
1150
1145
  | EC2ThrottledError
@@ -1188,7 +1183,7 @@ interface LambdaService$ {
1188
1183
  options?: HttpHandlerOptions,
1189
1184
  ): Effect.Effect<
1190
1185
  ListAliasesCommandOutput,
1191
- | Cause.TimeoutException
1186
+ | Cause.TimeoutError
1192
1187
  | SdkError
1193
1188
  | InvalidParameterValueError
1194
1189
  | ResourceNotFoundError
@@ -1204,7 +1199,7 @@ interface LambdaService$ {
1204
1199
  options?: HttpHandlerOptions,
1205
1200
  ): Effect.Effect<
1206
1201
  ListCapacityProvidersCommandOutput,
1207
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
1202
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
1208
1203
  >;
1209
1204
 
1210
1205
  /**
@@ -1215,7 +1210,7 @@ interface LambdaService$ {
1215
1210
  options?: HttpHandlerOptions,
1216
1211
  ): Effect.Effect<
1217
1212
  ListCodeSigningConfigsCommandOutput,
1218
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError
1213
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError
1219
1214
  >;
1220
1215
 
1221
1216
  /**
@@ -1226,7 +1221,7 @@ interface LambdaService$ {
1226
1221
  options?: HttpHandlerOptions,
1227
1222
  ): Effect.Effect<
1228
1223
  ListDurableExecutionsByFunctionCommandOutput,
1229
- | Cause.TimeoutException
1224
+ | Cause.TimeoutError
1230
1225
  | SdkError
1231
1226
  | InvalidParameterValueError
1232
1227
  | ResourceNotFoundError
@@ -1242,7 +1237,7 @@ interface LambdaService$ {
1242
1237
  options?: HttpHandlerOptions,
1243
1238
  ): Effect.Effect<
1244
1239
  ListEventSourceMappingsCommandOutput,
1245
- | Cause.TimeoutException
1240
+ | Cause.TimeoutError
1246
1241
  | SdkError
1247
1242
  | InvalidParameterValueError
1248
1243
  | ResourceNotFoundError
@@ -1258,7 +1253,7 @@ interface LambdaService$ {
1258
1253
  options?: HttpHandlerOptions,
1259
1254
  ): Effect.Effect<
1260
1255
  ListFunctionEventInvokeConfigsCommandOutput,
1261
- | Cause.TimeoutException
1256
+ | Cause.TimeoutError
1262
1257
  | SdkError
1263
1258
  | InvalidParameterValueError
1264
1259
  | ResourceNotFoundError
@@ -1274,7 +1269,7 @@ interface LambdaService$ {
1274
1269
  options?: HttpHandlerOptions,
1275
1270
  ): Effect.Effect<
1276
1271
  ListFunctionUrlConfigsCommandOutput,
1277
- | Cause.TimeoutException
1272
+ | Cause.TimeoutError
1278
1273
  | SdkError
1279
1274
  | InvalidParameterValueError
1280
1275
  | ResourceNotFoundError
@@ -1290,7 +1285,7 @@ interface LambdaService$ {
1290
1285
  options?: HttpHandlerOptions,
1291
1286
  ): Effect.Effect<
1292
1287
  ListFunctionVersionsByCapacityProviderCommandOutput,
1293
- | Cause.TimeoutException
1288
+ | Cause.TimeoutError
1294
1289
  | SdkError
1295
1290
  | InvalidParameterValueError
1296
1291
  | ResourceNotFoundError
@@ -1306,7 +1301,7 @@ interface LambdaService$ {
1306
1301
  options?: HttpHandlerOptions,
1307
1302
  ): Effect.Effect<
1308
1303
  ListFunctionsCommandOutput,
1309
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
1304
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
1310
1305
  >;
1311
1306
 
1312
1307
  /**
@@ -1317,7 +1312,7 @@ interface LambdaService$ {
1317
1312
  options?: HttpHandlerOptions,
1318
1313
  ): Effect.Effect<
1319
1314
  ListFunctionsByCodeSigningConfigCommandOutput,
1320
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
1315
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
1321
1316
  >;
1322
1317
 
1323
1318
  /**
@@ -1328,7 +1323,7 @@ interface LambdaService$ {
1328
1323
  options?: HttpHandlerOptions,
1329
1324
  ): Effect.Effect<
1330
1325
  ListLayerVersionsCommandOutput,
1331
- | Cause.TimeoutException
1326
+ | Cause.TimeoutError
1332
1327
  | SdkError
1333
1328
  | InvalidParameterValueError
1334
1329
  | ResourceNotFoundError
@@ -1344,7 +1339,7 @@ interface LambdaService$ {
1344
1339
  options?: HttpHandlerOptions,
1345
1340
  ): Effect.Effect<
1346
1341
  ListLayersCommandOutput,
1347
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
1342
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
1348
1343
  >;
1349
1344
 
1350
1345
  /**
@@ -1355,7 +1350,7 @@ interface LambdaService$ {
1355
1350
  options?: HttpHandlerOptions,
1356
1351
  ): Effect.Effect<
1357
1352
  ListProvisionedConcurrencyConfigsCommandOutput,
1358
- | Cause.TimeoutException
1353
+ | Cause.TimeoutError
1359
1354
  | SdkError
1360
1355
  | InvalidParameterValueError
1361
1356
  | ResourceNotFoundError
@@ -1371,7 +1366,7 @@ interface LambdaService$ {
1371
1366
  options?: HttpHandlerOptions,
1372
1367
  ): Effect.Effect<
1373
1368
  ListTagsCommandOutput,
1374
- | Cause.TimeoutException
1369
+ | Cause.TimeoutError
1375
1370
  | SdkError
1376
1371
  | InvalidParameterValueError
1377
1372
  | ResourceNotFoundError
@@ -1387,7 +1382,7 @@ interface LambdaService$ {
1387
1382
  options?: HttpHandlerOptions,
1388
1383
  ): Effect.Effect<
1389
1384
  ListVersionsByFunctionCommandOutput,
1390
- | Cause.TimeoutException
1385
+ | Cause.TimeoutError
1391
1386
  | SdkError
1392
1387
  | InvalidParameterValueError
1393
1388
  | ResourceNotFoundError
@@ -1403,7 +1398,7 @@ interface LambdaService$ {
1403
1398
  options?: HttpHandlerOptions,
1404
1399
  ): Effect.Effect<
1405
1400
  PublishLayerVersionCommandOutput,
1406
- | Cause.TimeoutException
1401
+ | Cause.TimeoutError
1407
1402
  | SdkError
1408
1403
  | CodeStorageExceededError
1409
1404
  | InvalidParameterValueError
@@ -1420,7 +1415,7 @@ interface LambdaService$ {
1420
1415
  options?: HttpHandlerOptions,
1421
1416
  ): Effect.Effect<
1422
1417
  PublishVersionCommandOutput,
1423
- | Cause.TimeoutException
1418
+ | Cause.TimeoutError
1424
1419
  | SdkError
1425
1420
  | CodeStorageExceededError
1426
1421
  | FunctionVersionsPerCapacityProviderLimitExceededError
@@ -1440,7 +1435,7 @@ interface LambdaService$ {
1440
1435
  options?: HttpHandlerOptions,
1441
1436
  ): Effect.Effect<
1442
1437
  PutFunctionCodeSigningConfigCommandOutput,
1443
- | Cause.TimeoutException
1438
+ | Cause.TimeoutError
1444
1439
  | SdkError
1445
1440
  | CodeSigningConfigNotFoundError
1446
1441
  | InvalidParameterValueError
@@ -1458,7 +1453,7 @@ interface LambdaService$ {
1458
1453
  options?: HttpHandlerOptions,
1459
1454
  ): Effect.Effect<
1460
1455
  PutFunctionConcurrencyCommandOutput,
1461
- | Cause.TimeoutException
1456
+ | Cause.TimeoutError
1462
1457
  | SdkError
1463
1458
  | InvalidParameterValueError
1464
1459
  | ResourceConflictError
@@ -1475,7 +1470,7 @@ interface LambdaService$ {
1475
1470
  options?: HttpHandlerOptions,
1476
1471
  ): Effect.Effect<
1477
1472
  PutFunctionEventInvokeConfigCommandOutput,
1478
- | Cause.TimeoutException
1473
+ | Cause.TimeoutError
1479
1474
  | SdkError
1480
1475
  | InvalidParameterValueError
1481
1476
  | ResourceConflictError
@@ -1492,7 +1487,7 @@ interface LambdaService$ {
1492
1487
  options?: HttpHandlerOptions,
1493
1488
  ): Effect.Effect<
1494
1489
  PutFunctionRecursionConfigCommandOutput,
1495
- | Cause.TimeoutException
1490
+ | Cause.TimeoutError
1496
1491
  | SdkError
1497
1492
  | InvalidParameterValueError
1498
1493
  | ResourceConflictError
@@ -1509,7 +1504,7 @@ interface LambdaService$ {
1509
1504
  options?: HttpHandlerOptions,
1510
1505
  ): Effect.Effect<
1511
1506
  PutFunctionScalingConfigCommandOutput,
1512
- | Cause.TimeoutException
1507
+ | Cause.TimeoutError
1513
1508
  | SdkError
1514
1509
  | InvalidParameterValueError
1515
1510
  | ResourceConflictError
@@ -1526,7 +1521,7 @@ interface LambdaService$ {
1526
1521
  options?: HttpHandlerOptions,
1527
1522
  ): Effect.Effect<
1528
1523
  PutProvisionedConcurrencyConfigCommandOutput,
1529
- | Cause.TimeoutException
1524
+ | Cause.TimeoutError
1530
1525
  | SdkError
1531
1526
  | InvalidParameterValueError
1532
1527
  | ResourceConflictError
@@ -1543,7 +1538,7 @@ interface LambdaService$ {
1543
1538
  options?: HttpHandlerOptions,
1544
1539
  ): Effect.Effect<
1545
1540
  PutRuntimeManagementConfigCommandOutput,
1546
- | Cause.TimeoutException
1541
+ | Cause.TimeoutError
1547
1542
  | SdkError
1548
1543
  | InvalidParameterValueError
1549
1544
  | ResourceConflictError
@@ -1560,7 +1555,7 @@ interface LambdaService$ {
1560
1555
  options?: HttpHandlerOptions,
1561
1556
  ): Effect.Effect<
1562
1557
  RemoveLayerVersionPermissionCommandOutput,
1563
- | Cause.TimeoutException
1558
+ | Cause.TimeoutError
1564
1559
  | SdkError
1565
1560
  | InvalidParameterValueError
1566
1561
  | PreconditionFailedError
@@ -1577,7 +1572,7 @@ interface LambdaService$ {
1577
1572
  options?: HttpHandlerOptions,
1578
1573
  ): Effect.Effect<
1579
1574
  RemovePermissionCommandOutput,
1580
- | Cause.TimeoutException
1575
+ | Cause.TimeoutError
1581
1576
  | SdkError
1582
1577
  | InvalidParameterValueError
1583
1578
  | PreconditionFailedError
@@ -1594,7 +1589,7 @@ interface LambdaService$ {
1594
1589
  options?: HttpHandlerOptions,
1595
1590
  ): Effect.Effect<
1596
1591
  SendDurableExecutionCallbackFailureCommandOutput,
1597
- | Cause.TimeoutException
1592
+ | Cause.TimeoutError
1598
1593
  | SdkError
1599
1594
  | CallbackTimeoutError
1600
1595
  | InvalidParameterValueError
@@ -1610,7 +1605,7 @@ interface LambdaService$ {
1610
1605
  options?: HttpHandlerOptions,
1611
1606
  ): Effect.Effect<
1612
1607
  SendDurableExecutionCallbackHeartbeatCommandOutput,
1613
- | Cause.TimeoutException
1608
+ | Cause.TimeoutError
1614
1609
  | SdkError
1615
1610
  | CallbackTimeoutError
1616
1611
  | InvalidParameterValueError
@@ -1626,7 +1621,7 @@ interface LambdaService$ {
1626
1621
  options?: HttpHandlerOptions,
1627
1622
  ): Effect.Effect<
1628
1623
  SendDurableExecutionCallbackSuccessCommandOutput,
1629
- | Cause.TimeoutException
1624
+ | Cause.TimeoutError
1630
1625
  | SdkError
1631
1626
  | CallbackTimeoutError
1632
1627
  | InvalidParameterValueError
@@ -1642,7 +1637,7 @@ interface LambdaService$ {
1642
1637
  options?: HttpHandlerOptions,
1643
1638
  ): Effect.Effect<
1644
1639
  StopDurableExecutionCommandOutput,
1645
- | Cause.TimeoutException
1640
+ | Cause.TimeoutError
1646
1641
  | SdkError
1647
1642
  | InvalidParameterValueError
1648
1643
  | ResourceNotFoundError
@@ -1658,7 +1653,7 @@ interface LambdaService$ {
1658
1653
  options?: HttpHandlerOptions,
1659
1654
  ): Effect.Effect<
1660
1655
  TagResourceCommandOutput,
1661
- | Cause.TimeoutException
1656
+ | Cause.TimeoutError
1662
1657
  | SdkError
1663
1658
  | InvalidParameterValueError
1664
1659
  | ResourceConflictError
@@ -1675,7 +1670,7 @@ interface LambdaService$ {
1675
1670
  options?: HttpHandlerOptions,
1676
1671
  ): Effect.Effect<
1677
1672
  UntagResourceCommandOutput,
1678
- | Cause.TimeoutException
1673
+ | Cause.TimeoutError
1679
1674
  | SdkError
1680
1675
  | InvalidParameterValueError
1681
1676
  | ResourceConflictError
@@ -1692,7 +1687,7 @@ interface LambdaService$ {
1692
1687
  options?: HttpHandlerOptions,
1693
1688
  ): Effect.Effect<
1694
1689
  UpdateAliasCommandOutput,
1695
- | Cause.TimeoutException
1690
+ | Cause.TimeoutError
1696
1691
  | SdkError
1697
1692
  | InvalidParameterValueError
1698
1693
  | PreconditionFailedError
@@ -1710,7 +1705,7 @@ interface LambdaService$ {
1710
1705
  options?: HttpHandlerOptions,
1711
1706
  ): Effect.Effect<
1712
1707
  UpdateCapacityProviderCommandOutput,
1713
- | Cause.TimeoutException
1708
+ | Cause.TimeoutError
1714
1709
  | SdkError
1715
1710
  | InvalidParameterValueError
1716
1711
  | ResourceConflictError
@@ -1727,7 +1722,7 @@ interface LambdaService$ {
1727
1722
  options?: HttpHandlerOptions,
1728
1723
  ): Effect.Effect<
1729
1724
  UpdateCodeSigningConfigCommandOutput,
1730
- Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
1725
+ Cause.TimeoutError | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
1731
1726
  >;
1732
1727
 
1733
1728
  /**
@@ -1738,7 +1733,7 @@ interface LambdaService$ {
1738
1733
  options?: HttpHandlerOptions,
1739
1734
  ): Effect.Effect<
1740
1735
  UpdateEventSourceMappingCommandOutput,
1741
- | Cause.TimeoutException
1736
+ | Cause.TimeoutError
1742
1737
  | SdkError
1743
1738
  | InvalidParameterValueError
1744
1739
  | ResourceConflictError
@@ -1756,7 +1751,7 @@ interface LambdaService$ {
1756
1751
  options?: HttpHandlerOptions,
1757
1752
  ): Effect.Effect<
1758
1753
  UpdateFunctionCodeCommandOutput,
1759
- | Cause.TimeoutException
1754
+ | Cause.TimeoutError
1760
1755
  | SdkError
1761
1756
  | CodeSigningConfigNotFoundError
1762
1757
  | CodeStorageExceededError
@@ -1778,7 +1773,7 @@ interface LambdaService$ {
1778
1773
  options?: HttpHandlerOptions,
1779
1774
  ): Effect.Effect<
1780
1775
  UpdateFunctionConfigurationCommandOutput,
1781
- | Cause.TimeoutException
1776
+ | Cause.TimeoutError
1782
1777
  | SdkError
1783
1778
  | CodeSigningConfigNotFoundError
1784
1779
  | CodeVerificationFailedError
@@ -1799,7 +1794,7 @@ interface LambdaService$ {
1799
1794
  options?: HttpHandlerOptions,
1800
1795
  ): Effect.Effect<
1801
1796
  UpdateFunctionEventInvokeConfigCommandOutput,
1802
- | Cause.TimeoutException
1797
+ | Cause.TimeoutError
1803
1798
  | SdkError
1804
1799
  | InvalidParameterValueError
1805
1800
  | ResourceConflictError
@@ -1816,7 +1811,7 @@ interface LambdaService$ {
1816
1811
  options?: HttpHandlerOptions,
1817
1812
  ): Effect.Effect<
1818
1813
  UpdateFunctionUrlConfigCommandOutput,
1819
- | Cause.TimeoutException
1814
+ | Cause.TimeoutError
1820
1815
  | SdkError
1821
1816
  | InvalidParameterValueError
1822
1817
  | ResourceConflictError
@@ -1847,10 +1842,10 @@ export const makeLambdaService = Effect.gen(function*() {
1847
1842
  * @since 1.0.0
1848
1843
  * @category models
1849
1844
  */
1850
- export class LambdaService extends Effect.Tag("@effect-aws/client-lambda/LambdaService")<
1845
+ export class LambdaService extends ServiceMap.Service<
1851
1846
  LambdaService,
1852
1847
  LambdaService$
1853
- >() {
1848
+ >()("@effect-aws/client-lambda/LambdaService") {
1854
1849
  static readonly defaultLayer = Layer.effect(this, makeLambdaService).pipe(Layer.provide(Instance.layer));
1855
1850
  static readonly layer = (config: LambdaService.Config) =>
1856
1851
  Layer.effect(this, makeLambdaService).pipe(