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