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