@aws-sdk/client-s3 3.186.0 → 3.188.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 +11 -0
- package/dist-cjs/protocols/Aws_restXml.js +10 -4
- package/dist-cjs/runtimeConfig.browser.js +10 -9
- package/dist-cjs/runtimeConfig.js +11 -10
- package/dist-es/S3.js +374 -381
- package/dist-es/S3Client.js +26 -32
- package/dist-es/commands/AbortMultipartUploadCommand.js +21 -28
- package/dist-es/commands/CompleteMultipartUploadCommand.js +21 -28
- package/dist-es/commands/CopyObjectCommand.js +21 -28
- package/dist-es/commands/CreateBucketCommand.js +21 -28
- package/dist-es/commands/CreateMultipartUploadCommand.js +21 -28
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketCommand.js +22 -29
- package/dist-es/commands/DeleteBucketCorsCommand.js +22 -29
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +22 -29
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +22 -29
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +22 -29
- package/dist-es/commands/DeleteBucketPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteBucketReplicationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketTaggingCommand.js +22 -29
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +22 -29
- package/dist-es/commands/DeleteObjectCommand.js +21 -28
- package/dist-es/commands/DeleteObjectTaggingCommand.js +21 -28
- package/dist-es/commands/DeleteObjectsCommand.js +21 -28
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +22 -29
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketAclCommand.js +21 -28
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketCorsCommand.js +21 -28
- package/dist-es/commands/GetBucketEncryptionCommand.js +21 -28
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketLocationCommand.js +21 -28
- package/dist-es/commands/GetBucketLoggingCommand.js +21 -28
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +21 -28
- package/dist-es/commands/GetBucketPolicyCommand.js +21 -28
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +21 -28
- package/dist-es/commands/GetBucketReplicationCommand.js +21 -28
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +21 -28
- package/dist-es/commands/GetBucketTaggingCommand.js +21 -28
- package/dist-es/commands/GetBucketVersioningCommand.js +21 -28
- package/dist-es/commands/GetBucketWebsiteCommand.js +21 -28
- package/dist-es/commands/GetObjectAclCommand.js +21 -28
- package/dist-es/commands/GetObjectAttributesCommand.js +21 -28
- package/dist-es/commands/GetObjectCommand.js +21 -28
- package/dist-es/commands/GetObjectLegalHoldCommand.js +21 -28
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -28
- package/dist-es/commands/GetObjectRetentionCommand.js +21 -28
- package/dist-es/commands/GetObjectTaggingCommand.js +21 -28
- package/dist-es/commands/GetObjectTorrentCommand.js +21 -28
- package/dist-es/commands/GetPublicAccessBlockCommand.js +21 -28
- package/dist-es/commands/HeadBucketCommand.js +22 -29
- package/dist-es/commands/HeadObjectCommand.js +21 -28
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListBucketsCommand.js +22 -29
- package/dist-es/commands/ListMultipartUploadsCommand.js +21 -28
- package/dist-es/commands/ListObjectVersionsCommand.js +21 -28
- package/dist-es/commands/ListObjectsCommand.js +21 -28
- package/dist-es/commands/ListObjectsV2Command.js +21 -28
- package/dist-es/commands/ListPartsCommand.js +21 -28
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketAclCommand.js +22 -29
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketCorsCommand.js +22 -29
- package/dist-es/commands/PutBucketEncryptionCommand.js +22 -29
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketLoggingCommand.js +22 -29
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +22 -29
- package/dist-es/commands/PutBucketPolicyCommand.js +22 -29
- package/dist-es/commands/PutBucketReplicationCommand.js +22 -29
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +22 -29
- package/dist-es/commands/PutBucketTaggingCommand.js +22 -29
- package/dist-es/commands/PutBucketVersioningCommand.js +22 -29
- package/dist-es/commands/PutBucketWebsiteCommand.js +22 -29
- package/dist-es/commands/PutObjectAclCommand.js +21 -28
- package/dist-es/commands/PutObjectCommand.js +21 -28
- package/dist-es/commands/PutObjectLegalHoldCommand.js +21 -28
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +21 -28
- package/dist-es/commands/PutObjectRetentionCommand.js +21 -28
- package/dist-es/commands/PutObjectTaggingCommand.js +21 -28
- package/dist-es/commands/PutPublicAccessBlockCommand.js +22 -29
- package/dist-es/commands/RestoreObjectCommand.js +21 -28
- package/dist-es/commands/SelectObjectContentCommand.js +21 -28
- package/dist-es/commands/UploadPartCommand.js +21 -28
- package/dist-es/commands/UploadPartCopyCommand.js +21 -28
- package/dist-es/commands/WriteGetObjectResponseCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/S3ServiceException.js +5 -10
- package/dist-es/models/models_0.js +896 -378
- package/dist-es/models/models_1.js +141 -54
- package/dist-es/pagination/ListObjectsV2Paginator.js +25 -68
- package/dist-es/pagination/ListPartsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restXml.js +6902 -9027
- package/dist-es/runtimeConfig.browser.js +33 -13
- package/dist-es/runtimeConfig.js +38 -13
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +11 -14
- package/dist-es/waiters/waitForBucketExists.js +23 -42
- package/dist-es/waiters/waitForBucketNotExists.js +22 -42
- package/dist-es/waiters/waitForObjectExists.js +23 -42
- package/dist-es/waiters/waitForObjectNotExists.js +22 -42
- package/dist-types/S3Client.d.ts +6 -1
- package/dist-types/commands/GetObjectCommand.d.ts +2 -2
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +2 -2
- package/dist-types/protocols/Aws_restXml.d.ts +3 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/S3Client.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +51 -52
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
5
|
MetadataBearer as __MetadataBearer,
|
|
6
6
|
MiddlewareStack,
|
|
7
|
+
WithSdkStreamMixin as __WithSdkStreamMixin,
|
|
7
8
|
} from "@aws-sdk/types";
|
|
8
9
|
import {
|
|
9
10
|
GetObjectTorrentOutput,
|
|
@@ -16,7 +17,7 @@ import {
|
|
|
16
17
|
} from "../S3Client";
|
|
17
18
|
export interface GetObjectTorrentCommandInput extends GetObjectTorrentRequest {}
|
|
18
19
|
export interface GetObjectTorrentCommandOutput
|
|
19
|
-
extends GetObjectTorrentOutput,
|
|
20
|
+
extends __WithSdkStreamMixin<GetObjectTorrentOutput, "Body">,
|
|
20
21
|
__MetadataBearer {}
|
|
21
22
|
export declare class GetObjectTorrentCommand extends $Command<
|
|
22
23
|
GetObjectTorrentCommandInput,
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
} from "@aws-sdk/protocol-http";
|
|
5
5
|
import {
|
|
6
6
|
EventStreamSerdeContext as __EventStreamSerdeContext,
|
|
7
|
+
SdkStreamSerdeContext as __SdkStreamSerdeContext,
|
|
7
8
|
SerdeContext as __SerdeContext,
|
|
8
9
|
} from "@aws-sdk/types";
|
|
9
10
|
import {
|
|
@@ -920,7 +921,7 @@ export declare const deserializeAws_restXmlGetBucketWebsiteCommand: (
|
|
|
920
921
|
) => Promise<GetBucketWebsiteCommandOutput>;
|
|
921
922
|
export declare const deserializeAws_restXmlGetObjectCommand: (
|
|
922
923
|
output: __HttpResponse,
|
|
923
|
-
context: __SerdeContext
|
|
924
|
+
context: __SerdeContext & __SdkStreamSerdeContext
|
|
924
925
|
) => Promise<GetObjectCommandOutput>;
|
|
925
926
|
export declare const deserializeAws_restXmlGetObjectAclCommand: (
|
|
926
927
|
output: __HttpResponse,
|
|
@@ -948,7 +949,7 @@ export declare const deserializeAws_restXmlGetObjectTaggingCommand: (
|
|
|
948
949
|
) => Promise<GetObjectTaggingCommandOutput>;
|
|
949
950
|
export declare const deserializeAws_restXmlGetObjectTorrentCommand: (
|
|
950
951
|
output: __HttpResponse,
|
|
951
|
-
context: __SerdeContext
|
|
952
|
+
context: __SerdeContext & __SdkStreamSerdeContext
|
|
952
953
|
) => Promise<GetObjectTorrentCommandOutput>;
|
|
953
954
|
export declare const deserializeAws_restXmlGetPublicAccessBlockCommand: (
|
|
954
955
|
output: __HttpResponse,
|
|
@@ -30,6 +30,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
30
30
|
import("@aws-sdk/protocol-http").HttpHandler)
|
|
31
31
|
| RequestHandler;
|
|
32
32
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
33
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
33
34
|
sha1: import("@aws-sdk/types").HashConstructor;
|
|
34
35
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
35
36
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
33
33
|
import("@aws-sdk/protocol-http").HttpHandler)
|
|
34
34
|
| RequestHandler;
|
|
35
35
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
36
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
36
37
|
sha1: __HashConstructor;
|
|
37
38
|
sha256: __HashConstructor;
|
|
38
39
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -49,6 +49,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
49
49
|
| import("@aws-sdk/types").Provider<
|
|
50
50
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
51
51
|
>;
|
|
52
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
52
53
|
endpoint?:
|
|
53
54
|
| string
|
|
54
55
|
| import("@aws-sdk/types").Endpoint
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.188.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -23,60 +23,59 @@
|
|
|
23
23
|
"@aws-crypto/sha1-browser": "2.0.0",
|
|
24
24
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/config-resolver": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
30
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
32
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
33
|
-
"@aws-sdk/hash-blob-browser": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/hash-stream-node": "3.
|
|
36
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
37
|
-
"@aws-sdk/md5-js": "3.
|
|
38
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
39
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
40
|
-
"@aws-sdk/middleware-expect-continue": "3.
|
|
41
|
-
"@aws-sdk/middleware-flexible-checksums": "3.
|
|
42
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
43
|
-
"@aws-sdk/middleware-location-constraint": "3.
|
|
44
|
-
"@aws-sdk/middleware-logger": "3.
|
|
45
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
46
|
-
"@aws-sdk/middleware-retry": "3.
|
|
47
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
48
|
-
"@aws-sdk/middleware-serde": "3.
|
|
49
|
-
"@aws-sdk/middleware-signing": "3.
|
|
50
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
51
|
-
"@aws-sdk/middleware-stack": "3.
|
|
52
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
53
|
-
"@aws-sdk/node-config-provider": "3.
|
|
54
|
-
"@aws-sdk/node-http-handler": "3.
|
|
55
|
-
"@aws-sdk/protocol-http": "3.
|
|
56
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
57
|
-
"@aws-sdk/smithy-client": "3.
|
|
58
|
-
"@aws-sdk/types": "3.
|
|
59
|
-
"@aws-sdk/url-parser": "3.
|
|
60
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
61
|
-
"@aws-sdk/util-base64-node": "3.
|
|
62
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
63
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
64
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
65
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
66
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
67
|
-
"@aws-sdk/util-stream-node": "3.
|
|
68
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
69
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
70
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
71
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
72
|
-
"@aws-sdk/util-waiter": "3.
|
|
73
|
-
"@aws-sdk/xml-builder": "3.
|
|
74
|
-
"
|
|
75
|
-
"fast-xml-parser": "3.19.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.188.0",
|
|
27
|
+
"@aws-sdk/config-resolver": "3.188.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.188.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-browser": "3.188.0",
|
|
30
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.188.0",
|
|
31
|
+
"@aws-sdk/eventstream-serde-node": "3.188.0",
|
|
32
|
+
"@aws-sdk/fetch-http-handler": "3.188.0",
|
|
33
|
+
"@aws-sdk/hash-blob-browser": "3.188.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.188.0",
|
|
35
|
+
"@aws-sdk/hash-stream-node": "3.188.0",
|
|
36
|
+
"@aws-sdk/invalid-dependency": "3.188.0",
|
|
37
|
+
"@aws-sdk/md5-js": "3.188.0",
|
|
38
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.188.0",
|
|
39
|
+
"@aws-sdk/middleware-content-length": "3.188.0",
|
|
40
|
+
"@aws-sdk/middleware-expect-continue": "3.188.0",
|
|
41
|
+
"@aws-sdk/middleware-flexible-checksums": "3.188.0",
|
|
42
|
+
"@aws-sdk/middleware-host-header": "3.188.0",
|
|
43
|
+
"@aws-sdk/middleware-location-constraint": "3.188.0",
|
|
44
|
+
"@aws-sdk/middleware-logger": "3.188.0",
|
|
45
|
+
"@aws-sdk/middleware-recursion-detection": "3.188.0",
|
|
46
|
+
"@aws-sdk/middleware-retry": "3.188.0",
|
|
47
|
+
"@aws-sdk/middleware-sdk-s3": "3.188.0",
|
|
48
|
+
"@aws-sdk/middleware-serde": "3.188.0",
|
|
49
|
+
"@aws-sdk/middleware-signing": "3.188.0",
|
|
50
|
+
"@aws-sdk/middleware-ssec": "3.188.0",
|
|
51
|
+
"@aws-sdk/middleware-stack": "3.188.0",
|
|
52
|
+
"@aws-sdk/middleware-user-agent": "3.188.0",
|
|
53
|
+
"@aws-sdk/node-config-provider": "3.188.0",
|
|
54
|
+
"@aws-sdk/node-http-handler": "3.188.0",
|
|
55
|
+
"@aws-sdk/protocol-http": "3.188.0",
|
|
56
|
+
"@aws-sdk/signature-v4-multi-region": "3.188.0",
|
|
57
|
+
"@aws-sdk/smithy-client": "3.188.0",
|
|
58
|
+
"@aws-sdk/types": "3.188.0",
|
|
59
|
+
"@aws-sdk/url-parser": "3.188.0",
|
|
60
|
+
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
61
|
+
"@aws-sdk/util-base64-node": "3.188.0",
|
|
62
|
+
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
63
|
+
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
64
|
+
"@aws-sdk/util-defaults-mode-browser": "3.188.0",
|
|
65
|
+
"@aws-sdk/util-defaults-mode-node": "3.188.0",
|
|
66
|
+
"@aws-sdk/util-stream-browser": "3.188.0",
|
|
67
|
+
"@aws-sdk/util-stream-node": "3.188.0",
|
|
68
|
+
"@aws-sdk/util-user-agent-browser": "3.188.0",
|
|
69
|
+
"@aws-sdk/util-user-agent-node": "3.188.0",
|
|
70
|
+
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
71
|
+
"@aws-sdk/util-utf8-node": "3.188.0",
|
|
72
|
+
"@aws-sdk/util-waiter": "3.188.0",
|
|
73
|
+
"@aws-sdk/xml-builder": "3.188.0",
|
|
74
|
+
"fast-xml-parser": "4.0.11",
|
|
76
75
|
"tslib": "^2.3.1"
|
|
77
76
|
},
|
|
78
77
|
"devDependencies": {
|
|
79
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
78
|
+
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
80
79
|
"@tsconfig/recommended": "1.0.1",
|
|
81
80
|
"@types/chai": "^4.2.11",
|
|
82
81
|
"@types/mocha": "^8.0.4",
|