@aws-sdk/client-cloudhsm 3.32.0 → 3.36.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 (244) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/CloudHSM.js +0 -1
  3. package/{dist/cjs → dist-cjs}/CloudHSMClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AddTagsToResourceCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateHapgCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateHsmCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateLunaClientCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeleteHapgCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteHsmCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteLunaClientCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DescribeHapgCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DescribeHsmCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DescribeLunaClientCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetConfigCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/ListAvailableZonesCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/ListHapgsCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/ListHsmsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListLunaClientsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/ModifyHapgCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/ModifyHsmCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ModifyLunaClientCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromResourceCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  25. package/{dist/cjs → dist-cjs}/index.js +0 -1
  26. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  27. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  28. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  31. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  33. package/{dist/es → dist-es}/CloudHSM.js +1 -15
  34. package/{dist/es → dist-es}/CloudHSMClient.js +2 -21
  35. package/dist-es/commands/AddTagsToResourceCommand.js +39 -0
  36. package/dist-es/commands/CreateHapgCommand.js +39 -0
  37. package/dist-es/commands/CreateHsmCommand.js +39 -0
  38. package/dist-es/commands/CreateLunaClientCommand.js +39 -0
  39. package/dist-es/commands/DeleteHapgCommand.js +39 -0
  40. package/dist-es/commands/DeleteHsmCommand.js +39 -0
  41. package/dist-es/commands/DeleteLunaClientCommand.js +39 -0
  42. package/dist-es/commands/DescribeHapgCommand.js +39 -0
  43. package/dist-es/commands/DescribeHsmCommand.js +39 -0
  44. package/dist-es/commands/DescribeLunaClientCommand.js +39 -0
  45. package/dist-es/commands/GetConfigCommand.js +39 -0
  46. package/dist-es/commands/ListAvailableZonesCommand.js +39 -0
  47. package/dist-es/commands/ListHapgsCommand.js +39 -0
  48. package/dist-es/commands/ListHsmsCommand.js +39 -0
  49. package/dist-es/commands/ListLunaClientsCommand.js +39 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  51. package/dist-es/commands/ModifyHapgCommand.js +39 -0
  52. package/dist-es/commands/ModifyHsmCommand.js +39 -0
  53. package/dist-es/commands/ModifyLunaClientCommand.js +39 -0
  54. package/dist-es/commands/RemoveTagsFromResourceCommand.js +39 -0
  55. package/{dist/es → dist-es}/endpoints.js +1 -2
  56. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  57. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  58. package/{dist/es → dist-es}/models/models_0.js +0 -133
  59. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +377 -383
  60. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  61. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  62. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  63. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  64. package/{dist/types → dist-types}/CloudHSM.d.ts +1 -1
  65. package/{dist/types → dist-types}/CloudHSMClient.d.ts +8 -8
  66. package/{dist/types → dist-types}/commands/AddTagsToResourceCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/commands/CreateHapgCommand.d.ts +2 -2
  68. package/{dist/types → dist-types}/commands/CreateHsmCommand.d.ts +2 -2
  69. package/{dist/types → dist-types}/commands/CreateLunaClientCommand.d.ts +2 -2
  70. package/{dist/types → dist-types}/commands/DeleteHapgCommand.d.ts +2 -2
  71. package/{dist/types → dist-types}/commands/DeleteHsmCommand.d.ts +2 -2
  72. package/{dist/types → dist-types}/commands/DeleteLunaClientCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/DescribeHapgCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/DescribeHsmCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/DescribeLunaClientCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/GetConfigCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/ListAvailableZonesCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/commands/ListHapgsCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/commands/ListHsmsCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/commands/ListLunaClientsCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/ModifyHapgCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/ModifyHsmCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/ModifyLunaClientCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  87. package/{index.ts → dist-types/index.d.ts} +0 -0
  88. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  89. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  90. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  91. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  92. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  93. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  94. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  95. package/{dist/types → dist-types}/ts3.4/CloudHSM.d.ts +1 -1
  96. package/{dist/types → dist-types}/ts3.4/CloudHSMClient.d.ts +8 -8
  97. package/{dist/types → dist-types}/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/ts3.4/commands/CreateHapgCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/ts3.4/commands/CreateHsmCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/ts3.4/commands/CreateLunaClientCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/ts3.4/commands/DeleteHapgCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/ts3.4/commands/DeleteHsmCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/ts3.4/commands/DeleteLunaClientCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/ts3.4/commands/DescribeHapgCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/ts3.4/commands/DescribeHsmCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/ts3.4/commands/DescribeLunaClientCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/ts3.4/commands/GetConfigCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/ts3.4/commands/ListAvailableZonesCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/ts3.4/commands/ListHapgsCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/ts3.4/commands/ListHsmsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/ts3.4/commands/ListLunaClientsCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/ts3.4/commands/ModifyHapgCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/ts3.4/commands/ModifyHsmCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/ts3.4/commands/ModifyLunaClientCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  118. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  119. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  120. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  121. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  122. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  123. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  124. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  125. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  126. package/package.json +52 -49
  127. package/CloudHSM.ts +0 -892
  128. package/CloudHSMClient.ts +0 -311
  129. package/commands/AddTagsToResourceCommand.ts +0 -106
  130. package/commands/CreateHapgCommand.ts +0 -105
  131. package/commands/CreateHsmCommand.ts +0 -110
  132. package/commands/CreateLunaClientCommand.ts +0 -104
  133. package/commands/DeleteHapgCommand.ts +0 -104
  134. package/commands/DeleteHsmCommand.ts +0 -102
  135. package/commands/DeleteLunaClientCommand.ts +0 -104
  136. package/commands/DescribeHapgCommand.ts +0 -104
  137. package/commands/DescribeHsmCommand.ts +0 -105
  138. package/commands/DescribeLunaClientCommand.ts +0 -104
  139. package/commands/GetConfigCommand.ts +0 -102
  140. package/commands/ListAvailableZonesCommand.ts +0 -104
  141. package/commands/ListHapgsCommand.ts +0 -105
  142. package/commands/ListHsmsCommand.ts +0 -106
  143. package/commands/ListLunaClientsCommand.ts +0 -108
  144. package/commands/ListTagsForResourceCommand.ts +0 -104
  145. package/commands/ModifyHapgCommand.ts +0 -104
  146. package/commands/ModifyHsmCommand.ts +0 -107
  147. package/commands/ModifyLunaClientCommand.ts +0 -106
  148. package/commands/RemoveTagsFromResourceCommand.ts +0 -106
  149. package/dist/cjs/CloudHSM.js.map +0 -1
  150. package/dist/cjs/CloudHSMClient.js.map +0 -1
  151. package/dist/cjs/commands/AddTagsToResourceCommand.js.map +0 -1
  152. package/dist/cjs/commands/CreateHapgCommand.js.map +0 -1
  153. package/dist/cjs/commands/CreateHsmCommand.js.map +0 -1
  154. package/dist/cjs/commands/CreateLunaClientCommand.js.map +0 -1
  155. package/dist/cjs/commands/DeleteHapgCommand.js.map +0 -1
  156. package/dist/cjs/commands/DeleteHsmCommand.js.map +0 -1
  157. package/dist/cjs/commands/DeleteLunaClientCommand.js.map +0 -1
  158. package/dist/cjs/commands/DescribeHapgCommand.js.map +0 -1
  159. package/dist/cjs/commands/DescribeHsmCommand.js.map +0 -1
  160. package/dist/cjs/commands/DescribeLunaClientCommand.js.map +0 -1
  161. package/dist/cjs/commands/GetConfigCommand.js.map +0 -1
  162. package/dist/cjs/commands/ListAvailableZonesCommand.js.map +0 -1
  163. package/dist/cjs/commands/ListHapgsCommand.js.map +0 -1
  164. package/dist/cjs/commands/ListHsmsCommand.js.map +0 -1
  165. package/dist/cjs/commands/ListLunaClientsCommand.js.map +0 -1
  166. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  167. package/dist/cjs/commands/ModifyHapgCommand.js.map +0 -1
  168. package/dist/cjs/commands/ModifyHsmCommand.js.map +0 -1
  169. package/dist/cjs/commands/ModifyLunaClientCommand.js.map +0 -1
  170. package/dist/cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  171. package/dist/cjs/endpoints.js.map +0 -1
  172. package/dist/cjs/index.js.map +0 -1
  173. package/dist/cjs/models/index.js.map +0 -1
  174. package/dist/cjs/models/models_0.js.map +0 -1
  175. package/dist/cjs/package.json +0 -91
  176. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  177. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  178. package/dist/cjs/runtimeConfig.js.map +0 -1
  179. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  180. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  181. package/dist/es/CloudHSM.js.map +0 -1
  182. package/dist/es/CloudHSMClient.js.map +0 -1
  183. package/dist/es/commands/AddTagsToResourceCommand.js +0 -77
  184. package/dist/es/commands/AddTagsToResourceCommand.js.map +0 -1
  185. package/dist/es/commands/CreateHapgCommand.js +0 -76
  186. package/dist/es/commands/CreateHapgCommand.js.map +0 -1
  187. package/dist/es/commands/CreateHsmCommand.js +0 -84
  188. package/dist/es/commands/CreateHsmCommand.js.map +0 -1
  189. package/dist/es/commands/CreateLunaClientCommand.js +0 -75
  190. package/dist/es/commands/CreateLunaClientCommand.js.map +0 -1
  191. package/dist/es/commands/DeleteHapgCommand.js +0 -75
  192. package/dist/es/commands/DeleteHapgCommand.js.map +0 -1
  193. package/dist/es/commands/DeleteHsmCommand.js +0 -76
  194. package/dist/es/commands/DeleteHsmCommand.js.map +0 -1
  195. package/dist/es/commands/DeleteLunaClientCommand.js +0 -75
  196. package/dist/es/commands/DeleteLunaClientCommand.js.map +0 -1
  197. package/dist/es/commands/DescribeHapgCommand.js +0 -75
  198. package/dist/es/commands/DescribeHapgCommand.js.map +0 -1
  199. package/dist/es/commands/DescribeHsmCommand.js +0 -76
  200. package/dist/es/commands/DescribeHsmCommand.js.map +0 -1
  201. package/dist/es/commands/DescribeLunaClientCommand.js +0 -75
  202. package/dist/es/commands/DescribeLunaClientCommand.js.map +0 -1
  203. package/dist/es/commands/GetConfigCommand.js +0 -76
  204. package/dist/es/commands/GetConfigCommand.js.map +0 -1
  205. package/dist/es/commands/ListAvailableZonesCommand.js +0 -75
  206. package/dist/es/commands/ListAvailableZonesCommand.js.map +0 -1
  207. package/dist/es/commands/ListHapgsCommand.js +0 -79
  208. package/dist/es/commands/ListHapgsCommand.js.map +0 -1
  209. package/dist/es/commands/ListHsmsCommand.js +0 -80
  210. package/dist/es/commands/ListHsmsCommand.js.map +0 -1
  211. package/dist/es/commands/ListLunaClientsCommand.js +0 -79
  212. package/dist/es/commands/ListLunaClientsCommand.js.map +0 -1
  213. package/dist/es/commands/ListTagsForResourceCommand.js +0 -75
  214. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  215. package/dist/es/commands/ModifyHapgCommand.js +0 -75
  216. package/dist/es/commands/ModifyHapgCommand.js.map +0 -1
  217. package/dist/es/commands/ModifyHsmCommand.js +0 -81
  218. package/dist/es/commands/ModifyHsmCommand.js.map +0 -1
  219. package/dist/es/commands/ModifyLunaClientCommand.js +0 -77
  220. package/dist/es/commands/ModifyLunaClientCommand.js.map +0 -1
  221. package/dist/es/commands/RemoveTagsFromResourceCommand.js +0 -77
  222. package/dist/es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  223. package/dist/es/endpoints.js.map +0 -1
  224. package/dist/es/index.js +0 -24
  225. package/dist/es/index.js.map +0 -1
  226. package/dist/es/models/index.js +0 -2
  227. package/dist/es/models/index.js.map +0 -1
  228. package/dist/es/models/models_0.js.map +0 -1
  229. package/dist/es/package.json +0 -91
  230. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  231. package/dist/es/runtimeConfig.browser.js.map +0 -1
  232. package/dist/es/runtimeConfig.js.map +0 -1
  233. package/dist/es/runtimeConfig.native.js.map +0 -1
  234. package/dist/es/runtimeConfig.shared.js.map +0 -1
  235. package/endpoints.ts +0 -57
  236. package/jest.config.js +0 -4
  237. package/models/models_0.ts +0 -1161
  238. package/protocols/Aws_json1_1.ts +0 -2399
  239. package/runtimeConfig.browser.ts +0 -40
  240. package/runtimeConfig.native.ts +0 -16
  241. package/runtimeConfig.shared.ts +0 -16
  242. package/runtimeConfig.ts +0 -45
  243. package/tsconfig.es.json +0 -12
  244. package/tsconfig.json +0 -32
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ModifyHapgRequest, ModifyHapgResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ModifyHapgCommand, serializeAws_json1_1ModifyHapgCommand, } from "../protocols/Aws_json1_1";
6
+ var ModifyHapgCommand = (function (_super) {
7
+ __extends(ModifyHapgCommand, _super);
8
+ function ModifyHapgCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ModifyHapgCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMClient";
18
+ var commandName = "ModifyHapgCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ModifyHapgRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ModifyHapgResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifyHapgCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ModifyHapgCommand(input, context);
33
+ };
34
+ ModifyHapgCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ModifyHapgCommand(output, context);
36
+ };
37
+ return ModifyHapgCommand;
38
+ }($Command));
39
+ export { ModifyHapgCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ModifyHsmRequest, ModifyHsmResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ModifyHsmCommand, serializeAws_json1_1ModifyHsmCommand } from "../protocols/Aws_json1_1";
6
+ var ModifyHsmCommand = (function (_super) {
7
+ __extends(ModifyHsmCommand, _super);
8
+ function ModifyHsmCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ModifyHsmCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMClient";
18
+ var commandName = "ModifyHsmCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ModifyHsmRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ModifyHsmResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifyHsmCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ModifyHsmCommand(input, context);
33
+ };
34
+ ModifyHsmCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ModifyHsmCommand(output, context);
36
+ };
37
+ return ModifyHsmCommand;
38
+ }($Command));
39
+ export { ModifyHsmCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ModifyLunaClientRequest, ModifyLunaClientResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ModifyLunaClientCommand, serializeAws_json1_1ModifyLunaClientCommand, } from "../protocols/Aws_json1_1";
6
+ var ModifyLunaClientCommand = (function (_super) {
7
+ __extends(ModifyLunaClientCommand, _super);
8
+ function ModifyLunaClientCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ModifyLunaClientCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMClient";
18
+ var commandName = "ModifyLunaClientCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ModifyLunaClientRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ModifyLunaClientResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifyLunaClientCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ModifyLunaClientCommand(input, context);
33
+ };
34
+ ModifyLunaClientCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ModifyLunaClientCommand(output, context);
36
+ };
37
+ return ModifyLunaClientCommand;
38
+ }($Command));
39
+ export { ModifyLunaClientCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1RemoveTagsFromResourceCommand, serializeAws_json1_1RemoveTagsFromResourceCommand, } from "../protocols/Aws_json1_1";
6
+ var RemoveTagsFromResourceCommand = (function (_super) {
7
+ __extends(RemoveTagsFromResourceCommand, _super);
8
+ function RemoveTagsFromResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ RemoveTagsFromResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMClient";
18
+ var commandName = "RemoveTagsFromResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: RemoveTagsFromResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: RemoveTagsFromResourceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RemoveTagsFromResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context);
33
+ };
34
+ RemoveTagsFromResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context);
36
+ };
37
+ return RemoveTagsFromResourceCommand;
38
+ }($Command));
39
+ export { RemoveTagsFromResourceCommand };
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cloudhsm", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cloudhsm", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes
@@ -1,44 +1,26 @@
1
1
  import { __assign } from "tslib";
2
2
  export var Tag;
3
3
  (function (Tag) {
4
- /**
5
- * @internal
6
- */
7
4
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
8
5
  })(Tag || (Tag = {}));
9
6
  export var AddTagsToResourceRequest;
10
7
  (function (AddTagsToResourceRequest) {
11
- /**
12
- * @internal
13
- */
14
8
  AddTagsToResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
15
9
  })(AddTagsToResourceRequest || (AddTagsToResourceRequest = {}));
16
10
  export var AddTagsToResourceResponse;
17
11
  (function (AddTagsToResourceResponse) {
18
- /**
19
- * @internal
20
- */
21
12
  AddTagsToResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
13
  })(AddTagsToResourceResponse || (AddTagsToResourceResponse = {}));
23
14
  export var CloudHsmInternalException;
24
15
  (function (CloudHsmInternalException) {
25
- /**
26
- * @internal
27
- */
28
16
  CloudHsmInternalException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
17
  })(CloudHsmInternalException || (CloudHsmInternalException = {}));
30
18
  export var CloudHsmServiceException;
31
19
  (function (CloudHsmServiceException) {
32
- /**
33
- * @internal
34
- */
35
20
  CloudHsmServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
21
  })(CloudHsmServiceException || (CloudHsmServiceException = {}));
37
22
  export var InvalidRequestException;
38
23
  (function (InvalidRequestException) {
39
- /**
40
- * @internal
41
- */
42
24
  InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
43
25
  })(InvalidRequestException || (InvalidRequestException = {}));
44
26
  export var ClientVersion;
@@ -48,16 +30,10 @@ export var ClientVersion;
48
30
  })(ClientVersion || (ClientVersion = {}));
49
31
  export var CreateHapgRequest;
50
32
  (function (CreateHapgRequest) {
51
- /**
52
- * @internal
53
- */
54
33
  CreateHapgRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
34
  })(CreateHapgRequest || (CreateHapgRequest = {}));
56
35
  export var CreateHapgResponse;
57
36
  (function (CreateHapgResponse) {
58
- /**
59
- * @internal
60
- */
61
37
  CreateHapgResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
62
38
  })(CreateHapgResponse || (CreateHapgResponse = {}));
63
39
  export var SubscriptionType;
@@ -66,79 +42,46 @@ export var SubscriptionType;
66
42
  })(SubscriptionType || (SubscriptionType = {}));
67
43
  export var CreateHsmRequest;
68
44
  (function (CreateHsmRequest) {
69
- /**
70
- * @internal
71
- */
72
45
  CreateHsmRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
46
  })(CreateHsmRequest || (CreateHsmRequest = {}));
74
47
  export var CreateHsmResponse;
75
48
  (function (CreateHsmResponse) {
76
- /**
77
- * @internal
78
- */
79
49
  CreateHsmResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
80
50
  })(CreateHsmResponse || (CreateHsmResponse = {}));
81
51
  export var CreateLunaClientRequest;
82
52
  (function (CreateLunaClientRequest) {
83
- /**
84
- * @internal
85
- */
86
53
  CreateLunaClientRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
54
  })(CreateLunaClientRequest || (CreateLunaClientRequest = {}));
88
55
  export var CreateLunaClientResponse;
89
56
  (function (CreateLunaClientResponse) {
90
- /**
91
- * @internal
92
- */
93
57
  CreateLunaClientResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
94
58
  })(CreateLunaClientResponse || (CreateLunaClientResponse = {}));
95
59
  export var DeleteHapgRequest;
96
60
  (function (DeleteHapgRequest) {
97
- /**
98
- * @internal
99
- */
100
61
  DeleteHapgRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
62
  })(DeleteHapgRequest || (DeleteHapgRequest = {}));
102
63
  export var DeleteHapgResponse;
103
64
  (function (DeleteHapgResponse) {
104
- /**
105
- * @internal
106
- */
107
65
  DeleteHapgResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
66
  })(DeleteHapgResponse || (DeleteHapgResponse = {}));
109
67
  export var DeleteHsmRequest;
110
68
  (function (DeleteHsmRequest) {
111
- /**
112
- * @internal
113
- */
114
69
  DeleteHsmRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
70
  })(DeleteHsmRequest || (DeleteHsmRequest = {}));
116
71
  export var DeleteHsmResponse;
117
72
  (function (DeleteHsmResponse) {
118
- /**
119
- * @internal
120
- */
121
73
  DeleteHsmResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
122
74
  })(DeleteHsmResponse || (DeleteHsmResponse = {}));
123
75
  export var DeleteLunaClientRequest;
124
76
  (function (DeleteLunaClientRequest) {
125
- /**
126
- * @internal
127
- */
128
77
  DeleteLunaClientRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
78
  })(DeleteLunaClientRequest || (DeleteLunaClientRequest = {}));
130
79
  export var DeleteLunaClientResponse;
131
80
  (function (DeleteLunaClientResponse) {
132
- /**
133
- * @internal
134
- */
135
81
  DeleteLunaClientResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
82
  })(DeleteLunaClientResponse || (DeleteLunaClientResponse = {}));
137
83
  export var DescribeHapgRequest;
138
84
  (function (DescribeHapgRequest) {
139
- /**
140
- * @internal
141
- */
142
85
  DescribeHapgRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
143
86
  })(DescribeHapgRequest || (DescribeHapgRequest = {}));
144
87
  export var CloudHsmObjectState;
@@ -149,16 +92,10 @@ export var CloudHsmObjectState;
149
92
  })(CloudHsmObjectState || (CloudHsmObjectState = {}));
150
93
  export var DescribeHapgResponse;
151
94
  (function (DescribeHapgResponse) {
152
- /**
153
- * @internal
154
- */
155
95
  DescribeHapgResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
156
96
  })(DescribeHapgResponse || (DescribeHapgResponse = {}));
157
97
  export var DescribeHsmRequest;
158
98
  (function (DescribeHsmRequest) {
159
- /**
160
- * @internal
161
- */
162
99
  DescribeHsmRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
163
100
  })(DescribeHsmRequest || (DescribeHsmRequest = {}));
164
101
  export var HsmStatus;
@@ -173,163 +110,93 @@ export var HsmStatus;
173
110
  })(HsmStatus || (HsmStatus = {}));
174
111
  export var DescribeHsmResponse;
175
112
  (function (DescribeHsmResponse) {
176
- /**
177
- * @internal
178
- */
179
113
  DescribeHsmResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
180
114
  })(DescribeHsmResponse || (DescribeHsmResponse = {}));
181
115
  export var DescribeLunaClientRequest;
182
116
  (function (DescribeLunaClientRequest) {
183
- /**
184
- * @internal
185
- */
186
117
  DescribeLunaClientRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
118
  })(DescribeLunaClientRequest || (DescribeLunaClientRequest = {}));
188
119
  export var DescribeLunaClientResponse;
189
120
  (function (DescribeLunaClientResponse) {
190
- /**
191
- * @internal
192
- */
193
121
  DescribeLunaClientResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
194
122
  })(DescribeLunaClientResponse || (DescribeLunaClientResponse = {}));
195
123
  export var GetConfigRequest;
196
124
  (function (GetConfigRequest) {
197
- /**
198
- * @internal
199
- */
200
125
  GetConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
201
126
  })(GetConfigRequest || (GetConfigRequest = {}));
202
127
  export var GetConfigResponse;
203
128
  (function (GetConfigResponse) {
204
- /**
205
- * @internal
206
- */
207
129
  GetConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
208
130
  })(GetConfigResponse || (GetConfigResponse = {}));
209
131
  export var ListAvailableZonesRequest;
210
132
  (function (ListAvailableZonesRequest) {
211
- /**
212
- * @internal
213
- */
214
133
  ListAvailableZonesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
215
134
  })(ListAvailableZonesRequest || (ListAvailableZonesRequest = {}));
216
135
  export var ListAvailableZonesResponse;
217
136
  (function (ListAvailableZonesResponse) {
218
- /**
219
- * @internal
220
- */
221
137
  ListAvailableZonesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
222
138
  })(ListAvailableZonesResponse || (ListAvailableZonesResponse = {}));
223
139
  export var ListHapgsRequest;
224
140
  (function (ListHapgsRequest) {
225
- /**
226
- * @internal
227
- */
228
141
  ListHapgsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
229
142
  })(ListHapgsRequest || (ListHapgsRequest = {}));
230
143
  export var ListHapgsResponse;
231
144
  (function (ListHapgsResponse) {
232
- /**
233
- * @internal
234
- */
235
145
  ListHapgsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
236
146
  })(ListHapgsResponse || (ListHapgsResponse = {}));
237
147
  export var ListHsmsRequest;
238
148
  (function (ListHsmsRequest) {
239
- /**
240
- * @internal
241
- */
242
149
  ListHsmsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
150
  })(ListHsmsRequest || (ListHsmsRequest = {}));
244
151
  export var ListHsmsResponse;
245
152
  (function (ListHsmsResponse) {
246
- /**
247
- * @internal
248
- */
249
153
  ListHsmsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
250
154
  })(ListHsmsResponse || (ListHsmsResponse = {}));
251
155
  export var ListLunaClientsRequest;
252
156
  (function (ListLunaClientsRequest) {
253
- /**
254
- * @internal
255
- */
256
157
  ListLunaClientsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
257
158
  })(ListLunaClientsRequest || (ListLunaClientsRequest = {}));
258
159
  export var ListLunaClientsResponse;
259
160
  (function (ListLunaClientsResponse) {
260
- /**
261
- * @internal
262
- */
263
161
  ListLunaClientsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
264
162
  })(ListLunaClientsResponse || (ListLunaClientsResponse = {}));
265
163
  export var ListTagsForResourceRequest;
266
164
  (function (ListTagsForResourceRequest) {
267
- /**
268
- * @internal
269
- */
270
165
  ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
271
166
  })(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
272
167
  export var ListTagsForResourceResponse;
273
168
  (function (ListTagsForResourceResponse) {
274
- /**
275
- * @internal
276
- */
277
169
  ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
278
170
  })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
279
171
  export var ModifyHapgRequest;
280
172
  (function (ModifyHapgRequest) {
281
- /**
282
- * @internal
283
- */
284
173
  ModifyHapgRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
285
174
  })(ModifyHapgRequest || (ModifyHapgRequest = {}));
286
175
  export var ModifyHapgResponse;
287
176
  (function (ModifyHapgResponse) {
288
- /**
289
- * @internal
290
- */
291
177
  ModifyHapgResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
292
178
  })(ModifyHapgResponse || (ModifyHapgResponse = {}));
293
179
  export var ModifyHsmRequest;
294
180
  (function (ModifyHsmRequest) {
295
- /**
296
- * @internal
297
- */
298
181
  ModifyHsmRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
299
182
  })(ModifyHsmRequest || (ModifyHsmRequest = {}));
300
183
  export var ModifyHsmResponse;
301
184
  (function (ModifyHsmResponse) {
302
- /**
303
- * @internal
304
- */
305
185
  ModifyHsmResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
306
186
  })(ModifyHsmResponse || (ModifyHsmResponse = {}));
307
187
  export var ModifyLunaClientRequest;
308
188
  (function (ModifyLunaClientRequest) {
309
- /**
310
- * @internal
311
- */
312
189
  ModifyLunaClientRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
313
190
  })(ModifyLunaClientRequest || (ModifyLunaClientRequest = {}));
314
191
  export var ModifyLunaClientResponse;
315
192
  (function (ModifyLunaClientResponse) {
316
- /**
317
- * @internal
318
- */
319
193
  ModifyLunaClientResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
320
194
  })(ModifyLunaClientResponse || (ModifyLunaClientResponse = {}));
321
195
  export var RemoveTagsFromResourceRequest;
322
196
  (function (RemoveTagsFromResourceRequest) {
323
- /**
324
- * @internal
325
- */
326
197
  RemoveTagsFromResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
327
198
  })(RemoveTagsFromResourceRequest || (RemoveTagsFromResourceRequest = {}));
328
199
  export var RemoveTagsFromResourceResponse;
329
200
  (function (RemoveTagsFromResourceResponse) {
330
- /**
331
- * @internal
332
- */
333
201
  RemoveTagsFromResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
334
202
  })(RemoveTagsFromResourceResponse || (RemoveTagsFromResourceResponse = {}));
335
- //# sourceMappingURL=models_0.js.map