@aws-sdk/client-glacier 3.45.0 → 3.47.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-glacier
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-glacier
17
+
18
+
19
+
20
+
21
+
22
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
28
+
29
+
30
+
31
+
32
+
33
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
39
+
40
+
41
+ ### Features
42
+
43
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
44
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
51
 
8
52
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ca-central-1": {
7
7
  variants: [
8
- {
9
- hostname: "glacier.ca-central-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "glacier-fips.ca-central-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-east-1": {
19
15
  variants: [
20
- {
21
- hostname: "glacier.us-east-1.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "glacier-fips.us-east-1.amazonaws.com",
26
18
  tags: ["fips"],
@@ -29,10 +21,6 @@ const regionHash = {
29
21
  },
30
22
  "us-east-2": {
31
23
  variants: [
32
- {
33
- hostname: "glacier.us-east-2.amazonaws.com",
34
- tags: [],
35
- },
36
24
  {
37
25
  hostname: "glacier-fips.us-east-2.amazonaws.com",
38
26
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-1": {
61
49
  variants: [
62
- {
63
- hostname: "glacier.us-west-1.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "glacier-fips.us-west-1.amazonaws.com",
68
52
  tags: ["fips"],
@@ -71,10 +55,6 @@ const regionHash = {
71
55
  },
72
56
  "us-west-2": {
73
57
  variants: [
74
- {
75
- hostname: "glacier.us-west-2.amazonaws.com",
76
- tags: [],
77
- },
78
58
  {
79
59
  hostname: "glacier-fips.us-west-2.amazonaws.com",
80
60
  tags: ["fips"],
@@ -1,37 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VaultAccessPolicy = exports.GetVaultAccessPolicyInput = exports.GetJobOutputOutput = exports.GetJobOutputInput = exports.GetDataRetrievalPolicyOutput = exports.GetDataRetrievalPolicyInput = exports.DescribeVaultOutput = exports.DescribeVaultInput = exports.GlacierJobDescription = exports.StatusCode = exports.SelectParameters = exports.OutputSerialization = exports.InputSerialization = exports.ExpressionType = exports.OutputLocation = exports.S3Location = exports.StorageClass = exports.Encryption = exports.EncryptionType = exports.InventoryRetrievalJobDescription = exports.DescribeJobInput = exports.DeleteVaultNotificationsInput = exports.DeleteVaultAccessPolicyInput = exports.DeleteVaultInput = exports.DeleteArchiveInput = exports.DataRetrievalPolicy = exports.DataRetrievalRule = exports.CSVOutput = exports.QuoteFields = exports.CSVInput = exports.FileHeaderInfo = exports.CreateVaultOutput = exports.CreateVaultInput = exports.CompleteVaultLockInput = exports.CompleteMultipartUploadInput = exports.CannedACL = exports.ArchiveCreationOutput = exports.LimitExceededException = exports.AddTagsToVaultInput = exports.ActionCode = exports.Grant = exports.Permission = exports.Grantee = exports.Type = exports.AbortVaultLockInput = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MissingParameterValueException = exports.InvalidParameterValueException = exports.AbortMultipartUploadInput = void 0;
4
- exports.UploadMultipartPartOutput = exports.UploadMultipartPartInput = exports.UploadArchiveInput = exports.RequestTimeoutException = exports.SetVaultNotificationsInput = exports.SetVaultAccessPolicyInput = exports.SetDataRetrievalPolicyInput = exports.RemoveTagsFromVaultInput = exports.PurchaseProvisionedCapacityOutput = exports.PurchaseProvisionedCapacityInput = exports.ListVaultsOutput = exports.ListVaultsInput = exports.ListTagsForVaultOutput = exports.ListTagsForVaultInput = exports.ListProvisionedCapacityOutput = exports.ProvisionedCapacityDescription = exports.ListProvisionedCapacityInput = exports.ListPartsOutput = exports.PartListElement = exports.ListPartsInput = exports.ListMultipartUploadsOutput = exports.UploadListElement = exports.ListMultipartUploadsInput = exports.ListJobsOutput = exports.ListJobsInput = exports.InitiateVaultLockOutput = exports.InitiateVaultLockInput = exports.VaultLockPolicy = exports.InitiateMultipartUploadOutput = exports.InitiateMultipartUploadInput = exports.PolicyEnforcedException = exports.InsufficientCapacityException = exports.InitiateJobOutput = exports.InitiateJobInput = exports.JobParameters = exports.InventoryRetrievalJobInput = exports.GetVaultNotificationsOutput = exports.VaultNotificationConfig = exports.GetVaultNotificationsInput = exports.GetVaultLockOutput = exports.GetVaultLockInput = exports.GetVaultAccessPolicyOutput = void 0;
3
+ exports.VaultNotificationConfig = exports.GetVaultNotificationsInput = exports.GetVaultLockOutput = exports.GetVaultLockInput = exports.GetVaultAccessPolicyOutput = exports.VaultAccessPolicy = exports.GetVaultAccessPolicyInput = exports.GetJobOutputOutput = exports.GetJobOutputInput = exports.GetDataRetrievalPolicyOutput = exports.GetDataRetrievalPolicyInput = exports.DescribeVaultOutput = exports.DescribeVaultInput = exports.GlacierJobDescription = exports.StatusCode = exports.SelectParameters = exports.OutputSerialization = exports.InputSerialization = exports.ExpressionType = exports.OutputLocation = exports.S3Location = exports.StorageClass = exports.Encryption = exports.EncryptionType = exports.InventoryRetrievalJobDescription = exports.DescribeJobInput = exports.DeleteVaultNotificationsInput = exports.DeleteVaultAccessPolicyInput = exports.DeleteVaultInput = exports.DeleteArchiveInput = exports.DataRetrievalPolicy = exports.DataRetrievalRule = exports.CSVOutput = exports.QuoteFields = exports.CSVInput = exports.FileHeaderInfo = exports.CreateVaultOutput = exports.CreateVaultInput = exports.CompleteVaultLockInput = exports.CompleteMultipartUploadInput = exports.CannedACL = exports.ArchiveCreationOutput = exports.AddTagsToVaultInput = exports.ActionCode = exports.Grant = exports.Permission = exports.Grantee = exports.Type = exports.AbortVaultLockInput = exports.AbortMultipartUploadInput = void 0;
4
+ exports.UploadMultipartPartOutput = exports.UploadMultipartPartInput = exports.UploadArchiveInput = exports.SetVaultNotificationsInput = exports.SetVaultAccessPolicyInput = exports.SetDataRetrievalPolicyInput = exports.RemoveTagsFromVaultInput = exports.PurchaseProvisionedCapacityOutput = exports.PurchaseProvisionedCapacityInput = exports.ListVaultsOutput = exports.ListVaultsInput = exports.ListTagsForVaultOutput = exports.ListTagsForVaultInput = exports.ListProvisionedCapacityOutput = exports.ProvisionedCapacityDescription = exports.ListProvisionedCapacityInput = exports.ListPartsOutput = exports.PartListElement = exports.ListPartsInput = exports.ListMultipartUploadsOutput = exports.UploadListElement = exports.ListMultipartUploadsInput = exports.ListJobsOutput = exports.ListJobsInput = exports.InitiateVaultLockOutput = exports.InitiateVaultLockInput = exports.VaultLockPolicy = exports.InitiateMultipartUploadOutput = exports.InitiateMultipartUploadInput = exports.InitiateJobOutput = exports.InitiateJobInput = exports.JobParameters = exports.InventoryRetrievalJobInput = exports.GetVaultNotificationsOutput = void 0;
5
5
  var AbortMultipartUploadInput;
6
6
  (function (AbortMultipartUploadInput) {
7
7
  AbortMultipartUploadInput.filterSensitiveLog = (obj) => ({
8
8
  ...obj,
9
9
  });
10
10
  })(AbortMultipartUploadInput = exports.AbortMultipartUploadInput || (exports.AbortMultipartUploadInput = {}));
11
- var InvalidParameterValueException;
12
- (function (InvalidParameterValueException) {
13
- InvalidParameterValueException.filterSensitiveLog = (obj) => ({
14
- ...obj,
15
- });
16
- })(InvalidParameterValueException = exports.InvalidParameterValueException || (exports.InvalidParameterValueException = {}));
17
- var MissingParameterValueException;
18
- (function (MissingParameterValueException) {
19
- MissingParameterValueException.filterSensitiveLog = (obj) => ({
20
- ...obj,
21
- });
22
- })(MissingParameterValueException = exports.MissingParameterValueException || (exports.MissingParameterValueException = {}));
23
- var ResourceNotFoundException;
24
- (function (ResourceNotFoundException) {
25
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
26
- ...obj,
27
- });
28
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
29
- var ServiceUnavailableException;
30
- (function (ServiceUnavailableException) {
31
- ServiceUnavailableException.filterSensitiveLog = (obj) => ({
32
- ...obj,
33
- });
34
- })(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
35
11
  var AbortVaultLockInput;
36
12
  (function (AbortVaultLockInput) {
37
13
  AbortVaultLockInput.filterSensitiveLog = (obj) => ({
@@ -76,12 +52,6 @@ var AddTagsToVaultInput;
76
52
  ...obj,
77
53
  });
78
54
  })(AddTagsToVaultInput = exports.AddTagsToVaultInput || (exports.AddTagsToVaultInput = {}));
79
- var LimitExceededException;
80
- (function (LimitExceededException) {
81
- LimitExceededException.filterSensitiveLog = (obj) => ({
82
- ...obj,
83
- });
84
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
85
55
  var ArchiveCreationOutput;
86
56
  (function (ArchiveCreationOutput) {
87
57
  ArchiveCreationOutput.filterSensitiveLog = (obj) => ({
@@ -364,18 +334,6 @@ var InitiateJobOutput;
364
334
  ...obj,
365
335
  });
366
336
  })(InitiateJobOutput = exports.InitiateJobOutput || (exports.InitiateJobOutput = {}));
367
- var InsufficientCapacityException;
368
- (function (InsufficientCapacityException) {
369
- InsufficientCapacityException.filterSensitiveLog = (obj) => ({
370
- ...obj,
371
- });
372
- })(InsufficientCapacityException = exports.InsufficientCapacityException || (exports.InsufficientCapacityException = {}));
373
- var PolicyEnforcedException;
374
- (function (PolicyEnforcedException) {
375
- PolicyEnforcedException.filterSensitiveLog = (obj) => ({
376
- ...obj,
377
- });
378
- })(PolicyEnforcedException = exports.PolicyEnforcedException || (exports.PolicyEnforcedException = {}));
379
337
  var InitiateMultipartUploadInput;
380
338
  (function (InitiateMultipartUploadInput) {
381
339
  InitiateMultipartUploadInput.filterSensitiveLog = (obj) => ({
@@ -532,12 +490,6 @@ var SetVaultNotificationsInput;
532
490
  ...obj,
533
491
  });
534
492
  })(SetVaultNotificationsInput = exports.SetVaultNotificationsInput || (exports.SetVaultNotificationsInput = {}));
535
- var RequestTimeoutException;
536
- (function (RequestTimeoutException) {
537
- RequestTimeoutException.filterSensitiveLog = (obj) => ({
538
- ...obj,
539
- });
540
- })(RequestTimeoutException = exports.RequestTimeoutException || (exports.RequestTimeoutException = {}));
541
493
  var UploadArchiveInput;
542
494
  (function (UploadArchiveInput) {
543
495
  UploadArchiveInput.filterSensitiveLog = (obj) => ({
@@ -14,13 +14,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
14
14
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
15
15
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
16
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
18
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
17
19
  const getRuntimeConfig = (config) => {
18
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
21
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
22
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
23
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
20
24
  return {
21
25
  ...clientSharedValues,
22
26
  ...config,
23
27
  runtime: "browser",
28
+ defaultsMode,
24
29
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
25
30
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
26
31
  bodyChecksumGenerator: (_c = config === null || config === void 0 ? void 0 : config.bodyChecksumGenerator) !== null && _c !== void 0 ? _c : body_checksum_browser_1.bodyChecksumGenerator,
@@ -29,8 +34,8 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_f = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _f !== void 0 ? _f : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
31
36
  region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
32
- requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
33
- retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
37
+ requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
38
+ retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
34
39
  sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
35
40
  streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
36
41
  useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -17,14 +17,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
17
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
19
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
22
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
23
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
24
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
25
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
26
  return {
25
27
  ...clientSharedValues,
26
28
  ...config,
27
29
  runtime: "node",
30
+ defaultsMode,
28
31
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
29
32
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
30
33
  bodyChecksumGenerator: (_c = config === null || config === void 0 ? void 0 : config.bodyChecksumGenerator) !== null && _c !== void 0 ? _c : body_checksum_node_1.bodyChecksumGenerator,
@@ -33,8 +36,11 @@ const getRuntimeConfig = (config) => {
33
36
  defaultUserAgentProvider: (_f = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _f !== void 0 ? _f : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
37
  maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
35
38
  region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
- requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
37
- retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
39
+ requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
+ retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
41
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
42
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
43
+ }),
38
44
  sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
39
45
  streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
40
46
  useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "glacier.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "glacier-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-1": {
17
13
  variants: [
18
- {
19
- hostname: "glacier.us-east-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "glacier-fips.us-east-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "us-east-2": {
29
21
  variants: [
30
- {
31
- hostname: "glacier.us-east-2.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "glacier-fips.us-east-2.amazonaws.com",
36
24
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-1": {
59
47
  variants: [
60
- {
61
- hostname: "glacier.us-west-1.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "glacier-fips.us-west-1.amazonaws.com",
66
50
  tags: ["fips"],
@@ -69,10 +53,6 @@ var regionHash = {
69
53
  },
70
54
  "us-west-2": {
71
55
  variants: [
72
- {
73
- hostname: "glacier.us-west-2.amazonaws.com",
74
- tags: [],
75
- },
76
56
  {
77
57
  hostname: "glacier-fips.us-west-2.amazonaws.com",
78
58
  tags: ["fips"],
@@ -3,22 +3,6 @@ export var AbortMultipartUploadInput;
3
3
  (function (AbortMultipartUploadInput) {
4
4
  AbortMultipartUploadInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
5
  })(AbortMultipartUploadInput || (AbortMultipartUploadInput = {}));
6
- export var InvalidParameterValueException;
7
- (function (InvalidParameterValueException) {
8
- InvalidParameterValueException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
- })(InvalidParameterValueException || (InvalidParameterValueException = {}));
10
- export var MissingParameterValueException;
11
- (function (MissingParameterValueException) {
12
- MissingParameterValueException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
- })(MissingParameterValueException || (MissingParameterValueException = {}));
14
- export var ResourceNotFoundException;
15
- (function (ResourceNotFoundException) {
16
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
18
- export var ServiceUnavailableException;
19
- (function (ServiceUnavailableException) {
20
- ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(ServiceUnavailableException || (ServiceUnavailableException = {}));
22
6
  export var AbortVaultLockInput;
23
7
  (function (AbortVaultLockInput) {
24
8
  AbortVaultLockInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -55,10 +39,6 @@ export var AddTagsToVaultInput;
55
39
  (function (AddTagsToVaultInput) {
56
40
  AddTagsToVaultInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
57
41
  })(AddTagsToVaultInput || (AddTagsToVaultInput = {}));
58
- export var LimitExceededException;
59
- (function (LimitExceededException) {
60
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
61
- })(LimitExceededException || (LimitExceededException = {}));
62
42
  export var ArchiveCreationOutput;
63
43
  (function (ArchiveCreationOutput) {
64
44
  ArchiveCreationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -261,14 +241,6 @@ export var InitiateJobOutput;
261
241
  (function (InitiateJobOutput) {
262
242
  InitiateJobOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
243
  })(InitiateJobOutput || (InitiateJobOutput = {}));
264
- export var InsufficientCapacityException;
265
- (function (InsufficientCapacityException) {
266
- InsufficientCapacityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
267
- })(InsufficientCapacityException || (InsufficientCapacityException = {}));
268
- export var PolicyEnforcedException;
269
- (function (PolicyEnforcedException) {
270
- PolicyEnforcedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
271
- })(PolicyEnforcedException || (PolicyEnforcedException = {}));
272
244
  export var InitiateMultipartUploadInput;
273
245
  (function (InitiateMultipartUploadInput) {
274
246
  InitiateMultipartUploadInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -373,10 +345,6 @@ export var SetVaultNotificationsInput;
373
345
  (function (SetVaultNotificationsInput) {
374
346
  SetVaultNotificationsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
375
347
  })(SetVaultNotificationsInput || (SetVaultNotificationsInput = {}));
376
- export var RequestTimeoutException;
377
- (function (RequestTimeoutException) {
378
- RequestTimeoutException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
379
- })(RequestTimeoutException || (RequestTimeoutException = {}));
380
348
  export var UploadArchiveInput;
381
349
  (function (UploadArchiveInput) {
382
350
  UploadArchiveInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,9 +1,9 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-browser";
5
5
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
6
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
7
7
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
8
8
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
9
9
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -11,8 +11,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
11
11
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
12
12
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
13
13
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
14
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
15
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
14
16
  export var getRuntimeConfig = function (config) {
15
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
18
+ var defaultsMode = resolveDefaultsModeConfig(config);
19
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
16
20
  var clientSharedValues = getSharedRuntimeConfig(config);
17
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyChecksumGenerator: (_c = config === null || config === void 0 ? void 0 : config.bodyChecksumGenerator) !== null && _c !== void 0 ? _c : bodyChecksumGenerator, bodyLengthChecker: (_d = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _d !== void 0 ? _d : calculateBodyLength, credentialDefaultProvider: (_e = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _e !== void 0 ? _e : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_f = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _f !== void 0 ? _f : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new FetchHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
21
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyChecksumGenerator: (_c = config === null || config === void 0 ? void 0 : config.bodyChecksumGenerator) !== null && _c !== void 0 ? _c : bodyChecksumGenerator, bodyLengthChecker: (_d = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _d !== void 0 ? _d : calculateBodyLength, credentialDefaultProvider: (_e = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _e !== void 0 ? _e : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_f = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _f !== void 0 ? _f : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
22
+ switch (_a.label) {
23
+ case 0: return [4, defaultConfigProvider()];
24
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
25
+ }
26
+ }); }); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
18
27
  };
@@ -1,22 +1,29 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-node";
4
4
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
6
6
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
7
7
  import { Hash } from "@aws-sdk/hash-node";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
9
9
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
10
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
11
11
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
12
12
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
13
13
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
14
14
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
15
15
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
17
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
19
- emitWarningIfUnsupportedVersion(process.version);
20
+ var defaultsMode = resolveDefaultsModeConfig(config);
21
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
20
22
  var clientSharedValues = getSharedRuntimeConfig(config);
21
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyChecksumGenerator: (_c = config === null || config === void 0 ? void 0 : config.bodyChecksumGenerator) !== null && _c !== void 0 ? _c : bodyChecksumGenerator, bodyLengthChecker: (_d = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _d !== void 0 ? _d : calculateBodyLength, credentialDefaultProvider: (_e = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _e !== void 0 ? _e : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_f = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _f !== void 0 ? _f : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new NodeHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
23
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyChecksumGenerator: (_c = config === null || config === void 0 ? void 0 : config.bodyChecksumGenerator) !== null && _c !== void 0 ? _c : bodyChecksumGenerator, bodyLengthChecker: (_d = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _d !== void 0 ? _d : calculateBodyLength, credentialDefaultProvider: (_e = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _e !== void 0 ? _e : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_f = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _f !== void 0 ? _f : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
24
+ switch (_a.label) {
25
+ case 0: return [4, defaultConfigProvider()];
26
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
27
+ }
28
+ }); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
22
29
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest as __HttpRequest, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
10
10
  import { AbortVaultLockCommandInput, AbortVaultLockCommandOutput } from "./commands/AbortVaultLockCommand";
@@ -149,6 +149,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
149
149
  * @internal
150
150
  */
151
151
  defaultUserAgentProvider?: Provider<__UserAgent>;
152
+ /**
153
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
154
+ */
155
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
152
156
  }
153
157
  declare type GlacierClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
154
158
  /**
@@ -51,12 +51,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
51
51
  */
52
52
  message?: string;
53
53
  }
54
- export declare namespace InvalidParameterValueException {
55
- /**
56
- * @internal
57
- */
58
- const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
59
- }
60
54
  /**
61
55
  * <p>Returned if a required header or parameter is missing from the request.</p>
62
56
  */
@@ -76,12 +70,6 @@ export interface MissingParameterValueException extends __SmithyException, $Meta
76
70
  */
77
71
  message?: string;
78
72
  }
79
- export declare namespace MissingParameterValueException {
80
- /**
81
- * @internal
82
- */
83
- const filterSensitiveLog: (obj: MissingParameterValueException) => any;
84
- }
85
73
  /**
86
74
  * <p>Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't
87
75
  * exist.</p>
@@ -103,12 +91,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
103
91
  */
104
92
  message?: string;
105
93
  }
106
- export declare namespace ResourceNotFoundException {
107
- /**
108
- * @internal
109
- */
110
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
111
- }
112
94
  /**
113
95
  * <p>Returned if the service cannot complete the request.</p>
114
96
  */
@@ -128,12 +110,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
128
110
  */
129
111
  message?: string;
130
112
  }
131
- export declare namespace ServiceUnavailableException {
132
- /**
133
- * @internal
134
- */
135
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
136
- }
137
113
  /**
138
114
  * <p>The input values for <code>AbortVaultLock</code>.</p>
139
115
  */
@@ -273,12 +249,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
273
249
  */
274
250
  message?: string;
275
251
  }
276
- export declare namespace LimitExceededException {
277
- /**
278
- * @internal
279
- */
280
- const filterSensitiveLog: (obj: LimitExceededException) => any;
281
- }
282
252
  /**
283
253
  * <p>Contains the Amazon S3 Glacier response to your request.</p>
284
254
  * <p>For information about the underlying REST API, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-post.html">Upload Archive</a>. For
@@ -1583,12 +1553,6 @@ export interface InsufficientCapacityException extends __SmithyException, $Metad
1583
1553
  code?: string;
1584
1554
  message?: string;
1585
1555
  }
1586
- export declare namespace InsufficientCapacityException {
1587
- /**
1588
- * @internal
1589
- */
1590
- const filterSensitiveLog: (obj: InsufficientCapacityException) => any;
1591
- }
1592
1556
  /**
1593
1557
  * <p>Returned if a retrieval job would exceed the current data policy's retrieval rate
1594
1558
  * limit. For more information about data retrieval policies,</p>
@@ -1609,12 +1573,6 @@ export interface PolicyEnforcedException extends __SmithyException, $MetadataBea
1609
1573
  */
1610
1574
  message?: string;
1611
1575
  }
1612
- export declare namespace PolicyEnforcedException {
1613
- /**
1614
- * @internal
1615
- */
1616
- const filterSensitiveLog: (obj: PolicyEnforcedException) => any;
1617
- }
1618
1576
  /**
1619
1577
  * <p>Provides options for initiating a multipart upload to an Amazon S3 Glacier
1620
1578
  * vault.</p>
@@ -2291,12 +2249,6 @@ export interface RequestTimeoutException extends __SmithyException, $MetadataBea
2291
2249
  */
2292
2250
  message?: string;
2293
2251
  }
2294
- export declare namespace RequestTimeoutException {
2295
- /**
2296
- * @internal
2297
- */
2298
- const filterSensitiveLog: (obj: RequestTimeoutException) => any;
2299
- }
2300
2252
  /**
2301
2253
  * <p>Provides options to add an archive to a vault.</p>
2302
2254
  */
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { GlacierClientConfig } from "./GlacierClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
@@ -16,7 +17,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
16
17
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
17
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
18
19
  region: string | import("@aws-sdk/types").Provider<any>;
19
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
20
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
20
21
  retryMode: string | import("@aws-sdk/types").Provider<string>;
21
22
  sha256: import("@aws-sdk/types").HashConstructor;
22
23
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,10 +1,11 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { GlacierClientConfig } from "./GlacierClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
@@ -12,11 +13,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
12
13
  utf8Decoder: import("@aws-sdk/types").Decoder;
13
14
  }) => Promise<[string, string]>;
14
15
  bodyLengthChecker: (body: any) => number | undefined;
15
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
16
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
16
17
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
17
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
18
19
  region: string | import("@aws-sdk/types").Provider<string>;
19
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
20
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
20
21
  retryMode: string | import("@aws-sdk/types").Provider<string>;
21
22
  sha256: import("@aws-sdk/types").HashConstructor;
22
23
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
29
29
  utf8Decoder: import("@aws-sdk/types").Decoder;
30
30
  }) => Promise<[string, string]>;
31
31
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
32
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
32
33
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
33
34
  tls?: boolean | undefined;
34
35
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest as __HttpRequest, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
10
10
  import { AbortVaultLockCommandInput, AbortVaultLockCommandOutput } from "./commands/AbortVaultLockCommand";
@@ -92,6 +92,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
92
92
  ]>;
93
93
 
94
94
  defaultUserAgentProvider?: Provider<__UserAgent>;
95
+
96
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
95
97
  }
96
98
  declare type GlacierClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
97
99
 
@@ -25,10 +25,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
25
25
 
26
26
  message?: string;
27
27
  }
28
- export declare namespace InvalidParameterValueException {
29
-
30
- const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
31
- }
32
28
 
33
29
  export interface MissingParameterValueException extends __SmithyException, $MetadataBearer {
34
30
  name: "MissingParameterValueException";
@@ -40,10 +36,6 @@ export interface MissingParameterValueException extends __SmithyException, $Meta
40
36
 
41
37
  message?: string;
42
38
  }
43
- export declare namespace MissingParameterValueException {
44
-
45
- const filterSensitiveLog: (obj: MissingParameterValueException) => any;
46
- }
47
39
 
48
40
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
49
41
  name: "ResourceNotFoundException";
@@ -55,10 +47,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
55
47
 
56
48
  message?: string;
57
49
  }
58
- export declare namespace ResourceNotFoundException {
59
-
60
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
61
- }
62
50
 
63
51
  export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
64
52
  name: "ServiceUnavailableException";
@@ -70,10 +58,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
70
58
 
71
59
  message?: string;
72
60
  }
73
- export declare namespace ServiceUnavailableException {
74
-
75
- const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
76
- }
77
61
 
78
62
  export interface AbortVaultLockInput {
79
63
 
@@ -156,10 +140,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
156
140
 
157
141
  message?: string;
158
142
  }
159
- export declare namespace LimitExceededException {
160
-
161
- const filterSensitiveLog: (obj: LimitExceededException) => any;
162
- }
163
143
 
164
144
  export interface ArchiveCreationOutput {
165
145
 
@@ -767,10 +747,6 @@ export interface InsufficientCapacityException extends __SmithyException, $Metad
767
747
  code?: string;
768
748
  message?: string;
769
749
  }
770
- export declare namespace InsufficientCapacityException {
771
-
772
- const filterSensitiveLog: (obj: InsufficientCapacityException) => any;
773
- }
774
750
 
775
751
  export interface PolicyEnforcedException extends __SmithyException, $MetadataBearer {
776
752
  name: "PolicyEnforcedException";
@@ -782,10 +758,6 @@ export interface PolicyEnforcedException extends __SmithyException, $MetadataBea
782
758
 
783
759
  message?: string;
784
760
  }
785
- export declare namespace PolicyEnforcedException {
786
-
787
- const filterSensitiveLog: (obj: PolicyEnforcedException) => any;
788
- }
789
761
 
790
762
  export interface InitiateMultipartUploadInput {
791
763
 
@@ -1117,10 +1089,6 @@ export interface RequestTimeoutException extends __SmithyException, $MetadataBea
1117
1089
 
1118
1090
  message?: string;
1119
1091
  }
1120
- export declare namespace RequestTimeoutException {
1121
-
1122
- const filterSensitiveLog: (obj: RequestTimeoutException) => any;
1123
- }
1124
1092
 
1125
1093
  export interface UploadArchiveInput {
1126
1094
 
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { GlacierClientConfig } from "./GlacierClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
@@ -17,7 +18,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
17
18
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
18
19
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
20
  region: string | import("@aws-sdk/types").Provider<any>;
20
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
21
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
21
22
  retryMode: string | import("@aws-sdk/types").Provider<string>;
22
23
  sha256: import("@aws-sdk/types").HashConstructor;
23
24
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,8 +1,9 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { GlacierClientConfig } from "./GlacierClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyChecksumGenerator: (request: import("@aws-sdk/types").HttpRequest, options: {
@@ -13,11 +14,11 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
13
14
  string
14
15
  ]>;
15
16
  bodyLengthChecker: (body: any) => number | undefined;
16
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
17
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
17
18
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
18
19
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
20
  region: string | import("@aws-sdk/types").Provider<string>;
20
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
21
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
21
22
  retryMode: string | import("@aws-sdk/types").Provider<string>;
22
23
  sha256: import("@aws-sdk/types").HashConstructor;
23
24
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -30,6 +30,7 @@ export declare const getRuntimeConfig: (config: GlacierClientConfig) => {
30
30
  string
31
31
  ]>;
32
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
33
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
33
34
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
34
35
  tls?: boolean | undefined;
35
36
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.45.0",
4
+ "version": "3.47.2",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,52 +18,48 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/body-checksum-browser": "3.40.0",
25
- "@aws-sdk/body-checksum-node": "3.40.0",
26
- "@aws-sdk/client-sts": "3.45.0",
27
- "@aws-sdk/config-resolver": "3.45.0",
28
- "@aws-sdk/credential-provider-node": "3.45.0",
29
- "@aws-sdk/fetch-http-handler": "3.40.0",
30
- "@aws-sdk/hash-node": "3.40.0",
31
- "@aws-sdk/invalid-dependency": "3.40.0",
32
- "@aws-sdk/middleware-content-length": "3.40.0",
33
- "@aws-sdk/middleware-host-header": "3.40.0",
34
- "@aws-sdk/middleware-logger": "3.40.0",
35
- "@aws-sdk/middleware-retry": "3.40.0",
36
- "@aws-sdk/middleware-sdk-glacier": "3.40.0",
37
- "@aws-sdk/middleware-serde": "3.40.0",
38
- "@aws-sdk/middleware-signing": "3.45.0",
39
- "@aws-sdk/middleware-stack": "3.40.0",
40
- "@aws-sdk/middleware-user-agent": "3.40.0",
41
- "@aws-sdk/node-config-provider": "3.40.0",
42
- "@aws-sdk/node-http-handler": "3.40.0",
43
- "@aws-sdk/protocol-http": "3.40.0",
44
- "@aws-sdk/smithy-client": "3.41.0",
45
- "@aws-sdk/types": "3.40.0",
46
- "@aws-sdk/url-parser": "3.40.0",
47
- "@aws-sdk/util-base64-browser": "3.37.0",
48
- "@aws-sdk/util-base64-node": "3.37.0",
49
- "@aws-sdk/util-body-length-browser": "3.37.0",
50
- "@aws-sdk/util-body-length-node": "3.37.0",
51
- "@aws-sdk/util-user-agent-browser": "3.40.0",
52
- "@aws-sdk/util-user-agent-node": "3.40.0",
53
- "@aws-sdk/util-utf8-browser": "3.37.0",
54
- "@aws-sdk/util-utf8-node": "3.37.0",
55
- "@aws-sdk/util-waiter": "3.40.0",
21
+ "@aws-sdk/body-checksum-browser": "3.47.2",
22
+ "@aws-sdk/body-checksum-node": "3.47.2",
23
+ "@aws-sdk/client-sts": "3.47.2",
24
+ "@aws-sdk/config-resolver": "3.47.2",
25
+ "@aws-sdk/credential-provider-node": "3.47.2",
26
+ "@aws-sdk/fetch-http-handler": "3.47.2",
27
+ "@aws-sdk/hash-node": "3.47.2",
28
+ "@aws-sdk/invalid-dependency": "3.47.2",
29
+ "@aws-sdk/middleware-content-length": "3.47.2",
30
+ "@aws-sdk/middleware-host-header": "3.47.2",
31
+ "@aws-sdk/middleware-logger": "3.47.2",
32
+ "@aws-sdk/middleware-retry": "3.47.2",
33
+ "@aws-sdk/middleware-sdk-glacier": "3.47.2",
34
+ "@aws-sdk/middleware-serde": "3.47.2",
35
+ "@aws-sdk/middleware-signing": "3.47.2",
36
+ "@aws-sdk/middleware-stack": "3.47.2",
37
+ "@aws-sdk/middleware-user-agent": "3.47.2",
38
+ "@aws-sdk/node-config-provider": "3.47.2",
39
+ "@aws-sdk/node-http-handler": "3.47.2",
40
+ "@aws-sdk/protocol-http": "3.47.2",
41
+ "@aws-sdk/smithy-client": "3.47.2",
42
+ "@aws-sdk/types": "3.47.1",
43
+ "@aws-sdk/url-parser": "3.47.2",
44
+ "@aws-sdk/util-base64-browser": "3.47.1",
45
+ "@aws-sdk/util-base64-node": "3.47.2",
46
+ "@aws-sdk/util-body-length-browser": "3.47.1",
47
+ "@aws-sdk/util-body-length-node": "3.47.1",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.47.2",
49
+ "@aws-sdk/util-defaults-mode-node": "3.47.2",
50
+ "@aws-sdk/util-user-agent-browser": "3.47.2",
51
+ "@aws-sdk/util-user-agent-node": "3.47.2",
52
+ "@aws-sdk/util-utf8-browser": "3.47.1",
53
+ "@aws-sdk/util-utf8-node": "3.47.2",
54
+ "@aws-sdk/util-waiter": "3.47.2",
56
55
  "tslib": "^2.3.0"
57
56
  },
58
57
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
60
- "@types/node": "^12.7.5",
61
- "downlevel-dts": "0.7.0",
62
- "jest": "^26.1.0",
63
- "rimraf": "^3.0.0",
64
- "ts-jest": "^26.4.1",
65
- "typedoc": "^0.19.2",
66
- "typescript": "~4.3.5"
58
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
59
+ "@types/node": "^12.7.5"
67
60
  },
68
61
  "engines": {
69
- "node": ">=10.0.0"
62
+ "node": ">=12.0.0"
70
63
  },
71
64
  "typesVersions": {
72
65
  "<4.0": {