@aws-sdk/client-s3 3.663.0 → 3.664.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/runtimeConfig.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- 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/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +22 -22
|
@@ -58,6 +58,7 @@ const getRuntimeConfig = (config) => {
|
|
|
58
58
|
useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS),
|
|
59
59
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
60
60
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
61
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
61
62
|
};
|
|
62
63
|
};
|
|
63
64
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -4,7 +4,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
4
4
|
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
|
|
5
5
|
import { NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, } from "@aws-sdk/middleware-flexible-checksums";
|
|
6
6
|
import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "@aws-sdk/middleware-sdk-s3";
|
|
7
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
7
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
8
8
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
9
9
|
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node";
|
|
10
10
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -54,5 +54,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
54
54
|
useArnRegion: config?.useArnRegion ?? loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS),
|
|
55
55
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
56
56
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
57
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
57
58
|
};
|
|
58
59
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
9
9
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
-
defaultUserAgentProvider: import("@
|
|
12
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
md5: import("@smithy/types").HashConstructor;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
38
38
|
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
39
39
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
40
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
41
42
|
requestChecksumCalculation?: import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation | import("@smithy/types").Provider<import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation> | undefined;
|
|
42
43
|
responseChecksumValidation?: import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation | import("@smithy/types").Provider<import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation> | undefined;
|
|
43
44
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
10
10
|
defaultsMode: import("@aws-sdk/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@aws-sdk/types").MemoizedProvider<import("@aws-sdk/types").AwsCredentialIdentity>;
|
|
13
|
-
defaultUserAgentProvider: import("@aws-sdk/
|
|
13
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
disableS3ExpressSessionAuth: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
15
15
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
28
28
|
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
+
userAgentAppId: string | import("@aws-sdk/types").Provider<string | undefined>;
|
|
31
32
|
apiVersion: string;
|
|
32
33
|
cacheMiddleware?: boolean | undefined;
|
|
33
34
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
region: string | import("@smithy/types").Provider<any>;
|
|
24
|
-
defaultUserAgentProvider: import("@
|
|
24
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
25
25
|
streamHasher: import("@smithy/types").StreamHasher<import("stream").Readable> | import("@smithy/types").StreamHasher<Blob>;
|
|
26
26
|
md5: import("@smithy/types").HashConstructor;
|
|
27
27
|
sha1: import("@smithy/types").HashConstructor;
|
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
37
37
|
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
38
38
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
39
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
40
41
|
requestChecksumCalculation?: import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation | import("@smithy/types").Provider<import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation> | undefined;
|
|
41
42
|
responseChecksumValidation?: import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation | import("@smithy/types").Provider<import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation> | undefined;
|
|
42
43
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
@@ -9,9 +9,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
-
defaultUserAgentProvider:
|
|
13
|
-
import("@
|
|
14
|
-
>;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
14
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
15
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
16
16
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
17
17
|
md5: import("@smithy/types").HashConstructor;
|
|
@@ -48,6 +48,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
48
48
|
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
49
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
50
50
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
51
|
+
userAgentAppId?:
|
|
52
|
+
| string
|
|
53
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
54
|
+
| undefined;
|
|
51
55
|
requestChecksumCalculation?:
|
|
52
56
|
| import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
|
|
53
57
|
| import("@smithy/types").Provider<
|
|
@@ -14,9 +14,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
14
14
|
) => import("@aws-sdk/types").MemoizedProvider<
|
|
15
15
|
import("@aws-sdk/types").AwsCredentialIdentity
|
|
16
16
|
>;
|
|
17
|
-
defaultUserAgentProvider:
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
defaultUserAgentProvider: (
|
|
18
|
+
config?:
|
|
19
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
20
|
+
| undefined
|
|
21
|
+
) => Promise<import("@aws-sdk/types").UserAgent>;
|
|
20
22
|
disableS3ExpressSessionAuth:
|
|
21
23
|
| boolean
|
|
22
24
|
| import("@aws-sdk/types").Provider<boolean>;
|
|
@@ -50,6 +52,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
50
52
|
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
51
53
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
52
54
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
55
|
+
userAgentAppId:
|
|
56
|
+
| string
|
|
57
|
+
| import("@aws-sdk/types").Provider<string | undefined>;
|
|
53
58
|
apiVersion: string;
|
|
54
59
|
cacheMiddleware?: boolean | undefined;
|
|
55
60
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
defaultUserAgentProvider:
|
|
26
|
-
import("@
|
|
27
|
-
>;
|
|
25
|
+
defaultUserAgentProvider: (
|
|
26
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
27
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
28
|
streamHasher:
|
|
29
29
|
| import("@smithy/types").StreamHasher<import("stream").Readable>
|
|
30
30
|
| import("@smithy/types").StreamHasher<Blob>;
|
|
@@ -52,6 +52,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
52
52
|
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
53
53
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
54
54
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
55
|
+
userAgentAppId?:
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
58
|
+
| undefined;
|
|
55
59
|
requestChecksumCalculation?:
|
|
56
60
|
| import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
|
|
57
61
|
| import("@smithy/types").Provider<
|
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.664.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -26,26 +26,26 @@
|
|
|
26
26
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
28
28
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
29
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
34
|
-
"@aws-sdk/middleware-expect-continue": "3.
|
|
35
|
-
"@aws-sdk/middleware-flexible-checksums": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-location-constraint": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
41
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
42
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
43
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
44
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/util-endpoints": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.664.0",
|
|
30
|
+
"@aws-sdk/client-sts": "3.664.0",
|
|
31
|
+
"@aws-sdk/core": "3.664.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.664.0",
|
|
33
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.664.0",
|
|
34
|
+
"@aws-sdk/middleware-expect-continue": "3.664.0",
|
|
35
|
+
"@aws-sdk/middleware-flexible-checksums": "3.664.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.664.0",
|
|
37
|
+
"@aws-sdk/middleware-location-constraint": "3.664.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.664.0",
|
|
39
|
+
"@aws-sdk/middleware-recursion-detection": "3.664.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-s3": "3.664.0",
|
|
41
|
+
"@aws-sdk/middleware-ssec": "3.664.0",
|
|
42
|
+
"@aws-sdk/middleware-user-agent": "3.664.0",
|
|
43
|
+
"@aws-sdk/region-config-resolver": "3.664.0",
|
|
44
|
+
"@aws-sdk/signature-v4-multi-region": "3.664.0",
|
|
45
|
+
"@aws-sdk/types": "3.664.0",
|
|
46
|
+
"@aws-sdk/util-endpoints": "3.664.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.664.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.664.0",
|
|
49
49
|
"@aws-sdk/xml-builder": "3.662.0",
|
|
50
50
|
"@smithy/config-resolver": "^3.0.9",
|
|
51
51
|
"@smithy/core": "^2.4.7",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"tslib": "^2.6.2"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
86
|
+
"@aws-sdk/signature-v4-crt": "3.664.0",
|
|
87
87
|
"@tsconfig/node16": "16.1.3",
|
|
88
88
|
"@types/chai": "^4.2.11",
|
|
89
89
|
"@types/mocha": "^8.0.4",
|