@effect-aws/client-s3 1.1.0 → 1.2.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.
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, CopyObjectCommandInput, CopyObjectCommandOutput, CreateBucketCommandInput, CreateBucketCommandOutput, CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, DeleteBucketCommandInput, DeleteBucketCommandOutput, DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput, DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput, DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput, DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput, DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput, DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput, DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput, DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput, DeleteObjectCommandInput, DeleteObjectCommandOutput, DeleteObjectsCommandInput, DeleteObjectsCommandOutput, DeleteObjectTaggingCommandInput, DeleteObjectTaggingCommandOutput, DeletePublicAccessBlockCommandInput, DeletePublicAccessBlockCommandOutput, GetBucketAccelerateConfigurationCommandInput, GetBucketAccelerateConfigurationCommandOutput, GetBucketAclCommandInput, GetBucketAclCommandOutput, GetBucketAnalyticsConfigurationCommandInput, GetBucketAnalyticsConfigurationCommandOutput, GetBucketCorsCommandInput, GetBucketCorsCommandOutput, GetBucketEncryptionCommandInput, GetBucketEncryptionCommandOutput, GetBucketIntelligentTieringConfigurationCommandInput, GetBucketIntelligentTieringConfigurationCommandOutput, GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigurationCommandOutput, GetBucketLifecycleConfigurationCommandInput, GetBucketLifecycleConfigurationCommandOutput, GetBucketLocationCommandInput, GetBucketLocationCommandOutput, GetBucketLoggingCommandInput, GetBucketLoggingCommandOutput, GetBucketMetricsConfigurationCommandInput, GetBucketMetricsConfigurationCommandOutput, GetBucketNotificationConfigurationCommandInput, GetBucketNotificationConfigurationCommandOutput, GetBucketOwnershipControlsCommandInput, GetBucketOwnershipControlsCommandOutput, GetBucketPolicyCommandInput, GetBucketPolicyCommandOutput, GetBucketPolicyStatusCommandInput, GetBucketPolicyStatusCommandOutput, GetBucketReplicationCommandInput, GetBucketReplicationCommandOutput, GetBucketRequestPaymentCommandInput, GetBucketRequestPaymentCommandOutput, GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput, GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput, GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput, GetObjectAclCommandInput, GetObjectAclCommandOutput, GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput, GetObjectCommandInput, GetObjectCommandOutput, GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput, GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput, GetObjectRetentionCommandInput, GetObjectRetentionCommandOutput, GetObjectTaggingCommandInput, GetObjectTaggingCommandOutput, GetObjectTorrentCommandInput, GetObjectTorrentCommandOutput, GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput, HeadBucketCommandInput, HeadBucketCommandOutput, HeadObjectCommandInput, HeadObjectCommandOutput, ListBucketAnalyticsConfigurationsCommandInput, ListBucketAnalyticsConfigurationsCommandOutput, ListBucketIntelligentTieringConfigurationsCommandInput, ListBucketIntelligentTieringConfigurationsCommandOutput, ListBucketInventoryConfigurationsCommandInput, ListBucketInventoryConfigurationsCommandOutput, ListBucketMetricsConfigurationsCommandInput, ListBucketMetricsConfigurationsCommandOutput, ListBucketsCommandInput, ListBucketsCommandOutput, ListMultipartUploadsCommandInput, ListMultipartUploadsCommandOutput, ListObjectsCommandInput, ListObjectsCommandOutput, ListObjectsV2CommandInput, ListObjectsV2CommandOutput, ListObjectVersionsCommandInput, ListObjectVersionsCommandOutput, ListPartsCommandInput, ListPartsCommandOutput, PutBucketAccelerateConfigurationCommandInput, PutBucketAccelerateConfigurationCommandOutput, PutBucketAclCommandInput, PutBucketAclCommandOutput, PutBucketAnalyticsConfigurationCommandInput, PutBucketAnalyticsConfigurationCommandOutput, PutBucketCorsCommandInput, PutBucketCorsCommandOutput, PutBucketEncryptionCommandInput, PutBucketEncryptionCommandOutput, PutBucketIntelligentTieringConfigurationCommandInput, PutBucketIntelligentTieringConfigurationCommandOutput, PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput, PutBucketLoggingCommandInput, PutBucketLoggingCommandOutput, PutBucketMetricsConfigurationCommandInput, PutBucketMetricsConfigurationCommandOutput, PutBucketNotificationConfigurationCommandInput, PutBucketNotificationConfigurationCommandOutput, PutBucketOwnershipControlsCommandInput, PutBucketOwnershipControlsCommandOutput, PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput, PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput, PutBucketRequestPaymentCommandInput, PutBucketRequestPaymentCommandOutput, PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput, PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput, PutBucketWebsiteCommandInput, PutBucketWebsiteCommandOutput, PutObjectAclCommandInput, PutObjectAclCommandOutput, PutObjectCommandInput, PutObjectCommandOutput, PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, RestoreObjectCommandInput, RestoreObjectCommandOutput, SelectObjectContentCommandInput, SelectObjectContentCommandOutput, UploadPartCommandInput, UploadPartCommandOutput, UploadPartCopyCommandInput, UploadPartCopyCommandOutput, WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput } from "@aws-sdk/client-s3";
5
- import { HttpHandlerOptions as __HttpHandlerOptions, RequestPresigningArguments } from "@aws-sdk/types";
4
+ import { type AbortMultipartUploadCommandInput, type AbortMultipartUploadCommandOutput, type CompleteMultipartUploadCommandInput, type CompleteMultipartUploadCommandOutput, type CopyObjectCommandInput, type CopyObjectCommandOutput, type CreateBucketCommandInput, type CreateBucketCommandOutput, type CreateMultipartUploadCommandInput, type CreateMultipartUploadCommandOutput, type CreateSessionCommandInput, type CreateSessionCommandOutput, type DeleteBucketCommandInput, type DeleteBucketCommandOutput, type DeleteBucketAnalyticsConfigurationCommandInput, type DeleteBucketAnalyticsConfigurationCommandOutput, type DeleteBucketCorsCommandInput, type DeleteBucketCorsCommandOutput, type DeleteBucketEncryptionCommandInput, type DeleteBucketEncryptionCommandOutput, type DeleteBucketIntelligentTieringConfigurationCommandInput, type DeleteBucketIntelligentTieringConfigurationCommandOutput, type DeleteBucketInventoryConfigurationCommandInput, type DeleteBucketInventoryConfigurationCommandOutput, type DeleteBucketLifecycleCommandInput, type DeleteBucketLifecycleCommandOutput, type DeleteBucketMetricsConfigurationCommandInput, type DeleteBucketMetricsConfigurationCommandOutput, type DeleteBucketOwnershipControlsCommandInput, type DeleteBucketOwnershipControlsCommandOutput, type DeleteBucketPolicyCommandInput, type DeleteBucketPolicyCommandOutput, type DeleteBucketReplicationCommandInput, type DeleteBucketReplicationCommandOutput, type DeleteBucketTaggingCommandInput, type DeleteBucketTaggingCommandOutput, type DeleteBucketWebsiteCommandInput, type DeleteBucketWebsiteCommandOutput, type DeleteObjectCommandInput, type DeleteObjectCommandOutput, type DeleteObjectsCommandInput, type DeleteObjectsCommandOutput, type DeleteObjectTaggingCommandInput, type DeleteObjectTaggingCommandOutput, type DeletePublicAccessBlockCommandInput, type DeletePublicAccessBlockCommandOutput, type GetBucketAccelerateConfigurationCommandInput, type GetBucketAccelerateConfigurationCommandOutput, type GetBucketAclCommandInput, type GetBucketAclCommandOutput, type GetBucketAnalyticsConfigurationCommandInput, type GetBucketAnalyticsConfigurationCommandOutput, type GetBucketCorsCommandInput, type GetBucketCorsCommandOutput, type GetBucketEncryptionCommandInput, type GetBucketEncryptionCommandOutput, type GetBucketIntelligentTieringConfigurationCommandInput, type GetBucketIntelligentTieringConfigurationCommandOutput, type GetBucketInventoryConfigurationCommandInput, type GetBucketInventoryConfigurationCommandOutput, type GetBucketLifecycleConfigurationCommandInput, type GetBucketLifecycleConfigurationCommandOutput, type GetBucketLocationCommandInput, type GetBucketLocationCommandOutput, type GetBucketLoggingCommandInput, type GetBucketLoggingCommandOutput, type GetBucketMetricsConfigurationCommandInput, type GetBucketMetricsConfigurationCommandOutput, type GetBucketNotificationConfigurationCommandInput, type GetBucketNotificationConfigurationCommandOutput, type GetBucketOwnershipControlsCommandInput, type GetBucketOwnershipControlsCommandOutput, type GetBucketPolicyCommandInput, type GetBucketPolicyCommandOutput, type GetBucketPolicyStatusCommandInput, type GetBucketPolicyStatusCommandOutput, type GetBucketReplicationCommandInput, type GetBucketReplicationCommandOutput, type GetBucketRequestPaymentCommandInput, type GetBucketRequestPaymentCommandOutput, type GetBucketTaggingCommandInput, type GetBucketTaggingCommandOutput, type GetBucketVersioningCommandInput, type GetBucketVersioningCommandOutput, type GetBucketWebsiteCommandInput, type GetBucketWebsiteCommandOutput, type GetObjectCommandInput, type GetObjectCommandOutput, type GetObjectAclCommandInput, type GetObjectAclCommandOutput, type GetObjectAttributesCommandInput, type GetObjectAttributesCommandOutput, type GetObjectLegalHoldCommandInput, type GetObjectLegalHoldCommandOutput, type GetObjectLockConfigurationCommandInput, type GetObjectLockConfigurationCommandOutput, type GetObjectRetentionCommandInput, type GetObjectRetentionCommandOutput, type GetObjectTaggingCommandInput, type GetObjectTaggingCommandOutput, type GetObjectTorrentCommandInput, type GetObjectTorrentCommandOutput, type GetPublicAccessBlockCommandInput, type GetPublicAccessBlockCommandOutput, type HeadBucketCommandInput, type HeadBucketCommandOutput, type HeadObjectCommandInput, type HeadObjectCommandOutput, type ListBucketAnalyticsConfigurationsCommandInput, type ListBucketAnalyticsConfigurationsCommandOutput, type ListBucketIntelligentTieringConfigurationsCommandInput, type ListBucketIntelligentTieringConfigurationsCommandOutput, type ListBucketInventoryConfigurationsCommandInput, type ListBucketInventoryConfigurationsCommandOutput, type ListBucketMetricsConfigurationsCommandInput, type ListBucketMetricsConfigurationsCommandOutput, type ListBucketsCommandInput, type ListBucketsCommandOutput, type ListDirectoryBucketsCommandInput, type ListDirectoryBucketsCommandOutput, type ListMultipartUploadsCommandInput, type ListMultipartUploadsCommandOutput, type ListObjectsCommandInput, type ListObjectsCommandOutput, type ListObjectsV2CommandInput, type ListObjectsV2CommandOutput, type ListObjectVersionsCommandInput, type ListObjectVersionsCommandOutput, type ListPartsCommandInput, type ListPartsCommandOutput, type PutBucketAccelerateConfigurationCommandInput, type PutBucketAccelerateConfigurationCommandOutput, type PutBucketAclCommandInput, type PutBucketAclCommandOutput, type PutBucketAnalyticsConfigurationCommandInput, type PutBucketAnalyticsConfigurationCommandOutput, type PutBucketCorsCommandInput, type PutBucketCorsCommandOutput, type PutBucketEncryptionCommandInput, type PutBucketEncryptionCommandOutput, type PutBucketIntelligentTieringConfigurationCommandInput, type PutBucketIntelligentTieringConfigurationCommandOutput, type PutBucketInventoryConfigurationCommandInput, type PutBucketInventoryConfigurationCommandOutput, type PutBucketLifecycleConfigurationCommandInput, type PutBucketLifecycleConfigurationCommandOutput, type PutBucketLoggingCommandInput, type PutBucketLoggingCommandOutput, type PutBucketMetricsConfigurationCommandInput, type PutBucketMetricsConfigurationCommandOutput, type PutBucketNotificationConfigurationCommandInput, type PutBucketNotificationConfigurationCommandOutput, type PutBucketOwnershipControlsCommandInput, type PutBucketOwnershipControlsCommandOutput, type PutBucketPolicyCommandInput, type PutBucketPolicyCommandOutput, type PutBucketReplicationCommandInput, type PutBucketReplicationCommandOutput, type PutBucketRequestPaymentCommandInput, type PutBucketRequestPaymentCommandOutput, type PutBucketTaggingCommandInput, type PutBucketTaggingCommandOutput, type PutBucketVersioningCommandInput, type PutBucketVersioningCommandOutput, type PutBucketWebsiteCommandInput, type PutBucketWebsiteCommandOutput, type PutObjectCommandInput, type PutObjectCommandOutput, type PutObjectAclCommandInput, type PutObjectAclCommandOutput, type PutObjectLegalHoldCommandInput, type PutObjectLegalHoldCommandOutput, type PutObjectLockConfigurationCommandInput, type PutObjectLockConfigurationCommandOutput, type PutObjectRetentionCommandInput, type PutObjectRetentionCommandOutput, type PutObjectTaggingCommandInput, type PutObjectTaggingCommandOutput, type PutPublicAccessBlockCommandInput, type PutPublicAccessBlockCommandOutput, type RestoreObjectCommandInput, type RestoreObjectCommandOutput, type SelectObjectContentCommandInput, type SelectObjectContentCommandOutput, type UploadPartCommandInput, type UploadPartCommandOutput, type UploadPartCopyCommandInput, type UploadPartCopyCommandOutput, type WriteGetObjectResponseCommandInput, type WriteGetObjectResponseCommandOutput } from "@aws-sdk/client-s3";
5
+ import { type HttpHandlerOptions as __HttpHandlerOptions, RequestPresigningArguments } from "@aws-sdk/types";
6
6
  import { Context, Effect, Layer } from "effect";
7
- import { S3ServiceError, SdkError } from "./Errors";
7
+ import { BucketAlreadyExistsError, BucketAlreadyOwnedByYouError, InvalidObjectStateError, NoSuchBucketError, NoSuchKeyError, NoSuchUploadError, NotFoundError, ObjectAlreadyInActiveTierError, ObjectNotInActiveTierError, S3ServiceError, SdkError } from "./Errors";
8
8
  import { S3ClientInstance } from "./S3ClientInstance";
9
9
  /**
10
10
  * @since 1.0.0
@@ -15,389 +15,393 @@ export interface S3Service {
15
15
  /**
16
16
  * @see {@link AbortMultipartUploadCommand}
17
17
  */
18
- readonly abortMultipartUpload: (args: AbortMultipartUploadCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<AbortMultipartUploadCommandOutput, SdkError | S3ServiceError>;
18
+ abortMultipartUpload(args: AbortMultipartUploadCommandInput, options?: __HttpHandlerOptions): Effect.Effect<AbortMultipartUploadCommandOutput, SdkError | NoSuchUploadError>;
19
19
  /**
20
20
  * @see {@link CompleteMultipartUploadCommand}
21
21
  */
22
- readonly completeMultipartUpload: (args: CompleteMultipartUploadCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CompleteMultipartUploadCommandOutput, SdkError | S3ServiceError>;
22
+ completeMultipartUpload(args: CompleteMultipartUploadCommandInput, options?: __HttpHandlerOptions): Effect.Effect<CompleteMultipartUploadCommandOutput, SdkError | S3ServiceError>;
23
23
  /**
24
24
  * @see {@link CopyObjectCommand}
25
25
  */
26
- readonly copyObject: (args: CopyObjectCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CopyObjectCommandOutput, SdkError | S3ServiceError>;
26
+ copyObject(args: CopyObjectCommandInput, options?: __HttpHandlerOptions): Effect.Effect<CopyObjectCommandOutput, SdkError | ObjectNotInActiveTierError>;
27
27
  /**
28
28
  * @see {@link CreateBucketCommand}
29
29
  */
30
- readonly createBucket: (args: CreateBucketCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateBucketCommandOutput, SdkError | S3ServiceError>;
30
+ createBucket(args: CreateBucketCommandInput, options?: __HttpHandlerOptions): Effect.Effect<CreateBucketCommandOutput, SdkError | BucketAlreadyExistsError | BucketAlreadyOwnedByYouError>;
31
31
  /**
32
32
  * @see {@link CreateMultipartUploadCommand}
33
33
  */
34
- readonly createMultipartUpload: (args: CreateMultipartUploadCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateMultipartUploadCommandOutput, SdkError | S3ServiceError>;
34
+ createMultipartUpload(args: CreateMultipartUploadCommandInput, options?: __HttpHandlerOptions): Effect.Effect<CreateMultipartUploadCommandOutput, SdkError | S3ServiceError>;
35
+ /**
36
+ * @see {@link CreateSessionCommand}
37
+ */
38
+ createSession(args: CreateSessionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<CreateSessionCommandOutput, SdkError | NoSuchBucketError>;
35
39
  /**
36
40
  * @see {@link DeleteBucketCommand}
37
41
  */
38
- readonly deleteBucket: (args: DeleteBucketCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketCommandOutput, SdkError | S3ServiceError>;
42
+ deleteBucket(args: DeleteBucketCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketCommandOutput, SdkError | S3ServiceError>;
39
43
  /**
40
44
  * @see {@link DeleteBucketAnalyticsConfigurationCommand}
41
45
  */
42
- readonly deleteBucketAnalyticsConfiguration: (args: DeleteBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketAnalyticsConfigurationCommandOutput, SdkError | S3ServiceError>;
46
+ deleteBucketAnalyticsConfiguration(args: DeleteBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketAnalyticsConfigurationCommandOutput, SdkError | S3ServiceError>;
43
47
  /**
44
48
  * @see {@link DeleteBucketCorsCommand}
45
49
  */
46
- readonly deleteBucketCors: (args: DeleteBucketCorsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketCorsCommandOutput, SdkError | S3ServiceError>;
50
+ deleteBucketCors(args: DeleteBucketCorsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketCorsCommandOutput, SdkError | S3ServiceError>;
47
51
  /**
48
52
  * @see {@link DeleteBucketEncryptionCommand}
49
53
  */
50
- readonly deleteBucketEncryption: (args: DeleteBucketEncryptionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketEncryptionCommandOutput, SdkError | S3ServiceError>;
54
+ deleteBucketEncryption(args: DeleteBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketEncryptionCommandOutput, SdkError | S3ServiceError>;
51
55
  /**
52
56
  * @see {@link DeleteBucketIntelligentTieringConfigurationCommand}
53
57
  */
54
- readonly deleteBucketIntelligentTieringConfiguration: (args: DeleteBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketIntelligentTieringConfigurationCommandOutput, SdkError | S3ServiceError>;
58
+ deleteBucketIntelligentTieringConfiguration(args: DeleteBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketIntelligentTieringConfigurationCommandOutput, SdkError | S3ServiceError>;
55
59
  /**
56
60
  * @see {@link DeleteBucketInventoryConfigurationCommand}
57
61
  */
58
- readonly deleteBucketInventoryConfiguration: (args: DeleteBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketInventoryConfigurationCommandOutput, SdkError | S3ServiceError>;
62
+ deleteBucketInventoryConfiguration(args: DeleteBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketInventoryConfigurationCommandOutput, SdkError | S3ServiceError>;
59
63
  /**
60
64
  * @see {@link DeleteBucketLifecycleCommand}
61
65
  */
62
- readonly deleteBucketLifecycle: (args: DeleteBucketLifecycleCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketLifecycleCommandOutput, SdkError | S3ServiceError>;
66
+ deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketLifecycleCommandOutput, SdkError | S3ServiceError>;
63
67
  /**
64
68
  * @see {@link DeleteBucketMetricsConfigurationCommand}
65
69
  */
66
- readonly deleteBucketMetricsConfiguration: (args: DeleteBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketMetricsConfigurationCommandOutput, SdkError | S3ServiceError>;
70
+ deleteBucketMetricsConfiguration(args: DeleteBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketMetricsConfigurationCommandOutput, SdkError | S3ServiceError>;
67
71
  /**
68
72
  * @see {@link DeleteBucketOwnershipControlsCommand}
69
73
  */
70
- readonly deleteBucketOwnershipControls: (args: DeleteBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketOwnershipControlsCommandOutput, SdkError | S3ServiceError>;
74
+ deleteBucketOwnershipControls(args: DeleteBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketOwnershipControlsCommandOutput, SdkError | S3ServiceError>;
71
75
  /**
72
76
  * @see {@link DeleteBucketPolicyCommand}
73
77
  */
74
- readonly deleteBucketPolicy: (args: DeleteBucketPolicyCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketPolicyCommandOutput, SdkError | S3ServiceError>;
78
+ deleteBucketPolicy(args: DeleteBucketPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketPolicyCommandOutput, SdkError | S3ServiceError>;
75
79
  /**
76
80
  * @see {@link DeleteBucketReplicationCommand}
77
81
  */
78
- readonly deleteBucketReplication: (args: DeleteBucketReplicationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketReplicationCommandOutput, SdkError | S3ServiceError>;
82
+ deleteBucketReplication(args: DeleteBucketReplicationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketReplicationCommandOutput, SdkError | S3ServiceError>;
79
83
  /**
80
84
  * @see {@link DeleteBucketTaggingCommand}
81
85
  */
82
- readonly deleteBucketTagging: (args: DeleteBucketTaggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketTaggingCommandOutput, SdkError | S3ServiceError>;
86
+ deleteBucketTagging(args: DeleteBucketTaggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketTaggingCommandOutput, SdkError | S3ServiceError>;
83
87
  /**
84
88
  * @see {@link DeleteBucketWebsiteCommand}
85
89
  */
86
- readonly deleteBucketWebsite: (args: DeleteBucketWebsiteCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteBucketWebsiteCommandOutput, SdkError | S3ServiceError>;
90
+ deleteBucketWebsite(args: DeleteBucketWebsiteCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteBucketWebsiteCommandOutput, SdkError | S3ServiceError>;
87
91
  /**
88
92
  * @see {@link DeleteObjectCommand}
89
93
  */
90
- readonly deleteObject: (args: DeleteObjectCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteObjectCommandOutput, SdkError | S3ServiceError>;
94
+ deleteObject(args: DeleteObjectCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteObjectCommandOutput, SdkError | S3ServiceError>;
91
95
  /**
92
96
  * @see {@link DeleteObjectsCommand}
93
97
  */
94
- readonly deleteObjects: (args: DeleteObjectsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteObjectsCommandOutput, SdkError | S3ServiceError>;
98
+ deleteObjects(args: DeleteObjectsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteObjectsCommandOutput, SdkError | S3ServiceError>;
95
99
  /**
96
100
  * @see {@link DeleteObjectTaggingCommand}
97
101
  */
98
- readonly deleteObjectTagging: (args: DeleteObjectTaggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteObjectTaggingCommandOutput, SdkError | S3ServiceError>;
102
+ deleteObjectTagging(args: DeleteObjectTaggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeleteObjectTaggingCommandOutput, SdkError | S3ServiceError>;
99
103
  /**
100
104
  * @see {@link DeletePublicAccessBlockCommand}
101
105
  */
102
- readonly deletePublicAccessBlock: (args: DeletePublicAccessBlockCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeletePublicAccessBlockCommandOutput, SdkError | S3ServiceError>;
106
+ deletePublicAccessBlock(args: DeletePublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Effect.Effect<DeletePublicAccessBlockCommandOutput, SdkError | S3ServiceError>;
103
107
  /**
104
108
  * @see {@link GetBucketAccelerateConfigurationCommand}
105
109
  */
106
- readonly getBucketAccelerateConfiguration: (args: GetBucketAccelerateConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketAccelerateConfigurationCommandOutput, SdkError | S3ServiceError>;
110
+ getBucketAccelerateConfiguration(args: GetBucketAccelerateConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketAccelerateConfigurationCommandOutput, SdkError | S3ServiceError>;
107
111
  /**
108
112
  * @see {@link GetBucketAclCommand}
109
113
  */
110
- readonly getBucketAcl: (args: GetBucketAclCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketAclCommandOutput, SdkError | S3ServiceError>;
114
+ getBucketAcl(args: GetBucketAclCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketAclCommandOutput, SdkError | S3ServiceError>;
111
115
  /**
112
116
  * @see {@link GetBucketAnalyticsConfigurationCommand}
113
117
  */
114
- readonly getBucketAnalyticsConfiguration: (args: GetBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketAnalyticsConfigurationCommandOutput, SdkError | S3ServiceError>;
118
+ getBucketAnalyticsConfiguration(args: GetBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketAnalyticsConfigurationCommandOutput, SdkError | S3ServiceError>;
115
119
  /**
116
120
  * @see {@link GetBucketCorsCommand}
117
121
  */
118
- readonly getBucketCors: (args: GetBucketCorsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketCorsCommandOutput, SdkError | S3ServiceError>;
122
+ getBucketCors(args: GetBucketCorsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketCorsCommandOutput, SdkError | S3ServiceError>;
119
123
  /**
120
124
  * @see {@link GetBucketEncryptionCommand}
121
125
  */
122
- readonly getBucketEncryption: (args: GetBucketEncryptionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketEncryptionCommandOutput, SdkError | S3ServiceError>;
126
+ getBucketEncryption(args: GetBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketEncryptionCommandOutput, SdkError | S3ServiceError>;
123
127
  /**
124
128
  * @see {@link GetBucketIntelligentTieringConfigurationCommand}
125
129
  */
126
- readonly getBucketIntelligentTieringConfiguration: (args: GetBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketIntelligentTieringConfigurationCommandOutput, SdkError | S3ServiceError>;
130
+ getBucketIntelligentTieringConfiguration(args: GetBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketIntelligentTieringConfigurationCommandOutput, SdkError | S3ServiceError>;
127
131
  /**
128
132
  * @see {@link GetBucketInventoryConfigurationCommand}
129
133
  */
130
- readonly getBucketInventoryConfiguration: (args: GetBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketInventoryConfigurationCommandOutput, SdkError | S3ServiceError>;
134
+ getBucketInventoryConfiguration(args: GetBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketInventoryConfigurationCommandOutput, SdkError | S3ServiceError>;
131
135
  /**
132
136
  * @see {@link GetBucketLifecycleConfigurationCommand}
133
137
  */
134
- readonly getBucketLifecycleConfiguration: (args: GetBucketLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketLifecycleConfigurationCommandOutput, SdkError | S3ServiceError>;
138
+ getBucketLifecycleConfiguration(args: GetBucketLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketLifecycleConfigurationCommandOutput, SdkError | S3ServiceError>;
135
139
  /**
136
140
  * @see {@link GetBucketLocationCommand}
137
141
  */
138
- readonly getBucketLocation: (args: GetBucketLocationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketLocationCommandOutput, SdkError | S3ServiceError>;
142
+ getBucketLocation(args: GetBucketLocationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketLocationCommandOutput, SdkError | S3ServiceError>;
139
143
  /**
140
144
  * @see {@link GetBucketLoggingCommand}
141
145
  */
142
- readonly getBucketLogging: (args: GetBucketLoggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketLoggingCommandOutput, SdkError | S3ServiceError>;
146
+ getBucketLogging(args: GetBucketLoggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketLoggingCommandOutput, SdkError | S3ServiceError>;
143
147
  /**
144
148
  * @see {@link GetBucketMetricsConfigurationCommand}
145
149
  */
146
- readonly getBucketMetricsConfiguration: (args: GetBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketMetricsConfigurationCommandOutput, SdkError | S3ServiceError>;
150
+ getBucketMetricsConfiguration(args: GetBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketMetricsConfigurationCommandOutput, SdkError | S3ServiceError>;
147
151
  /**
148
152
  * @see {@link GetBucketNotificationConfigurationCommand}
149
153
  */
150
- readonly getBucketNotificationConfiguration: (args: GetBucketNotificationConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketNotificationConfigurationCommandOutput, SdkError | S3ServiceError>;
154
+ getBucketNotificationConfiguration(args: GetBucketNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketNotificationConfigurationCommandOutput, SdkError | S3ServiceError>;
151
155
  /**
152
156
  * @see {@link GetBucketOwnershipControlsCommand}
153
157
  */
154
- readonly getBucketOwnershipControls: (args: GetBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketOwnershipControlsCommandOutput, SdkError | S3ServiceError>;
158
+ getBucketOwnershipControls(args: GetBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketOwnershipControlsCommandOutput, SdkError | S3ServiceError>;
155
159
  /**
156
160
  * @see {@link GetBucketPolicyCommand}
157
161
  */
158
- readonly getBucketPolicy: (args: GetBucketPolicyCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketPolicyCommandOutput, SdkError | S3ServiceError>;
162
+ getBucketPolicy(args: GetBucketPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketPolicyCommandOutput, SdkError | S3ServiceError>;
159
163
  /**
160
164
  * @see {@link GetBucketPolicyStatusCommand}
161
165
  */
162
- readonly getBucketPolicyStatus: (args: GetBucketPolicyStatusCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketPolicyStatusCommandOutput, SdkError | S3ServiceError>;
166
+ getBucketPolicyStatus(args: GetBucketPolicyStatusCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketPolicyStatusCommandOutput, SdkError | S3ServiceError>;
163
167
  /**
164
168
  * @see {@link GetBucketReplicationCommand}
165
169
  */
166
- readonly getBucketReplication: (args: GetBucketReplicationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketReplicationCommandOutput, SdkError | S3ServiceError>;
170
+ getBucketReplication(args: GetBucketReplicationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketReplicationCommandOutput, SdkError | S3ServiceError>;
167
171
  /**
168
172
  * @see {@link GetBucketRequestPaymentCommand}
169
173
  */
170
- readonly getBucketRequestPayment: (args: GetBucketRequestPaymentCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketRequestPaymentCommandOutput, SdkError | S3ServiceError>;
174
+ getBucketRequestPayment(args: GetBucketRequestPaymentCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketRequestPaymentCommandOutput, SdkError | S3ServiceError>;
171
175
  /**
172
176
  * @see {@link GetBucketTaggingCommand}
173
177
  */
174
- readonly getBucketTagging: (args: GetBucketTaggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketTaggingCommandOutput, SdkError | S3ServiceError>;
178
+ getBucketTagging(args: GetBucketTaggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketTaggingCommandOutput, SdkError | S3ServiceError>;
175
179
  /**
176
180
  * @see {@link GetBucketVersioningCommand}
177
181
  */
178
- readonly getBucketVersioning: (args: GetBucketVersioningCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketVersioningCommandOutput, SdkError | S3ServiceError>;
182
+ getBucketVersioning(args: GetBucketVersioningCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketVersioningCommandOutput, SdkError | S3ServiceError>;
179
183
  /**
180
184
  * @see {@link GetBucketWebsiteCommand}
181
185
  */
182
- readonly getBucketWebsite: (args: GetBucketWebsiteCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetBucketWebsiteCommandOutput, SdkError | S3ServiceError>;
186
+ getBucketWebsite(args: GetBucketWebsiteCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetBucketWebsiteCommandOutput, SdkError | S3ServiceError>;
183
187
  /**
184
188
  * @see {@link GetObjectCommand}
185
189
  */
186
- readonly getObject: {
187
- (args: GetObjectCommandInput, options?: {
188
- readonly presigned?: false;
189
- } & __HttpHandlerOptions): Effect.Effect<GetObjectCommandOutput, SdkError | S3ServiceError>;
190
- (args: GetObjectCommandInput, options?: {
191
- readonly presigned: true;
192
- } & RequestPresigningArguments): Effect.Effect<string, SdkError | S3ServiceError>;
193
- };
190
+ getObject(args: GetObjectCommandInput, options?: {
191
+ readonly presigned?: false;
192
+ } & __HttpHandlerOptions): Effect.Effect<GetObjectCommandOutput, SdkError | InvalidObjectStateError | NoSuchKeyError>;
193
+ getObject(args: GetObjectCommandInput, options?: {
194
+ readonly presigned: true;
195
+ } & RequestPresigningArguments): Effect.Effect<string, SdkError | S3ServiceError>;
194
196
  /**
195
197
  * @see {@link GetObjectAclCommand}
196
198
  */
197
- readonly getObjectAcl: (args: GetObjectAclCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectAclCommandOutput, SdkError | S3ServiceError>;
199
+ getObjectAcl(args: GetObjectAclCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectAclCommandOutput, SdkError | NoSuchKeyError>;
198
200
  /**
199
201
  * @see {@link GetObjectAttributesCommand}
200
202
  */
201
- readonly getObjectAttributes: (args: GetObjectAttributesCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectAttributesCommandOutput, SdkError | S3ServiceError>;
203
+ getObjectAttributes(args: GetObjectAttributesCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectAttributesCommandOutput, SdkError | NoSuchKeyError>;
202
204
  /**
203
205
  * @see {@link GetObjectLegalHoldCommand}
204
206
  */
205
- readonly getObjectLegalHold: (args: GetObjectLegalHoldCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectLegalHoldCommandOutput, SdkError | S3ServiceError>;
207
+ getObjectLegalHold(args: GetObjectLegalHoldCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectLegalHoldCommandOutput, SdkError | S3ServiceError>;
206
208
  /**
207
209
  * @see {@link GetObjectLockConfigurationCommand}
208
210
  */
209
- readonly getObjectLockConfiguration: (args: GetObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectLockConfigurationCommandOutput, SdkError | S3ServiceError>;
211
+ getObjectLockConfiguration(args: GetObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectLockConfigurationCommandOutput, SdkError | S3ServiceError>;
210
212
  /**
211
213
  * @see {@link GetObjectRetentionCommand}
212
214
  */
213
- readonly getObjectRetention: (args: GetObjectRetentionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectRetentionCommandOutput, SdkError | S3ServiceError>;
215
+ getObjectRetention(args: GetObjectRetentionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectRetentionCommandOutput, SdkError | S3ServiceError>;
214
216
  /**
215
217
  * @see {@link GetObjectTaggingCommand}
216
218
  */
217
- readonly getObjectTagging: (args: GetObjectTaggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectTaggingCommandOutput, SdkError | S3ServiceError>;
219
+ getObjectTagging(args: GetObjectTaggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectTaggingCommandOutput, SdkError | S3ServiceError>;
218
220
  /**
219
221
  * @see {@link GetObjectTorrentCommand}
220
222
  */
221
- readonly getObjectTorrent: (args: GetObjectTorrentCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetObjectTorrentCommandOutput, SdkError | S3ServiceError>;
223
+ getObjectTorrent(args: GetObjectTorrentCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetObjectTorrentCommandOutput, SdkError | S3ServiceError>;
222
224
  /**
223
225
  * @see {@link GetPublicAccessBlockCommand}
224
226
  */
225
- readonly getPublicAccessBlock: (args: GetPublicAccessBlockCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<GetPublicAccessBlockCommandOutput, SdkError | S3ServiceError>;
227
+ getPublicAccessBlock(args: GetPublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetPublicAccessBlockCommandOutput, SdkError | S3ServiceError>;
226
228
  /**
227
229
  * @see {@link HeadBucketCommand}
228
230
  */
229
- readonly headBucket: (args: HeadBucketCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<HeadBucketCommandOutput, SdkError | S3ServiceError>;
231
+ headBucket(args: HeadBucketCommandInput, options?: __HttpHandlerOptions): Effect.Effect<HeadBucketCommandOutput, SdkError | NotFoundError>;
230
232
  /**
231
233
  * @see {@link HeadObjectCommand}
232
234
  */
233
- readonly headObject: (args: HeadObjectCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<HeadObjectCommandOutput, SdkError | S3ServiceError>;
235
+ headObject(args: HeadObjectCommandInput, options?: __HttpHandlerOptions): Effect.Effect<HeadObjectCommandOutput, SdkError | NotFoundError>;
234
236
  /**
235
237
  * @see {@link ListBucketAnalyticsConfigurationsCommand}
236
238
  */
237
- readonly listBucketAnalyticsConfigurations: (args: ListBucketAnalyticsConfigurationsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListBucketAnalyticsConfigurationsCommandOutput, SdkError | S3ServiceError>;
239
+ listBucketAnalyticsConfigurations(args: ListBucketAnalyticsConfigurationsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListBucketAnalyticsConfigurationsCommandOutput, SdkError | S3ServiceError>;
238
240
  /**
239
241
  * @see {@link ListBucketIntelligentTieringConfigurationsCommand}
240
242
  */
241
- readonly listBucketIntelligentTieringConfigurations: (args: ListBucketIntelligentTieringConfigurationsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListBucketIntelligentTieringConfigurationsCommandOutput, SdkError | S3ServiceError>;
243
+ listBucketIntelligentTieringConfigurations(args: ListBucketIntelligentTieringConfigurationsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListBucketIntelligentTieringConfigurationsCommandOutput, SdkError | S3ServiceError>;
242
244
  /**
243
245
  * @see {@link ListBucketInventoryConfigurationsCommand}
244
246
  */
245
- readonly listBucketInventoryConfigurations: (args: ListBucketInventoryConfigurationsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListBucketInventoryConfigurationsCommandOutput, SdkError | S3ServiceError>;
247
+ listBucketInventoryConfigurations(args: ListBucketInventoryConfigurationsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListBucketInventoryConfigurationsCommandOutput, SdkError | S3ServiceError>;
246
248
  /**
247
249
  * @see {@link ListBucketMetricsConfigurationsCommand}
248
250
  */
249
- readonly listBucketMetricsConfigurations: (args: ListBucketMetricsConfigurationsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListBucketMetricsConfigurationsCommandOutput, SdkError | S3ServiceError>;
251
+ listBucketMetricsConfigurations(args: ListBucketMetricsConfigurationsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListBucketMetricsConfigurationsCommandOutput, SdkError | S3ServiceError>;
250
252
  /**
251
253
  * @see {@link ListBucketsCommand}
252
254
  */
253
- readonly listBuckets: (args: ListBucketsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListBucketsCommandOutput, SdkError | S3ServiceError>;
255
+ listBuckets(args: ListBucketsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListBucketsCommandOutput, SdkError | S3ServiceError>;
256
+ /**
257
+ * @see {@link ListDirectoryBucketsCommand}
258
+ */
259
+ listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListDirectoryBucketsCommandOutput, SdkError | S3ServiceError>;
254
260
  /**
255
261
  * @see {@link ListMultipartUploadsCommand}
256
262
  */
257
- readonly listMultipartUploads: (args: ListMultipartUploadsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListMultipartUploadsCommandOutput, SdkError | S3ServiceError>;
263
+ listMultipartUploads(args: ListMultipartUploadsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListMultipartUploadsCommandOutput, SdkError | S3ServiceError>;
258
264
  /**
259
265
  * @see {@link ListObjectsCommand}
260
266
  */
261
- readonly listObjects: (args: ListObjectsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListObjectsCommandOutput, SdkError | S3ServiceError>;
267
+ listObjects(args: ListObjectsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListObjectsCommandOutput, SdkError | NoSuchBucketError>;
262
268
  /**
263
269
  * @see {@link ListObjectsV2Command}
264
270
  */
265
- readonly listObjectsV2: (args: ListObjectsV2CommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListObjectsV2CommandOutput, SdkError | S3ServiceError>;
271
+ listObjectsV2(args: ListObjectsV2CommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListObjectsV2CommandOutput, SdkError | NoSuchBucketError>;
266
272
  /**
267
273
  * @see {@link ListObjectVersionsCommand}
268
274
  */
269
- readonly listObjectVersions: (args: ListObjectVersionsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListObjectVersionsCommandOutput, SdkError | S3ServiceError>;
275
+ listObjectVersions(args: ListObjectVersionsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListObjectVersionsCommandOutput, SdkError | S3ServiceError>;
270
276
  /**
271
277
  * @see {@link ListPartsCommand}
272
278
  */
273
- readonly listParts: (args: ListPartsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListPartsCommandOutput, SdkError | S3ServiceError>;
279
+ listParts(args: ListPartsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<ListPartsCommandOutput, SdkError | S3ServiceError>;
274
280
  /**
275
281
  * @see {@link PutBucketAccelerateConfigurationCommand}
276
282
  */
277
- readonly putBucketAccelerateConfiguration: (args: PutBucketAccelerateConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketAccelerateConfigurationCommandOutput, SdkError | S3ServiceError>;
283
+ putBucketAccelerateConfiguration(args: PutBucketAccelerateConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketAccelerateConfigurationCommandOutput, SdkError | S3ServiceError>;
278
284
  /**
279
285
  * @see {@link PutBucketAclCommand}
280
286
  */
281
- readonly putBucketAcl: (args: PutBucketAclCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketAclCommandOutput, SdkError | S3ServiceError>;
287
+ putBucketAcl(args: PutBucketAclCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketAclCommandOutput, SdkError | S3ServiceError>;
282
288
  /**
283
289
  * @see {@link PutBucketAnalyticsConfigurationCommand}
284
290
  */
285
- readonly putBucketAnalyticsConfiguration: (args: PutBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketAnalyticsConfigurationCommandOutput, SdkError | S3ServiceError>;
291
+ putBucketAnalyticsConfiguration(args: PutBucketAnalyticsConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketAnalyticsConfigurationCommandOutput, SdkError | S3ServiceError>;
286
292
  /**
287
293
  * @see {@link PutBucketCorsCommand}
288
294
  */
289
- readonly putBucketCors: (args: PutBucketCorsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketCorsCommandOutput, SdkError | S3ServiceError>;
295
+ putBucketCors(args: PutBucketCorsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketCorsCommandOutput, SdkError | S3ServiceError>;
290
296
  /**
291
297
  * @see {@link PutBucketEncryptionCommand}
292
298
  */
293
- readonly putBucketEncryption: (args: PutBucketEncryptionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketEncryptionCommandOutput, SdkError | S3ServiceError>;
299
+ putBucketEncryption(args: PutBucketEncryptionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketEncryptionCommandOutput, SdkError | S3ServiceError>;
294
300
  /**
295
301
  * @see {@link PutBucketIntelligentTieringConfigurationCommand}
296
302
  */
297
- readonly putBucketIntelligentTieringConfiguration: (args: PutBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketIntelligentTieringConfigurationCommandOutput, SdkError | S3ServiceError>;
303
+ putBucketIntelligentTieringConfiguration(args: PutBucketIntelligentTieringConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketIntelligentTieringConfigurationCommandOutput, SdkError | S3ServiceError>;
298
304
  /**
299
305
  * @see {@link PutBucketInventoryConfigurationCommand}
300
306
  */
301
- readonly putBucketInventoryConfiguration: (args: PutBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketInventoryConfigurationCommandOutput, SdkError | S3ServiceError>;
307
+ putBucketInventoryConfiguration(args: PutBucketInventoryConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketInventoryConfigurationCommandOutput, SdkError | S3ServiceError>;
302
308
  /**
303
309
  * @see {@link PutBucketLifecycleConfigurationCommand}
304
310
  */
305
- readonly putBucketLifecycleConfiguration: (args: PutBucketLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketLifecycleConfigurationCommandOutput, SdkError | S3ServiceError>;
311
+ putBucketLifecycleConfiguration(args: PutBucketLifecycleConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketLifecycleConfigurationCommandOutput, SdkError | S3ServiceError>;
306
312
  /**
307
313
  * @see {@link PutBucketLoggingCommand}
308
314
  */
309
- readonly putBucketLogging: (args: PutBucketLoggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketLoggingCommandOutput, SdkError | S3ServiceError>;
315
+ putBucketLogging(args: PutBucketLoggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketLoggingCommandOutput, SdkError | S3ServiceError>;
310
316
  /**
311
317
  * @see {@link PutBucketMetricsConfigurationCommand}
312
318
  */
313
- readonly putBucketMetricsConfiguration: (args: PutBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketMetricsConfigurationCommandOutput, SdkError | S3ServiceError>;
319
+ putBucketMetricsConfiguration(args: PutBucketMetricsConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketMetricsConfigurationCommandOutput, SdkError | S3ServiceError>;
314
320
  /**
315
321
  * @see {@link PutBucketNotificationConfigurationCommand}
316
322
  */
317
- readonly putBucketNotificationConfiguration: (args: PutBucketNotificationConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketNotificationConfigurationCommandOutput, SdkError | S3ServiceError>;
323
+ putBucketNotificationConfiguration(args: PutBucketNotificationConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketNotificationConfigurationCommandOutput, SdkError | S3ServiceError>;
318
324
  /**
319
325
  * @see {@link PutBucketOwnershipControlsCommand}
320
326
  */
321
- readonly putBucketOwnershipControls: (args: PutBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketOwnershipControlsCommandOutput, SdkError | S3ServiceError>;
327
+ putBucketOwnershipControls(args: PutBucketOwnershipControlsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketOwnershipControlsCommandOutput, SdkError | S3ServiceError>;
322
328
  /**
323
329
  * @see {@link PutBucketPolicyCommand}
324
330
  */
325
- readonly putBucketPolicy: (args: PutBucketPolicyCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketPolicyCommandOutput, SdkError | S3ServiceError>;
331
+ putBucketPolicy(args: PutBucketPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketPolicyCommandOutput, SdkError | S3ServiceError>;
326
332
  /**
327
333
  * @see {@link PutBucketReplicationCommand}
328
334
  */
329
- readonly putBucketReplication: (args: PutBucketReplicationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketReplicationCommandOutput, SdkError | S3ServiceError>;
335
+ putBucketReplication(args: PutBucketReplicationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketReplicationCommandOutput, SdkError | S3ServiceError>;
330
336
  /**
331
337
  * @see {@link PutBucketRequestPaymentCommand}
332
338
  */
333
- readonly putBucketRequestPayment: (args: PutBucketRequestPaymentCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketRequestPaymentCommandOutput, SdkError | S3ServiceError>;
339
+ putBucketRequestPayment(args: PutBucketRequestPaymentCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketRequestPaymentCommandOutput, SdkError | S3ServiceError>;
334
340
  /**
335
341
  * @see {@link PutBucketTaggingCommand}
336
342
  */
337
- readonly putBucketTagging: (args: PutBucketTaggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketTaggingCommandOutput, SdkError | S3ServiceError>;
343
+ putBucketTagging(args: PutBucketTaggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketTaggingCommandOutput, SdkError | S3ServiceError>;
338
344
  /**
339
345
  * @see {@link PutBucketVersioningCommand}
340
346
  */
341
- readonly putBucketVersioning: (args: PutBucketVersioningCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketVersioningCommandOutput, SdkError | S3ServiceError>;
347
+ putBucketVersioning(args: PutBucketVersioningCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketVersioningCommandOutput, SdkError | S3ServiceError>;
342
348
  /**
343
349
  * @see {@link PutBucketWebsiteCommand}
344
350
  */
345
- readonly putBucketWebsite: (args: PutBucketWebsiteCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutBucketWebsiteCommandOutput, SdkError | S3ServiceError>;
351
+ putBucketWebsite(args: PutBucketWebsiteCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutBucketWebsiteCommandOutput, SdkError | S3ServiceError>;
346
352
  /**
347
353
  * @see {@link PutObjectCommand}
348
354
  */
349
- readonly putObject: {
350
- (args: PutObjectCommandInput, options?: {
351
- readonly presigned?: false;
352
- } & __HttpHandlerOptions): Effect.Effect<PutObjectCommandOutput, SdkError | S3ServiceError>;
353
- (args: PutObjectCommandInput, options?: {
354
- readonly presigned: true;
355
- } & RequestPresigningArguments): Effect.Effect<string, SdkError | S3ServiceError>;
356
- };
355
+ putObject(args: PutObjectCommandInput, options?: {
356
+ readonly presigned?: false;
357
+ } & __HttpHandlerOptions): Effect.Effect<PutObjectCommandOutput, SdkError | S3ServiceError>;
358
+ putObject(args: PutObjectCommandInput, options?: {
359
+ readonly presigned: true;
360
+ } & RequestPresigningArguments): Effect.Effect<string, SdkError | S3ServiceError>;
357
361
  /**
358
362
  * @see {@link PutObjectAclCommand}
359
363
  */
360
- readonly putObjectAcl: (args: PutObjectAclCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutObjectAclCommandOutput, SdkError | S3ServiceError>;
364
+ putObjectAcl(args: PutObjectAclCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutObjectAclCommandOutput, SdkError | NoSuchKeyError>;
361
365
  /**
362
366
  * @see {@link PutObjectLegalHoldCommand}
363
367
  */
364
- readonly putObjectLegalHold: (args: PutObjectLegalHoldCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutObjectLegalHoldCommandOutput, SdkError | S3ServiceError>;
368
+ putObjectLegalHold(args: PutObjectLegalHoldCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutObjectLegalHoldCommandOutput, SdkError | S3ServiceError>;
365
369
  /**
366
370
  * @see {@link PutObjectLockConfigurationCommand}
367
371
  */
368
- readonly putObjectLockConfiguration: (args: PutObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutObjectLockConfigurationCommandOutput, SdkError | S3ServiceError>;
372
+ putObjectLockConfiguration(args: PutObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutObjectLockConfigurationCommandOutput, SdkError | S3ServiceError>;
369
373
  /**
370
374
  * @see {@link PutObjectRetentionCommand}
371
375
  */
372
- readonly putObjectRetention: (args: PutObjectRetentionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutObjectRetentionCommandOutput, SdkError | S3ServiceError>;
376
+ putObjectRetention(args: PutObjectRetentionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutObjectRetentionCommandOutput, SdkError | S3ServiceError>;
373
377
  /**
374
378
  * @see {@link PutObjectTaggingCommand}
375
379
  */
376
- readonly putObjectTagging: (args: PutObjectTaggingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutObjectTaggingCommandOutput, SdkError | S3ServiceError>;
380
+ putObjectTagging(args: PutObjectTaggingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutObjectTaggingCommandOutput, SdkError | S3ServiceError>;
377
381
  /**
378
382
  * @see {@link PutPublicAccessBlockCommand}
379
383
  */
380
- readonly putPublicAccessBlock: (args: PutPublicAccessBlockCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PutPublicAccessBlockCommandOutput, SdkError | S3ServiceError>;
384
+ putPublicAccessBlock(args: PutPublicAccessBlockCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutPublicAccessBlockCommandOutput, SdkError | S3ServiceError>;
381
385
  /**
382
386
  * @see {@link RestoreObjectCommand}
383
387
  */
384
- readonly restoreObject: (args: RestoreObjectCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<RestoreObjectCommandOutput, SdkError | S3ServiceError>;
388
+ restoreObject(args: RestoreObjectCommandInput, options?: __HttpHandlerOptions): Effect.Effect<RestoreObjectCommandOutput, SdkError | ObjectAlreadyInActiveTierError>;
385
389
  /**
386
390
  * @see {@link SelectObjectContentCommand}
387
391
  */
388
- readonly selectObjectContent: (args: SelectObjectContentCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<SelectObjectContentCommandOutput, SdkError | S3ServiceError>;
392
+ selectObjectContent(args: SelectObjectContentCommandInput, options?: __HttpHandlerOptions): Effect.Effect<SelectObjectContentCommandOutput, SdkError | S3ServiceError>;
389
393
  /**
390
394
  * @see {@link UploadPartCommand}
391
395
  */
392
- readonly uploadPart: (args: UploadPartCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<UploadPartCommandOutput, SdkError | S3ServiceError>;
396
+ uploadPart(args: UploadPartCommandInput, options?: __HttpHandlerOptions): Effect.Effect<UploadPartCommandOutput, SdkError | S3ServiceError>;
393
397
  /**
394
398
  * @see {@link UploadPartCopyCommand}
395
399
  */
396
- readonly uploadPartCopy: (args: UploadPartCopyCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<UploadPartCopyCommandOutput, SdkError | S3ServiceError>;
400
+ uploadPartCopy(args: UploadPartCopyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<UploadPartCopyCommandOutput, SdkError | S3ServiceError>;
397
401
  /**
398
402
  * @see {@link WriteGetObjectResponseCommand}
399
403
  */
400
- readonly writeGetObjectResponse: (args: WriteGetObjectResponseCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<WriteGetObjectResponseCommandOutput, SdkError | S3ServiceError>;
404
+ writeGetObjectResponse(args: WriteGetObjectResponseCommandInput, options?: __HttpHandlerOptions): Effect.Effect<WriteGetObjectResponseCommandOutput, SdkError | S3ServiceError>;
401
405
  }
402
406
  /**
403
407
  * @since 1.0.0