@aws-sdk/client-glacier 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 +5 -5
- package/dist-es/GlacierClient.js +5 -5
- package/dist-types/GlacierClient.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/GlacierClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +28 -28
package/dist-cjs/index.js
CHANGED
|
@@ -193,20 +193,20 @@ var _GlacierClient = class _GlacierClient extends import_smithy_client.Client {
|
|
|
193
193
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
194
194
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
195
195
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
196
|
-
const _config_4 = (0,
|
|
197
|
-
const _config_5 = (0,
|
|
198
|
-
const _config_6 = (0,
|
|
196
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
197
|
+
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
|
|
198
|
+
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
|
|
199
199
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
200
200
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
201
201
|
super(_config_8);
|
|
202
202
|
this.config = _config_8;
|
|
203
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
204
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
205
203
|
this.middlewareStack.use((0, import_middleware_sdk_glacier.getGlacierPlugin)(this.config));
|
|
206
204
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
207
205
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
208
206
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
209
207
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
208
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
210
210
|
this.middlewareStack.use(
|
|
211
211
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
212
212
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
package/dist-es/GlacierClient.js
CHANGED
|
@@ -20,20 +20,20 @@ export class GlacierClient 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 =
|
|
23
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveUserAgentConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveRetryConfig(_config_5);
|
|
26
26
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
27
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
28
|
super(_config_8);
|
|
29
29
|
this.config = _config_8;
|
|
30
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getGlacierPlugin(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(getUserAgentPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
37
37
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
38
38
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
39
39
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -177,7 +177,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
177
177
|
/**
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
|
-
export type GlacierClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
180
|
+
export type GlacierClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
181
181
|
/**
|
|
182
182
|
* @public
|
|
183
183
|
*
|
|
@@ -188,7 +188,7 @@ export interface GlacierClientConfig extends GlacierClientConfigType {
|
|
|
188
188
|
/**
|
|
189
189
|
* @public
|
|
190
190
|
*/
|
|
191
|
-
export type GlacierClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
191
|
+
export type GlacierClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
192
192
|
/**
|
|
193
193
|
* @public
|
|
194
194
|
*
|
|
@@ -37,8 +37,8 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
37
37
|
logger?: import("@smithy/types").Logger | undefined;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
41
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GlacierHttpAuthSchemeProvider;
|
|
44
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -37,8 +37,8 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
37
37
|
logger?: import("@smithy/types").Logger | undefined;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
41
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GlacierHttpAuthSchemeProvider;
|
|
44
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -36,8 +36,8 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | 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").GlacierHttpAuthSchemeProvider;
|
|
43
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -293,9 +293,9 @@ export type GlacierClientConfigType = Partial<
|
|
|
293
293
|
ClientDefaults &
|
|
294
294
|
RegionInputConfig &
|
|
295
295
|
EndpointInputConfig<EndpointParameters> &
|
|
296
|
-
RetryInputConfig &
|
|
297
296
|
HostHeaderInputConfig &
|
|
298
297
|
UserAgentInputConfig &
|
|
298
|
+
RetryInputConfig &
|
|
299
299
|
HttpAuthSchemeInputConfig &
|
|
300
300
|
ClientInputEndpointParameters;
|
|
301
301
|
export interface GlacierClientConfig extends GlacierClientConfigType {}
|
|
@@ -305,9 +305,9 @@ export type GlacierClientResolvedConfigType =
|
|
|
305
305
|
RuntimeExtensionsConfig &
|
|
306
306
|
RegionResolvedConfig &
|
|
307
307
|
EndpointResolvedConfig<EndpointParameters> &
|
|
308
|
-
RetryResolvedConfig &
|
|
309
308
|
HostHeaderResolvedConfig &
|
|
310
309
|
UserAgentResolvedConfig &
|
|
310
|
+
RetryResolvedConfig &
|
|
311
311
|
HttpAuthSchemeResolvedConfig &
|
|
312
312
|
ClientResolvedEndpointParameters;
|
|
313
313
|
export interface GlacierClientResolvedConfig
|
|
@@ -66,11 +66,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
66
66
|
}
|
|
67
67
|
) => import("@smithy/types").EndpointV2;
|
|
68
68
|
tls?: boolean | undefined;
|
|
69
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
69
70
|
retryStrategy?:
|
|
70
71
|
| import("@smithy/types").RetryStrategy
|
|
71
72
|
| import("@smithy/types").RetryStrategyV2
|
|
72
73
|
| undefined;
|
|
73
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
74
74
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
75
75
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GlacierHttpAuthSchemeProvider;
|
|
76
76
|
credentials?:
|
|
@@ -70,11 +70,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
70
70
|
}
|
|
71
71
|
) => import("@smithy/types").EndpointV2;
|
|
72
72
|
tls?: boolean | undefined;
|
|
73
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
73
74
|
retryStrategy?:
|
|
74
75
|
| import("@smithy/types").RetryStrategy
|
|
75
76
|
| import("@smithy/types").RetryStrategyV2
|
|
76
77
|
| undefined;
|
|
77
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
78
78
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
79
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GlacierHttpAuthSchemeProvider;
|
|
80
80
|
credentials?:
|
|
@@ -60,11 +60,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
|
|
|
60
60
|
}
|
|
61
61
|
) => import("@smithy/types").EndpointV2;
|
|
62
62
|
tls?: boolean | undefined;
|
|
63
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
63
64
|
retryStrategy?:
|
|
64
65
|
| import("@smithy/types").RetryStrategy
|
|
65
66
|
| import("@smithy/types").RetryStrategyV2
|
|
66
67
|
| undefined;
|
|
67
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
68
68
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
69
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GlacierHttpAuthSchemeProvider;
|
|
70
70
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glacier",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glacier 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-glacier",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/body-checksum-browser": "3.
|
|
24
|
-
"@aws-sdk/body-checksum-node": "3.
|
|
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.
|
|
23
|
+
"@aws-sdk/body-checksum-browser": "3.616.0",
|
|
24
|
+
"@aws-sdk/body-checksum-node": "3.616.0",
|
|
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-glacier": "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-glacier": "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.
|
|
39
|
-
"@smithy/config-resolver": "^3.0.
|
|
40
|
-
"@smithy/core": "^2.2.
|
|
41
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
39
|
+
"@smithy/config-resolver": "^3.0.5",
|
|
40
|
+
"@smithy/core": "^2.2.7",
|
|
41
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
42
42
|
"@smithy/hash-node": "^3.0.3",
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
44
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
45
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-endpoint": "^3.0.5",
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.3",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.3",
|
|
49
|
-
"@smithy/node-config-provider": "^3.1.
|
|
50
|
-
"@smithy/node-http-handler": "^3.1.
|
|
51
|
-
"@smithy/protocol-http": "^4.0.
|
|
52
|
-
"@smithy/smithy-client": "^3.1.
|
|
49
|
+
"@smithy/node-config-provider": "^3.1.4",
|
|
50
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
51
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
52
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
53
53
|
"@smithy/types": "^3.3.0",
|
|
54
54
|
"@smithy/url-parser": "^3.0.3",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
60
|
-
"@smithy/util-endpoints": "^2.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
60
|
+
"@smithy/util-endpoints": "^2.0.5",
|
|
61
61
|
"@smithy/util-middleware": "^3.0.3",
|
|
62
62
|
"@smithy/util-retry": "^3.0.3",
|
|
63
|
-
"@smithy/util-stream": "^3.0
|
|
63
|
+
"@smithy/util-stream": "^3.1.0",
|
|
64
64
|
"@smithy/util-utf8": "^3.0.0",
|
|
65
65
|
"@smithy/util-waiter": "^3.1.2",
|
|
66
66
|
"tslib": "^2.6.2"
|