@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
package/CloudHSM.ts DELETED
@@ -1,892 +0,0 @@
1
- import { CloudHSMClient } from "./CloudHSMClient";
2
- import {
3
- AddTagsToResourceCommand,
4
- AddTagsToResourceCommandInput,
5
- AddTagsToResourceCommandOutput,
6
- } from "./commands/AddTagsToResourceCommand";
7
- import { CreateHapgCommand, CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
8
- import { CreateHsmCommand, CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
9
- import {
10
- CreateLunaClientCommand,
11
- CreateLunaClientCommandInput,
12
- CreateLunaClientCommandOutput,
13
- } from "./commands/CreateLunaClientCommand";
14
- import { DeleteHapgCommand, DeleteHapgCommandInput, DeleteHapgCommandOutput } from "./commands/DeleteHapgCommand";
15
- import { DeleteHsmCommand, DeleteHsmCommandInput, DeleteHsmCommandOutput } from "./commands/DeleteHsmCommand";
16
- import {
17
- DeleteLunaClientCommand,
18
- DeleteLunaClientCommandInput,
19
- DeleteLunaClientCommandOutput,
20
- } from "./commands/DeleteLunaClientCommand";
21
- import {
22
- DescribeHapgCommand,
23
- DescribeHapgCommandInput,
24
- DescribeHapgCommandOutput,
25
- } from "./commands/DescribeHapgCommand";
26
- import { DescribeHsmCommand, DescribeHsmCommandInput, DescribeHsmCommandOutput } from "./commands/DescribeHsmCommand";
27
- import {
28
- DescribeLunaClientCommand,
29
- DescribeLunaClientCommandInput,
30
- DescribeLunaClientCommandOutput,
31
- } from "./commands/DescribeLunaClientCommand";
32
- import { GetConfigCommand, GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
33
- import {
34
- ListAvailableZonesCommand,
35
- ListAvailableZonesCommandInput,
36
- ListAvailableZonesCommandOutput,
37
- } from "./commands/ListAvailableZonesCommand";
38
- import { ListHapgsCommand, ListHapgsCommandInput, ListHapgsCommandOutput } from "./commands/ListHapgsCommand";
39
- import { ListHsmsCommand, ListHsmsCommandInput, ListHsmsCommandOutput } from "./commands/ListHsmsCommand";
40
- import {
41
- ListLunaClientsCommand,
42
- ListLunaClientsCommandInput,
43
- ListLunaClientsCommandOutput,
44
- } from "./commands/ListLunaClientsCommand";
45
- import {
46
- ListTagsForResourceCommand,
47
- ListTagsForResourceCommandInput,
48
- ListTagsForResourceCommandOutput,
49
- } from "./commands/ListTagsForResourceCommand";
50
- import { ModifyHapgCommand, ModifyHapgCommandInput, ModifyHapgCommandOutput } from "./commands/ModifyHapgCommand";
51
- import { ModifyHsmCommand, ModifyHsmCommandInput, ModifyHsmCommandOutput } from "./commands/ModifyHsmCommand";
52
- import {
53
- ModifyLunaClientCommand,
54
- ModifyLunaClientCommandInput,
55
- ModifyLunaClientCommandOutput,
56
- } from "./commands/ModifyLunaClientCommand";
57
- import {
58
- RemoveTagsFromResourceCommand,
59
- RemoveTagsFromResourceCommandInput,
60
- RemoveTagsFromResourceCommandOutput,
61
- } from "./commands/RemoveTagsFromResourceCommand";
62
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
63
-
64
- /**
65
- * <fullname>AWS CloudHSM Service</fullname>
66
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
67
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
68
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
69
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
70
- * <p>
71
- * <b>For information about the current version of AWS
72
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
73
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
74
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
75
- * Reference</a>.</p>
76
- */
77
- export class CloudHSM extends CloudHSMClient {
78
- /**
79
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
80
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
81
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
82
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
83
- * <p>
84
- * <b>For information about the current version of AWS
85
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
86
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
87
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
88
- * Reference</a>.</p>
89
- * <p>Adds or overwrites one or more tags for the specified AWS CloudHSM resource.</p>
90
- * <p>Each tag consists of a key and a value. Tag keys must be unique to each
91
- * resource.</p>
92
- */
93
- public addTagsToResource(
94
- args: AddTagsToResourceCommandInput,
95
- options?: __HttpHandlerOptions
96
- ): Promise<AddTagsToResourceCommandOutput>;
97
- public addTagsToResource(
98
- args: AddTagsToResourceCommandInput,
99
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
100
- ): void;
101
- public addTagsToResource(
102
- args: AddTagsToResourceCommandInput,
103
- options: __HttpHandlerOptions,
104
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
105
- ): void;
106
- public addTagsToResource(
107
- args: AddTagsToResourceCommandInput,
108
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToResourceCommandOutput) => void),
109
- cb?: (err: any, data?: AddTagsToResourceCommandOutput) => void
110
- ): Promise<AddTagsToResourceCommandOutput> | void {
111
- const command = new AddTagsToResourceCommand(args);
112
- if (typeof optionsOrCb === "function") {
113
- this.send(command, optionsOrCb);
114
- } else if (typeof cb === "function") {
115
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
116
- this.send(command, optionsOrCb || {}, cb);
117
- } else {
118
- return this.send(command, optionsOrCb);
119
- }
120
- }
121
-
122
- /**
123
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
124
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
125
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
126
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
127
- * <p>
128
- * <b>For information about the current version of AWS
129
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
130
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
131
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
132
- * Reference</a>.</p>
133
- * <p>Creates a high-availability partition group. A high-availability partition group is a
134
- * group of partitions that spans multiple physical HSMs.</p>
135
- */
136
- public createHapg(args: CreateHapgCommandInput, options?: __HttpHandlerOptions): Promise<CreateHapgCommandOutput>;
137
- public createHapg(args: CreateHapgCommandInput, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
138
- public createHapg(
139
- args: CreateHapgCommandInput,
140
- options: __HttpHandlerOptions,
141
- cb: (err: any, data?: CreateHapgCommandOutput) => void
142
- ): void;
143
- public createHapg(
144
- args: CreateHapgCommandInput,
145
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateHapgCommandOutput) => void),
146
- cb?: (err: any, data?: CreateHapgCommandOutput) => void
147
- ): Promise<CreateHapgCommandOutput> | void {
148
- const command = new CreateHapgCommand(args);
149
- if (typeof optionsOrCb === "function") {
150
- this.send(command, optionsOrCb);
151
- } else if (typeof cb === "function") {
152
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
153
- this.send(command, optionsOrCb || {}, cb);
154
- } else {
155
- return this.send(command, optionsOrCb);
156
- }
157
- }
158
-
159
- /**
160
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
161
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
162
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
163
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
164
- * <p>
165
- * <b>For information about the current version of AWS
166
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
167
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
168
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
169
- * Reference</a>.</p>
170
- * <p>Creates an uninitialized HSM instance.</p>
171
- * <p>There is an upfront fee charged for each HSM instance that you create with the
172
- * <code>CreateHsm</code> operation. If you accidentally provision an HSM and want to request a
173
- * refund, delete the instance using the <a>DeleteHsm</a> operation, go to the <a href="https://console.aws.amazon.com/support/home">AWS Support Center</a>, create a new case, and select
174
- * <b>Account and Billing Support</b>.</p>
175
- * <important>
176
- * <p>It can take up to 20 minutes to create and provision an HSM. You can monitor the
177
- * status of the HSM with the <a>DescribeHsm</a> operation. The HSM is ready to be
178
- * initialized when the status changes to <code>RUNNING</code>.</p>
179
- * </important>
180
- */
181
- public createHsm(args: CreateHsmCommandInput, options?: __HttpHandlerOptions): Promise<CreateHsmCommandOutput>;
182
- public createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
183
- public createHsm(
184
- args: CreateHsmCommandInput,
185
- options: __HttpHandlerOptions,
186
- cb: (err: any, data?: CreateHsmCommandOutput) => void
187
- ): void;
188
- public createHsm(
189
- args: CreateHsmCommandInput,
190
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateHsmCommandOutput) => void),
191
- cb?: (err: any, data?: CreateHsmCommandOutput) => void
192
- ): Promise<CreateHsmCommandOutput> | void {
193
- const command = new CreateHsmCommand(args);
194
- if (typeof optionsOrCb === "function") {
195
- this.send(command, optionsOrCb);
196
- } else if (typeof cb === "function") {
197
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
198
- this.send(command, optionsOrCb || {}, cb);
199
- } else {
200
- return this.send(command, optionsOrCb);
201
- }
202
- }
203
-
204
- /**
205
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
206
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
207
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
208
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
209
- * <p>
210
- * <b>For information about the current version of AWS
211
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
212
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
213
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
214
- * Reference</a>.</p>
215
- * <p>Creates an HSM client.</p>
216
- */
217
- public createLunaClient(
218
- args: CreateLunaClientCommandInput,
219
- options?: __HttpHandlerOptions
220
- ): Promise<CreateLunaClientCommandOutput>;
221
- public createLunaClient(
222
- args: CreateLunaClientCommandInput,
223
- cb: (err: any, data?: CreateLunaClientCommandOutput) => void
224
- ): void;
225
- public createLunaClient(
226
- args: CreateLunaClientCommandInput,
227
- options: __HttpHandlerOptions,
228
- cb: (err: any, data?: CreateLunaClientCommandOutput) => void
229
- ): void;
230
- public createLunaClient(
231
- args: CreateLunaClientCommandInput,
232
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLunaClientCommandOutput) => void),
233
- cb?: (err: any, data?: CreateLunaClientCommandOutput) => void
234
- ): Promise<CreateLunaClientCommandOutput> | void {
235
- const command = new CreateLunaClientCommand(args);
236
- if (typeof optionsOrCb === "function") {
237
- this.send(command, optionsOrCb);
238
- } else if (typeof cb === "function") {
239
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
240
- this.send(command, optionsOrCb || {}, cb);
241
- } else {
242
- return this.send(command, optionsOrCb);
243
- }
244
- }
245
-
246
- /**
247
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
248
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
249
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
250
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
251
- * <p>
252
- * <b>For information about the current version of AWS
253
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
254
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
255
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
256
- * Reference</a>.</p>
257
- * <p>Deletes a high-availability partition group.</p>
258
- */
259
- public deleteHapg(args: DeleteHapgCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHapgCommandOutput>;
260
- public deleteHapg(args: DeleteHapgCommandInput, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
261
- public deleteHapg(
262
- args: DeleteHapgCommandInput,
263
- options: __HttpHandlerOptions,
264
- cb: (err: any, data?: DeleteHapgCommandOutput) => void
265
- ): void;
266
- public deleteHapg(
267
- args: DeleteHapgCommandInput,
268
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteHapgCommandOutput) => void),
269
- cb?: (err: any, data?: DeleteHapgCommandOutput) => void
270
- ): Promise<DeleteHapgCommandOutput> | void {
271
- const command = new DeleteHapgCommand(args);
272
- if (typeof optionsOrCb === "function") {
273
- this.send(command, optionsOrCb);
274
- } else if (typeof cb === "function") {
275
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
276
- this.send(command, optionsOrCb || {}, cb);
277
- } else {
278
- return this.send(command, optionsOrCb);
279
- }
280
- }
281
-
282
- /**
283
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
284
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
285
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
286
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
287
- * <p>
288
- * <b>For information about the current version of AWS
289
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
290
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
291
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
292
- * Reference</a>.</p>
293
- * <p>Deletes an HSM. After completion, this operation cannot be undone and your key material
294
- * cannot be recovered.</p>
295
- */
296
- public deleteHsm(args: DeleteHsmCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHsmCommandOutput>;
297
- public deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
298
- public deleteHsm(
299
- args: DeleteHsmCommandInput,
300
- options: __HttpHandlerOptions,
301
- cb: (err: any, data?: DeleteHsmCommandOutput) => void
302
- ): void;
303
- public deleteHsm(
304
- args: DeleteHsmCommandInput,
305
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteHsmCommandOutput) => void),
306
- cb?: (err: any, data?: DeleteHsmCommandOutput) => void
307
- ): Promise<DeleteHsmCommandOutput> | void {
308
- const command = new DeleteHsmCommand(args);
309
- if (typeof optionsOrCb === "function") {
310
- this.send(command, optionsOrCb);
311
- } else if (typeof cb === "function") {
312
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
- this.send(command, optionsOrCb || {}, cb);
314
- } else {
315
- return this.send(command, optionsOrCb);
316
- }
317
- }
318
-
319
- /**
320
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
321
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
322
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
323
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
324
- * <p>
325
- * <b>For information about the current version of AWS
326
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
327
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
328
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
329
- * Reference</a>.</p>
330
- * <p>Deletes a client.</p>
331
- */
332
- public deleteLunaClient(
333
- args: DeleteLunaClientCommandInput,
334
- options?: __HttpHandlerOptions
335
- ): Promise<DeleteLunaClientCommandOutput>;
336
- public deleteLunaClient(
337
- args: DeleteLunaClientCommandInput,
338
- cb: (err: any, data?: DeleteLunaClientCommandOutput) => void
339
- ): void;
340
- public deleteLunaClient(
341
- args: DeleteLunaClientCommandInput,
342
- options: __HttpHandlerOptions,
343
- cb: (err: any, data?: DeleteLunaClientCommandOutput) => void
344
- ): void;
345
- public deleteLunaClient(
346
- args: DeleteLunaClientCommandInput,
347
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLunaClientCommandOutput) => void),
348
- cb?: (err: any, data?: DeleteLunaClientCommandOutput) => void
349
- ): Promise<DeleteLunaClientCommandOutput> | void {
350
- const command = new DeleteLunaClientCommand(args);
351
- if (typeof optionsOrCb === "function") {
352
- this.send(command, optionsOrCb);
353
- } else if (typeof cb === "function") {
354
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
355
- this.send(command, optionsOrCb || {}, cb);
356
- } else {
357
- return this.send(command, optionsOrCb);
358
- }
359
- }
360
-
361
- /**
362
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
363
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
364
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
365
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
366
- * <p>
367
- * <b>For information about the current version of AWS
368
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
369
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
370
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
371
- * Reference</a>.</p>
372
- * <p>Retrieves information about a high-availability partition group.</p>
373
- */
374
- public describeHapg(
375
- args: DescribeHapgCommandInput,
376
- options?: __HttpHandlerOptions
377
- ): Promise<DescribeHapgCommandOutput>;
378
- public describeHapg(args: DescribeHapgCommandInput, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
379
- public describeHapg(
380
- args: DescribeHapgCommandInput,
381
- options: __HttpHandlerOptions,
382
- cb: (err: any, data?: DescribeHapgCommandOutput) => void
383
- ): void;
384
- public describeHapg(
385
- args: DescribeHapgCommandInput,
386
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeHapgCommandOutput) => void),
387
- cb?: (err: any, data?: DescribeHapgCommandOutput) => void
388
- ): Promise<DescribeHapgCommandOutput> | void {
389
- const command = new DescribeHapgCommand(args);
390
- if (typeof optionsOrCb === "function") {
391
- this.send(command, optionsOrCb);
392
- } else if (typeof cb === "function") {
393
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
394
- this.send(command, optionsOrCb || {}, cb);
395
- } else {
396
- return this.send(command, optionsOrCb);
397
- }
398
- }
399
-
400
- /**
401
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
402
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
403
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
404
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
405
- * <p>
406
- * <b>For information about the current version of AWS
407
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
408
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
409
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
410
- * Reference</a>.</p>
411
- * <p>Retrieves information about an HSM. You can identify the HSM by its ARN or its serial
412
- * number.</p>
413
- */
414
- public describeHsm(args: DescribeHsmCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHsmCommandOutput>;
415
- public describeHsm(args: DescribeHsmCommandInput, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
416
- public describeHsm(
417
- args: DescribeHsmCommandInput,
418
- options: __HttpHandlerOptions,
419
- cb: (err: any, data?: DescribeHsmCommandOutput) => void
420
- ): void;
421
- public describeHsm(
422
- args: DescribeHsmCommandInput,
423
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeHsmCommandOutput) => void),
424
- cb?: (err: any, data?: DescribeHsmCommandOutput) => void
425
- ): Promise<DescribeHsmCommandOutput> | void {
426
- const command = new DescribeHsmCommand(args);
427
- if (typeof optionsOrCb === "function") {
428
- this.send(command, optionsOrCb);
429
- } else if (typeof cb === "function") {
430
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
431
- this.send(command, optionsOrCb || {}, cb);
432
- } else {
433
- return this.send(command, optionsOrCb);
434
- }
435
- }
436
-
437
- /**
438
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
439
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
440
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
441
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
442
- * <p>
443
- * <b>For information about the current version of AWS
444
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
445
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
446
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
447
- * Reference</a>.</p>
448
- * <p>Retrieves information about an HSM client.</p>
449
- */
450
- public describeLunaClient(
451
- args: DescribeLunaClientCommandInput,
452
- options?: __HttpHandlerOptions
453
- ): Promise<DescribeLunaClientCommandOutput>;
454
- public describeLunaClient(
455
- args: DescribeLunaClientCommandInput,
456
- cb: (err: any, data?: DescribeLunaClientCommandOutput) => void
457
- ): void;
458
- public describeLunaClient(
459
- args: DescribeLunaClientCommandInput,
460
- options: __HttpHandlerOptions,
461
- cb: (err: any, data?: DescribeLunaClientCommandOutput) => void
462
- ): void;
463
- public describeLunaClient(
464
- args: DescribeLunaClientCommandInput,
465
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLunaClientCommandOutput) => void),
466
- cb?: (err: any, data?: DescribeLunaClientCommandOutput) => void
467
- ): Promise<DescribeLunaClientCommandOutput> | void {
468
- const command = new DescribeLunaClientCommand(args);
469
- if (typeof optionsOrCb === "function") {
470
- this.send(command, optionsOrCb);
471
- } else if (typeof cb === "function") {
472
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
473
- this.send(command, optionsOrCb || {}, cb);
474
- } else {
475
- return this.send(command, optionsOrCb);
476
- }
477
- }
478
-
479
- /**
480
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
481
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
482
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
483
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
484
- * <p>
485
- * <b>For information about the current version of AWS
486
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
487
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
488
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
489
- * Reference</a>.</p>
490
- * <p>Gets the configuration files necessary to connect to all high availability partition
491
- * groups the client is associated with.</p>
492
- */
493
- public getConfig(args: GetConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigCommandOutput>;
494
- public getConfig(args: GetConfigCommandInput, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
495
- public getConfig(
496
- args: GetConfigCommandInput,
497
- options: __HttpHandlerOptions,
498
- cb: (err: any, data?: GetConfigCommandOutput) => void
499
- ): void;
500
- public getConfig(
501
- args: GetConfigCommandInput,
502
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetConfigCommandOutput) => void),
503
- cb?: (err: any, data?: GetConfigCommandOutput) => void
504
- ): Promise<GetConfigCommandOutput> | void {
505
- const command = new GetConfigCommand(args);
506
- if (typeof optionsOrCb === "function") {
507
- this.send(command, optionsOrCb);
508
- } else if (typeof cb === "function") {
509
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
510
- this.send(command, optionsOrCb || {}, cb);
511
- } else {
512
- return this.send(command, optionsOrCb);
513
- }
514
- }
515
-
516
- /**
517
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
518
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
519
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
520
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
521
- * <p>
522
- * <b>For information about the current version of AWS
523
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
524
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
525
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
526
- * Reference</a>.</p>
527
- * <p>Lists the Availability Zones that have available AWS CloudHSM capacity.</p>
528
- */
529
- public listAvailableZones(
530
- args: ListAvailableZonesCommandInput,
531
- options?: __HttpHandlerOptions
532
- ): Promise<ListAvailableZonesCommandOutput>;
533
- public listAvailableZones(
534
- args: ListAvailableZonesCommandInput,
535
- cb: (err: any, data?: ListAvailableZonesCommandOutput) => void
536
- ): void;
537
- public listAvailableZones(
538
- args: ListAvailableZonesCommandInput,
539
- options: __HttpHandlerOptions,
540
- cb: (err: any, data?: ListAvailableZonesCommandOutput) => void
541
- ): void;
542
- public listAvailableZones(
543
- args: ListAvailableZonesCommandInput,
544
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAvailableZonesCommandOutput) => void),
545
- cb?: (err: any, data?: ListAvailableZonesCommandOutput) => void
546
- ): Promise<ListAvailableZonesCommandOutput> | void {
547
- const command = new ListAvailableZonesCommand(args);
548
- if (typeof optionsOrCb === "function") {
549
- this.send(command, optionsOrCb);
550
- } else if (typeof cb === "function") {
551
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
552
- this.send(command, optionsOrCb || {}, cb);
553
- } else {
554
- return this.send(command, optionsOrCb);
555
- }
556
- }
557
-
558
- /**
559
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
560
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
561
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
562
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
563
- * <p>
564
- * <b>For information about the current version of AWS
565
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
566
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
567
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
568
- * Reference</a>.</p>
569
- * <p>Lists the high-availability partition groups for the account.</p>
570
- * <p>This operation supports pagination with the use of the <code>NextToken</code> member.
571
- * If more results are available, the <code>NextToken</code> member of the response contains a
572
- * token that you pass in the next call to <code>ListHapgs</code> to retrieve the next set of
573
- * items.</p>
574
- */
575
- public listHapgs(args: ListHapgsCommandInput, options?: __HttpHandlerOptions): Promise<ListHapgsCommandOutput>;
576
- public listHapgs(args: ListHapgsCommandInput, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
577
- public listHapgs(
578
- args: ListHapgsCommandInput,
579
- options: __HttpHandlerOptions,
580
- cb: (err: any, data?: ListHapgsCommandOutput) => void
581
- ): void;
582
- public listHapgs(
583
- args: ListHapgsCommandInput,
584
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHapgsCommandOutput) => void),
585
- cb?: (err: any, data?: ListHapgsCommandOutput) => void
586
- ): Promise<ListHapgsCommandOutput> | void {
587
- const command = new ListHapgsCommand(args);
588
- if (typeof optionsOrCb === "function") {
589
- this.send(command, optionsOrCb);
590
- } else if (typeof cb === "function") {
591
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
592
- this.send(command, optionsOrCb || {}, cb);
593
- } else {
594
- return this.send(command, optionsOrCb);
595
- }
596
- }
597
-
598
- /**
599
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
600
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
601
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
602
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
603
- * <p>
604
- * <b>For information about the current version of AWS
605
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
606
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
607
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
608
- * Reference</a>.</p>
609
- * <p>Retrieves the identifiers of all of the HSMs provisioned for the current
610
- * customer.</p>
611
- * <p>This operation supports pagination with the use of the <code>NextToken</code> member.
612
- * If more results are available, the <code>NextToken</code> member of the response contains a
613
- * token that you pass in the next call to <code>ListHsms</code> to retrieve the next set of
614
- * items.</p>
615
- */
616
- public listHsms(args: ListHsmsCommandInput, options?: __HttpHandlerOptions): Promise<ListHsmsCommandOutput>;
617
- public listHsms(args: ListHsmsCommandInput, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
618
- public listHsms(
619
- args: ListHsmsCommandInput,
620
- options: __HttpHandlerOptions,
621
- cb: (err: any, data?: ListHsmsCommandOutput) => void
622
- ): void;
623
- public listHsms(
624
- args: ListHsmsCommandInput,
625
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHsmsCommandOutput) => void),
626
- cb?: (err: any, data?: ListHsmsCommandOutput) => void
627
- ): Promise<ListHsmsCommandOutput> | void {
628
- const command = new ListHsmsCommand(args);
629
- if (typeof optionsOrCb === "function") {
630
- this.send(command, optionsOrCb);
631
- } else if (typeof cb === "function") {
632
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
633
- this.send(command, optionsOrCb || {}, cb);
634
- } else {
635
- return this.send(command, optionsOrCb);
636
- }
637
- }
638
-
639
- /**
640
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
641
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
642
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
643
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
644
- * <p>
645
- * <b>For information about the current version of AWS
646
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
647
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
648
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
649
- * Reference</a>.</p>
650
- * <p>Lists all of the clients.</p>
651
- * <p>This operation supports pagination with the use of the <code>NextToken</code> member.
652
- * If more results are available, the <code>NextToken</code> member of the response contains a
653
- * token that you pass in the next call to <code>ListLunaClients</code> to retrieve the next set
654
- * of items.</p>
655
- */
656
- public listLunaClients(
657
- args: ListLunaClientsCommandInput,
658
- options?: __HttpHandlerOptions
659
- ): Promise<ListLunaClientsCommandOutput>;
660
- public listLunaClients(
661
- args: ListLunaClientsCommandInput,
662
- cb: (err: any, data?: ListLunaClientsCommandOutput) => void
663
- ): void;
664
- public listLunaClients(
665
- args: ListLunaClientsCommandInput,
666
- options: __HttpHandlerOptions,
667
- cb: (err: any, data?: ListLunaClientsCommandOutput) => void
668
- ): void;
669
- public listLunaClients(
670
- args: ListLunaClientsCommandInput,
671
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLunaClientsCommandOutput) => void),
672
- cb?: (err: any, data?: ListLunaClientsCommandOutput) => void
673
- ): Promise<ListLunaClientsCommandOutput> | void {
674
- const command = new ListLunaClientsCommand(args);
675
- if (typeof optionsOrCb === "function") {
676
- this.send(command, optionsOrCb);
677
- } else if (typeof cb === "function") {
678
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
679
- this.send(command, optionsOrCb || {}, cb);
680
- } else {
681
- return this.send(command, optionsOrCb);
682
- }
683
- }
684
-
685
- /**
686
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
687
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
688
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
689
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
690
- * <p>
691
- * <b>For information about the current version of AWS
692
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
693
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
694
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
695
- * Reference</a>.</p>
696
- * <p>Returns a list of all tags for the specified AWS CloudHSM resource.</p>
697
- */
698
- public listTagsForResource(
699
- args: ListTagsForResourceCommandInput,
700
- options?: __HttpHandlerOptions
701
- ): Promise<ListTagsForResourceCommandOutput>;
702
- public listTagsForResource(
703
- args: ListTagsForResourceCommandInput,
704
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
705
- ): void;
706
- public listTagsForResource(
707
- args: ListTagsForResourceCommandInput,
708
- options: __HttpHandlerOptions,
709
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
710
- ): void;
711
- public listTagsForResource(
712
- args: ListTagsForResourceCommandInput,
713
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
714
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
715
- ): Promise<ListTagsForResourceCommandOutput> | void {
716
- const command = new ListTagsForResourceCommand(args);
717
- if (typeof optionsOrCb === "function") {
718
- this.send(command, optionsOrCb);
719
- } else if (typeof cb === "function") {
720
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
721
- this.send(command, optionsOrCb || {}, cb);
722
- } else {
723
- return this.send(command, optionsOrCb);
724
- }
725
- }
726
-
727
- /**
728
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
729
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
730
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
731
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
732
- * <p>
733
- * <b>For information about the current version of AWS
734
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
735
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
736
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
737
- * Reference</a>.</p>
738
- * <p>Modifies an existing high-availability partition group.</p>
739
- */
740
- public modifyHapg(args: ModifyHapgCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHapgCommandOutput>;
741
- public modifyHapg(args: ModifyHapgCommandInput, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
742
- public modifyHapg(
743
- args: ModifyHapgCommandInput,
744
- options: __HttpHandlerOptions,
745
- cb: (err: any, data?: ModifyHapgCommandOutput) => void
746
- ): void;
747
- public modifyHapg(
748
- args: ModifyHapgCommandInput,
749
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyHapgCommandOutput) => void),
750
- cb?: (err: any, data?: ModifyHapgCommandOutput) => void
751
- ): Promise<ModifyHapgCommandOutput> | void {
752
- const command = new ModifyHapgCommand(args);
753
- if (typeof optionsOrCb === "function") {
754
- this.send(command, optionsOrCb);
755
- } else if (typeof cb === "function") {
756
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
757
- this.send(command, optionsOrCb || {}, cb);
758
- } else {
759
- return this.send(command, optionsOrCb);
760
- }
761
- }
762
-
763
- /**
764
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
765
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
766
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
767
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
768
- * <p>
769
- * <b>For information about the current version of AWS
770
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
771
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
772
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
773
- * Reference</a>.</p>
774
- * <p>Modifies an HSM.</p>
775
- * <important>
776
- * <p>This operation can result in the HSM being offline for up to 15 minutes while the AWS
777
- * CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure
778
- * that your AWS CloudHSM service is configured for high availability, and consider executing this
779
- * operation during a maintenance window.</p>
780
- * </important>
781
- */
782
- public modifyHsm(args: ModifyHsmCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHsmCommandOutput>;
783
- public modifyHsm(args: ModifyHsmCommandInput, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
784
- public modifyHsm(
785
- args: ModifyHsmCommandInput,
786
- options: __HttpHandlerOptions,
787
- cb: (err: any, data?: ModifyHsmCommandOutput) => void
788
- ): void;
789
- public modifyHsm(
790
- args: ModifyHsmCommandInput,
791
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyHsmCommandOutput) => void),
792
- cb?: (err: any, data?: ModifyHsmCommandOutput) => void
793
- ): Promise<ModifyHsmCommandOutput> | void {
794
- const command = new ModifyHsmCommand(args);
795
- if (typeof optionsOrCb === "function") {
796
- this.send(command, optionsOrCb);
797
- } else if (typeof cb === "function") {
798
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
799
- this.send(command, optionsOrCb || {}, cb);
800
- } else {
801
- return this.send(command, optionsOrCb);
802
- }
803
- }
804
-
805
- /**
806
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
807
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
808
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
809
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
810
- * <p>
811
- * <b>For information about the current version of AWS
812
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
813
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
814
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
815
- * Reference</a>.</p>
816
- * <p>Modifies the certificate used by the client.</p>
817
- * <p>This action can potentially start a workflow to install the new certificate on the
818
- * client's HSMs.</p>
819
- */
820
- public modifyLunaClient(
821
- args: ModifyLunaClientCommandInput,
822
- options?: __HttpHandlerOptions
823
- ): Promise<ModifyLunaClientCommandOutput>;
824
- public modifyLunaClient(
825
- args: ModifyLunaClientCommandInput,
826
- cb: (err: any, data?: ModifyLunaClientCommandOutput) => void
827
- ): void;
828
- public modifyLunaClient(
829
- args: ModifyLunaClientCommandInput,
830
- options: __HttpHandlerOptions,
831
- cb: (err: any, data?: ModifyLunaClientCommandOutput) => void
832
- ): void;
833
- public modifyLunaClient(
834
- args: ModifyLunaClientCommandInput,
835
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyLunaClientCommandOutput) => void),
836
- cb?: (err: any, data?: ModifyLunaClientCommandOutput) => void
837
- ): Promise<ModifyLunaClientCommandOutput> | void {
838
- const command = new ModifyLunaClientCommand(args);
839
- if (typeof optionsOrCb === "function") {
840
- this.send(command, optionsOrCb);
841
- } else if (typeof cb === "function") {
842
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
843
- this.send(command, optionsOrCb || {}, cb);
844
- } else {
845
- return this.send(command, optionsOrCb);
846
- }
847
- }
848
-
849
- /**
850
- * <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
851
- * more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
852
- * Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
853
- * CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
854
- * <p>
855
- * <b>For information about the current version of AWS
856
- * CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
857
- * <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
858
- * and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
859
- * Reference</a>.</p>
860
- * <p>Removes one or more tags from the specified AWS CloudHSM resource.</p>
861
- * <p>To remove a tag, specify only the tag key to remove (not the value). To overwrite the
862
- * value for an existing tag, use <a>AddTagsToResource</a>.</p>
863
- */
864
- public removeTagsFromResource(
865
- args: RemoveTagsFromResourceCommandInput,
866
- options?: __HttpHandlerOptions
867
- ): Promise<RemoveTagsFromResourceCommandOutput>;
868
- public removeTagsFromResource(
869
- args: RemoveTagsFromResourceCommandInput,
870
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
871
- ): void;
872
- public removeTagsFromResource(
873
- args: RemoveTagsFromResourceCommandInput,
874
- options: __HttpHandlerOptions,
875
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
876
- ): void;
877
- public removeTagsFromResource(
878
- args: RemoveTagsFromResourceCommandInput,
879
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsFromResourceCommandOutput) => void),
880
- cb?: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
881
- ): Promise<RemoveTagsFromResourceCommandOutput> | void {
882
- const command = new RemoveTagsFromResourceCommand(args);
883
- if (typeof optionsOrCb === "function") {
884
- this.send(command, optionsOrCb);
885
- } else if (typeof cb === "function") {
886
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
887
- this.send(command, optionsOrCb || {}, cb);
888
- } else {
889
- return this.send(command, optionsOrCb);
890
- }
891
- }
892
- }