@effect-aws/client-s3 1.10.7 → 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.
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/Errors.d.ts +10 -6
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/S3ClientInstance.d.ts +2 -2
- package/dist/dts/S3ClientInstance.d.ts.map +1 -1
- package/dist/dts/S3Service.d.ts +114 -128
- package/dist/dts/S3Service.d.ts.map +1 -1
- package/dist/dts/S3ServiceConfig.d.ts.map +1 -1
- package/dist/esm/Errors.js +3 -1
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/S3ClientInstance.js +3 -3
- package/dist/esm/S3ClientInstance.js.map +1 -1
- package/dist/esm/S3Service.js +4 -3
- package/dist/esm/S3Service.js.map +1 -1
- package/dist/esm/S3ServiceConfig.js +5 -6
- package/dist/esm/S3ServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/Errors.ts +8 -4
- package/src/S3ClientInstance.ts +4 -4
- package/src/S3Service.ts +125 -139
- package/src/S3ServiceConfig.ts +6 -7
- package/dist/cjs/Errors.d.ts +0 -26
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -22
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/S3ClientInstance.d.ts +0 -24
- package/dist/cjs/S3ClientInstance.d.ts.map +0 -1
- package/dist/cjs/S3ClientInstance.js +0 -50
- package/dist/cjs/S3ClientInstance.js.map +0 -1
- package/dist/cjs/S3Service.d.ts +0 -497
- package/dist/cjs/S3Service.d.ts.map +0 -1
- package/dist/cjs/S3Service.js +0 -174
- package/dist/cjs/S3Service.js.map +0 -1
- package/dist/cjs/S3ServiceConfig.d.ts +0 -25
- package/dist/cjs/S3ServiceConfig.d.ts.map +0 -1
- package/dist/cjs/S3ServiceConfig.js +0 -35
- package/dist/cjs/S3ServiceConfig.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/src/S3Service.ts
CHANGED
|
@@ -313,6 +313,9 @@ import {
|
|
|
313
313
|
UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
314
314
|
type UpdateBucketMetadataJournalTableConfigurationCommandInput,
|
|
315
315
|
type UpdateBucketMetadataJournalTableConfigurationCommandOutput,
|
|
316
|
+
UpdateObjectEncryptionCommand,
|
|
317
|
+
type UpdateObjectEncryptionCommandInput,
|
|
318
|
+
type UpdateObjectEncryptionCommandOutput,
|
|
316
319
|
UploadPartCommand,
|
|
317
320
|
type UploadPartCommandInput,
|
|
318
321
|
type UploadPartCommandOutput,
|
|
@@ -328,8 +331,9 @@ import type { RequestPresigningArguments } from "@aws-sdk/types";
|
|
|
328
331
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
329
332
|
import { Service } from "@effect-aws/commons";
|
|
330
333
|
import type { Cause } from "effect";
|
|
331
|
-
import { Effect, Layer } from "effect";
|
|
334
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
332
335
|
import type {
|
|
336
|
+
AccessDeniedError,
|
|
333
337
|
BucketAlreadyExistsError,
|
|
334
338
|
BucketAlreadyOwnedByYouError,
|
|
335
339
|
EncryptionTypeMismatchError,
|
|
@@ -455,6 +459,7 @@ const commands = {
|
|
|
455
459
|
SelectObjectContentCommand,
|
|
456
460
|
UpdateBucketMetadataInventoryTableConfigurationCommand,
|
|
457
461
|
UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
462
|
+
UpdateObjectEncryptionCommand,
|
|
458
463
|
UploadPartCommand,
|
|
459
464
|
UploadPartCopyCommand,
|
|
460
465
|
WriteGetObjectResponseCommand,
|
|
@@ -471,7 +476,7 @@ interface S3Service$ {
|
|
|
471
476
|
options?: HttpHandlerOptions,
|
|
472
477
|
): Effect.Effect<
|
|
473
478
|
AbortMultipartUploadCommandOutput,
|
|
474
|
-
Cause.
|
|
479
|
+
Cause.TimeoutError | SdkError | NoSuchUploadError
|
|
475
480
|
>;
|
|
476
481
|
|
|
477
482
|
/**
|
|
@@ -482,7 +487,7 @@ interface S3Service$ {
|
|
|
482
487
|
options?: HttpHandlerOptions,
|
|
483
488
|
): Effect.Effect<
|
|
484
489
|
CompleteMultipartUploadCommandOutput,
|
|
485
|
-
Cause.
|
|
490
|
+
Cause.TimeoutError | SdkError
|
|
486
491
|
>;
|
|
487
492
|
|
|
488
493
|
/**
|
|
@@ -493,7 +498,7 @@ interface S3Service$ {
|
|
|
493
498
|
options?: HttpHandlerOptions,
|
|
494
499
|
): Effect.Effect<
|
|
495
500
|
CopyObjectCommandOutput,
|
|
496
|
-
Cause.
|
|
501
|
+
Cause.TimeoutError | SdkError | ObjectNotInActiveTierError
|
|
497
502
|
>;
|
|
498
503
|
|
|
499
504
|
/**
|
|
@@ -504,7 +509,7 @@ interface S3Service$ {
|
|
|
504
509
|
options?: HttpHandlerOptions,
|
|
505
510
|
): Effect.Effect<
|
|
506
511
|
CreateBucketCommandOutput,
|
|
507
|
-
Cause.
|
|
512
|
+
Cause.TimeoutError | SdkError | BucketAlreadyExistsError | BucketAlreadyOwnedByYouError
|
|
508
513
|
>;
|
|
509
514
|
|
|
510
515
|
/**
|
|
@@ -515,7 +520,7 @@ interface S3Service$ {
|
|
|
515
520
|
options?: HttpHandlerOptions,
|
|
516
521
|
): Effect.Effect<
|
|
517
522
|
CreateBucketMetadataConfigurationCommandOutput,
|
|
518
|
-
Cause.
|
|
523
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
519
524
|
>;
|
|
520
525
|
|
|
521
526
|
/**
|
|
@@ -526,7 +531,7 @@ interface S3Service$ {
|
|
|
526
531
|
options?: HttpHandlerOptions,
|
|
527
532
|
): Effect.Effect<
|
|
528
533
|
CreateBucketMetadataTableConfigurationCommandOutput,
|
|
529
|
-
Cause.
|
|
534
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
530
535
|
>;
|
|
531
536
|
|
|
532
537
|
/**
|
|
@@ -537,7 +542,7 @@ interface S3Service$ {
|
|
|
537
542
|
options?: HttpHandlerOptions,
|
|
538
543
|
): Effect.Effect<
|
|
539
544
|
CreateMultipartUploadCommandOutput,
|
|
540
|
-
Cause.
|
|
545
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
541
546
|
>;
|
|
542
547
|
|
|
543
548
|
/**
|
|
@@ -548,7 +553,7 @@ interface S3Service$ {
|
|
|
548
553
|
options?: HttpHandlerOptions,
|
|
549
554
|
): Effect.Effect<
|
|
550
555
|
CreateSessionCommandOutput,
|
|
551
|
-
Cause.
|
|
556
|
+
Cause.TimeoutError | SdkError | NoSuchBucketError
|
|
552
557
|
>;
|
|
553
558
|
|
|
554
559
|
/**
|
|
@@ -559,7 +564,7 @@ interface S3Service$ {
|
|
|
559
564
|
options?: HttpHandlerOptions,
|
|
560
565
|
): Effect.Effect<
|
|
561
566
|
DeleteBucketCommandOutput,
|
|
562
|
-
Cause.
|
|
567
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
563
568
|
>;
|
|
564
569
|
|
|
565
570
|
/**
|
|
@@ -570,7 +575,7 @@ interface S3Service$ {
|
|
|
570
575
|
options?: HttpHandlerOptions,
|
|
571
576
|
): Effect.Effect<
|
|
572
577
|
DeleteBucketAnalyticsConfigurationCommandOutput,
|
|
573
|
-
Cause.
|
|
578
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
574
579
|
>;
|
|
575
580
|
|
|
576
581
|
/**
|
|
@@ -581,7 +586,7 @@ interface S3Service$ {
|
|
|
581
586
|
options?: HttpHandlerOptions,
|
|
582
587
|
): Effect.Effect<
|
|
583
588
|
DeleteBucketCorsCommandOutput,
|
|
584
|
-
Cause.
|
|
589
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
585
590
|
>;
|
|
586
591
|
|
|
587
592
|
/**
|
|
@@ -592,7 +597,7 @@ interface S3Service$ {
|
|
|
592
597
|
options?: HttpHandlerOptions,
|
|
593
598
|
): Effect.Effect<
|
|
594
599
|
DeleteBucketEncryptionCommandOutput,
|
|
595
|
-
Cause.
|
|
600
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
596
601
|
>;
|
|
597
602
|
|
|
598
603
|
/**
|
|
@@ -603,7 +608,7 @@ interface S3Service$ {
|
|
|
603
608
|
options?: HttpHandlerOptions,
|
|
604
609
|
): Effect.Effect<
|
|
605
610
|
DeleteBucketIntelligentTieringConfigurationCommandOutput,
|
|
606
|
-
Cause.
|
|
611
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
607
612
|
>;
|
|
608
613
|
|
|
609
614
|
/**
|
|
@@ -614,7 +619,7 @@ interface S3Service$ {
|
|
|
614
619
|
options?: HttpHandlerOptions,
|
|
615
620
|
): Effect.Effect<
|
|
616
621
|
DeleteBucketInventoryConfigurationCommandOutput,
|
|
617
|
-
Cause.
|
|
622
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
618
623
|
>;
|
|
619
624
|
|
|
620
625
|
/**
|
|
@@ -625,7 +630,7 @@ interface S3Service$ {
|
|
|
625
630
|
options?: HttpHandlerOptions,
|
|
626
631
|
): Effect.Effect<
|
|
627
632
|
DeleteBucketLifecycleCommandOutput,
|
|
628
|
-
Cause.
|
|
633
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
629
634
|
>;
|
|
630
635
|
|
|
631
636
|
/**
|
|
@@ -636,7 +641,7 @@ interface S3Service$ {
|
|
|
636
641
|
options?: HttpHandlerOptions,
|
|
637
642
|
): Effect.Effect<
|
|
638
643
|
DeleteBucketMetadataConfigurationCommandOutput,
|
|
639
|
-
Cause.
|
|
644
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
640
645
|
>;
|
|
641
646
|
|
|
642
647
|
/**
|
|
@@ -647,7 +652,7 @@ interface S3Service$ {
|
|
|
647
652
|
options?: HttpHandlerOptions,
|
|
648
653
|
): Effect.Effect<
|
|
649
654
|
DeleteBucketMetadataTableConfigurationCommandOutput,
|
|
650
|
-
Cause.
|
|
655
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
651
656
|
>;
|
|
652
657
|
|
|
653
658
|
/**
|
|
@@ -658,7 +663,7 @@ interface S3Service$ {
|
|
|
658
663
|
options?: HttpHandlerOptions,
|
|
659
664
|
): Effect.Effect<
|
|
660
665
|
DeleteBucketMetricsConfigurationCommandOutput,
|
|
661
|
-
Cause.
|
|
666
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
662
667
|
>;
|
|
663
668
|
|
|
664
669
|
/**
|
|
@@ -669,7 +674,7 @@ interface S3Service$ {
|
|
|
669
674
|
options?: HttpHandlerOptions,
|
|
670
675
|
): Effect.Effect<
|
|
671
676
|
DeleteBucketOwnershipControlsCommandOutput,
|
|
672
|
-
Cause.
|
|
677
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
673
678
|
>;
|
|
674
679
|
|
|
675
680
|
/**
|
|
@@ -680,7 +685,7 @@ interface S3Service$ {
|
|
|
680
685
|
options?: HttpHandlerOptions,
|
|
681
686
|
): Effect.Effect<
|
|
682
687
|
DeleteBucketPolicyCommandOutput,
|
|
683
|
-
Cause.
|
|
688
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
684
689
|
>;
|
|
685
690
|
|
|
686
691
|
/**
|
|
@@ -691,7 +696,7 @@ interface S3Service$ {
|
|
|
691
696
|
options?: HttpHandlerOptions,
|
|
692
697
|
): Effect.Effect<
|
|
693
698
|
DeleteBucketReplicationCommandOutput,
|
|
694
|
-
Cause.
|
|
699
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
695
700
|
>;
|
|
696
701
|
|
|
697
702
|
/**
|
|
@@ -702,7 +707,7 @@ interface S3Service$ {
|
|
|
702
707
|
options?: HttpHandlerOptions,
|
|
703
708
|
): Effect.Effect<
|
|
704
709
|
DeleteBucketTaggingCommandOutput,
|
|
705
|
-
Cause.
|
|
710
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
706
711
|
>;
|
|
707
712
|
|
|
708
713
|
/**
|
|
@@ -713,7 +718,7 @@ interface S3Service$ {
|
|
|
713
718
|
options?: HttpHandlerOptions,
|
|
714
719
|
): Effect.Effect<
|
|
715
720
|
DeleteBucketWebsiteCommandOutput,
|
|
716
|
-
Cause.
|
|
721
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
717
722
|
>;
|
|
718
723
|
|
|
719
724
|
/**
|
|
@@ -724,7 +729,7 @@ interface S3Service$ {
|
|
|
724
729
|
options?: HttpHandlerOptions,
|
|
725
730
|
): Effect.Effect<
|
|
726
731
|
DeleteObjectCommandOutput,
|
|
727
|
-
Cause.
|
|
732
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
728
733
|
>;
|
|
729
734
|
|
|
730
735
|
/**
|
|
@@ -735,7 +740,7 @@ interface S3Service$ {
|
|
|
735
740
|
options?: HttpHandlerOptions,
|
|
736
741
|
): Effect.Effect<
|
|
737
742
|
DeleteObjectTaggingCommandOutput,
|
|
738
|
-
Cause.
|
|
743
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
739
744
|
>;
|
|
740
745
|
|
|
741
746
|
/**
|
|
@@ -746,7 +751,7 @@ interface S3Service$ {
|
|
|
746
751
|
options?: HttpHandlerOptions,
|
|
747
752
|
): Effect.Effect<
|
|
748
753
|
DeleteObjectsCommandOutput,
|
|
749
|
-
Cause.
|
|
754
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
750
755
|
>;
|
|
751
756
|
|
|
752
757
|
/**
|
|
@@ -757,7 +762,7 @@ interface S3Service$ {
|
|
|
757
762
|
options?: HttpHandlerOptions,
|
|
758
763
|
): Effect.Effect<
|
|
759
764
|
DeletePublicAccessBlockCommandOutput,
|
|
760
|
-
Cause.
|
|
765
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
761
766
|
>;
|
|
762
767
|
|
|
763
768
|
/**
|
|
@@ -768,7 +773,7 @@ interface S3Service$ {
|
|
|
768
773
|
options?: HttpHandlerOptions,
|
|
769
774
|
): Effect.Effect<
|
|
770
775
|
GetBucketAbacCommandOutput,
|
|
771
|
-
Cause.
|
|
776
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
772
777
|
>;
|
|
773
778
|
|
|
774
779
|
/**
|
|
@@ -779,7 +784,7 @@ interface S3Service$ {
|
|
|
779
784
|
options?: HttpHandlerOptions,
|
|
780
785
|
): Effect.Effect<
|
|
781
786
|
GetBucketAccelerateConfigurationCommandOutput,
|
|
782
|
-
Cause.
|
|
787
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
783
788
|
>;
|
|
784
789
|
|
|
785
790
|
/**
|
|
@@ -790,7 +795,7 @@ interface S3Service$ {
|
|
|
790
795
|
options?: HttpHandlerOptions,
|
|
791
796
|
): Effect.Effect<
|
|
792
797
|
GetBucketAclCommandOutput,
|
|
793
|
-
Cause.
|
|
798
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
794
799
|
>;
|
|
795
800
|
|
|
796
801
|
/**
|
|
@@ -801,7 +806,7 @@ interface S3Service$ {
|
|
|
801
806
|
options?: HttpHandlerOptions,
|
|
802
807
|
): Effect.Effect<
|
|
803
808
|
GetBucketAnalyticsConfigurationCommandOutput,
|
|
804
|
-
Cause.
|
|
809
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
805
810
|
>;
|
|
806
811
|
|
|
807
812
|
/**
|
|
@@ -812,7 +817,7 @@ interface S3Service$ {
|
|
|
812
817
|
options?: HttpHandlerOptions,
|
|
813
818
|
): Effect.Effect<
|
|
814
819
|
GetBucketCorsCommandOutput,
|
|
815
|
-
Cause.
|
|
820
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
816
821
|
>;
|
|
817
822
|
|
|
818
823
|
/**
|
|
@@ -823,7 +828,7 @@ interface S3Service$ {
|
|
|
823
828
|
options?: HttpHandlerOptions,
|
|
824
829
|
): Effect.Effect<
|
|
825
830
|
GetBucketEncryptionCommandOutput,
|
|
826
|
-
Cause.
|
|
831
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
827
832
|
>;
|
|
828
833
|
|
|
829
834
|
/**
|
|
@@ -834,7 +839,7 @@ interface S3Service$ {
|
|
|
834
839
|
options?: HttpHandlerOptions,
|
|
835
840
|
): Effect.Effect<
|
|
836
841
|
GetBucketIntelligentTieringConfigurationCommandOutput,
|
|
837
|
-
Cause.
|
|
842
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
838
843
|
>;
|
|
839
844
|
|
|
840
845
|
/**
|
|
@@ -845,7 +850,7 @@ interface S3Service$ {
|
|
|
845
850
|
options?: HttpHandlerOptions,
|
|
846
851
|
): Effect.Effect<
|
|
847
852
|
GetBucketInventoryConfigurationCommandOutput,
|
|
848
|
-
Cause.
|
|
853
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
849
854
|
>;
|
|
850
855
|
|
|
851
856
|
/**
|
|
@@ -856,7 +861,7 @@ interface S3Service$ {
|
|
|
856
861
|
options?: HttpHandlerOptions,
|
|
857
862
|
): Effect.Effect<
|
|
858
863
|
GetBucketLifecycleConfigurationCommandOutput,
|
|
859
|
-
Cause.
|
|
864
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
860
865
|
>;
|
|
861
866
|
|
|
862
867
|
/**
|
|
@@ -867,7 +872,7 @@ interface S3Service$ {
|
|
|
867
872
|
options?: HttpHandlerOptions,
|
|
868
873
|
): Effect.Effect<
|
|
869
874
|
GetBucketLocationCommandOutput,
|
|
870
|
-
Cause.
|
|
875
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
871
876
|
>;
|
|
872
877
|
|
|
873
878
|
/**
|
|
@@ -878,7 +883,7 @@ interface S3Service$ {
|
|
|
878
883
|
options?: HttpHandlerOptions,
|
|
879
884
|
): Effect.Effect<
|
|
880
885
|
GetBucketLoggingCommandOutput,
|
|
881
|
-
Cause.
|
|
886
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
882
887
|
>;
|
|
883
888
|
|
|
884
889
|
/**
|
|
@@ -889,7 +894,7 @@ interface S3Service$ {
|
|
|
889
894
|
options?: HttpHandlerOptions,
|
|
890
895
|
): Effect.Effect<
|
|
891
896
|
GetBucketMetadataConfigurationCommandOutput,
|
|
892
|
-
Cause.
|
|
897
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
893
898
|
>;
|
|
894
899
|
|
|
895
900
|
/**
|
|
@@ -900,7 +905,7 @@ interface S3Service$ {
|
|
|
900
905
|
options?: HttpHandlerOptions,
|
|
901
906
|
): Effect.Effect<
|
|
902
907
|
GetBucketMetadataTableConfigurationCommandOutput,
|
|
903
|
-
Cause.
|
|
908
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
904
909
|
>;
|
|
905
910
|
|
|
906
911
|
/**
|
|
@@ -911,7 +916,7 @@ interface S3Service$ {
|
|
|
911
916
|
options?: HttpHandlerOptions,
|
|
912
917
|
): Effect.Effect<
|
|
913
918
|
GetBucketMetricsConfigurationCommandOutput,
|
|
914
|
-
Cause.
|
|
919
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
915
920
|
>;
|
|
916
921
|
|
|
917
922
|
/**
|
|
@@ -922,7 +927,7 @@ interface S3Service$ {
|
|
|
922
927
|
options?: HttpHandlerOptions,
|
|
923
928
|
): Effect.Effect<
|
|
924
929
|
GetBucketNotificationConfigurationCommandOutput,
|
|
925
|
-
Cause.
|
|
930
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
926
931
|
>;
|
|
927
932
|
|
|
928
933
|
/**
|
|
@@ -933,7 +938,7 @@ interface S3Service$ {
|
|
|
933
938
|
options?: HttpHandlerOptions,
|
|
934
939
|
): Effect.Effect<
|
|
935
940
|
GetBucketOwnershipControlsCommandOutput,
|
|
936
|
-
Cause.
|
|
941
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
937
942
|
>;
|
|
938
943
|
|
|
939
944
|
/**
|
|
@@ -944,7 +949,7 @@ interface S3Service$ {
|
|
|
944
949
|
options?: HttpHandlerOptions,
|
|
945
950
|
): Effect.Effect<
|
|
946
951
|
GetBucketPolicyCommandOutput,
|
|
947
|
-
Cause.
|
|
952
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
948
953
|
>;
|
|
949
954
|
|
|
950
955
|
/**
|
|
@@ -955,7 +960,7 @@ interface S3Service$ {
|
|
|
955
960
|
options?: HttpHandlerOptions,
|
|
956
961
|
): Effect.Effect<
|
|
957
962
|
GetBucketPolicyStatusCommandOutput,
|
|
958
|
-
Cause.
|
|
963
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
959
964
|
>;
|
|
960
965
|
|
|
961
966
|
/**
|
|
@@ -966,7 +971,7 @@ interface S3Service$ {
|
|
|
966
971
|
options?: HttpHandlerOptions,
|
|
967
972
|
): Effect.Effect<
|
|
968
973
|
GetBucketReplicationCommandOutput,
|
|
969
|
-
Cause.
|
|
974
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
970
975
|
>;
|
|
971
976
|
|
|
972
977
|
/**
|
|
@@ -977,7 +982,7 @@ interface S3Service$ {
|
|
|
977
982
|
options?: HttpHandlerOptions,
|
|
978
983
|
): Effect.Effect<
|
|
979
984
|
GetBucketRequestPaymentCommandOutput,
|
|
980
|
-
Cause.
|
|
985
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
981
986
|
>;
|
|
982
987
|
|
|
983
988
|
/**
|
|
@@ -988,7 +993,7 @@ interface S3Service$ {
|
|
|
988
993
|
options?: HttpHandlerOptions,
|
|
989
994
|
): Effect.Effect<
|
|
990
995
|
GetBucketTaggingCommandOutput,
|
|
991
|
-
Cause.
|
|
996
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
992
997
|
>;
|
|
993
998
|
|
|
994
999
|
/**
|
|
@@ -999,7 +1004,7 @@ interface S3Service$ {
|
|
|
999
1004
|
options?: HttpHandlerOptions,
|
|
1000
1005
|
): Effect.Effect<
|
|
1001
1006
|
GetBucketVersioningCommandOutput,
|
|
1002
|
-
Cause.
|
|
1007
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1003
1008
|
>;
|
|
1004
1009
|
|
|
1005
1010
|
/**
|
|
@@ -1010,7 +1015,7 @@ interface S3Service$ {
|
|
|
1010
1015
|
options?: HttpHandlerOptions,
|
|
1011
1016
|
): Effect.Effect<
|
|
1012
1017
|
GetBucketWebsiteCommandOutput,
|
|
1013
|
-
Cause.
|
|
1018
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1014
1019
|
>;
|
|
1015
1020
|
|
|
1016
1021
|
/**
|
|
@@ -1021,7 +1026,7 @@ interface S3Service$ {
|
|
|
1021
1026
|
options?: { readonly presigned?: false } & HttpHandlerOptions,
|
|
1022
1027
|
): Effect.Effect<
|
|
1023
1028
|
GetObjectCommandOutput,
|
|
1024
|
-
Cause.
|
|
1029
|
+
Cause.TimeoutError | SdkError | InvalidObjectStateError | NoSuchKeyError
|
|
1025
1030
|
>;
|
|
1026
1031
|
getObject(
|
|
1027
1032
|
args: GetObjectCommandInput,
|
|
@@ -1036,7 +1041,7 @@ interface S3Service$ {
|
|
|
1036
1041
|
options?: HttpHandlerOptions,
|
|
1037
1042
|
): Effect.Effect<
|
|
1038
1043
|
GetObjectAclCommandOutput,
|
|
1039
|
-
Cause.
|
|
1044
|
+
Cause.TimeoutError | SdkError | NoSuchKeyError
|
|
1040
1045
|
>;
|
|
1041
1046
|
|
|
1042
1047
|
/**
|
|
@@ -1047,7 +1052,7 @@ interface S3Service$ {
|
|
|
1047
1052
|
options?: HttpHandlerOptions,
|
|
1048
1053
|
): Effect.Effect<
|
|
1049
1054
|
GetObjectAttributesCommandOutput,
|
|
1050
|
-
Cause.
|
|
1055
|
+
Cause.TimeoutError | SdkError | NoSuchKeyError
|
|
1051
1056
|
>;
|
|
1052
1057
|
|
|
1053
1058
|
/**
|
|
@@ -1058,7 +1063,7 @@ interface S3Service$ {
|
|
|
1058
1063
|
options?: HttpHandlerOptions,
|
|
1059
1064
|
): Effect.Effect<
|
|
1060
1065
|
GetObjectLegalHoldCommandOutput,
|
|
1061
|
-
Cause.
|
|
1066
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1062
1067
|
>;
|
|
1063
1068
|
|
|
1064
1069
|
/**
|
|
@@ -1069,7 +1074,7 @@ interface S3Service$ {
|
|
|
1069
1074
|
options?: HttpHandlerOptions,
|
|
1070
1075
|
): Effect.Effect<
|
|
1071
1076
|
GetObjectLockConfigurationCommandOutput,
|
|
1072
|
-
Cause.
|
|
1077
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1073
1078
|
>;
|
|
1074
1079
|
|
|
1075
1080
|
/**
|
|
@@ -1080,7 +1085,7 @@ interface S3Service$ {
|
|
|
1080
1085
|
options?: HttpHandlerOptions,
|
|
1081
1086
|
): Effect.Effect<
|
|
1082
1087
|
GetObjectRetentionCommandOutput,
|
|
1083
|
-
Cause.
|
|
1088
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1084
1089
|
>;
|
|
1085
1090
|
|
|
1086
1091
|
/**
|
|
@@ -1091,7 +1096,7 @@ interface S3Service$ {
|
|
|
1091
1096
|
options?: HttpHandlerOptions,
|
|
1092
1097
|
): Effect.Effect<
|
|
1093
1098
|
GetObjectTaggingCommandOutput,
|
|
1094
|
-
Cause.
|
|
1099
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1095
1100
|
>;
|
|
1096
1101
|
|
|
1097
1102
|
/**
|
|
@@ -1102,7 +1107,7 @@ interface S3Service$ {
|
|
|
1102
1107
|
options?: HttpHandlerOptions,
|
|
1103
1108
|
): Effect.Effect<
|
|
1104
1109
|
GetObjectTorrentCommandOutput,
|
|
1105
|
-
Cause.
|
|
1110
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1106
1111
|
>;
|
|
1107
1112
|
|
|
1108
1113
|
/**
|
|
@@ -1113,7 +1118,7 @@ interface S3Service$ {
|
|
|
1113
1118
|
options?: HttpHandlerOptions,
|
|
1114
1119
|
): Effect.Effect<
|
|
1115
1120
|
GetPublicAccessBlockCommandOutput,
|
|
1116
|
-
Cause.
|
|
1121
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1117
1122
|
>;
|
|
1118
1123
|
|
|
1119
1124
|
/**
|
|
@@ -1124,7 +1129,7 @@ interface S3Service$ {
|
|
|
1124
1129
|
options?: HttpHandlerOptions,
|
|
1125
1130
|
): Effect.Effect<
|
|
1126
1131
|
HeadBucketCommandOutput,
|
|
1127
|
-
Cause.
|
|
1132
|
+
Cause.TimeoutError | SdkError | NotFoundError
|
|
1128
1133
|
>;
|
|
1129
1134
|
|
|
1130
1135
|
/**
|
|
@@ -1135,7 +1140,7 @@ interface S3Service$ {
|
|
|
1135
1140
|
options?: HttpHandlerOptions,
|
|
1136
1141
|
): Effect.Effect<
|
|
1137
1142
|
HeadObjectCommandOutput,
|
|
1138
|
-
Cause.
|
|
1143
|
+
Cause.TimeoutError | SdkError | NotFoundError
|
|
1139
1144
|
>;
|
|
1140
1145
|
|
|
1141
1146
|
/**
|
|
@@ -1146,7 +1151,7 @@ interface S3Service$ {
|
|
|
1146
1151
|
options?: HttpHandlerOptions,
|
|
1147
1152
|
): Effect.Effect<
|
|
1148
1153
|
ListBucketAnalyticsConfigurationsCommandOutput,
|
|
1149
|
-
Cause.
|
|
1154
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1150
1155
|
>;
|
|
1151
1156
|
|
|
1152
1157
|
/**
|
|
@@ -1157,7 +1162,7 @@ interface S3Service$ {
|
|
|
1157
1162
|
options?: HttpHandlerOptions,
|
|
1158
1163
|
): Effect.Effect<
|
|
1159
1164
|
ListBucketIntelligentTieringConfigurationsCommandOutput,
|
|
1160
|
-
Cause.
|
|
1165
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1161
1166
|
>;
|
|
1162
1167
|
|
|
1163
1168
|
/**
|
|
@@ -1168,7 +1173,7 @@ interface S3Service$ {
|
|
|
1168
1173
|
options?: HttpHandlerOptions,
|
|
1169
1174
|
): Effect.Effect<
|
|
1170
1175
|
ListBucketInventoryConfigurationsCommandOutput,
|
|
1171
|
-
Cause.
|
|
1176
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1172
1177
|
>;
|
|
1173
1178
|
|
|
1174
1179
|
/**
|
|
@@ -1179,7 +1184,7 @@ interface S3Service$ {
|
|
|
1179
1184
|
options?: HttpHandlerOptions,
|
|
1180
1185
|
): Effect.Effect<
|
|
1181
1186
|
ListBucketMetricsConfigurationsCommandOutput,
|
|
1182
|
-
Cause.
|
|
1187
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1183
1188
|
>;
|
|
1184
1189
|
|
|
1185
1190
|
/**
|
|
@@ -1190,7 +1195,7 @@ interface S3Service$ {
|
|
|
1190
1195
|
options?: HttpHandlerOptions,
|
|
1191
1196
|
): Effect.Effect<
|
|
1192
1197
|
ListBucketsCommandOutput,
|
|
1193
|
-
Cause.
|
|
1198
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1194
1199
|
>;
|
|
1195
1200
|
|
|
1196
1201
|
/**
|
|
@@ -1201,7 +1206,7 @@ interface S3Service$ {
|
|
|
1201
1206
|
options?: HttpHandlerOptions,
|
|
1202
1207
|
): Effect.Effect<
|
|
1203
1208
|
ListDirectoryBucketsCommandOutput,
|
|
1204
|
-
Cause.
|
|
1209
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1205
1210
|
>;
|
|
1206
1211
|
|
|
1207
1212
|
/**
|
|
@@ -1212,7 +1217,7 @@ interface S3Service$ {
|
|
|
1212
1217
|
options?: HttpHandlerOptions,
|
|
1213
1218
|
): Effect.Effect<
|
|
1214
1219
|
ListMultipartUploadsCommandOutput,
|
|
1215
|
-
Cause.
|
|
1220
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1216
1221
|
>;
|
|
1217
1222
|
|
|
1218
1223
|
/**
|
|
@@ -1223,7 +1228,7 @@ interface S3Service$ {
|
|
|
1223
1228
|
options?: HttpHandlerOptions,
|
|
1224
1229
|
): Effect.Effect<
|
|
1225
1230
|
ListObjectVersionsCommandOutput,
|
|
1226
|
-
Cause.
|
|
1231
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1227
1232
|
>;
|
|
1228
1233
|
|
|
1229
1234
|
/**
|
|
@@ -1234,7 +1239,7 @@ interface S3Service$ {
|
|
|
1234
1239
|
options?: HttpHandlerOptions,
|
|
1235
1240
|
): Effect.Effect<
|
|
1236
1241
|
ListObjectsCommandOutput,
|
|
1237
|
-
Cause.
|
|
1242
|
+
Cause.TimeoutError | SdkError | NoSuchBucketError
|
|
1238
1243
|
>;
|
|
1239
1244
|
|
|
1240
1245
|
/**
|
|
@@ -1245,7 +1250,7 @@ interface S3Service$ {
|
|
|
1245
1250
|
options?: HttpHandlerOptions,
|
|
1246
1251
|
): Effect.Effect<
|
|
1247
1252
|
ListObjectsV2CommandOutput,
|
|
1248
|
-
Cause.
|
|
1253
|
+
Cause.TimeoutError | SdkError | NoSuchBucketError
|
|
1249
1254
|
>;
|
|
1250
1255
|
|
|
1251
1256
|
/**
|
|
@@ -1256,7 +1261,7 @@ interface S3Service$ {
|
|
|
1256
1261
|
options?: HttpHandlerOptions,
|
|
1257
1262
|
): Effect.Effect<
|
|
1258
1263
|
ListPartsCommandOutput,
|
|
1259
|
-
Cause.
|
|
1264
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1260
1265
|
>;
|
|
1261
1266
|
|
|
1262
1267
|
/**
|
|
@@ -1267,7 +1272,7 @@ interface S3Service$ {
|
|
|
1267
1272
|
options?: HttpHandlerOptions,
|
|
1268
1273
|
): Effect.Effect<
|
|
1269
1274
|
PutBucketAbacCommandOutput,
|
|
1270
|
-
Cause.
|
|
1275
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1271
1276
|
>;
|
|
1272
1277
|
|
|
1273
1278
|
/**
|
|
@@ -1278,7 +1283,7 @@ interface S3Service$ {
|
|
|
1278
1283
|
options?: HttpHandlerOptions,
|
|
1279
1284
|
): Effect.Effect<
|
|
1280
1285
|
PutBucketAccelerateConfigurationCommandOutput,
|
|
1281
|
-
Cause.
|
|
1286
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1282
1287
|
>;
|
|
1283
1288
|
|
|
1284
1289
|
/**
|
|
@@ -1289,7 +1294,7 @@ interface S3Service$ {
|
|
|
1289
1294
|
options?: HttpHandlerOptions,
|
|
1290
1295
|
): Effect.Effect<
|
|
1291
1296
|
PutBucketAclCommandOutput,
|
|
1292
|
-
Cause.
|
|
1297
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1293
1298
|
>;
|
|
1294
1299
|
|
|
1295
1300
|
/**
|
|
@@ -1300,7 +1305,7 @@ interface S3Service$ {
|
|
|
1300
1305
|
options?: HttpHandlerOptions,
|
|
1301
1306
|
): Effect.Effect<
|
|
1302
1307
|
PutBucketAnalyticsConfigurationCommandOutput,
|
|
1303
|
-
Cause.
|
|
1308
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1304
1309
|
>;
|
|
1305
1310
|
|
|
1306
1311
|
/**
|
|
@@ -1311,7 +1316,7 @@ interface S3Service$ {
|
|
|
1311
1316
|
options?: HttpHandlerOptions,
|
|
1312
1317
|
): Effect.Effect<
|
|
1313
1318
|
PutBucketCorsCommandOutput,
|
|
1314
|
-
Cause.
|
|
1319
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1315
1320
|
>;
|
|
1316
1321
|
|
|
1317
1322
|
/**
|
|
@@ -1322,7 +1327,7 @@ interface S3Service$ {
|
|
|
1322
1327
|
options?: HttpHandlerOptions,
|
|
1323
1328
|
): Effect.Effect<
|
|
1324
1329
|
PutBucketEncryptionCommandOutput,
|
|
1325
|
-
Cause.
|
|
1330
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1326
1331
|
>;
|
|
1327
1332
|
|
|
1328
1333
|
/**
|
|
@@ -1333,7 +1338,7 @@ interface S3Service$ {
|
|
|
1333
1338
|
options?: HttpHandlerOptions,
|
|
1334
1339
|
): Effect.Effect<
|
|
1335
1340
|
PutBucketIntelligentTieringConfigurationCommandOutput,
|
|
1336
|
-
Cause.
|
|
1341
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1337
1342
|
>;
|
|
1338
1343
|
|
|
1339
1344
|
/**
|
|
@@ -1344,7 +1349,7 @@ interface S3Service$ {
|
|
|
1344
1349
|
options?: HttpHandlerOptions,
|
|
1345
1350
|
): Effect.Effect<
|
|
1346
1351
|
PutBucketInventoryConfigurationCommandOutput,
|
|
1347
|
-
Cause.
|
|
1352
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1348
1353
|
>;
|
|
1349
1354
|
|
|
1350
1355
|
/**
|
|
@@ -1355,7 +1360,7 @@ interface S3Service$ {
|
|
|
1355
1360
|
options?: HttpHandlerOptions,
|
|
1356
1361
|
): Effect.Effect<
|
|
1357
1362
|
PutBucketLifecycleConfigurationCommandOutput,
|
|
1358
|
-
Cause.
|
|
1363
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1359
1364
|
>;
|
|
1360
1365
|
|
|
1361
1366
|
/**
|
|
@@ -1366,7 +1371,7 @@ interface S3Service$ {
|
|
|
1366
1371
|
options?: HttpHandlerOptions,
|
|
1367
1372
|
): Effect.Effect<
|
|
1368
1373
|
PutBucketLoggingCommandOutput,
|
|
1369
|
-
Cause.
|
|
1374
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1370
1375
|
>;
|
|
1371
1376
|
|
|
1372
1377
|
/**
|
|
@@ -1377,7 +1382,7 @@ interface S3Service$ {
|
|
|
1377
1382
|
options?: HttpHandlerOptions,
|
|
1378
1383
|
): Effect.Effect<
|
|
1379
1384
|
PutBucketMetricsConfigurationCommandOutput,
|
|
1380
|
-
Cause.
|
|
1385
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1381
1386
|
>;
|
|
1382
1387
|
|
|
1383
1388
|
/**
|
|
@@ -1388,7 +1393,7 @@ interface S3Service$ {
|
|
|
1388
1393
|
options?: HttpHandlerOptions,
|
|
1389
1394
|
): Effect.Effect<
|
|
1390
1395
|
PutBucketNotificationConfigurationCommandOutput,
|
|
1391
|
-
Cause.
|
|
1396
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1392
1397
|
>;
|
|
1393
1398
|
|
|
1394
1399
|
/**
|
|
@@ -1399,7 +1404,7 @@ interface S3Service$ {
|
|
|
1399
1404
|
options?: HttpHandlerOptions,
|
|
1400
1405
|
): Effect.Effect<
|
|
1401
1406
|
PutBucketOwnershipControlsCommandOutput,
|
|
1402
|
-
Cause.
|
|
1407
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1403
1408
|
>;
|
|
1404
1409
|
|
|
1405
1410
|
/**
|
|
@@ -1410,7 +1415,7 @@ interface S3Service$ {
|
|
|
1410
1415
|
options?: HttpHandlerOptions,
|
|
1411
1416
|
): Effect.Effect<
|
|
1412
1417
|
PutBucketPolicyCommandOutput,
|
|
1413
|
-
Cause.
|
|
1418
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1414
1419
|
>;
|
|
1415
1420
|
|
|
1416
1421
|
/**
|
|
@@ -1421,7 +1426,7 @@ interface S3Service$ {
|
|
|
1421
1426
|
options?: HttpHandlerOptions,
|
|
1422
1427
|
): Effect.Effect<
|
|
1423
1428
|
PutBucketReplicationCommandOutput,
|
|
1424
|
-
Cause.
|
|
1429
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1425
1430
|
>;
|
|
1426
1431
|
|
|
1427
1432
|
/**
|
|
@@ -1432,7 +1437,7 @@ interface S3Service$ {
|
|
|
1432
1437
|
options?: HttpHandlerOptions,
|
|
1433
1438
|
): Effect.Effect<
|
|
1434
1439
|
PutBucketRequestPaymentCommandOutput,
|
|
1435
|
-
Cause.
|
|
1440
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1436
1441
|
>;
|
|
1437
1442
|
|
|
1438
1443
|
/**
|
|
@@ -1443,7 +1448,7 @@ interface S3Service$ {
|
|
|
1443
1448
|
options?: HttpHandlerOptions,
|
|
1444
1449
|
): Effect.Effect<
|
|
1445
1450
|
PutBucketTaggingCommandOutput,
|
|
1446
|
-
Cause.
|
|
1451
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1447
1452
|
>;
|
|
1448
1453
|
|
|
1449
1454
|
/**
|
|
@@ -1454,7 +1459,7 @@ interface S3Service$ {
|
|
|
1454
1459
|
options?: HttpHandlerOptions,
|
|
1455
1460
|
): Effect.Effect<
|
|
1456
1461
|
PutBucketVersioningCommandOutput,
|
|
1457
|
-
Cause.
|
|
1462
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1458
1463
|
>;
|
|
1459
1464
|
|
|
1460
1465
|
/**
|
|
@@ -1465,7 +1470,7 @@ interface S3Service$ {
|
|
|
1465
1470
|
options?: HttpHandlerOptions,
|
|
1466
1471
|
): Effect.Effect<
|
|
1467
1472
|
PutBucketWebsiteCommandOutput,
|
|
1468
|
-
Cause.
|
|
1473
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1469
1474
|
>;
|
|
1470
1475
|
|
|
1471
1476
|
/**
|
|
@@ -1476,7 +1481,7 @@ interface S3Service$ {
|
|
|
1476
1481
|
options?: { readonly presigned?: false } & HttpHandlerOptions,
|
|
1477
1482
|
): Effect.Effect<
|
|
1478
1483
|
PutObjectCommandOutput,
|
|
1479
|
-
| Cause.
|
|
1484
|
+
| Cause.TimeoutError
|
|
1480
1485
|
| SdkError
|
|
1481
1486
|
| EncryptionTypeMismatchError
|
|
1482
1487
|
| InvalidRequestError
|
|
@@ -1496,7 +1501,7 @@ interface S3Service$ {
|
|
|
1496
1501
|
options?: HttpHandlerOptions,
|
|
1497
1502
|
): Effect.Effect<
|
|
1498
1503
|
PutObjectAclCommandOutput,
|
|
1499
|
-
Cause.
|
|
1504
|
+
Cause.TimeoutError | SdkError | NoSuchKeyError
|
|
1500
1505
|
>;
|
|
1501
1506
|
|
|
1502
1507
|
/**
|
|
@@ -1507,7 +1512,7 @@ interface S3Service$ {
|
|
|
1507
1512
|
options?: HttpHandlerOptions,
|
|
1508
1513
|
): Effect.Effect<
|
|
1509
1514
|
PutObjectLegalHoldCommandOutput,
|
|
1510
|
-
Cause.
|
|
1515
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1511
1516
|
>;
|
|
1512
1517
|
|
|
1513
1518
|
/**
|
|
@@ -1518,7 +1523,7 @@ interface S3Service$ {
|
|
|
1518
1523
|
options?: HttpHandlerOptions,
|
|
1519
1524
|
): Effect.Effect<
|
|
1520
1525
|
PutObjectLockConfigurationCommandOutput,
|
|
1521
|
-
Cause.
|
|
1526
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1522
1527
|
>;
|
|
1523
1528
|
|
|
1524
1529
|
/**
|
|
@@ -1529,7 +1534,7 @@ interface S3Service$ {
|
|
|
1529
1534
|
options?: HttpHandlerOptions,
|
|
1530
1535
|
): Effect.Effect<
|
|
1531
1536
|
PutObjectRetentionCommandOutput,
|
|
1532
|
-
Cause.
|
|
1537
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1533
1538
|
>;
|
|
1534
1539
|
|
|
1535
1540
|
/**
|
|
@@ -1540,7 +1545,7 @@ interface S3Service$ {
|
|
|
1540
1545
|
options?: HttpHandlerOptions,
|
|
1541
1546
|
): Effect.Effect<
|
|
1542
1547
|
PutObjectTaggingCommandOutput,
|
|
1543
|
-
Cause.
|
|
1548
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1544
1549
|
>;
|
|
1545
1550
|
|
|
1546
1551
|
/**
|
|
@@ -1551,7 +1556,7 @@ interface S3Service$ {
|
|
|
1551
1556
|
options?: HttpHandlerOptions,
|
|
1552
1557
|
): Effect.Effect<
|
|
1553
1558
|
PutPublicAccessBlockCommandOutput,
|
|
1554
|
-
Cause.
|
|
1559
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1555
1560
|
>;
|
|
1556
1561
|
|
|
1557
1562
|
/**
|
|
@@ -1562,7 +1567,7 @@ interface S3Service$ {
|
|
|
1562
1567
|
options?: HttpHandlerOptions,
|
|
1563
1568
|
): Effect.Effect<
|
|
1564
1569
|
RenameObjectCommandOutput,
|
|
1565
|
-
Cause.
|
|
1570
|
+
Cause.TimeoutError | SdkError | IdempotencyParameterMismatchError
|
|
1566
1571
|
>;
|
|
1567
1572
|
|
|
1568
1573
|
/**
|
|
@@ -1573,7 +1578,7 @@ interface S3Service$ {
|
|
|
1573
1578
|
options?: HttpHandlerOptions,
|
|
1574
1579
|
): Effect.Effect<
|
|
1575
1580
|
RestoreObjectCommandOutput,
|
|
1576
|
-
Cause.
|
|
1581
|
+
Cause.TimeoutError | SdkError | ObjectAlreadyInActiveTierError
|
|
1577
1582
|
>;
|
|
1578
1583
|
|
|
1579
1584
|
/**
|
|
@@ -1584,7 +1589,7 @@ interface S3Service$ {
|
|
|
1584
1589
|
options?: HttpHandlerOptions,
|
|
1585
1590
|
): Effect.Effect<
|
|
1586
1591
|
SelectObjectContentCommandOutput,
|
|
1587
|
-
Cause.
|
|
1592
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1588
1593
|
>;
|
|
1589
1594
|
|
|
1590
1595
|
/**
|
|
@@ -1595,7 +1600,7 @@ interface S3Service$ {
|
|
|
1595
1600
|
options?: HttpHandlerOptions,
|
|
1596
1601
|
): Effect.Effect<
|
|
1597
1602
|
UpdateBucketMetadataInventoryTableConfigurationCommandOutput,
|
|
1598
|
-
Cause.
|
|
1603
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1599
1604
|
>;
|
|
1600
1605
|
|
|
1601
1606
|
/**
|
|
@@ -1606,7 +1611,18 @@ interface S3Service$ {
|
|
|
1606
1611
|
options?: HttpHandlerOptions,
|
|
1607
1612
|
): Effect.Effect<
|
|
1608
1613
|
UpdateBucketMetadataJournalTableConfigurationCommandOutput,
|
|
1609
|
-
Cause.
|
|
1614
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1615
|
+
>;
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* @see {@link UpdateObjectEncryptionCommand}
|
|
1619
|
+
*/
|
|
1620
|
+
updateObjectEncryption(
|
|
1621
|
+
args: UpdateObjectEncryptionCommandInput,
|
|
1622
|
+
options?: HttpHandlerOptions,
|
|
1623
|
+
): Effect.Effect<
|
|
1624
|
+
UpdateObjectEncryptionCommandOutput,
|
|
1625
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InvalidRequestError | NoSuchKeyError
|
|
1610
1626
|
>;
|
|
1611
1627
|
|
|
1612
1628
|
/**
|
|
@@ -1617,7 +1633,7 @@ interface S3Service$ {
|
|
|
1617
1633
|
options?: HttpHandlerOptions,
|
|
1618
1634
|
): Effect.Effect<
|
|
1619
1635
|
UploadPartCommandOutput,
|
|
1620
|
-
Cause.
|
|
1636
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1621
1637
|
>;
|
|
1622
1638
|
|
|
1623
1639
|
/**
|
|
@@ -1628,7 +1644,7 @@ interface S3Service$ {
|
|
|
1628
1644
|
options?: HttpHandlerOptions,
|
|
1629
1645
|
): Effect.Effect<
|
|
1630
1646
|
UploadPartCopyCommandOutput,
|
|
1631
|
-
Cause.
|
|
1647
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1632
1648
|
>;
|
|
1633
1649
|
|
|
1634
1650
|
/**
|
|
@@ -1639,7 +1655,7 @@ interface S3Service$ {
|
|
|
1639
1655
|
options?: HttpHandlerOptions,
|
|
1640
1656
|
): Effect.Effect<
|
|
1641
1657
|
WriteGetObjectResponseCommandOutput,
|
|
1642
|
-
Cause.
|
|
1658
|
+
Cause.TimeoutError | SdkError | S3ServiceError
|
|
1643
1659
|
>;
|
|
1644
1660
|
}
|
|
1645
1661
|
|
|
@@ -1675,40 +1691,10 @@ export const makeS3Service = Effect.gen(function*() {
|
|
|
1675
1691
|
* @since 1.0.0
|
|
1676
1692
|
* @category models
|
|
1677
1693
|
*/
|
|
1678
|
-
export class S3Service extends
|
|
1694
|
+
export class S3Service extends ServiceMap.Service<
|
|
1679
1695
|
S3Service,
|
|
1680
1696
|
S3Service$
|
|
1681
|
-
>() {
|
|
1682
|
-
// Explicitly declare the methods which have overloads, Effect Service can't infer them as service accessors currently
|
|
1683
|
-
declare static readonly getObject: {
|
|
1684
|
-
(
|
|
1685
|
-
args: GetObjectCommandInput,
|
|
1686
|
-
options?: { readonly presigned?: false } & HttpHandlerOptions,
|
|
1687
|
-
): Effect.Effect<
|
|
1688
|
-
GetObjectCommandOutput,
|
|
1689
|
-
SdkError | InvalidObjectStateError | NoSuchKeyError,
|
|
1690
|
-
S3Service
|
|
1691
|
-
>;
|
|
1692
|
-
(
|
|
1693
|
-
args: GetObjectCommandInput,
|
|
1694
|
-
options?: { readonly presigned: true } & RequestPresigningArguments,
|
|
1695
|
-
): Effect.Effect<string, SdkError | S3ServiceError, S3Service>;
|
|
1696
|
-
};
|
|
1697
|
-
declare static readonly putObject: {
|
|
1698
|
-
(
|
|
1699
|
-
args: PutObjectCommandInput,
|
|
1700
|
-
options?: { readonly presigned?: false } & HttpHandlerOptions,
|
|
1701
|
-
): Effect.Effect<
|
|
1702
|
-
PutObjectCommandOutput,
|
|
1703
|
-
SdkError | EncryptionTypeMismatchError | InvalidRequestError | InvalidWriteOffsetError | TooManyPartsError,
|
|
1704
|
-
S3Service
|
|
1705
|
-
>;
|
|
1706
|
-
(
|
|
1707
|
-
args: PutObjectCommandInput,
|
|
1708
|
-
options?: { readonly presigned: true } & RequestPresigningArguments,
|
|
1709
|
-
): Effect.Effect<string, SdkError | S3ServiceError, S3Service>;
|
|
1710
|
-
};
|
|
1711
|
-
|
|
1697
|
+
>()("@effect-aws/client-s3/S3Service") {
|
|
1712
1698
|
static readonly defaultLayer = Layer.effect(this, makeS3Service).pipe(Layer.provide(Instance.layer));
|
|
1713
1699
|
static readonly layer = (config: S3Service.Config) =>
|
|
1714
1700
|
Layer.effect(this, makeS3Service).pipe(
|