@effect-aws/client-s3 1.9.5 → 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.
package/src/S3Service.ts CHANGED
@@ -303,6 +303,7 @@ import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
303
303
  import type { RequestPresigningArguments } from "@aws-sdk/types";
304
304
  import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
305
305
  import { Service } from "@effect-aws/commons";
306
+ import type { Cause } from "effect";
306
307
  import { Effect, Layer } from "effect";
307
308
  import type {
308
309
  BucketAlreadyExistsError,
@@ -436,7 +437,7 @@ interface S3Service$ {
436
437
  options?: HttpHandlerOptions,
437
438
  ): Effect.Effect<
438
439
  AbortMultipartUploadCommandOutput,
439
- SdkError | NoSuchUploadError
440
+ Cause.TimeoutException | SdkError | NoSuchUploadError
440
441
  >;
441
442
 
442
443
  /**
@@ -447,7 +448,7 @@ interface S3Service$ {
447
448
  options?: HttpHandlerOptions,
448
449
  ): Effect.Effect<
449
450
  CompleteMultipartUploadCommandOutput,
450
- SdkError | S3ServiceError
451
+ Cause.TimeoutException | SdkError
451
452
  >;
452
453
 
453
454
  /**
@@ -458,7 +459,7 @@ interface S3Service$ {
458
459
  options?: HttpHandlerOptions,
459
460
  ): Effect.Effect<
460
461
  CopyObjectCommandOutput,
461
- SdkError | ObjectNotInActiveTierError
462
+ Cause.TimeoutException | SdkError | ObjectNotInActiveTierError
462
463
  >;
463
464
 
464
465
  /**
@@ -469,7 +470,7 @@ interface S3Service$ {
469
470
  options?: HttpHandlerOptions,
470
471
  ): Effect.Effect<
471
472
  CreateBucketCommandOutput,
472
- SdkError | BucketAlreadyExistsError | BucketAlreadyOwnedByYouError
473
+ Cause.TimeoutException | SdkError | BucketAlreadyExistsError | BucketAlreadyOwnedByYouError
473
474
  >;
474
475
 
475
476
  /**
@@ -480,7 +481,7 @@ interface S3Service$ {
480
481
  options?: HttpHandlerOptions,
481
482
  ): Effect.Effect<
482
483
  CreateBucketMetadataTableConfigurationCommandOutput,
483
- SdkError | S3ServiceError
484
+ Cause.TimeoutException | SdkError | S3ServiceError
484
485
  >;
485
486
 
486
487
  /**
@@ -491,7 +492,7 @@ interface S3Service$ {
491
492
  options?: HttpHandlerOptions,
492
493
  ): Effect.Effect<
493
494
  CreateMultipartUploadCommandOutput,
494
- SdkError | S3ServiceError
495
+ Cause.TimeoutException | SdkError | S3ServiceError
495
496
  >;
496
497
 
497
498
  /**
@@ -502,7 +503,7 @@ interface S3Service$ {
502
503
  options?: HttpHandlerOptions,
503
504
  ): Effect.Effect<
504
505
  CreateSessionCommandOutput,
505
- SdkError | NoSuchBucketError
506
+ Cause.TimeoutException | SdkError | NoSuchBucketError
506
507
  >;
507
508
 
508
509
  /**
@@ -513,7 +514,7 @@ interface S3Service$ {
513
514
  options?: HttpHandlerOptions,
514
515
  ): Effect.Effect<
515
516
  DeleteBucketCommandOutput,
516
- SdkError | S3ServiceError
517
+ Cause.TimeoutException | SdkError | S3ServiceError
517
518
  >;
518
519
 
519
520
  /**
@@ -524,7 +525,7 @@ interface S3Service$ {
524
525
  options?: HttpHandlerOptions,
525
526
  ): Effect.Effect<
526
527
  DeleteBucketAnalyticsConfigurationCommandOutput,
527
- SdkError | S3ServiceError
528
+ Cause.TimeoutException | SdkError | S3ServiceError
528
529
  >;
529
530
 
530
531
  /**
@@ -535,7 +536,7 @@ interface S3Service$ {
535
536
  options?: HttpHandlerOptions,
536
537
  ): Effect.Effect<
537
538
  DeleteBucketCorsCommandOutput,
538
- SdkError | S3ServiceError
539
+ Cause.TimeoutException | SdkError | S3ServiceError
539
540
  >;
540
541
 
541
542
  /**
@@ -546,7 +547,7 @@ interface S3Service$ {
546
547
  options?: HttpHandlerOptions,
547
548
  ): Effect.Effect<
548
549
  DeleteBucketEncryptionCommandOutput,
549
- SdkError | S3ServiceError
550
+ Cause.TimeoutException | SdkError | S3ServiceError
550
551
  >;
551
552
 
552
553
  /**
@@ -557,7 +558,7 @@ interface S3Service$ {
557
558
  options?: HttpHandlerOptions,
558
559
  ): Effect.Effect<
559
560
  DeleteBucketIntelligentTieringConfigurationCommandOutput,
560
- SdkError | S3ServiceError
561
+ Cause.TimeoutException | SdkError | S3ServiceError
561
562
  >;
562
563
 
563
564
  /**
@@ -568,7 +569,7 @@ interface S3Service$ {
568
569
  options?: HttpHandlerOptions,
569
570
  ): Effect.Effect<
570
571
  DeleteBucketInventoryConfigurationCommandOutput,
571
- SdkError | S3ServiceError
572
+ Cause.TimeoutException | SdkError | S3ServiceError
572
573
  >;
573
574
 
574
575
  /**
@@ -579,7 +580,7 @@ interface S3Service$ {
579
580
  options?: HttpHandlerOptions,
580
581
  ): Effect.Effect<
581
582
  DeleteBucketLifecycleCommandOutput,
582
- SdkError | S3ServiceError
583
+ Cause.TimeoutException | SdkError | S3ServiceError
583
584
  >;
584
585
 
585
586
  /**
@@ -590,7 +591,7 @@ interface S3Service$ {
590
591
  options?: HttpHandlerOptions,
591
592
  ): Effect.Effect<
592
593
  DeleteBucketMetadataTableConfigurationCommandOutput,
593
- SdkError | S3ServiceError
594
+ Cause.TimeoutException | SdkError | S3ServiceError
594
595
  >;
595
596
 
596
597
  /**
@@ -601,7 +602,7 @@ interface S3Service$ {
601
602
  options?: HttpHandlerOptions,
602
603
  ): Effect.Effect<
603
604
  DeleteBucketMetricsConfigurationCommandOutput,
604
- SdkError | S3ServiceError
605
+ Cause.TimeoutException | SdkError | S3ServiceError
605
606
  >;
606
607
 
607
608
  /**
@@ -612,7 +613,7 @@ interface S3Service$ {
612
613
  options?: HttpHandlerOptions,
613
614
  ): Effect.Effect<
614
615
  DeleteBucketOwnershipControlsCommandOutput,
615
- SdkError | S3ServiceError
616
+ Cause.TimeoutException | SdkError | S3ServiceError
616
617
  >;
617
618
 
618
619
  /**
@@ -623,7 +624,7 @@ interface S3Service$ {
623
624
  options?: HttpHandlerOptions,
624
625
  ): Effect.Effect<
625
626
  DeleteBucketPolicyCommandOutput,
626
- SdkError | S3ServiceError
627
+ Cause.TimeoutException | SdkError | S3ServiceError
627
628
  >;
628
629
 
629
630
  /**
@@ -634,7 +635,7 @@ interface S3Service$ {
634
635
  options?: HttpHandlerOptions,
635
636
  ): Effect.Effect<
636
637
  DeleteBucketReplicationCommandOutput,
637
- SdkError | S3ServiceError
638
+ Cause.TimeoutException | SdkError | S3ServiceError
638
639
  >;
639
640
 
640
641
  /**
@@ -645,7 +646,7 @@ interface S3Service$ {
645
646
  options?: HttpHandlerOptions,
646
647
  ): Effect.Effect<
647
648
  DeleteBucketTaggingCommandOutput,
648
- SdkError | S3ServiceError
649
+ Cause.TimeoutException | SdkError | S3ServiceError
649
650
  >;
650
651
 
651
652
  /**
@@ -656,7 +657,7 @@ interface S3Service$ {
656
657
  options?: HttpHandlerOptions,
657
658
  ): Effect.Effect<
658
659
  DeleteBucketWebsiteCommandOutput,
659
- SdkError | S3ServiceError
660
+ Cause.TimeoutException | SdkError | S3ServiceError
660
661
  >;
661
662
 
662
663
  /**
@@ -667,7 +668,7 @@ interface S3Service$ {
667
668
  options?: HttpHandlerOptions,
668
669
  ): Effect.Effect<
669
670
  DeleteObjectCommandOutput,
670
- SdkError | S3ServiceError
671
+ Cause.TimeoutException | SdkError | S3ServiceError
671
672
  >;
672
673
 
673
674
  /**
@@ -678,7 +679,7 @@ interface S3Service$ {
678
679
  options?: HttpHandlerOptions,
679
680
  ): Effect.Effect<
680
681
  DeleteObjectTaggingCommandOutput,
681
- SdkError | S3ServiceError
682
+ Cause.TimeoutException | SdkError | S3ServiceError
682
683
  >;
683
684
 
684
685
  /**
@@ -689,7 +690,7 @@ interface S3Service$ {
689
690
  options?: HttpHandlerOptions,
690
691
  ): Effect.Effect<
691
692
  DeleteObjectsCommandOutput,
692
- SdkError | S3ServiceError
693
+ Cause.TimeoutException | SdkError | S3ServiceError
693
694
  >;
694
695
 
695
696
  /**
@@ -700,7 +701,7 @@ interface S3Service$ {
700
701
  options?: HttpHandlerOptions,
701
702
  ): Effect.Effect<
702
703
  DeletePublicAccessBlockCommandOutput,
703
- SdkError | S3ServiceError
704
+ Cause.TimeoutException | SdkError | S3ServiceError
704
705
  >;
705
706
 
706
707
  /**
@@ -711,7 +712,7 @@ interface S3Service$ {
711
712
  options?: HttpHandlerOptions,
712
713
  ): Effect.Effect<
713
714
  GetBucketAccelerateConfigurationCommandOutput,
714
- SdkError | S3ServiceError
715
+ Cause.TimeoutException | SdkError | S3ServiceError
715
716
  >;
716
717
 
717
718
  /**
@@ -722,7 +723,7 @@ interface S3Service$ {
722
723
  options?: HttpHandlerOptions,
723
724
  ): Effect.Effect<
724
725
  GetBucketAclCommandOutput,
725
- SdkError | S3ServiceError
726
+ Cause.TimeoutException | SdkError | S3ServiceError
726
727
  >;
727
728
 
728
729
  /**
@@ -733,7 +734,7 @@ interface S3Service$ {
733
734
  options?: HttpHandlerOptions,
734
735
  ): Effect.Effect<
735
736
  GetBucketAnalyticsConfigurationCommandOutput,
736
- SdkError | S3ServiceError
737
+ Cause.TimeoutException | SdkError | S3ServiceError
737
738
  >;
738
739
 
739
740
  /**
@@ -744,7 +745,7 @@ interface S3Service$ {
744
745
  options?: HttpHandlerOptions,
745
746
  ): Effect.Effect<
746
747
  GetBucketCorsCommandOutput,
747
- SdkError | S3ServiceError
748
+ Cause.TimeoutException | SdkError | S3ServiceError
748
749
  >;
749
750
 
750
751
  /**
@@ -755,7 +756,7 @@ interface S3Service$ {
755
756
  options?: HttpHandlerOptions,
756
757
  ): Effect.Effect<
757
758
  GetBucketEncryptionCommandOutput,
758
- SdkError | S3ServiceError
759
+ Cause.TimeoutException | SdkError | S3ServiceError
759
760
  >;
760
761
 
761
762
  /**
@@ -766,7 +767,7 @@ interface S3Service$ {
766
767
  options?: HttpHandlerOptions,
767
768
  ): Effect.Effect<
768
769
  GetBucketIntelligentTieringConfigurationCommandOutput,
769
- SdkError | S3ServiceError
770
+ Cause.TimeoutException | SdkError | S3ServiceError
770
771
  >;
771
772
 
772
773
  /**
@@ -777,7 +778,7 @@ interface S3Service$ {
777
778
  options?: HttpHandlerOptions,
778
779
  ): Effect.Effect<
779
780
  GetBucketInventoryConfigurationCommandOutput,
780
- SdkError | S3ServiceError
781
+ Cause.TimeoutException | SdkError | S3ServiceError
781
782
  >;
782
783
 
783
784
  /**
@@ -788,7 +789,7 @@ interface S3Service$ {
788
789
  options?: HttpHandlerOptions,
789
790
  ): Effect.Effect<
790
791
  GetBucketLifecycleConfigurationCommandOutput,
791
- SdkError | S3ServiceError
792
+ Cause.TimeoutException | SdkError | S3ServiceError
792
793
  >;
793
794
 
794
795
  /**
@@ -799,7 +800,7 @@ interface S3Service$ {
799
800
  options?: HttpHandlerOptions,
800
801
  ): Effect.Effect<
801
802
  GetBucketLocationCommandOutput,
802
- SdkError | S3ServiceError
803
+ Cause.TimeoutException | SdkError | S3ServiceError
803
804
  >;
804
805
 
805
806
  /**
@@ -810,7 +811,7 @@ interface S3Service$ {
810
811
  options?: HttpHandlerOptions,
811
812
  ): Effect.Effect<
812
813
  GetBucketLoggingCommandOutput,
813
- SdkError | S3ServiceError
814
+ Cause.TimeoutException | SdkError | S3ServiceError
814
815
  >;
815
816
 
816
817
  /**
@@ -821,7 +822,7 @@ interface S3Service$ {
821
822
  options?: HttpHandlerOptions,
822
823
  ): Effect.Effect<
823
824
  GetBucketMetadataTableConfigurationCommandOutput,
824
- SdkError | S3ServiceError
825
+ Cause.TimeoutException | SdkError | S3ServiceError
825
826
  >;
826
827
 
827
828
  /**
@@ -832,7 +833,7 @@ interface S3Service$ {
832
833
  options?: HttpHandlerOptions,
833
834
  ): Effect.Effect<
834
835
  GetBucketMetricsConfigurationCommandOutput,
835
- SdkError | S3ServiceError
836
+ Cause.TimeoutException | SdkError | S3ServiceError
836
837
  >;
837
838
 
838
839
  /**
@@ -843,7 +844,7 @@ interface S3Service$ {
843
844
  options?: HttpHandlerOptions,
844
845
  ): Effect.Effect<
845
846
  GetBucketNotificationConfigurationCommandOutput,
846
- SdkError | S3ServiceError
847
+ Cause.TimeoutException | SdkError | S3ServiceError
847
848
  >;
848
849
 
849
850
  /**
@@ -854,7 +855,7 @@ interface S3Service$ {
854
855
  options?: HttpHandlerOptions,
855
856
  ): Effect.Effect<
856
857
  GetBucketOwnershipControlsCommandOutput,
857
- SdkError | S3ServiceError
858
+ Cause.TimeoutException | SdkError | S3ServiceError
858
859
  >;
859
860
 
860
861
  /**
@@ -865,7 +866,7 @@ interface S3Service$ {
865
866
  options?: HttpHandlerOptions,
866
867
  ): Effect.Effect<
867
868
  GetBucketPolicyCommandOutput,
868
- SdkError | S3ServiceError
869
+ Cause.TimeoutException | SdkError | S3ServiceError
869
870
  >;
870
871
 
871
872
  /**
@@ -876,7 +877,7 @@ interface S3Service$ {
876
877
  options?: HttpHandlerOptions,
877
878
  ): Effect.Effect<
878
879
  GetBucketPolicyStatusCommandOutput,
879
- SdkError | S3ServiceError
880
+ Cause.TimeoutException | SdkError | S3ServiceError
880
881
  >;
881
882
 
882
883
  /**
@@ -887,7 +888,7 @@ interface S3Service$ {
887
888
  options?: HttpHandlerOptions,
888
889
  ): Effect.Effect<
889
890
  GetBucketReplicationCommandOutput,
890
- SdkError | S3ServiceError
891
+ Cause.TimeoutException | SdkError | S3ServiceError
891
892
  >;
892
893
 
893
894
  /**
@@ -898,7 +899,7 @@ interface S3Service$ {
898
899
  options?: HttpHandlerOptions,
899
900
  ): Effect.Effect<
900
901
  GetBucketRequestPaymentCommandOutput,
901
- SdkError | S3ServiceError
902
+ Cause.TimeoutException | SdkError | S3ServiceError
902
903
  >;
903
904
 
904
905
  /**
@@ -909,7 +910,7 @@ interface S3Service$ {
909
910
  options?: HttpHandlerOptions,
910
911
  ): Effect.Effect<
911
912
  GetBucketTaggingCommandOutput,
912
- SdkError | S3ServiceError
913
+ Cause.TimeoutException | SdkError | S3ServiceError
913
914
  >;
914
915
 
915
916
  /**
@@ -920,7 +921,7 @@ interface S3Service$ {
920
921
  options?: HttpHandlerOptions,
921
922
  ): Effect.Effect<
922
923
  GetBucketVersioningCommandOutput,
923
- SdkError | S3ServiceError
924
+ Cause.TimeoutException | SdkError | S3ServiceError
924
925
  >;
925
926
 
926
927
  /**
@@ -931,7 +932,7 @@ interface S3Service$ {
931
932
  options?: HttpHandlerOptions,
932
933
  ): Effect.Effect<
933
934
  GetBucketWebsiteCommandOutput,
934
- SdkError | S3ServiceError
935
+ Cause.TimeoutException | SdkError | S3ServiceError
935
936
  >;
936
937
 
937
938
  /**
@@ -942,7 +943,7 @@ interface S3Service$ {
942
943
  options?: { readonly presigned?: false } & HttpHandlerOptions,
943
944
  ): Effect.Effect<
944
945
  GetObjectCommandOutput,
945
- SdkError | InvalidObjectStateError | NoSuchKeyError
946
+ Cause.TimeoutException | SdkError | InvalidObjectStateError | NoSuchKeyError
946
947
  >;
947
948
  getObject(
948
949
  args: GetObjectCommandInput,
@@ -957,7 +958,7 @@ interface S3Service$ {
957
958
  options?: HttpHandlerOptions,
958
959
  ): Effect.Effect<
959
960
  GetObjectAclCommandOutput,
960
- SdkError | NoSuchKeyError
961
+ Cause.TimeoutException | SdkError | NoSuchKeyError
961
962
  >;
962
963
 
963
964
  /**
@@ -968,7 +969,7 @@ interface S3Service$ {
968
969
  options?: HttpHandlerOptions,
969
970
  ): Effect.Effect<
970
971
  GetObjectAttributesCommandOutput,
971
- SdkError | NoSuchKeyError
972
+ Cause.TimeoutException | SdkError | NoSuchKeyError
972
973
  >;
973
974
 
974
975
  /**
@@ -979,7 +980,7 @@ interface S3Service$ {
979
980
  options?: HttpHandlerOptions,
980
981
  ): Effect.Effect<
981
982
  GetObjectLegalHoldCommandOutput,
982
- SdkError | S3ServiceError
983
+ Cause.TimeoutException | SdkError | S3ServiceError
983
984
  >;
984
985
 
985
986
  /**
@@ -990,7 +991,7 @@ interface S3Service$ {
990
991
  options?: HttpHandlerOptions,
991
992
  ): Effect.Effect<
992
993
  GetObjectLockConfigurationCommandOutput,
993
- SdkError | S3ServiceError
994
+ Cause.TimeoutException | SdkError | S3ServiceError
994
995
  >;
995
996
 
996
997
  /**
@@ -1001,7 +1002,7 @@ interface S3Service$ {
1001
1002
  options?: HttpHandlerOptions,
1002
1003
  ): Effect.Effect<
1003
1004
  GetObjectRetentionCommandOutput,
1004
- SdkError | S3ServiceError
1005
+ Cause.TimeoutException | SdkError | S3ServiceError
1005
1006
  >;
1006
1007
 
1007
1008
  /**
@@ -1012,7 +1013,7 @@ interface S3Service$ {
1012
1013
  options?: HttpHandlerOptions,
1013
1014
  ): Effect.Effect<
1014
1015
  GetObjectTaggingCommandOutput,
1015
- SdkError | S3ServiceError
1016
+ Cause.TimeoutException | SdkError | S3ServiceError
1016
1017
  >;
1017
1018
 
1018
1019
  /**
@@ -1023,7 +1024,7 @@ interface S3Service$ {
1023
1024
  options?: HttpHandlerOptions,
1024
1025
  ): Effect.Effect<
1025
1026
  GetObjectTorrentCommandOutput,
1026
- SdkError | S3ServiceError
1027
+ Cause.TimeoutException | SdkError | S3ServiceError
1027
1028
  >;
1028
1029
 
1029
1030
  /**
@@ -1034,7 +1035,7 @@ interface S3Service$ {
1034
1035
  options?: HttpHandlerOptions,
1035
1036
  ): Effect.Effect<
1036
1037
  GetPublicAccessBlockCommandOutput,
1037
- SdkError | S3ServiceError
1038
+ Cause.TimeoutException | SdkError | S3ServiceError
1038
1039
  >;
1039
1040
 
1040
1041
  /**
@@ -1045,7 +1046,7 @@ interface S3Service$ {
1045
1046
  options?: HttpHandlerOptions,
1046
1047
  ): Effect.Effect<
1047
1048
  HeadBucketCommandOutput,
1048
- SdkError | NotFoundError
1049
+ Cause.TimeoutException | SdkError | NotFoundError
1049
1050
  >;
1050
1051
 
1051
1052
  /**
@@ -1056,7 +1057,7 @@ interface S3Service$ {
1056
1057
  options?: HttpHandlerOptions,
1057
1058
  ): Effect.Effect<
1058
1059
  HeadObjectCommandOutput,
1059
- SdkError | NotFoundError
1060
+ Cause.TimeoutException | SdkError | NotFoundError
1060
1061
  >;
1061
1062
 
1062
1063
  /**
@@ -1067,7 +1068,7 @@ interface S3Service$ {
1067
1068
  options?: HttpHandlerOptions,
1068
1069
  ): Effect.Effect<
1069
1070
  ListBucketAnalyticsConfigurationsCommandOutput,
1070
- SdkError | S3ServiceError
1071
+ Cause.TimeoutException | SdkError | S3ServiceError
1071
1072
  >;
1072
1073
 
1073
1074
  /**
@@ -1078,7 +1079,7 @@ interface S3Service$ {
1078
1079
  options?: HttpHandlerOptions,
1079
1080
  ): Effect.Effect<
1080
1081
  ListBucketIntelligentTieringConfigurationsCommandOutput,
1081
- SdkError | S3ServiceError
1082
+ Cause.TimeoutException | SdkError | S3ServiceError
1082
1083
  >;
1083
1084
 
1084
1085
  /**
@@ -1089,7 +1090,7 @@ interface S3Service$ {
1089
1090
  options?: HttpHandlerOptions,
1090
1091
  ): Effect.Effect<
1091
1092
  ListBucketInventoryConfigurationsCommandOutput,
1092
- SdkError | S3ServiceError
1093
+ Cause.TimeoutException | SdkError | S3ServiceError
1093
1094
  >;
1094
1095
 
1095
1096
  /**
@@ -1100,7 +1101,7 @@ interface S3Service$ {
1100
1101
  options?: HttpHandlerOptions,
1101
1102
  ): Effect.Effect<
1102
1103
  ListBucketMetricsConfigurationsCommandOutput,
1103
- SdkError | S3ServiceError
1104
+ Cause.TimeoutException | SdkError | S3ServiceError
1104
1105
  >;
1105
1106
 
1106
1107
  /**
@@ -1111,7 +1112,7 @@ interface S3Service$ {
1111
1112
  options?: HttpHandlerOptions,
1112
1113
  ): Effect.Effect<
1113
1114
  ListBucketsCommandOutput,
1114
- SdkError | S3ServiceError
1115
+ Cause.TimeoutException | SdkError | S3ServiceError
1115
1116
  >;
1116
1117
 
1117
1118
  /**
@@ -1122,7 +1123,7 @@ interface S3Service$ {
1122
1123
  options?: HttpHandlerOptions,
1123
1124
  ): Effect.Effect<
1124
1125
  ListDirectoryBucketsCommandOutput,
1125
- SdkError | S3ServiceError
1126
+ Cause.TimeoutException | SdkError | S3ServiceError
1126
1127
  >;
1127
1128
 
1128
1129
  /**
@@ -1133,7 +1134,7 @@ interface S3Service$ {
1133
1134
  options?: HttpHandlerOptions,
1134
1135
  ): Effect.Effect<
1135
1136
  ListMultipartUploadsCommandOutput,
1136
- SdkError | S3ServiceError
1137
+ Cause.TimeoutException | SdkError | S3ServiceError
1137
1138
  >;
1138
1139
 
1139
1140
  /**
@@ -1144,7 +1145,7 @@ interface S3Service$ {
1144
1145
  options?: HttpHandlerOptions,
1145
1146
  ): Effect.Effect<
1146
1147
  ListObjectVersionsCommandOutput,
1147
- SdkError | S3ServiceError
1148
+ Cause.TimeoutException | SdkError | S3ServiceError
1148
1149
  >;
1149
1150
 
1150
1151
  /**
@@ -1155,7 +1156,7 @@ interface S3Service$ {
1155
1156
  options?: HttpHandlerOptions,
1156
1157
  ): Effect.Effect<
1157
1158
  ListObjectsCommandOutput,
1158
- SdkError | NoSuchBucketError
1159
+ Cause.TimeoutException | SdkError | NoSuchBucketError
1159
1160
  >;
1160
1161
 
1161
1162
  /**
@@ -1166,7 +1167,7 @@ interface S3Service$ {
1166
1167
  options?: HttpHandlerOptions,
1167
1168
  ): Effect.Effect<
1168
1169
  ListObjectsV2CommandOutput,
1169
- SdkError | NoSuchBucketError
1170
+ Cause.TimeoutException | SdkError | NoSuchBucketError
1170
1171
  >;
1171
1172
 
1172
1173
  /**
@@ -1177,7 +1178,7 @@ interface S3Service$ {
1177
1178
  options?: HttpHandlerOptions,
1178
1179
  ): Effect.Effect<
1179
1180
  ListPartsCommandOutput,
1180
- SdkError | S3ServiceError
1181
+ Cause.TimeoutException | SdkError | S3ServiceError
1181
1182
  >;
1182
1183
 
1183
1184
  /**
@@ -1188,7 +1189,7 @@ interface S3Service$ {
1188
1189
  options?: HttpHandlerOptions,
1189
1190
  ): Effect.Effect<
1190
1191
  PutBucketAccelerateConfigurationCommandOutput,
1191
- SdkError | S3ServiceError
1192
+ Cause.TimeoutException | SdkError | S3ServiceError
1192
1193
  >;
1193
1194
 
1194
1195
  /**
@@ -1199,7 +1200,7 @@ interface S3Service$ {
1199
1200
  options?: HttpHandlerOptions,
1200
1201
  ): Effect.Effect<
1201
1202
  PutBucketAclCommandOutput,
1202
- SdkError | S3ServiceError
1203
+ Cause.TimeoutException | SdkError | S3ServiceError
1203
1204
  >;
1204
1205
 
1205
1206
  /**
@@ -1210,7 +1211,7 @@ interface S3Service$ {
1210
1211
  options?: HttpHandlerOptions,
1211
1212
  ): Effect.Effect<
1212
1213
  PutBucketAnalyticsConfigurationCommandOutput,
1213
- SdkError | S3ServiceError
1214
+ Cause.TimeoutException | SdkError | S3ServiceError
1214
1215
  >;
1215
1216
 
1216
1217
  /**
@@ -1221,7 +1222,7 @@ interface S3Service$ {
1221
1222
  options?: HttpHandlerOptions,
1222
1223
  ): Effect.Effect<
1223
1224
  PutBucketCorsCommandOutput,
1224
- SdkError | S3ServiceError
1225
+ Cause.TimeoutException | SdkError | S3ServiceError
1225
1226
  >;
1226
1227
 
1227
1228
  /**
@@ -1232,7 +1233,7 @@ interface S3Service$ {
1232
1233
  options?: HttpHandlerOptions,
1233
1234
  ): Effect.Effect<
1234
1235
  PutBucketEncryptionCommandOutput,
1235
- SdkError | S3ServiceError
1236
+ Cause.TimeoutException | SdkError | S3ServiceError
1236
1237
  >;
1237
1238
 
1238
1239
  /**
@@ -1243,7 +1244,7 @@ interface S3Service$ {
1243
1244
  options?: HttpHandlerOptions,
1244
1245
  ): Effect.Effect<
1245
1246
  PutBucketIntelligentTieringConfigurationCommandOutput,
1246
- SdkError | S3ServiceError
1247
+ Cause.TimeoutException | SdkError | S3ServiceError
1247
1248
  >;
1248
1249
 
1249
1250
  /**
@@ -1254,7 +1255,7 @@ interface S3Service$ {
1254
1255
  options?: HttpHandlerOptions,
1255
1256
  ): Effect.Effect<
1256
1257
  PutBucketInventoryConfigurationCommandOutput,
1257
- SdkError | S3ServiceError
1258
+ Cause.TimeoutException | SdkError | S3ServiceError
1258
1259
  >;
1259
1260
 
1260
1261
  /**
@@ -1265,7 +1266,7 @@ interface S3Service$ {
1265
1266
  options?: HttpHandlerOptions,
1266
1267
  ): Effect.Effect<
1267
1268
  PutBucketLifecycleConfigurationCommandOutput,
1268
- SdkError | S3ServiceError
1269
+ Cause.TimeoutException | SdkError | S3ServiceError
1269
1270
  >;
1270
1271
 
1271
1272
  /**
@@ -1276,7 +1277,7 @@ interface S3Service$ {
1276
1277
  options?: HttpHandlerOptions,
1277
1278
  ): Effect.Effect<
1278
1279
  PutBucketLoggingCommandOutput,
1279
- SdkError | S3ServiceError
1280
+ Cause.TimeoutException | SdkError | S3ServiceError
1280
1281
  >;
1281
1282
 
1282
1283
  /**
@@ -1287,7 +1288,7 @@ interface S3Service$ {
1287
1288
  options?: HttpHandlerOptions,
1288
1289
  ): Effect.Effect<
1289
1290
  PutBucketMetricsConfigurationCommandOutput,
1290
- SdkError | S3ServiceError
1291
+ Cause.TimeoutException | SdkError | S3ServiceError
1291
1292
  >;
1292
1293
 
1293
1294
  /**
@@ -1298,7 +1299,7 @@ interface S3Service$ {
1298
1299
  options?: HttpHandlerOptions,
1299
1300
  ): Effect.Effect<
1300
1301
  PutBucketNotificationConfigurationCommandOutput,
1301
- SdkError | S3ServiceError
1302
+ Cause.TimeoutException | SdkError | S3ServiceError
1302
1303
  >;
1303
1304
 
1304
1305
  /**
@@ -1309,7 +1310,7 @@ interface S3Service$ {
1309
1310
  options?: HttpHandlerOptions,
1310
1311
  ): Effect.Effect<
1311
1312
  PutBucketOwnershipControlsCommandOutput,
1312
- SdkError | S3ServiceError
1313
+ Cause.TimeoutException | SdkError | S3ServiceError
1313
1314
  >;
1314
1315
 
1315
1316
  /**
@@ -1320,7 +1321,7 @@ interface S3Service$ {
1320
1321
  options?: HttpHandlerOptions,
1321
1322
  ): Effect.Effect<
1322
1323
  PutBucketPolicyCommandOutput,
1323
- SdkError | S3ServiceError
1324
+ Cause.TimeoutException | SdkError | S3ServiceError
1324
1325
  >;
1325
1326
 
1326
1327
  /**
@@ -1331,7 +1332,7 @@ interface S3Service$ {
1331
1332
  options?: HttpHandlerOptions,
1332
1333
  ): Effect.Effect<
1333
1334
  PutBucketReplicationCommandOutput,
1334
- SdkError | S3ServiceError
1335
+ Cause.TimeoutException | SdkError | S3ServiceError
1335
1336
  >;
1336
1337
 
1337
1338
  /**
@@ -1342,7 +1343,7 @@ interface S3Service$ {
1342
1343
  options?: HttpHandlerOptions,
1343
1344
  ): Effect.Effect<
1344
1345
  PutBucketRequestPaymentCommandOutput,
1345
- SdkError | S3ServiceError
1346
+ Cause.TimeoutException | SdkError | S3ServiceError
1346
1347
  >;
1347
1348
 
1348
1349
  /**
@@ -1353,7 +1354,7 @@ interface S3Service$ {
1353
1354
  options?: HttpHandlerOptions,
1354
1355
  ): Effect.Effect<
1355
1356
  PutBucketTaggingCommandOutput,
1356
- SdkError | S3ServiceError
1357
+ Cause.TimeoutException | SdkError | S3ServiceError
1357
1358
  >;
1358
1359
 
1359
1360
  /**
@@ -1364,7 +1365,7 @@ interface S3Service$ {
1364
1365
  options?: HttpHandlerOptions,
1365
1366
  ): Effect.Effect<
1366
1367
  PutBucketVersioningCommandOutput,
1367
- SdkError | S3ServiceError
1368
+ Cause.TimeoutException | SdkError | S3ServiceError
1368
1369
  >;
1369
1370
 
1370
1371
  /**
@@ -1375,7 +1376,7 @@ interface S3Service$ {
1375
1376
  options?: HttpHandlerOptions,
1376
1377
  ): Effect.Effect<
1377
1378
  PutBucketWebsiteCommandOutput,
1378
- SdkError | S3ServiceError
1379
+ Cause.TimeoutException | SdkError | S3ServiceError
1379
1380
  >;
1380
1381
 
1381
1382
  /**
@@ -1386,7 +1387,12 @@ interface S3Service$ {
1386
1387
  options?: { readonly presigned?: false } & HttpHandlerOptions,
1387
1388
  ): Effect.Effect<
1388
1389
  PutObjectCommandOutput,
1389
- SdkError | EncryptionTypeMismatchError | InvalidRequestError | InvalidWriteOffsetError | TooManyPartsError
1390
+ | Cause.TimeoutException
1391
+ | SdkError
1392
+ | EncryptionTypeMismatchError
1393
+ | InvalidRequestError
1394
+ | InvalidWriteOffsetError
1395
+ | TooManyPartsError
1390
1396
  >;
1391
1397
  putObject(
1392
1398
  args: PutObjectCommandInput,
@@ -1401,7 +1407,7 @@ interface S3Service$ {
1401
1407
  options?: HttpHandlerOptions,
1402
1408
  ): Effect.Effect<
1403
1409
  PutObjectAclCommandOutput,
1404
- SdkError | NoSuchKeyError
1410
+ Cause.TimeoutException | SdkError | NoSuchKeyError
1405
1411
  >;
1406
1412
 
1407
1413
  /**
@@ -1412,7 +1418,7 @@ interface S3Service$ {
1412
1418
  options?: HttpHandlerOptions,
1413
1419
  ): Effect.Effect<
1414
1420
  PutObjectLegalHoldCommandOutput,
1415
- SdkError | S3ServiceError
1421
+ Cause.TimeoutException | SdkError | S3ServiceError
1416
1422
  >;
1417
1423
 
1418
1424
  /**
@@ -1423,7 +1429,7 @@ interface S3Service$ {
1423
1429
  options?: HttpHandlerOptions,
1424
1430
  ): Effect.Effect<
1425
1431
  PutObjectLockConfigurationCommandOutput,
1426
- SdkError | S3ServiceError
1432
+ Cause.TimeoutException | SdkError | S3ServiceError
1427
1433
  >;
1428
1434
 
1429
1435
  /**
@@ -1434,7 +1440,7 @@ interface S3Service$ {
1434
1440
  options?: HttpHandlerOptions,
1435
1441
  ): Effect.Effect<
1436
1442
  PutObjectRetentionCommandOutput,
1437
- SdkError | S3ServiceError
1443
+ Cause.TimeoutException | SdkError | S3ServiceError
1438
1444
  >;
1439
1445
 
1440
1446
  /**
@@ -1445,7 +1451,7 @@ interface S3Service$ {
1445
1451
  options?: HttpHandlerOptions,
1446
1452
  ): Effect.Effect<
1447
1453
  PutObjectTaggingCommandOutput,
1448
- SdkError | S3ServiceError
1454
+ Cause.TimeoutException | SdkError | S3ServiceError
1449
1455
  >;
1450
1456
 
1451
1457
  /**
@@ -1456,7 +1462,7 @@ interface S3Service$ {
1456
1462
  options?: HttpHandlerOptions,
1457
1463
  ): Effect.Effect<
1458
1464
  PutPublicAccessBlockCommandOutput,
1459
- SdkError | S3ServiceError
1465
+ Cause.TimeoutException | SdkError | S3ServiceError
1460
1466
  >;
1461
1467
 
1462
1468
  /**
@@ -1467,7 +1473,7 @@ interface S3Service$ {
1467
1473
  options?: HttpHandlerOptions,
1468
1474
  ): Effect.Effect<
1469
1475
  RestoreObjectCommandOutput,
1470
- SdkError | ObjectAlreadyInActiveTierError
1476
+ Cause.TimeoutException | SdkError | ObjectAlreadyInActiveTierError
1471
1477
  >;
1472
1478
 
1473
1479
  /**
@@ -1478,7 +1484,7 @@ interface S3Service$ {
1478
1484
  options?: HttpHandlerOptions,
1479
1485
  ): Effect.Effect<
1480
1486
  SelectObjectContentCommandOutput,
1481
- SdkError | S3ServiceError
1487
+ Cause.TimeoutException | SdkError | S3ServiceError
1482
1488
  >;
1483
1489
 
1484
1490
  /**
@@ -1489,7 +1495,7 @@ interface S3Service$ {
1489
1495
  options?: HttpHandlerOptions,
1490
1496
  ): Effect.Effect<
1491
1497
  UploadPartCommandOutput,
1492
- SdkError | S3ServiceError
1498
+ Cause.TimeoutException | SdkError | S3ServiceError
1493
1499
  >;
1494
1500
 
1495
1501
  /**
@@ -1500,7 +1506,7 @@ interface S3Service$ {
1500
1506
  options?: HttpHandlerOptions,
1501
1507
  ): Effect.Effect<
1502
1508
  UploadPartCopyCommandOutput,
1503
- SdkError | S3ServiceError
1509
+ Cause.TimeoutException | SdkError | S3ServiceError
1504
1510
  >;
1505
1511
 
1506
1512
  /**
@@ -1511,7 +1517,7 @@ interface S3Service$ {
1511
1517
  options?: HttpHandlerOptions,
1512
1518
  ): Effect.Effect<
1513
1519
  WriteGetObjectResponseCommandOutput,
1514
- SdkError | S3ServiceError
1520
+ Cause.TimeoutException | SdkError | S3ServiceError
1515
1521
  >;
1516
1522
  }
1517
1523
 
@@ -1522,7 +1528,7 @@ interface S3Service$ {
1522
1528
  export const makeS3Service = Effect.gen(function*() {
1523
1529
  const client = yield* Instance.S3ClientInstance;
1524
1530
 
1525
- return Service.fromCommandsAndServiceFn<S3Service$>(commands, (CommandCtor) =>
1531
+ return yield* Service.fromCommandsAndServiceFn<S3Service$>(commands, (CommandCtor) =>
1526
1532
  (
1527
1533
  args: any,
1528
1534
  options?: