@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
@@ -1,104 +0,0 @@
1
- import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
- import { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeLunaClientCommand,
5
- serializeAws_json1_1DescribeLunaClientCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeLunaClientCommandInput extends DescribeLunaClientRequest {}
21
- export interface DescribeLunaClientCommandOutput extends DescribeLunaClientResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
25
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
26
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
27
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
28
- * <p>
29
- * <b>For information about the current version of AWS
30
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
31
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
32
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
33
- * Reference</a>.</p>
34
- * <p>Retrieves information about an HSM client.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { CloudHSMClient, DescribeLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
39
- * // const { CloudHSMClient, DescribeLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
40
- * const client = new CloudHSMClient(config);
41
- * const command = new DescribeLunaClientCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link DescribeLunaClientCommandInput} for command's `input` shape.
46
- * @see {@link DescribeLunaClientCommandOutput} for command's `response` shape.
47
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class DescribeLunaClientCommand extends $Command<
51
- DescribeLunaClientCommandInput,
52
- DescribeLunaClientCommandOutput,
53
- CloudHSMClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: DescribeLunaClientCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: CloudHSMClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<DescribeLunaClientCommandInput, DescribeLunaClientCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "CloudHSMClient";
78
- const commandName = "DescribeLunaClientCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: DescribeLunaClientRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: DescribeLunaClientResponse.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: DescribeLunaClientCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1DescribeLunaClientCommand(input, context);
96
- }
97
-
98
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeLunaClientCommandOutput> {
99
- return deserializeAws_json1_1DescribeLunaClientCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,102 +0,0 @@
1
- import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
- import { GetConfigRequest, GetConfigResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1GetConfigCommand, serializeAws_json1_1GetConfigCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface GetConfigCommandInput extends GetConfigRequest {}
18
- export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
22
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
23
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
24
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
25
- * <p>
26
- * <b>For information about the current version of AWS
27
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
28
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
29
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
30
- * Reference</a>.</p>
31
- * <p>Gets the configuration files necessary to connect to all high availability partition
32
- * groups the client is associated with.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { CloudHSMClient, GetConfigCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
37
- * // const { CloudHSMClient, GetConfigCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
38
- * const client = new CloudHSMClient(config);
39
- * const command = new GetConfigCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link GetConfigCommandInput} for command's `input` shape.
44
- * @see {@link GetConfigCommandOutput} for command's `response` shape.
45
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class GetConfigCommand extends $Command<
49
- GetConfigCommandInput,
50
- GetConfigCommandOutput,
51
- CloudHSMClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: GetConfigCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: CloudHSMClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<GetConfigCommandInput, GetConfigCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "CloudHSMClient";
76
- const commandName = "GetConfigCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: GetConfigRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: GetConfigResponse.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: GetConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_json1_1GetConfigCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetConfigCommandOutput> {
97
- return deserializeAws_json1_1GetConfigCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,104 +0,0 @@
1
- import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
- import { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListAvailableZonesCommand,
5
- serializeAws_json1_1ListAvailableZonesCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListAvailableZonesCommandInput extends ListAvailableZonesRequest {}
21
- export interface ListAvailableZonesCommandOutput extends ListAvailableZonesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
25
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
26
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
27
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
28
- * <p>
29
- * <b>For information about the current version of AWS
30
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
31
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
32
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
33
- * Reference</a>.</p>
34
- * <p>Lists the Availability Zones that have available AWS CloudHSM capacity.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { CloudHSMClient, ListAvailableZonesCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
39
- * // const { CloudHSMClient, ListAvailableZonesCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
40
- * const client = new CloudHSMClient(config);
41
- * const command = new ListAvailableZonesCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link ListAvailableZonesCommandInput} for command's `input` shape.
46
- * @see {@link ListAvailableZonesCommandOutput} for command's `response` shape.
47
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class ListAvailableZonesCommand extends $Command<
51
- ListAvailableZonesCommandInput,
52
- ListAvailableZonesCommandOutput,
53
- CloudHSMClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: ListAvailableZonesCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: CloudHSMClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<ListAvailableZonesCommandInput, ListAvailableZonesCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "CloudHSMClient";
78
- const commandName = "ListAvailableZonesCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: ListAvailableZonesRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: ListAvailableZonesResponse.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: ListAvailableZonesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1ListAvailableZonesCommand(input, context);
96
- }
97
-
98
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAvailableZonesCommandOutput> {
99
- return deserializeAws_json1_1ListAvailableZonesCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,105 +0,0 @@
1
- import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
- import { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1ListHapgsCommand, serializeAws_json1_1ListHapgsCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface ListHapgsCommandInput extends ListHapgsRequest {}
18
- export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
22
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
23
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
24
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
25
- * <p>
26
- * <b>For information about the current version of AWS
27
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
28
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
29
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
30
- * Reference</a>.</p>
31
- * <p>Lists the high-availability partition groups for the account.</p>
32
- * <p>This operation supports pagination with the use of the <code>NextToken</code> member.
33
- * If more results are available, the <code>NextToken</code> member of the response contains a
34
- * token that you pass in the next call to <code>ListHapgs</code> to retrieve the next set of
35
- * items.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { CloudHSMClient, ListHapgsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
40
- * // const { CloudHSMClient, ListHapgsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
41
- * const client = new CloudHSMClient(config);
42
- * const command = new ListHapgsCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link ListHapgsCommandInput} for command's `input` shape.
47
- * @see {@link ListHapgsCommandOutput} for command's `response` shape.
48
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class ListHapgsCommand extends $Command<
52
- ListHapgsCommandInput,
53
- ListHapgsCommandOutput,
54
- CloudHSMClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: ListHapgsCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: CloudHSMClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<ListHapgsCommandInput, ListHapgsCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "CloudHSMClient";
79
- const commandName = "ListHapgsCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: ListHapgsRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: ListHapgsResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: ListHapgsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1ListHapgsCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListHapgsCommandOutput> {
100
- return deserializeAws_json1_1ListHapgsCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,106 +0,0 @@
1
- import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
- import { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1ListHsmsCommand, serializeAws_json1_1ListHsmsCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface ListHsmsCommandInput extends ListHsmsRequest {}
18
- export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
22
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
23
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
24
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
25
- * <p>
26
- * <b>For information about the current version of AWS
27
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
28
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
29
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
30
- * Reference</a>.</p>
31
- * <p>Retrieves the identifiers of all of the HSMs provisioned for the current
32
- * customer.</p>
33
- * <p>This operation supports pagination with the use of the <code>NextToken</code> member.
34
- * If more results are available, the <code>NextToken</code> member of the response contains a
35
- * token that you pass in the next call to <code>ListHsms</code> to retrieve the next set of
36
- * items.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { CloudHSMClient, ListHsmsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
41
- * // const { CloudHSMClient, ListHsmsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
42
- * const client = new CloudHSMClient(config);
43
- * const command = new ListHsmsCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link ListHsmsCommandInput} for command's `input` shape.
48
- * @see {@link ListHsmsCommandOutput} for command's `response` shape.
49
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class ListHsmsCommand extends $Command<
53
- ListHsmsCommandInput,
54
- ListHsmsCommandOutput,
55
- CloudHSMClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: ListHsmsCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: CloudHSMClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<ListHsmsCommandInput, ListHsmsCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "CloudHSMClient";
80
- const commandName = "ListHsmsCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: ListHsmsRequest.filterSensitiveLog,
86
- outputFilterSensitiveLog: ListHsmsResponse.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(input: ListHsmsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
97
- return serializeAws_json1_1ListHsmsCommand(input, context);
98
- }
99
-
100
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListHsmsCommandOutput> {
101
- return deserializeAws_json1_1ListHsmsCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,108 +0,0 @@
1
- import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
- import { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListLunaClientsCommand,
5
- serializeAws_json1_1ListLunaClientsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListLunaClientsCommandInput extends ListLunaClientsRequest {}
21
- export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
25
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
26
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
27
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
28
- * <p>
29
- * <b>For information about the current version of AWS
30
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
31
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
32
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
33
- * Reference</a>.</p>
34
- * <p>Lists all of the clients.</p>
35
- * <p>This operation supports pagination with the use of the <code>NextToken</code> member.
36
- * If more results are available, the <code>NextToken</code> member of the response contains a
37
- * token that you pass in the next call to <code>ListLunaClients</code> to retrieve the next set
38
- * of items.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { CloudHSMClient, ListLunaClientsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
43
- * // const { CloudHSMClient, ListLunaClientsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
44
- * const client = new CloudHSMClient(config);
45
- * const command = new ListLunaClientsCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link ListLunaClientsCommandInput} for command's `input` shape.
50
- * @see {@link ListLunaClientsCommandOutput} for command's `response` shape.
51
- * @see {@link CloudHSMClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class ListLunaClientsCommand extends $Command<
55
- ListLunaClientsCommandInput,
56
- ListLunaClientsCommandOutput,
57
- CloudHSMClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: ListLunaClientsCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: CloudHSMClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<ListLunaClientsCommandInput, ListLunaClientsCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "CloudHSMClient";
82
- const commandName = "ListLunaClientsCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: ListLunaClientsRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: ListLunaClientsResponse.filterSensitiveLog,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: ListLunaClientsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_json1_1ListLunaClientsCommand(input, context);
100
- }
101
-
102
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListLunaClientsCommandOutput> {
103
- return deserializeAws_json1_1ListLunaClientsCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }