@aws-sdk/client-s3-control 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.js +2 -0
- package/dist-cjs/runtimeConfig.shared.js +1 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-es/runtimeConfig.shared.js +1 -0
- package/dist-types/S3ControlClient.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +15 -15
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +15 -15
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/package.json +7 -6
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const core_1 = require("@aws-sdk/core");
|
|
7
7
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
|
+
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
10
11
|
const hash_node_1 = require("@smithy/hash-node");
|
|
@@ -51,6 +52,7 @@ const getRuntimeConfig = (config) => {
|
|
|
51
52
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
52
53
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
53
54
|
streamHasher: config?.streamHasher ?? hash_stream_node_1.fileStreamHasher,
|
|
55
|
+
useArnRegion: config?.useArnRegion ?? (0, node_config_provider_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
|
|
54
56
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
55
57
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
56
58
|
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -28,6 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
serviceId: config?.serviceId ?? "S3 Control",
|
|
29
29
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
30
30
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
31
|
+
useArnRegion: config?.useArnRegion ?? undefined,
|
|
31
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
32
33
|
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
33
34
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
+
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
|
|
4
5
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
5
6
|
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";
|
|
6
7
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -47,6 +48,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
47
48
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
48
49
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
49
50
|
streamHasher: config?.streamHasher ?? streamHasher,
|
|
51
|
+
useArnRegion: config?.useArnRegion ?? loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
|
|
50
52
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
51
53
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
52
54
|
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -25,6 +25,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
25
|
serviceId: config?.serviceId ?? "S3 Control",
|
|
26
26
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
27
27
|
urlParser: config?.urlParser ?? parseUrl,
|
|
28
|
+
useArnRegion: config?.useArnRegion ?? undefined,
|
|
28
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
29
30
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
30
31
|
};
|
|
@@ -222,6 +222,10 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
222
222
|
* @internal
|
|
223
223
|
*/
|
|
224
224
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
225
|
+
/**
|
|
226
|
+
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to undefined.
|
|
227
|
+
*/
|
|
228
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
225
229
|
/**
|
|
226
230
|
* Value for how many times a request will be made at most in case of retry.
|
|
227
231
|
*/
|
|
@@ -3,11 +3,11 @@ 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
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
10
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
}
|
|
12
12
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
13
13
|
defaultSigningName: string;
|
|
@@ -36,15 +36,15 @@ export declare const commonParams: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
export interface EndpointParameters extends __EndpointParameters {
|
|
39
|
-
Region?: string;
|
|
40
|
-
UseFIPS?: boolean;
|
|
41
|
-
UseDualStack?: boolean;
|
|
42
|
-
Endpoint?: string;
|
|
43
|
-
AccountId?: string;
|
|
44
|
-
RequiresAccountId?: boolean;
|
|
45
|
-
OutpostId?: string;
|
|
46
|
-
Bucket?: string;
|
|
47
|
-
AccessPointName?: string;
|
|
48
|
-
UseArnRegion?: boolean;
|
|
49
|
-
UseS3ExpressControlEndpoint?: boolean;
|
|
39
|
+
Region?: string | undefined;
|
|
40
|
+
UseFIPS?: boolean | undefined;
|
|
41
|
+
UseDualStack?: boolean | undefined;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
|
+
AccountId?: string | undefined;
|
|
44
|
+
RequiresAccountId?: boolean | undefined;
|
|
45
|
+
OutpostId?: string | undefined;
|
|
46
|
+
Bucket?: string | undefined;
|
|
47
|
+
AccessPointName?: string | undefined;
|
|
48
|
+
UseArnRegion?: boolean | undefined;
|
|
49
|
+
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
50
50
|
}
|
|
@@ -17,8 +17,8 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
19
|
streamHasher: import("@smithy/types").StreamHasher<import("stream").Readable> | import("@smithy/types").StreamHasher<Blob>;
|
|
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
|
apiVersion: string;
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
serviceId: string;
|
|
31
31
|
profile?: string;
|
|
32
|
+
useArnRegion: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
32
33
|
logger: import("@smithy/types").Logger;
|
|
33
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -40,7 +41,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
40
41
|
}) => import("@smithy/types").EndpointV2;
|
|
41
42
|
tls?: boolean;
|
|
42
43
|
serviceConfiguredEndpoint?: never;
|
|
43
|
-
useArnRegion?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
44
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
45
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
46
46
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
18
18
|
sha256: import("@smithy/types").HashConstructor;
|
|
19
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
20
20
|
streamHasher: import("@smithy/types").StreamHasher<import("stream").Readable> | import("@smithy/types").StreamHasher<Blob>;
|
|
21
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
21
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
24
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -41,7 +42,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
41
42
|
}) => import("@smithy/types").EndpointV2;
|
|
42
43
|
tls?: boolean;
|
|
43
44
|
serviceConfiguredEndpoint?: never;
|
|
44
|
-
useArnRegion?: boolean | import("@smithy/types").Provider<boolean>;
|
|
45
45
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
46
46
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
47
47
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
@@ -17,12 +17,13 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
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>;
|
|
25
25
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
|
+
useArnRegion: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
26
27
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
28
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
29
|
logger: import("@smithy/types").Logger;
|
|
@@ -39,7 +40,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
39
40
|
}) => import("@smithy/types").EndpointV2;
|
|
40
41
|
tls?: boolean;
|
|
41
42
|
serviceConfiguredEndpoint?: never;
|
|
42
|
-
useArnRegion?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
43
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
44
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
45
45
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
signingEscapePath: boolean;
|
|
19
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean | undefined> | undefined;
|
|
20
21
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
22
23
|
};
|
|
@@ -662,6 +662,7 @@ export interface ClientDefaults
|
|
|
662
662
|
profile?: string;
|
|
663
663
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
664
664
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
665
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
665
666
|
maxAttempts?: number | __Provider<number>;
|
|
666
667
|
retryMode?: string | __Provider<string>;
|
|
667
668
|
logger?: __Logger;
|
|
@@ -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,7 +15,7 @@ export interface ClientInputEndpointParameters {
|
|
|
15
15
|
| Provider<Endpoint>
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
18
|
+
useArnRegion?: boolean | undefined | Provider<boolean | undefined>;
|
|
19
19
|
}
|
|
20
20
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
21
21
|
defaultSigningName: string;
|
|
@@ -46,15 +46,15 @@ export declare const commonParams: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export interface EndpointParameters extends __EndpointParameters {
|
|
49
|
-
Region?: string;
|
|
50
|
-
UseFIPS?: boolean;
|
|
51
|
-
UseDualStack?: boolean;
|
|
52
|
-
Endpoint?: string;
|
|
53
|
-
AccountId?: string;
|
|
54
|
-
RequiresAccountId?: boolean;
|
|
55
|
-
OutpostId?: string;
|
|
56
|
-
Bucket?: string;
|
|
57
|
-
AccessPointName?: string;
|
|
58
|
-
UseArnRegion?: boolean;
|
|
59
|
-
UseS3ExpressControlEndpoint?: boolean;
|
|
49
|
+
Region?: string | undefined;
|
|
50
|
+
UseFIPS?: boolean | undefined;
|
|
51
|
+
UseDualStack?: boolean | undefined;
|
|
52
|
+
Endpoint?: string | undefined;
|
|
53
|
+
AccountId?: string | undefined;
|
|
54
|
+
RequiresAccountId?: boolean | undefined;
|
|
55
|
+
OutpostId?: string | undefined;
|
|
56
|
+
Bucket?: string | undefined;
|
|
57
|
+
AccessPointName?: string | undefined;
|
|
58
|
+
UseArnRegion?: boolean | undefined;
|
|
59
|
+
UseS3ExpressControlEndpoint?: boolean | undefined;
|
|
60
60
|
}
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
26
26
|
streamHasher:
|
|
27
27
|
| import("@smithy/types").StreamHasher<import("stream").Readable>
|
|
28
28
|
| import("@smithy/types").StreamHasher<Blob>;
|
|
29
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
30
|
-
|
|
29
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
33
|
apiVersion: string;
|
|
32
34
|
cacheMiddleware?: boolean | undefined;
|
|
33
35
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -38,6 +40,10 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
38
40
|
disableHostPrefix: boolean;
|
|
39
41
|
serviceId: string;
|
|
40
42
|
profile?: string;
|
|
43
|
+
useArnRegion:
|
|
44
|
+
| boolean
|
|
45
|
+
| undefined
|
|
46
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
41
47
|
logger: import("@smithy/types").Logger;
|
|
42
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -73,7 +79,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
73
79
|
) => import("@smithy/types").EndpointV2;
|
|
74
80
|
tls?: boolean;
|
|
75
81
|
serviceConfiguredEndpoint?: never;
|
|
76
|
-
useArnRegion?: boolean | import("@smithy/types").Provider<boolean>;
|
|
77
82
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
78
83
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
84
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
29
29
|
streamHasher:
|
|
30
30
|
| import("@smithy/types").StreamHasher<import("stream").Readable>
|
|
31
31
|
| import("@smithy/types").StreamHasher<Blob>;
|
|
32
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean | undefined>;
|
|
32
33
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
34
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
35
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -73,7 +74,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
73
74
|
) => import("@smithy/types").EndpointV2;
|
|
74
75
|
tls?: boolean;
|
|
75
76
|
serviceConfiguredEndpoint?: never;
|
|
76
|
-
useArnRegion?: boolean | import("@smithy/types").Provider<boolean>;
|
|
77
77
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
78
78
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
79
79
|
credentials?:
|
|
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
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: (
|
|
@@ -31,6 +33,10 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
31
33
|
| ((
|
|
32
34
|
_: unknown
|
|
33
35
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
|
+
useArnRegion:
|
|
37
|
+
| boolean
|
|
38
|
+
| undefined
|
|
39
|
+
| import("@smithy/types").Provider<boolean | undefined>;
|
|
34
40
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
41
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
42
|
logger: import("@smithy/types").Logger;
|
|
@@ -77,7 +83,6 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
77
83
|
) => import("@smithy/types").EndpointV2;
|
|
78
84
|
tls?: boolean;
|
|
79
85
|
serviceConfiguredEndpoint?: never;
|
|
80
|
-
useArnRegion?: boolean | import("@smithy/types").Provider<boolean>;
|
|
81
86
|
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
82
87
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
83
88
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
@@ -17,6 +17,10 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
signingEscapePath: boolean;
|
|
19
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
|
+
useArnRegion:
|
|
21
|
+
| boolean
|
|
22
|
+
| import("@smithy/types").Provider<boolean | undefined>
|
|
23
|
+
| undefined;
|
|
20
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
25
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
22
26
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control 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-control",
|
|
@@ -23,17 +23,18 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.826.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.830.0",
|
|
27
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.830.0",
|
|
27
28
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
28
29
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
29
30
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
30
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.830.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.828.0",
|
|
32
33
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
33
34
|
"@aws-sdk/types": "3.821.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.828.0",
|
|
35
36
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.828.0",
|
|
37
38
|
"@aws-sdk/xml-builder": "3.821.0",
|
|
38
39
|
"@smithy/config-resolver": "^4.1.4",
|
|
39
40
|
"@smithy/core": "^3.5.3",
|