@aws-sdk/client-s3 3.826.0 → 3.830.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.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/S3Client.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +26 -26
- package/dist-types/runtimeConfig.browser.d.ts +8 -8
- package/dist-types/runtimeConfig.d.ts +6 -6
- package/dist-types/runtimeConfig.native.d.ts +8 -8
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +20 -8
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -6
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -1
- package/package.json +7 -7
|
@@ -38,7 +38,7 @@ const getRuntimeConfig = (config) => {
|
|
|
38
38
|
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
39
39
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
40
40
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
41
|
-
useArnRegion: config?.useArnRegion ??
|
|
41
|
+
useArnRegion: config?.useArnRegion ?? undefined,
|
|
42
42
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
43
43
|
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
44
44
|
};
|
|
@@ -35,7 +35,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
36
36
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
37
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
38
|
-
useArnRegion: config?.useArnRegion ??
|
|
38
|
+
useArnRegion: config?.useArnRegion ?? undefined,
|
|
39
39
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
40
40
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
41
41
|
};
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -280,9 +280,9 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
280
280
|
*/
|
|
281
281
|
signingEscapePath?: boolean;
|
|
282
282
|
/**
|
|
283
|
-
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to
|
|
283
|
+
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to undefined.
|
|
284
284
|
*/
|
|
285
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
285
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
286
286
|
/**
|
|
287
287
|
* The internal function that inject utilities to runtime-specific stream to help users consume the data
|
|
288
288
|
* @internal
|
|
@@ -3,16 +3,16 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | Provider<string>;
|
|
7
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
8
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
-
forcePathStyle?: boolean | Provider<boolean>;
|
|
11
|
-
useAccelerateEndpoint?: boolean | Provider<boolean>;
|
|
12
|
-
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
13
|
-
disableMultiregionAccessPoints?: boolean | Provider<boolean>;
|
|
14
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
15
|
-
disableS3ExpressSessionAuth?: boolean | Provider<boolean>;
|
|
10
|
+
forcePathStyle?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
|
+
useAccelerateEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
12
|
+
useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
13
|
+
disableMultiregionAccessPoints?: boolean | undefined | Provider<boolean | undefined>;
|
|
14
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
15
|
+
disableS3ExpressSessionAuth?: boolean | undefined | Provider<boolean | undefined>;
|
|
16
16
|
}
|
|
17
17
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
18
18
|
defaultSigningName: string;
|
|
@@ -61,21 +61,21 @@ export declare const commonParams: {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
export interface EndpointParameters extends __EndpointParameters {
|
|
64
|
-
Bucket?: string;
|
|
65
|
-
Region?: string;
|
|
66
|
-
UseFIPS?: boolean;
|
|
67
|
-
UseDualStack?: boolean;
|
|
68
|
-
Endpoint?: string;
|
|
69
|
-
ForcePathStyle?: boolean;
|
|
70
|
-
Accelerate?: boolean;
|
|
71
|
-
UseGlobalEndpoint?: boolean;
|
|
72
|
-
UseObjectLambdaEndpoint?: boolean;
|
|
73
|
-
Key?: string;
|
|
74
|
-
Prefix?: string;
|
|
75
|
-
CopySource?: string;
|
|
76
|
-
DisableAccessPoints?: boolean;
|
|
77
|
-
DisableMultiRegionAccessPoints?: boolean;
|
|
78
|
-
UseArnRegion?: boolean;
|
|
79
|
-
UseS3ExpressControlEndpoint?: boolean;
|
|
80
|
-
DisableS3ExpressSessionAuth?: boolean;
|
|
64
|
+
Bucket?: string | undefined;
|
|
65
|
+
Region?: string | undefined;
|
|
66
|
+
UseFIPS?: boolean | undefined;
|
|
67
|
+
UseDualStack?: boolean | undefined;
|
|
68
|
+
Endpoint?: string | undefined;
|
|
69
|
+
ForcePathStyle?: boolean | undefined;
|
|
70
|
+
Accelerate?: boolean | undefined;
|
|
71
|
+
UseGlobalEndpoint?: boolean | undefined;
|
|
72
|
+
UseObjectLambdaEndpoint?: boolean | undefined;
|
|
73
|
+
Key?: string | undefined;
|
|
74
|
+
Prefix?: string | undefined;
|
|
75
|
+
CopySource?: string | undefined;
|
|
76
|
+
DisableAccessPoints?: boolean | undefined;
|
|
77
|
+
DisableMultiRegionAccessPoints?: boolean | undefined;
|
|
78
|
+
UseArnRegion?: boolean | undefined;
|
|
79
|
+
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
80
|
+
DisableS3ExpressSessionAuth?: boolean | undefined;
|
|
81
81
|
}
|
|
@@ -19,8 +19,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
19
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
21
|
streamHasher: import("@smithy/types").StreamHasher<import("stream").Readable> | import("@smithy/types").StreamHasher<Blob>;
|
|
22
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
23
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
22
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
23
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
24
|
apiVersion: string;
|
|
25
25
|
cacheMiddleware?: boolean | undefined;
|
|
26
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -35,7 +35,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
35
35
|
logger: import("@smithy/types").Logger;
|
|
36
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
37
|
signingEscapePath: boolean;
|
|
38
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
38
|
+
useArnRegion: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
39
39
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
40
40
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
41
41
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -58,12 +58,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
58
58
|
signingRegion?: string;
|
|
59
59
|
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
60
60
|
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
61
|
-
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
62
|
-
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
63
|
-
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
61
|
+
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
62
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
63
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
64
64
|
followRegionRedirects?: boolean;
|
|
65
65
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
66
66
|
bucketEndpoint?: boolean;
|
|
67
|
-
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
|
|
68
|
-
disableS3ExpressSessionAuth?: boolean | import("@smithy/types").Provider<boolean>;
|
|
67
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
68
|
+
disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
69
69
|
};
|
|
@@ -11,7 +11,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: ((input: any) => import("@aws-sdk/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/types").MemoizedProvider<import("@aws-sdk/types").AwsCredentialIdentity>);
|
|
13
13
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@aws-sdk/types").UserAgent>;
|
|
14
|
-
disableS3ExpressSessionAuth: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
14
|
+
disableS3ExpressSessionAuth: boolean | import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
15
15
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
md5: __HashConstructor;
|
|
@@ -25,7 +25,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
25
25
|
sigv4aSigningRegionSet: string[] | import("@aws-sdk/types").Provider<string[] | undefined>;
|
|
26
26
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
27
27
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
28
|
-
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
28
|
+
useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
29
29
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
31
|
userAgentAppId: string | import("@aws-sdk/types").Provider<string | undefined>;
|
|
@@ -60,11 +60,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
60
60
|
systemClockOffset?: number;
|
|
61
61
|
signingRegion?: string;
|
|
62
62
|
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
|
|
63
|
-
forcePathStyle?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>)) | undefined;
|
|
64
|
-
useAccelerateEndpoint?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>)) | undefined;
|
|
65
|
-
disableMultiregionAccessPoints?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>)) | undefined;
|
|
63
|
+
forcePathStyle?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean | undefined>)) | undefined;
|
|
64
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean | undefined>)) | undefined;
|
|
65
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@aws-sdk/types").Provider<boolean | undefined>)) | undefined;
|
|
66
66
|
followRegionRedirects?: boolean;
|
|
67
67
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
68
68
|
bucketEndpoint?: boolean;
|
|
69
|
-
useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
69
|
+
useGlobalEndpoint?: boolean | undefined | import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
70
70
|
};
|
|
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
17
17
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
21
|
-
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
20
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
34
34
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
35
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
36
36
|
signingEscapePath: boolean;
|
|
37
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
37
|
+
useArnRegion: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
38
38
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
39
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
40
40
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -57,12 +57,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
57
57
|
signingRegion?: string;
|
|
58
58
|
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
59
59
|
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
60
|
-
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
61
|
-
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
62
|
-
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
60
|
+
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
61
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
62
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean | undefined>)) | undefined;
|
|
63
63
|
followRegionRedirects?: boolean;
|
|
64
64
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
65
65
|
bucketEndpoint?: boolean;
|
|
66
|
-
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean>;
|
|
67
|
-
disableS3ExpressSessionAuth?: boolean | import("@smithy/types").Provider<boolean>;
|
|
66
|
+
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
67
|
+
disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
68
68
|
};
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
21
21
|
signerConstructor: typeof SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
22
22
|
signingEscapePath: boolean;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean
|
|
24
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean | undefined> | undefined;
|
|
25
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
26
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
27
27
|
};
|
|
@@ -687,7 +687,7 @@ export interface ClientDefaults
|
|
|
687
687
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
688
688
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
689
689
|
signingEscapePath?: boolean;
|
|
690
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
690
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
691
691
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
692
692
|
}
|
|
693
693
|
export type S3ClientConfigType = Partial<
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Provider,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
export interface ClientInputEndpointParameters {
|
|
8
|
-
region?: string | Provider<string>;
|
|
9
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
10
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
endpoint?:
|
|
12
12
|
| string
|
|
13
13
|
| Provider<string>
|
|
@@ -15,12 +15,18 @@ export interface ClientInputEndpointParameters {
|
|
|
15
15
|
| Provider<Endpoint>
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
|
-
forcePathStyle?: boolean | Provider<boolean>;
|
|
19
|
-
useAccelerateEndpoint?: boolean | Provider<boolean>;
|
|
20
|
-
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
21
|
-
disableMultiregionAccessPoints?:
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
forcePathStyle?: boolean | undefined | Provider<boolean | undefined>;
|
|
19
|
+
useAccelerateEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
20
|
+
useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
21
|
+
disableMultiregionAccessPoints?:
|
|
22
|
+
| boolean
|
|
23
|
+
| undefined
|
|
24
|
+
| Provider<boolean | undefined>;
|
|
25
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
26
|
+
disableS3ExpressSessionAuth?:
|
|
27
|
+
| boolean
|
|
28
|
+
| undefined
|
|
29
|
+
| Provider<boolean | undefined>;
|
|
24
30
|
}
|
|
25
31
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
26
32
|
defaultSigningName: string;
|
|
@@ -71,21 +77,21 @@ export declare const commonParams: {
|
|
|
71
77
|
};
|
|
72
78
|
};
|
|
73
79
|
export interface EndpointParameters extends __EndpointParameters {
|
|
74
|
-
Bucket?: string;
|
|
75
|
-
Region?: string;
|
|
76
|
-
UseFIPS?: boolean;
|
|
77
|
-
UseDualStack?: boolean;
|
|
78
|
-
Endpoint?: string;
|
|
79
|
-
ForcePathStyle?: boolean;
|
|
80
|
-
Accelerate?: boolean;
|
|
81
|
-
UseGlobalEndpoint?: boolean;
|
|
82
|
-
UseObjectLambdaEndpoint?: boolean;
|
|
83
|
-
Key?: string;
|
|
84
|
-
Prefix?: string;
|
|
85
|
-
CopySource?: string;
|
|
86
|
-
DisableAccessPoints?: boolean;
|
|
87
|
-
DisableMultiRegionAccessPoints?: boolean;
|
|
88
|
-
UseArnRegion?: boolean;
|
|
89
|
-
UseS3ExpressControlEndpoint?: boolean;
|
|
90
|
-
DisableS3ExpressSessionAuth?: boolean;
|
|
80
|
+
Bucket?: string | undefined;
|
|
81
|
+
Region?: string | undefined;
|
|
82
|
+
UseFIPS?: boolean | undefined;
|
|
83
|
+
UseDualStack?: boolean | undefined;
|
|
84
|
+
Endpoint?: string | undefined;
|
|
85
|
+
ForcePathStyle?: boolean | undefined;
|
|
86
|
+
Accelerate?: boolean | undefined;
|
|
87
|
+
UseGlobalEndpoint?: boolean | undefined;
|
|
88
|
+
UseObjectLambdaEndpoint?: boolean | undefined;
|
|
89
|
+
Key?: string | undefined;
|
|
90
|
+
Prefix?: string | undefined;
|
|
91
|
+
CopySource?: string | undefined;
|
|
92
|
+
DisableAccessPoints?: boolean | undefined;
|
|
93
|
+
DisableMultiRegionAccessPoints?: boolean | undefined;
|
|
94
|
+
UseArnRegion?: boolean | undefined;
|
|
95
|
+
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
96
|
+
DisableS3ExpressSessionAuth?: boolean | undefined;
|
|
91
97
|
}
|
|
@@ -28,8 +28,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
28
28
|
streamHasher:
|
|
29
29
|
| import("@smithy/types").StreamHasher<import("stream").Readable>
|
|
30
30
|
| import("@smithy/types").StreamHasher<Blob>;
|
|
31
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
32
|
-
|
|
31
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
33
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
34
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
33
35
|
apiVersion: string;
|
|
34
36
|
cacheMiddleware?: boolean | undefined;
|
|
35
37
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -48,7 +50,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
48
50
|
logger: import("@smithy/types").Logger;
|
|
49
51
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
52
|
signingEscapePath: boolean;
|
|
51
|
-
useArnRegion:
|
|
53
|
+
useArnRegion:
|
|
54
|
+
| boolean
|
|
55
|
+
| undefined
|
|
56
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
52
57
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
53
58
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
59
|
userAgentAppId?:
|
|
@@ -118,19 +123,26 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
118
123
|
| undefined
|
|
119
124
|
| import("@smithy/types").Provider<string[] | undefined>;
|
|
120
125
|
forcePathStyle?:
|
|
121
|
-
| (boolean &
|
|
126
|
+
| (boolean &
|
|
127
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
122
128
|
| undefined;
|
|
123
129
|
useAccelerateEndpoint?:
|
|
124
|
-
| (boolean &
|
|
130
|
+
| (boolean &
|
|
131
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
125
132
|
| undefined;
|
|
126
133
|
disableMultiregionAccessPoints?:
|
|
127
|
-
| (boolean &
|
|
134
|
+
| (boolean &
|
|
135
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
128
136
|
| undefined;
|
|
129
137
|
followRegionRedirects?: boolean;
|
|
130
138
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
131
139
|
bucketEndpoint?: boolean;
|
|
132
|
-
useGlobalEndpoint?:
|
|
140
|
+
useGlobalEndpoint?:
|
|
141
|
+
| boolean
|
|
142
|
+
| undefined
|
|
143
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
133
144
|
disableS3ExpressSessionAuth?:
|
|
134
145
|
| boolean
|
|
135
|
-
|
|
|
146
|
+
| undefined
|
|
147
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
136
148
|
};
|
|
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
20
20
|
) => Promise<import("@aws-sdk/types").UserAgent>;
|
|
21
21
|
disableS3ExpressSessionAuth:
|
|
22
22
|
| boolean
|
|
23
|
-
| import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
+
| import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
24
24
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
25
25
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
26
26
|
md5: __HashConstructor;
|
|
@@ -48,7 +48,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
48
48
|
streamHasher:
|
|
49
49
|
| import("@aws-sdk/types").StreamHasher<import("stream").Readable>
|
|
50
50
|
| import("@aws-sdk/types").StreamHasher<Blob>;
|
|
51
|
-
useArnRegion:
|
|
51
|
+
useArnRegion:
|
|
52
|
+
| boolean
|
|
53
|
+
| import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
52
54
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
53
55
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
54
56
|
userAgentAppId:
|
|
@@ -124,16 +126,22 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
124
126
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
125
127
|
) => import("@aws-sdk/types").RequestSigner);
|
|
126
128
|
forcePathStyle?:
|
|
127
|
-
| (boolean &
|
|
129
|
+
| (boolean &
|
|
130
|
+
(boolean | import("@aws-sdk/types").Provider<boolean | undefined>))
|
|
128
131
|
| undefined;
|
|
129
132
|
useAccelerateEndpoint?:
|
|
130
|
-
| (boolean &
|
|
133
|
+
| (boolean &
|
|
134
|
+
(boolean | import("@aws-sdk/types").Provider<boolean | undefined>))
|
|
131
135
|
| undefined;
|
|
132
136
|
disableMultiregionAccessPoints?:
|
|
133
|
-
| (boolean &
|
|
137
|
+
| (boolean &
|
|
138
|
+
(boolean | import("@aws-sdk/types").Provider<boolean | undefined>))
|
|
134
139
|
| undefined;
|
|
135
140
|
followRegionRedirects?: boolean;
|
|
136
141
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
137
142
|
bucketEndpoint?: boolean;
|
|
138
|
-
useGlobalEndpoint?:
|
|
143
|
+
useGlobalEndpoint?:
|
|
144
|
+
| boolean
|
|
145
|
+
| undefined
|
|
146
|
+
| import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
139
147
|
};
|
|
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
19
19
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
23
|
-
|
|
22
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
26
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
27
|
profile?: string;
|
|
26
28
|
defaultUserAgentProvider: (
|
|
@@ -52,7 +54,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
52
54
|
import("@smithy/smithy-client").DefaultsMode
|
|
53
55
|
>;
|
|
54
56
|
signingEscapePath: boolean;
|
|
55
|
-
useArnRegion:
|
|
57
|
+
useArnRegion:
|
|
58
|
+
| boolean
|
|
59
|
+
| undefined
|
|
60
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
56
61
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
57
62
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
63
|
userAgentAppId?:
|
|
@@ -122,19 +127,26 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
122
127
|
| undefined
|
|
123
128
|
| import("@smithy/types").Provider<string[] | undefined>;
|
|
124
129
|
forcePathStyle?:
|
|
125
|
-
| (boolean &
|
|
130
|
+
| (boolean &
|
|
131
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
126
132
|
| undefined;
|
|
127
133
|
useAccelerateEndpoint?:
|
|
128
|
-
| (boolean &
|
|
134
|
+
| (boolean &
|
|
135
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
129
136
|
| undefined;
|
|
130
137
|
disableMultiregionAccessPoints?:
|
|
131
|
-
| (boolean &
|
|
138
|
+
| (boolean &
|
|
139
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>))
|
|
132
140
|
| undefined;
|
|
133
141
|
followRegionRedirects?: boolean;
|
|
134
142
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
|
|
135
143
|
bucketEndpoint?: boolean;
|
|
136
|
-
useGlobalEndpoint?:
|
|
144
|
+
useGlobalEndpoint?:
|
|
145
|
+
| boolean
|
|
146
|
+
| undefined
|
|
147
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
137
148
|
disableS3ExpressSessionAuth?:
|
|
138
149
|
| boolean
|
|
139
|
-
|
|
|
150
|
+
| undefined
|
|
151
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
140
152
|
};
|
|
@@ -30,7 +30,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
30
30
|
) => import("@smithy/types").RequestSigner);
|
|
31
31
|
signingEscapePath: boolean;
|
|
32
32
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
|
-
useArnRegion:
|
|
33
|
+
useArnRegion:
|
|
34
|
+
| boolean
|
|
35
|
+
| import("@smithy/types").Provider<boolean | undefined>
|
|
36
|
+
| undefined;
|
|
34
37
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
38
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
39
|
};
|
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.830.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",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
32
|
"@aws-sdk/core": "3.826.0",
|
|
33
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
34
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
33
|
+
"@aws-sdk/credential-provider-node": "3.830.0",
|
|
34
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.830.0",
|
|
35
35
|
"@aws-sdk/middleware-expect-continue": "3.821.0",
|
|
36
36
|
"@aws-sdk/middleware-flexible-checksums": "3.826.0",
|
|
37
37
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
41
41
|
"@aws-sdk/middleware-sdk-s3": "3.826.0",
|
|
42
42
|
"@aws-sdk/middleware-ssec": "3.821.0",
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.828.0",
|
|
44
44
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
45
45
|
"@aws-sdk/signature-v4-multi-region": "3.826.0",
|
|
46
46
|
"@aws-sdk/types": "3.821.0",
|
|
47
|
-
"@aws-sdk/util-endpoints": "3.
|
|
47
|
+
"@aws-sdk/util-endpoints": "3.828.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.828.0",
|
|
50
50
|
"@aws-sdk/xml-builder": "3.821.0",
|
|
51
51
|
"@smithy/config-resolver": "^4.1.4",
|
|
52
52
|
"@smithy/core": "^3.5.3",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"tslib": "^2.6.2"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
87
|
+
"@aws-sdk/signature-v4-crt": "3.828.0",
|
|
88
88
|
"@tsconfig/node18": "18.2.4",
|
|
89
89
|
"@types/node": "^18.19.69",
|
|
90
90
|
"concurrently": "7.0.0",
|