@aws-sdk/client-cloudhsm-v2 3.360.0 → 3.363.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.
Files changed (105) hide show
  1. package/dist-cjs/CloudHSMV2.js +1 -1
  2. package/dist-cjs/CloudHSMV2Client.js +5 -5
  3. package/dist-cjs/commands/CopyBackupToRegionCommand.js +3 -3
  4. package/dist-cjs/commands/CreateClusterCommand.js +3 -3
  5. package/dist-cjs/commands/CreateHsmCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteBackupCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteHsmCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeBackupsCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
  11. package/dist-cjs/commands/InitializeClusterCommand.js +3 -3
  12. package/dist-cjs/commands/ListTagsCommand.js +3 -3
  13. package/dist-cjs/commands/ModifyBackupAttributesCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyClusterCommand.js +3 -3
  15. package/dist-cjs/commands/RestoreBackupCommand.js +3 -3
  16. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  18. package/dist-cjs/models/CloudHSMV2ServiceException.js +1 -1
  19. package/dist-cjs/protocols/Aws_json1_1.js +1 -1
  20. package/dist-cjs/runtimeConfig.browser.js +7 -7
  21. package/dist-cjs/runtimeConfig.js +10 -10
  22. package/dist-cjs/runtimeConfig.shared.js +4 -4
  23. package/dist-es/CloudHSMV2.js +1 -1
  24. package/dist-es/CloudHSMV2Client.js +5 -5
  25. package/dist-es/commands/CopyBackupToRegionCommand.js +3 -3
  26. package/dist-es/commands/CreateClusterCommand.js +3 -3
  27. package/dist-es/commands/CreateHsmCommand.js +3 -3
  28. package/dist-es/commands/DeleteBackupCommand.js +3 -3
  29. package/dist-es/commands/DeleteClusterCommand.js +3 -3
  30. package/dist-es/commands/DeleteHsmCommand.js +3 -3
  31. package/dist-es/commands/DescribeBackupsCommand.js +3 -3
  32. package/dist-es/commands/DescribeClustersCommand.js +3 -3
  33. package/dist-es/commands/InitializeClusterCommand.js +3 -3
  34. package/dist-es/commands/ListTagsCommand.js +3 -3
  35. package/dist-es/commands/ModifyBackupAttributesCommand.js +3 -3
  36. package/dist-es/commands/ModifyClusterCommand.js +3 -3
  37. package/dist-es/commands/RestoreBackupCommand.js +3 -3
  38. package/dist-es/commands/TagResourceCommand.js +3 -3
  39. package/dist-es/commands/UntagResourceCommand.js +3 -3
  40. package/dist-es/models/CloudHSMV2ServiceException.js +1 -1
  41. package/dist-es/protocols/Aws_json1_1.js +1 -1
  42. package/dist-es/runtimeConfig.browser.js +7 -7
  43. package/dist-es/runtimeConfig.js +10 -10
  44. package/dist-es/runtimeConfig.shared.js +4 -4
  45. package/dist-types/CloudHSMV2.d.ts +1 -1
  46. package/dist-types/CloudHSMV2Client.d.ts +8 -8
  47. package/dist-types/commands/CopyBackupToRegionCommand.d.ts +3 -3
  48. package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
  49. package/dist-types/commands/CreateHsmCommand.d.ts +3 -3
  50. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -3
  51. package/dist-types/commands/DeleteClusterCommand.d.ts +3 -3
  52. package/dist-types/commands/DeleteHsmCommand.d.ts +3 -3
  53. package/dist-types/commands/DescribeBackupsCommand.d.ts +3 -3
  54. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -3
  55. package/dist-types/commands/InitializeClusterCommand.d.ts +3 -3
  56. package/dist-types/commands/ListTagsCommand.d.ts +3 -3
  57. package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +3 -3
  58. package/dist-types/commands/ModifyClusterCommand.d.ts +3 -3
  59. package/dist-types/commands/RestoreBackupCommand.d.ts +3 -3
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  62. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  63. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  64. package/dist-types/endpoint/ruleset.d.ts +1 -1
  65. package/dist-types/models/CloudHSMV2ServiceException.d.ts +1 -1
  66. package/dist-types/models/models_0.d.ts +1 -1
  67. package/dist-types/pagination/DescribeBackupsPaginator.d.ts +1 -1
  68. package/dist-types/pagination/DescribeClustersPaginator.d.ts +1 -1
  69. package/dist-types/pagination/Interfaces.d.ts +1 -1
  70. package/dist-types/pagination/ListTagsPaginator.d.ts +1 -1
  71. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  72. package/dist-types/runtimeConfig.d.ts +20 -20
  73. package/dist-types/runtimeConfig.native.d.ts +19 -19
  74. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  75. package/dist-types/ts3.4/CloudHSMV2.d.ts +1 -1
  76. package/dist-types/ts3.4/CloudHSMV2Client.d.ts +19 -21
  77. package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +3 -3
  78. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +3 -3
  79. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +3 -3
  80. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +3 -3
  81. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +3 -3
  82. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +3 -3
  83. package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +3 -3
  84. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +3 -3
  85. package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +3 -3
  86. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +3 -3
  87. package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +3 -3
  88. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +3 -3
  89. package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +3 -3
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  91. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  93. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  94. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  95. package/dist-types/ts3.4/models/CloudHSMV2ServiceException.d.ts +1 -1
  96. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  97. package/dist-types/ts3.4/pagination/DescribeBackupsPaginator.d.ts +1 -1
  98. package/dist-types/ts3.4/pagination/DescribeClustersPaginator.d.ts +1 -1
  99. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  100. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +1 -1
  101. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  102. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  103. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  104. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  105. package/package.json +31 -30
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CloudHSMV2 = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const CloudHSMV2Client_1 = require("./CloudHSMV2Client");
6
6
  const CopyBackupToRegionCommand_1 = require("./commands/CopyBackupToRegionCommand");
7
7
  const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CloudHSMV2Client = exports.__Client = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
7
4
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
8
5
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
9
6
  const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
10
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
7
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
8
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
- const smithy_client_1 = require("@aws-sdk/smithy-client");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
+ const middleware_retry_1 = require("@smithy/middleware-retry");
13
+ const smithy_client_1 = require("@smithy/smithy-client");
14
14
  Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
16
  const runtimeConfig_1 = require("./runtimeConfig");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CopyBackupToRegionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class CopyBackupToRegionCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateClusterCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class CreateClusterCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateHsmCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class CreateHsmCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteBackupCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class DeleteBackupCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteClusterCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class DeleteClusterCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteHsmCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class DeleteHsmCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeBackupsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class DescribeBackupsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeClustersCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class DescribeClustersCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InitializeClusterCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class InitializeClusterCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class ListTagsCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModifyBackupAttributesCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class ModifyBackupAttributesCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModifyClusterCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class ModifyClusterCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RestoreBackupCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class RestoreBackupCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class TagResourceCommand extends smithy_client_1.Command {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
9
  class UntagResourceCommand extends smithy_client_1.Command {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CloudHSMV2ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
6
  class CloudHSMV2ServiceException extends smithy_client_1.ServiceException {
7
7
  constructor(options) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RestoreBackupCommand = exports.de_ModifyClusterCommand = exports.de_ModifyBackupAttributesCommand = exports.de_ListTagsCommand = exports.de_InitializeClusterCommand = exports.de_DescribeClustersCommand = exports.de_DescribeBackupsCommand = exports.de_DeleteHsmCommand = exports.de_DeleteClusterCommand = exports.de_DeleteBackupCommand = exports.de_CreateHsmCommand = exports.de_CreateClusterCommand = exports.de_CopyBackupToRegionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RestoreBackupCommand = exports.se_ModifyClusterCommand = exports.se_ModifyBackupAttributesCommand = exports.se_ListTagsCommand = exports.se_InitializeClusterCommand = exports.se_DescribeClustersCommand = exports.se_DescribeBackupsCommand = exports.se_DeleteHsmCommand = exports.se_DeleteClusterCommand = exports.se_DeleteBackupCommand = exports.se_CreateHsmCommand = exports.se_CreateClusterCommand = exports.se_CopyBackupToRegionCommand = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
4
  const protocol_http_1 = require("@smithy/protocol-http");
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const CloudHSMV2ServiceException_1 = require("../models/CloudHSMV2ServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const se_CopyBackupToRegionCommand = async (input, context) => {
@@ -4,15 +4,15 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
- const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
- const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
- const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
- const util_retry_1 = require("@aws-sdk/util-retry");
12
7
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@aws-sdk/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -4,19 +4,19 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
7
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const hash_node_1 = require("@aws-sdk/hash-node");
10
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
- const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
- const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
- const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
14
- const util_retry_1 = require("@aws-sdk/util-retry");
15
8
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@aws-sdk/smithy-client");
18
- const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
- const smithy_client_2 = require("@aws-sdk/smithy-client");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
20
  const getRuntimeConfig = (config) => {
21
21
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
22
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
- const url_parser_1 = require("@aws-sdk/url-parser");
6
- const util_base64_1 = require("@aws-sdk/util-base64");
7
- const util_utf8_1 = require("@aws-sdk/util-utf8");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_utf8_1 = require("@smithy/util-utf8");
8
8
  const endpointResolver_1 = require("./endpoint/endpointResolver");
9
9
  const getRuntimeConfig = (config) => ({
10
10
  apiVersion: "2017-04-28",
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CloudHSMV2Client } from "./CloudHSMV2Client";
3
3
  import { CopyBackupToRegionCommand, } from "./commands/CopyBackupToRegionCommand";
4
4
  import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
@@ -1,13 +1,13 @@
1
- import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
- import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
4
1
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
7
- import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
4
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
- import { Client as __Client, } from "@aws-sdk/smithy-client";
6
+ import { resolveRegionConfig } from "@smithy/config-resolver";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
13
  export { __Client };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CopyBackupToRegionCommand, se_CopyBackupToRegionCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CopyBackupToRegionCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CreateClusterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_CreateHsmCommand, se_CreateHsmCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class CreateHsmCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DeleteBackupCommand, se_DeleteBackupCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class DeleteBackupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class DeleteClusterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DeleteHsmCommand, se_DeleteHsmCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class DeleteHsmCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DescribeBackupsCommand, se_DescribeBackupsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class DescribeBackupsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_DescribeClustersCommand, se_DescribeClustersCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class DescribeClustersCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_InitializeClusterCommand, se_InitializeClusterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class InitializeClusterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class ListTagsCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ModifyBackupAttributesCommand, se_ModifyBackupAttributesCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class ModifyBackupAttributesCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_ModifyClusterCommand, se_ModifyClusterCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class ModifyClusterCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_RestoreBackupCommand, se_RestoreBackupCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class RestoreBackupCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command {
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
2
  export { __ServiceException };
3
3
  export class CloudHSMV2ServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,5 +1,5 @@
1
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { CloudHSMV2ServiceException as __BaseException } from "../models/CloudHSMV2ServiceException";
4
4
  import { CloudHsmAccessDeniedException, CloudHsmInternalFailureException, CloudHsmInvalidRequestException, CloudHsmResourceNotFoundException, CloudHsmServiceException, CloudHsmTagException, } from "../models/models_0";
5
5
  export const se_CopyBackupToRegionCommand = async (input, context) => {
@@ -1,14 +1,14 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
- import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
- import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
3
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);