@aws-sdk/client-s3 3.425.0 → 3.427.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/dist-cjs/S3Client.js +1 -0
- package/dist-es/S3Client.js +2 -1
- 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/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 +6 -6
package/dist-cjs/S3Client.js
CHANGED
|
@@ -41,6 +41,7 @@ class S3Client extends smithy_client_1.Client {
|
|
|
41
41
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
42
42
|
this.middlewareStack.use((0, middleware_sdk_s3_1.getValidateBucketNamePlugin)(this.config));
|
|
43
43
|
this.middlewareStack.use((0, middleware_expect_continue_1.getAddExpectContinuePlugin)(this.config));
|
|
44
|
+
this.middlewareStack.use((0, middleware_sdk_s3_1.getRegionRedirectMiddlewarePlugin)(this.config));
|
|
44
45
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
45
46
|
}
|
|
46
47
|
destroy() {
|
package/dist-es/S3Client.js
CHANGED
|
@@ -2,7 +2,7 @@ import { getAddExpectContinuePlugin } from "@aws-sdk/middleware-expect-continue"
|
|
|
2
2
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
3
3
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
4
4
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
5
|
-
import { getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3";
|
|
5
|
+
import { getRegionRedirectMiddlewarePlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3";
|
|
6
6
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
7
7
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
@@ -38,6 +38,7 @@ export class S3Client extends __Client {
|
|
|
38
38
|
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
39
39
|
this.middlewareStack.use(getValidateBucketNamePlugin(this.config));
|
|
40
40
|
this.middlewareStack.use(getAddExpectContinuePlugin(this.config));
|
|
41
|
+
this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config));
|
|
41
42
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
42
43
|
}
|
|
43
44
|
destroy() {
|
|
@@ -53,6 +53,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
53
53
|
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
54
54
|
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
55
55
|
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
56
|
+
followRegionRedirects?: boolean | undefined;
|
|
56
57
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
57
58
|
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
58
59
|
};
|
|
@@ -54,6 +54,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
54
54
|
forcePathStyle?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>)) | undefined;
|
|
55
55
|
useAccelerateEndpoint?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>)) | undefined;
|
|
56
56
|
disableMultiregionAccessPoints?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>)) | undefined;
|
|
57
|
+
followRegionRedirects?: boolean | undefined;
|
|
57
58
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
58
59
|
useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
59
60
|
};
|
|
@@ -52,6 +52,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
52
52
|
forcePathStyle?: boolean | undefined;
|
|
53
53
|
useAccelerateEndpoint?: boolean | undefined;
|
|
54
54
|
disableMultiregionAccessPoints?: boolean | undefined;
|
|
55
|
+
followRegionRedirects?: boolean | undefined;
|
|
55
56
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
56
57
|
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
57
58
|
};
|
|
@@ -115,6 +115,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
115
115
|
disableMultiregionAccessPoints?:
|
|
116
116
|
| (boolean & (boolean | import("@smithy/types").Provider<boolean>))
|
|
117
117
|
| undefined;
|
|
118
|
+
followRegionRedirects?: boolean | undefined;
|
|
118
119
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
119
120
|
useGlobalEndpoint?:
|
|
120
121
|
| boolean
|
|
@@ -118,6 +118,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
118
118
|
disableMultiregionAccessPoints?:
|
|
119
119
|
| (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>))
|
|
120
120
|
| undefined;
|
|
121
|
+
followRegionRedirects?: boolean | undefined;
|
|
121
122
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
122
123
|
useGlobalEndpoint?:
|
|
123
124
|
| boolean
|
|
@@ -100,6 +100,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
100
100
|
forcePathStyle?: boolean | undefined;
|
|
101
101
|
useAccelerateEndpoint?: boolean | undefined;
|
|
102
102
|
disableMultiregionAccessPoints?: boolean | undefined;
|
|
103
|
+
followRegionRedirects?: boolean | undefined;
|
|
103
104
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
104
105
|
useGlobalEndpoint?:
|
|
105
106
|
| boolean
|
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.427.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",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@aws-crypto/sha1-browser": "3.0.0",
|
|
26
26
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
28
|
-
"@aws-sdk/client-sts": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
+
"@aws-sdk/client-sts": "3.427.0",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "3.427.0",
|
|
30
30
|
"@aws-sdk/middleware-bucket-endpoint": "3.425.0",
|
|
31
31
|
"@aws-sdk/middleware-expect-continue": "3.425.0",
|
|
32
32
|
"@aws-sdk/middleware-flexible-checksums": "3.425.0",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"@aws-sdk/middleware-location-constraint": "3.425.0",
|
|
35
35
|
"@aws-sdk/middleware-logger": "3.425.0",
|
|
36
36
|
"@aws-sdk/middleware-recursion-detection": "3.425.0",
|
|
37
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
37
|
+
"@aws-sdk/middleware-sdk-s3": "3.427.0",
|
|
38
38
|
"@aws-sdk/middleware-signing": "3.425.0",
|
|
39
39
|
"@aws-sdk/middleware-ssec": "3.425.0",
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.427.0",
|
|
41
41
|
"@aws-sdk/region-config-resolver": "3.425.0",
|
|
42
42
|
"@aws-sdk/signature-v4-multi-region": "3.425.0",
|
|
43
43
|
"@aws-sdk/types": "3.425.0",
|
|
44
|
-
"@aws-sdk/util-endpoints": "3.
|
|
44
|
+
"@aws-sdk/util-endpoints": "3.427.0",
|
|
45
45
|
"@aws-sdk/util-user-agent-browser": "3.425.0",
|
|
46
46
|
"@aws-sdk/util-user-agent-node": "3.425.0",
|
|
47
47
|
"@aws-sdk/xml-builder": "3.310.0",
|