@aws-sdk/client-s3-control 3.613.0 → 3.616.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/index.js +6 -6
- package/dist-es/S3ControlClient.js +6 -6
- package/dist-types/S3ControlClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/S3ControlClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +26 -26
package/dist-cjs/index.js
CHANGED
|
@@ -298,21 +298,21 @@ var _S3ControlClient = class _S3ControlClient extends import_smithy_client.Clien
|
|
|
298
298
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
299
299
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
300
300
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
301
|
-
const _config_4 = (0,
|
|
302
|
-
const _config_5 = (0,
|
|
303
|
-
const _config_6 = (0,
|
|
304
|
-
const _config_7 = (0,
|
|
301
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
302
|
+
const _config_5 = (0, import_middleware_sdk_s3_control.resolveS3ControlConfig)(_config_4);
|
|
303
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
304
|
+
const _config_7 = (0, import_middleware_retry.resolveRetryConfig)(_config_6);
|
|
305
305
|
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
306
306
|
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
307
307
|
super(_config_9);
|
|
308
308
|
this.config = _config_9;
|
|
309
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
310
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
311
309
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
312
310
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
313
311
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
314
312
|
this.middlewareStack.use((0, import_middleware_sdk_s3_control.getHostPrefixDeduplicationPlugin)(this.config));
|
|
315
313
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
314
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
315
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
316
316
|
this.middlewareStack.use(
|
|
317
317
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
318
318
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
@@ -20,21 +20,21 @@ export class S3ControlClient extends __Client {
|
|
|
20
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
21
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
22
22
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
23
|
-
const _config_4 =
|
|
24
|
-
const _config_5 =
|
|
25
|
-
const _config_6 =
|
|
26
|
-
const _config_7 =
|
|
23
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveS3ControlConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
26
|
+
const _config_7 = resolveRetryConfig(_config_6);
|
|
27
27
|
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
28
28
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
29
29
|
super(_config_9);
|
|
30
30
|
this.config = _config_9;
|
|
31
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
32
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
35
33
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
36
34
|
this.middlewareStack.use(getHostPrefixDeduplicationPlugin(this.config));
|
|
37
35
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
37
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
38
38
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
39
39
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
40
40
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -238,7 +238,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
238
238
|
/**
|
|
239
239
|
* @public
|
|
240
240
|
*/
|
|
241
|
-
export type S3ControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
241
|
+
export type S3ControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & S3ControlInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
242
242
|
/**
|
|
243
243
|
* @public
|
|
244
244
|
*
|
|
@@ -249,7 +249,7 @@ export interface S3ControlClientConfig extends S3ControlClientConfigType {
|
|
|
249
249
|
/**
|
|
250
250
|
* @public
|
|
251
251
|
*/
|
|
252
|
-
export type S3ControlClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
252
|
+
export type S3ControlClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & S3ControlResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
253
253
|
/**
|
|
254
254
|
* @public
|
|
255
255
|
*
|
|
@@ -35,9 +35,9 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
35
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
38
|
useArnRegion?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
40
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
43
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -35,9 +35,9 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
35
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
38
|
useArnRegion?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
40
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
43
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -34,9 +34,9 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
34
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
35
|
}) => import("@smithy/types").EndpointV2;
|
|
36
36
|
tls?: boolean | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
37
|
useArnRegion?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
39
38
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
40
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
42
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -645,10 +645,10 @@ export type S3ControlClientConfigType = Partial<
|
|
|
645
645
|
ClientDefaults &
|
|
646
646
|
RegionInputConfig &
|
|
647
647
|
EndpointInputConfig<EndpointParameters> &
|
|
648
|
-
RetryInputConfig &
|
|
649
648
|
HostHeaderInputConfig &
|
|
650
649
|
S3ControlInputConfig &
|
|
651
650
|
UserAgentInputConfig &
|
|
651
|
+
RetryInputConfig &
|
|
652
652
|
HttpAuthSchemeInputConfig &
|
|
653
653
|
ClientInputEndpointParameters;
|
|
654
654
|
export interface S3ControlClientConfig extends S3ControlClientConfigType {}
|
|
@@ -658,10 +658,10 @@ export type S3ControlClientResolvedConfigType =
|
|
|
658
658
|
RuntimeExtensionsConfig &
|
|
659
659
|
RegionResolvedConfig &
|
|
660
660
|
EndpointResolvedConfig<EndpointParameters> &
|
|
661
|
-
RetryResolvedConfig &
|
|
662
661
|
HostHeaderResolvedConfig &
|
|
663
662
|
S3ControlResolvedConfig &
|
|
664
663
|
UserAgentResolvedConfig &
|
|
664
|
+
RetryResolvedConfig &
|
|
665
665
|
HttpAuthSchemeResolvedConfig &
|
|
666
666
|
ClientResolvedEndpointParameters;
|
|
667
667
|
export interface S3ControlClientResolvedConfig
|
|
@@ -60,15 +60,15 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
60
60
|
}
|
|
61
61
|
) => import("@smithy/types").EndpointV2;
|
|
62
62
|
tls?: boolean | undefined;
|
|
63
|
-
retryStrategy?:
|
|
64
|
-
| import("@smithy/types").RetryStrategy
|
|
65
|
-
| import("@smithy/types").RetryStrategyV2
|
|
66
|
-
| undefined;
|
|
67
63
|
useArnRegion?:
|
|
68
64
|
| boolean
|
|
69
65
|
| import("@smithy/types").Provider<boolean>
|
|
70
66
|
| undefined;
|
|
71
67
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
68
|
+
retryStrategy?:
|
|
69
|
+
| import("@smithy/types").RetryStrategy
|
|
70
|
+
| import("@smithy/types").RetryStrategyV2
|
|
71
|
+
| undefined;
|
|
72
72
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
73
73
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
74
74
|
credentials?:
|
|
@@ -64,15 +64,15 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
64
64
|
}
|
|
65
65
|
) => import("@smithy/types").EndpointV2;
|
|
66
66
|
tls?: boolean | undefined;
|
|
67
|
-
retryStrategy?:
|
|
68
|
-
| import("@smithy/types").RetryStrategy
|
|
69
|
-
| import("@smithy/types").RetryStrategyV2
|
|
70
|
-
| undefined;
|
|
71
67
|
useArnRegion?:
|
|
72
68
|
| boolean
|
|
73
69
|
| import("@smithy/types").Provider<boolean>
|
|
74
70
|
| undefined;
|
|
75
71
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
72
|
+
retryStrategy?:
|
|
73
|
+
| import("@smithy/types").RetryStrategy
|
|
74
|
+
| import("@smithy/types").RetryStrategyV2
|
|
75
|
+
| undefined;
|
|
76
76
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
77
77
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
78
78
|
credentials?:
|
|
@@ -54,15 +54,15 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
54
54
|
}
|
|
55
55
|
) => import("@smithy/types").EndpointV2;
|
|
56
56
|
tls?: boolean | undefined;
|
|
57
|
-
retryStrategy?:
|
|
58
|
-
| import("@smithy/types").RetryStrategy
|
|
59
|
-
| import("@smithy/types").RetryStrategyV2
|
|
60
|
-
| undefined;
|
|
61
57
|
useArnRegion?:
|
|
62
58
|
| boolean
|
|
63
59
|
| import("@smithy/types").Provider<boolean>
|
|
64
60
|
| undefined;
|
|
65
61
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
62
|
+
retryStrategy?:
|
|
63
|
+
| import("@smithy/types").RetryStrategy
|
|
64
|
+
| import("@smithy/types").RetryStrategyV2
|
|
65
|
+
| undefined;
|
|
66
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
67
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3ControlHttpAuthSchemeProvider;
|
|
68
68
|
credentials?:
|
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.616.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",
|
|
@@ -22,47 +22,47 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.616.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.616.0",
|
|
27
|
+
"@aws-sdk/core": "3.616.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.616.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.616.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
34
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.616.0",
|
|
32
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.616.0",
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "3.616.0",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
35
35
|
"@aws-sdk/types": "3.609.0",
|
|
36
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
+
"@aws-sdk/util-endpoints": "3.614.0",
|
|
37
37
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
38
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
39
39
|
"@aws-sdk/xml-builder": "3.609.0",
|
|
40
|
-
"@smithy/config-resolver": "^3.0.
|
|
41
|
-
"@smithy/core": "^2.2.
|
|
42
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
40
|
+
"@smithy/config-resolver": "^3.0.5",
|
|
41
|
+
"@smithy/core": "^2.2.7",
|
|
42
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
43
43
|
"@smithy/hash-blob-browser": "^3.1.2",
|
|
44
44
|
"@smithy/hash-node": "^3.0.3",
|
|
45
45
|
"@smithy/hash-stream-node": "^3.1.2",
|
|
46
46
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
47
47
|
"@smithy/md5-js": "^3.0.3",
|
|
48
|
-
"@smithy/middleware-apply-body-checksum": "^3.0.
|
|
49
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
50
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
51
|
-
"@smithy/middleware-retry": "^3.0.
|
|
48
|
+
"@smithy/middleware-apply-body-checksum": "^3.0.4",
|
|
49
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
50
|
+
"@smithy/middleware-endpoint": "^3.0.5",
|
|
51
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
52
52
|
"@smithy/middleware-serde": "^3.0.3",
|
|
53
53
|
"@smithy/middleware-stack": "^3.0.3",
|
|
54
|
-
"@smithy/node-config-provider": "^3.1.
|
|
55
|
-
"@smithy/node-http-handler": "^3.1.
|
|
56
|
-
"@smithy/protocol-http": "^4.0.
|
|
57
|
-
"@smithy/smithy-client": "^3.1.
|
|
54
|
+
"@smithy/node-config-provider": "^3.1.4",
|
|
55
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
56
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
57
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
58
58
|
"@smithy/types": "^3.3.0",
|
|
59
59
|
"@smithy/url-parser": "^3.0.3",
|
|
60
60
|
"@smithy/util-base64": "^3.0.0",
|
|
61
61
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
62
62
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
63
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
64
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
65
|
-
"@smithy/util-endpoints": "^2.0.
|
|
63
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
64
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
65
|
+
"@smithy/util-endpoints": "^2.0.5",
|
|
66
66
|
"@smithy/util-middleware": "^3.0.3",
|
|
67
67
|
"@smithy/util-retry": "^3.0.3",
|
|
68
68
|
"@smithy/util-utf8": "^3.0.0",
|