@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,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { AddTagsToResourceRequest, AddTagsToResourceResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface AddTagsToResourceCommandInput extends AddTagsToResourceRequest {
6
6
  }
7
7
  export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { CreateHapgRequest, CreateHapgResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateHapgCommandInput extends CreateHapgRequest {
6
6
  }
7
7
  export interface CreateHapgCommandOutput extends CreateHapgResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { CreateHsmRequest, CreateHsmResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateHsmCommandInput extends CreateHsmRequest {
6
6
  }
7
7
  export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { CreateLunaClientRequest, CreateLunaClientResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateLunaClientCommandInput extends CreateLunaClientRequest {
6
6
  }
7
7
  export interface CreateLunaClientCommandOutput extends CreateLunaClientResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { DeleteHapgRequest, DeleteHapgResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteHapgCommandInput extends DeleteHapgRequest {
6
6
  }
7
7
  export interface DeleteHapgCommandOutput extends DeleteHapgResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { DeleteHsmRequest, DeleteHsmResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteHsmCommandInput extends DeleteHsmRequest {
6
6
  }
7
7
  export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { DeleteLunaClientRequest, DeleteLunaClientResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteLunaClientCommandInput extends DeleteLunaClientRequest {
6
6
  }
7
7
  export interface DeleteLunaClientCommandOutput extends DeleteLunaClientResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { DescribeHapgRequest, DescribeHapgResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeHapgCommandInput extends DescribeHapgRequest {
6
6
  }
7
7
  export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { DescribeHsmRequest, DescribeHsmResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeHsmCommandInput extends DescribeHsmRequest {
6
6
  }
7
7
  export interface DescribeHsmCommandOutput extends DescribeHsmResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeLunaClientCommandInput extends DescribeLunaClientRequest {
6
6
  }
7
7
  export interface DescribeLunaClientCommandOutput extends DescribeLunaClientResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { GetConfigRequest, GetConfigResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetConfigCommandInput extends GetConfigRequest {
6
6
  }
7
7
  export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListAvailableZonesCommandInput extends ListAvailableZonesRequest {
6
6
  }
7
7
  export interface ListAvailableZonesCommandOutput extends ListAvailableZonesResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListHapgsCommandInput extends ListHapgsRequest {
6
6
  }
7
7
  export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListHsmsCommandInput extends ListHsmsRequest {
6
6
  }
7
7
  export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListLunaClientsCommandInput extends ListLunaClientsRequest {
6
6
  }
7
7
  export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
6
  }
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ModifyHapgRequest, ModifyHapgResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ModifyHapgCommandInput extends ModifyHapgRequest {
6
6
  }
7
7
  export interface ModifyHapgCommandOutput extends ModifyHapgResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ModifyHsmRequest, ModifyHsmResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ModifyHsmCommandInput extends ModifyHsmRequest {
6
6
  }
7
7
  export interface ModifyHsmCommandOutput extends ModifyHsmResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { ModifyLunaClientRequest, ModifyLunaClientResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ModifyLunaClientCommandInput extends ModifyLunaClientRequest {
6
6
  }
7
7
  export interface ModifyLunaClientCommandOutput extends ModifyLunaClientResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
2
4
  import { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface RemoveTagsFromResourceCommandInput extends RemoveTagsFromResourceRequest {
6
6
  }
7
7
  export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResourceResponse, __MetadataBearer {
File without changes
File without changes
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "../commands/AddTagsToResourceCommand";
2
4
  import { CreateHapgCommandInput, CreateHapgCommandOutput } from "../commands/CreateHapgCommand";
3
5
  import { CreateHsmCommandInput, CreateHsmCommandOutput } from "../commands/CreateHsmCommand";
@@ -18,8 +20,6 @@ import { ModifyHapgCommandInput, ModifyHapgCommandOutput } from "../commands/Mod
18
20
  import { ModifyHsmCommandInput, ModifyHsmCommandOutput } from "../commands/ModifyHsmCommand";
19
21
  import { ModifyLunaClientCommandInput, ModifyLunaClientCommandOutput } from "../commands/ModifyLunaClientCommand";
20
22
  import { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput } from "../commands/RemoveTagsFromResourceCommand";
21
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
22
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
23
23
  export declare const serializeAws_json1_1AddTagsToResourceCommand: (input: AddTagsToResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
24
  export declare const serializeAws_json1_1CreateHapgCommand: (input: CreateHapgCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
25
  export declare const serializeAws_json1_1CreateHsmCommand: (input: CreateHsmCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1,36 +1,37 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
- import { CloudHSMClientConfig } from "./CloudHSMClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
7
- runtime: string;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
- bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
- region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
- retryMode: string | import("@aws-sdk/types").Provider<string>;
17
- sha256: import("@aws-sdk/types").HashConstructor;
18
- streamCollector: import("@aws-sdk/types").StreamCollector;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
21
- apiVersion: string;
22
- urlParser: import("@aws-sdk/types").UrlParser;
23
- disableHostPrefix: boolean;
24
- logger: import("@aws-sdk/types").Logger;
25
- serviceId: string;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
- tls?: boolean | undefined;
29
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
- signingEscapePath?: boolean | undefined;
33
- systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
35
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
- };
1
+ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { CloudHSMClientConfig } from "./CloudHSMClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<any>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -1,35 +1,36 @@
1
- import { CloudHSMClientConfig } from "./CloudHSMClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
6
- runtime: string;
7
- sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
- urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
17
- disableHostPrefix: boolean;
18
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
- retryMode: string | import("@aws-sdk/types").Provider<string>;
20
- logger: import("@aws-sdk/types").Logger;
21
- serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
- tls?: boolean | undefined;
28
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
- signingEscapePath?: boolean | undefined;
32
- systemClockOffset?: number | undefined;
33
- signingRegion?: string | undefined;
34
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
35
- };
1
+ import { CloudHSMClientConfig } from "./CloudHSMClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: (body: any) => number | undefined;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
+ tls?: boolean | undefined;
28
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
+ signingEscapePath?: boolean | undefined;
32
+ systemClockOffset?: number | undefined;
33
+ signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
+ };
package/package.json CHANGED
@@ -1,64 +1,58 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
4
- "version": "3.32.0",
4
+ "version": "3.36.0",
5
5
  "scripts": {
6
- "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
- "build-documentation": "yarn remove-documentation && typedoc ./",
8
- "remove-definitions": "rimraf ./types",
9
- "remove-dist": "rimraf ./dist",
10
- "remove-documentation": "rimraf ./docs",
11
- "test": "exit 0",
6
+ "build": "yarn build:cjs && yarn build:es && yarn build:types",
12
7
  "build:cjs": "tsc -p tsconfig.json",
8
+ "build:docs": "yarn clean:docs && typedoc ./",
13
9
  "build:es": "tsc -p tsconfig.es.json",
14
- "build": "yarn build:cjs && yarn build:es",
15
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
16
- },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "clean": "yarn clean:dist && yarn clean:docs",
12
+ "clean:dist": "rimraf ./dist",
13
+ "clean:docs": "rimraf ./docs",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
+ "test": "exit 0"
25
16
  },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.32.0",
31
- "@aws-sdk/config-resolver": "3.32.0",
32
- "@aws-sdk/credential-provider-node": "3.32.0",
33
- "@aws-sdk/fetch-http-handler": "3.32.0",
34
- "@aws-sdk/hash-node": "3.32.0",
35
- "@aws-sdk/invalid-dependency": "3.32.0",
36
- "@aws-sdk/middleware-content-length": "3.32.0",
37
- "@aws-sdk/middleware-host-header": "3.32.0",
38
- "@aws-sdk/middleware-logger": "3.32.0",
39
- "@aws-sdk/middleware-retry": "3.32.0",
40
- "@aws-sdk/middleware-serde": "3.32.0",
41
- "@aws-sdk/middleware-signing": "3.32.0",
42
- "@aws-sdk/middleware-stack": "3.32.0",
43
- "@aws-sdk/middleware-user-agent": "3.32.0",
44
- "@aws-sdk/node-config-provider": "3.32.0",
45
- "@aws-sdk/node-http-handler": "3.32.0",
46
- "@aws-sdk/protocol-http": "3.32.0",
47
- "@aws-sdk/smithy-client": "3.32.0",
48
- "@aws-sdk/types": "3.32.0",
49
- "@aws-sdk/url-parser": "3.32.0",
50
- "@aws-sdk/util-base64-browser": "3.32.0",
51
- "@aws-sdk/util-base64-node": "3.32.0",
52
- "@aws-sdk/util-body-length-browser": "3.32.0",
53
- "@aws-sdk/util-body-length-node": "3.32.0",
54
- "@aws-sdk/util-user-agent-browser": "3.32.0",
55
- "@aws-sdk/util-user-agent-node": "3.32.0",
56
- "@aws-sdk/util-utf8-browser": "3.32.0",
57
- "@aws-sdk/util-utf8-node": "3.32.0",
24
+ "@aws-sdk/client-sts": "3.36.0",
25
+ "@aws-sdk/config-resolver": "3.36.0",
26
+ "@aws-sdk/credential-provider-node": "3.36.0",
27
+ "@aws-sdk/fetch-http-handler": "3.36.0",
28
+ "@aws-sdk/hash-node": "3.36.0",
29
+ "@aws-sdk/invalid-dependency": "3.36.0",
30
+ "@aws-sdk/middleware-content-length": "3.36.0",
31
+ "@aws-sdk/middleware-host-header": "3.36.0",
32
+ "@aws-sdk/middleware-logger": "3.36.0",
33
+ "@aws-sdk/middleware-retry": "3.36.0",
34
+ "@aws-sdk/middleware-serde": "3.36.0",
35
+ "@aws-sdk/middleware-signing": "3.36.0",
36
+ "@aws-sdk/middleware-stack": "3.36.0",
37
+ "@aws-sdk/middleware-user-agent": "3.36.0",
38
+ "@aws-sdk/node-config-provider": "3.36.0",
39
+ "@aws-sdk/node-http-handler": "3.36.0",
40
+ "@aws-sdk/protocol-http": "3.36.0",
41
+ "@aws-sdk/smithy-client": "3.36.0",
42
+ "@aws-sdk/types": "3.36.0",
43
+ "@aws-sdk/url-parser": "3.36.0",
44
+ "@aws-sdk/util-base64-browser": "3.36.0",
45
+ "@aws-sdk/util-base64-node": "3.36.0",
46
+ "@aws-sdk/util-body-length-browser": "3.36.0",
47
+ "@aws-sdk/util-body-length-node": "3.36.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.36.0",
49
+ "@aws-sdk/util-user-agent-node": "3.36.0",
50
+ "@aws-sdk/util-utf8-browser": "3.36.0",
51
+ "@aws-sdk/util-utf8-node": "3.36.0",
58
52
  "tslib": "^2.3.0"
59
53
  },
60
54
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.32.0",
55
+ "@aws-sdk/client-documentation-generator": "3.36.0",
62
56
  "@types/node": "^12.7.5",
63
57
  "downlevel-dts": "0.7.0",
64
58
  "jest": "^26.1.0",
@@ -72,16 +66,25 @@
72
66
  },
73
67
  "typesVersions": {
74
68
  "<4.0": {
75
- "dist/types/*": [
76
- "dist/types/ts3.4/*"
69
+ "dist-types/*": [
70
+ "dist-types/ts3.4/*"
77
71
  ]
78
72
  }
79
73
  },
74
+ "files": [
75
+ "dist-*"
76
+ ],
80
77
  "author": {
81
78
  "name": "AWS SDK for JavaScript Team",
82
79
  "url": "https://aws.amazon.com/javascript/"
83
80
  },
84
81
  "license": "Apache-2.0",
82
+ "browser": {
83
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
84
+ },
85
+ "react-native": {
86
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
87
+ },
85
88
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudhsm",
86
89
  "repository": {
87
90
  "type": "git",