@aws-sdk/client-s3 3.36.1 → 3.40.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 +42 -0
- package/dist-cjs/commands/index.js +95 -0
- package/dist-cjs/endpoints.js +392 -143
- package/dist-cjs/index.js +5 -101
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +7 -0
- package/dist-es/commands/index.js +92 -0
- package/dist-es/endpoints.js +392 -143
- package/dist-es/index.js +5 -101
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +4 -0
- package/dist-types/S3Client.d.ts +8 -0
- package/dist-types/commands/index.d.ts +92 -0
- package/dist-types/index.d.ts +5 -101
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/S3Client.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +92 -0
- package/dist-types/ts3.4/index.d.ts +5 -101
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +46 -46
|
@@ -1,102 +1,6 @@
|
|
|
1
|
-
export * from "./S3Client";
|
|
2
1
|
export * from "./S3";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./commands/DeleteBucketCommand";
|
|
9
|
-
export * from "./commands/DeleteBucketAnalyticsConfigurationCommand";
|
|
10
|
-
export * from "./commands/DeleteBucketCorsCommand";
|
|
11
|
-
export * from "./commands/DeleteBucketEncryptionCommand";
|
|
12
|
-
export * from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
|
|
13
|
-
export * from "./commands/DeleteBucketInventoryConfigurationCommand";
|
|
14
|
-
export * from "./commands/DeleteBucketLifecycleCommand";
|
|
15
|
-
export * from "./commands/DeleteBucketMetricsConfigurationCommand";
|
|
16
|
-
export * from "./commands/DeleteBucketOwnershipControlsCommand";
|
|
17
|
-
export * from "./commands/DeleteBucketPolicyCommand";
|
|
18
|
-
export * from "./commands/DeleteBucketReplicationCommand";
|
|
19
|
-
export * from "./commands/DeleteBucketTaggingCommand";
|
|
20
|
-
export * from "./commands/DeleteBucketWebsiteCommand";
|
|
21
|
-
export * from "./commands/DeleteObjectCommand";
|
|
22
|
-
export * from "./commands/DeleteObjectsCommand";
|
|
23
|
-
export * from "./commands/DeleteObjectTaggingCommand";
|
|
24
|
-
export * from "./commands/DeletePublicAccessBlockCommand";
|
|
25
|
-
export * from "./commands/GetBucketAccelerateConfigurationCommand";
|
|
26
|
-
export * from "./commands/GetBucketAclCommand";
|
|
27
|
-
export * from "./commands/GetBucketAnalyticsConfigurationCommand";
|
|
28
|
-
export * from "./commands/GetBucketCorsCommand";
|
|
29
|
-
export * from "./commands/GetBucketEncryptionCommand";
|
|
30
|
-
export * from "./commands/GetBucketIntelligentTieringConfigurationCommand";
|
|
31
|
-
export * from "./commands/GetBucketInventoryConfigurationCommand";
|
|
32
|
-
export * from "./commands/GetBucketLifecycleConfigurationCommand";
|
|
33
|
-
export * from "./commands/GetBucketLocationCommand";
|
|
34
|
-
export * from "./commands/GetBucketLoggingCommand";
|
|
35
|
-
export * from "./commands/GetBucketMetricsConfigurationCommand";
|
|
36
|
-
export * from "./commands/GetBucketNotificationConfigurationCommand";
|
|
37
|
-
export * from "./commands/GetBucketOwnershipControlsCommand";
|
|
38
|
-
export * from "./commands/GetBucketPolicyCommand";
|
|
39
|
-
export * from "./commands/GetBucketPolicyStatusCommand";
|
|
40
|
-
export * from "./commands/GetBucketReplicationCommand";
|
|
41
|
-
export * from "./commands/GetBucketRequestPaymentCommand";
|
|
42
|
-
export * from "./commands/GetBucketTaggingCommand";
|
|
43
|
-
export * from "./commands/GetBucketVersioningCommand";
|
|
44
|
-
export * from "./commands/GetBucketWebsiteCommand";
|
|
45
|
-
export * from "./commands/GetObjectCommand";
|
|
46
|
-
export * from "./commands/GetObjectAclCommand";
|
|
47
|
-
export * from "./commands/GetObjectLegalHoldCommand";
|
|
48
|
-
export * from "./commands/GetObjectLockConfigurationCommand";
|
|
49
|
-
export * from "./commands/GetObjectRetentionCommand";
|
|
50
|
-
export * from "./commands/GetObjectTaggingCommand";
|
|
51
|
-
export * from "./commands/GetObjectTorrentCommand";
|
|
52
|
-
export * from "./commands/GetPublicAccessBlockCommand";
|
|
53
|
-
export * from "./commands/HeadBucketCommand";
|
|
54
|
-
export * from "./waiters/waitForBucketExists";
|
|
55
|
-
export * from "./waiters/waitForBucketNotExists";
|
|
56
|
-
export * from "./commands/HeadObjectCommand";
|
|
57
|
-
export * from "./waiters/waitForObjectExists";
|
|
58
|
-
export * from "./waiters/waitForObjectNotExists";
|
|
59
|
-
export * from "./commands/ListBucketAnalyticsConfigurationsCommand";
|
|
60
|
-
export * from "./commands/ListBucketIntelligentTieringConfigurationsCommand";
|
|
61
|
-
export * from "./commands/ListBucketInventoryConfigurationsCommand";
|
|
62
|
-
export * from "./commands/ListBucketMetricsConfigurationsCommand";
|
|
63
|
-
export * from "./commands/ListBucketsCommand";
|
|
64
|
-
export * from "./commands/ListMultipartUploadsCommand";
|
|
65
|
-
export * from "./commands/ListObjectsCommand";
|
|
66
|
-
export * from "./commands/ListObjectsV2Command";
|
|
67
|
-
export * from "./pagination/ListObjectsV2Paginator";
|
|
68
|
-
export * from "./commands/ListObjectVersionsCommand";
|
|
69
|
-
export * from "./commands/ListPartsCommand";
|
|
70
|
-
export * from "./pagination/ListPartsPaginator";
|
|
71
|
-
export * from "./commands/PutBucketAccelerateConfigurationCommand";
|
|
72
|
-
export * from "./commands/PutBucketAclCommand";
|
|
73
|
-
export * from "./commands/PutBucketAnalyticsConfigurationCommand";
|
|
74
|
-
export * from "./commands/PutBucketCorsCommand";
|
|
75
|
-
export * from "./commands/PutBucketEncryptionCommand";
|
|
76
|
-
export * from "./commands/PutBucketIntelligentTieringConfigurationCommand";
|
|
77
|
-
export * from "./commands/PutBucketInventoryConfigurationCommand";
|
|
78
|
-
export * from "./commands/PutBucketLifecycleConfigurationCommand";
|
|
79
|
-
export * from "./commands/PutBucketLoggingCommand";
|
|
80
|
-
export * from "./commands/PutBucketMetricsConfigurationCommand";
|
|
81
|
-
export * from "./commands/PutBucketNotificationConfigurationCommand";
|
|
82
|
-
export * from "./commands/PutBucketOwnershipControlsCommand";
|
|
83
|
-
export * from "./commands/PutBucketPolicyCommand";
|
|
84
|
-
export * from "./commands/PutBucketReplicationCommand";
|
|
85
|
-
export * from "./commands/PutBucketRequestPaymentCommand";
|
|
86
|
-
export * from "./commands/PutBucketTaggingCommand";
|
|
87
|
-
export * from "./commands/PutBucketVersioningCommand";
|
|
88
|
-
export * from "./commands/PutBucketWebsiteCommand";
|
|
89
|
-
export * from "./commands/PutObjectCommand";
|
|
90
|
-
export * from "./commands/PutObjectAclCommand";
|
|
91
|
-
export * from "./commands/PutObjectLegalHoldCommand";
|
|
92
|
-
export * from "./commands/PutObjectLockConfigurationCommand";
|
|
93
|
-
export * from "./commands/PutObjectRetentionCommand";
|
|
94
|
-
export * from "./commands/PutObjectTaggingCommand";
|
|
95
|
-
export * from "./commands/PutPublicAccessBlockCommand";
|
|
96
|
-
export * from "./commands/RestoreObjectCommand";
|
|
97
|
-
export * from "./commands/SelectObjectContentCommand";
|
|
98
|
-
export * from "./commands/UploadPartCommand";
|
|
99
|
-
export * from "./commands/UploadPartCopyCommand";
|
|
100
|
-
export * from "./commands/WriteGetObjectResponseCommand";
|
|
101
|
-
export * from "./pagination/Interfaces";
|
|
102
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./S3Client";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
18
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
20
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
22
24
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
25
|
apiVersion: string;
|
|
@@ -39,7 +41,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
39
41
|
bucketEndpoint?: boolean | undefined;
|
|
40
42
|
forcePathStyle?: boolean | undefined;
|
|
41
43
|
useAccelerateEndpoint?: boolean | undefined;
|
|
42
|
-
useDualstackEndpoint?: boolean | undefined;
|
|
43
44
|
disableMultiregionAccessPoints?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
44
45
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
45
46
|
};
|
|
@@ -20,6 +20,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
20
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
21
21
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
22
22
|
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
24
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
25
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
24
26
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
25
27
|
apiVersion: string;
|
|
@@ -40,7 +42,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
40
42
|
bucketEndpoint?: boolean | undefined;
|
|
41
43
|
forcePathStyle?: boolean | undefined;
|
|
42
44
|
useAccelerateEndpoint?: boolean | undefined;
|
|
43
|
-
useDualstackEndpoint?: boolean | undefined;
|
|
44
45
|
disableMultiregionAccessPoints?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
45
46
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
46
47
|
};
|
|
@@ -17,6 +17,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
17
17
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
18
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
19
19
|
logger: import("@aws-sdk/types").Logger;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
22
|
serviceId: string;
|
|
21
23
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
22
24
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -38,7 +40,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
38
40
|
bucketEndpoint?: boolean | undefined;
|
|
39
41
|
forcePathStyle?: boolean | undefined;
|
|
40
42
|
useAccelerateEndpoint?: boolean | undefined;
|
|
41
|
-
useDualstackEndpoint?: boolean | undefined;
|
|
42
43
|
disableMultiregionAccessPoints?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
43
44
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
44
45
|
};
|
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.40.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,56 +21,56 @@
|
|
|
21
21
|
"module": "./dist-es/index.js",
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-crypto/sha256-browser": "
|
|
25
|
-
"@aws-crypto/sha256-js": "
|
|
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-apply-body-checksum": "3.
|
|
39
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
40
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
41
|
-
"@aws-sdk/middleware-expect-continue": "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-retry": "3.
|
|
46
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
47
|
-
"@aws-sdk/middleware-serde": "3.
|
|
48
|
-
"@aws-sdk/middleware-signing": "3.
|
|
49
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
50
|
-
"@aws-sdk/middleware-stack": "3.
|
|
51
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
52
|
-
"@aws-sdk/node-config-provider": "3.
|
|
53
|
-
"@aws-sdk/node-http-handler": "3.
|
|
54
|
-
"@aws-sdk/protocol-http": "3.
|
|
55
|
-
"@aws-sdk/smithy-client": "3.
|
|
56
|
-
"@aws-sdk/types": "3.
|
|
57
|
-
"@aws-sdk/url-parser": "3.
|
|
58
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
59
|
-
"@aws-sdk/util-base64-node": "3.
|
|
60
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
61
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
62
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
63
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
64
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
65
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
66
|
-
"@aws-sdk/util-waiter": "3.
|
|
67
|
-
"@aws-sdk/xml-builder": "3.
|
|
24
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
25
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.40.0",
|
|
27
|
+
"@aws-sdk/config-resolver": "3.40.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.40.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-browser": "3.40.0",
|
|
30
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.40.0",
|
|
31
|
+
"@aws-sdk/eventstream-serde-node": "3.40.0",
|
|
32
|
+
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
33
|
+
"@aws-sdk/hash-blob-browser": "3.40.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.40.0",
|
|
35
|
+
"@aws-sdk/hash-stream-node": "3.40.0",
|
|
36
|
+
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
37
|
+
"@aws-sdk/md5-js": "3.40.0",
|
|
38
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.40.0",
|
|
39
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.40.0",
|
|
40
|
+
"@aws-sdk/middleware-content-length": "3.40.0",
|
|
41
|
+
"@aws-sdk/middleware-expect-continue": "3.40.0",
|
|
42
|
+
"@aws-sdk/middleware-host-header": "3.40.0",
|
|
43
|
+
"@aws-sdk/middleware-location-constraint": "3.40.0",
|
|
44
|
+
"@aws-sdk/middleware-logger": "3.40.0",
|
|
45
|
+
"@aws-sdk/middleware-retry": "3.40.0",
|
|
46
|
+
"@aws-sdk/middleware-sdk-s3": "3.40.0",
|
|
47
|
+
"@aws-sdk/middleware-serde": "3.40.0",
|
|
48
|
+
"@aws-sdk/middleware-signing": "3.40.0",
|
|
49
|
+
"@aws-sdk/middleware-ssec": "3.40.0",
|
|
50
|
+
"@aws-sdk/middleware-stack": "3.40.0",
|
|
51
|
+
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
52
|
+
"@aws-sdk/node-config-provider": "3.40.0",
|
|
53
|
+
"@aws-sdk/node-http-handler": "3.40.0",
|
|
54
|
+
"@aws-sdk/protocol-http": "3.40.0",
|
|
55
|
+
"@aws-sdk/smithy-client": "3.40.0",
|
|
56
|
+
"@aws-sdk/types": "3.40.0",
|
|
57
|
+
"@aws-sdk/url-parser": "3.40.0",
|
|
58
|
+
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
59
|
+
"@aws-sdk/util-base64-node": "3.37.0",
|
|
60
|
+
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
61
|
+
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
62
|
+
"@aws-sdk/util-user-agent-browser": "3.40.0",
|
|
63
|
+
"@aws-sdk/util-user-agent-node": "3.40.0",
|
|
64
|
+
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
65
|
+
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
66
|
+
"@aws-sdk/util-waiter": "3.40.0",
|
|
67
|
+
"@aws-sdk/xml-builder": "3.37.0",
|
|
68
68
|
"entities": "2.2.0",
|
|
69
69
|
"fast-xml-parser": "3.19.0",
|
|
70
70
|
"tslib": "^2.3.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
73
|
+
"@aws-sdk/service-client-documentation-generator": "3.38.0",
|
|
74
74
|
"@types/chai": "^4.2.11",
|
|
75
75
|
"@types/mocha": "^8.0.4",
|
|
76
76
|
"@types/node": "^12.7.5",
|