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