@aws-sdk/client-cloudhsm 3.35.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 (161) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/CloudHSM.js +0 -1
  3. package/dist-cjs/CloudHSMClient.js +0 -1
  4. package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -1
  5. package/dist-cjs/commands/CreateHapgCommand.js +0 -1
  6. package/dist-cjs/commands/CreateHsmCommand.js +0 -1
  7. package/dist-cjs/commands/CreateLunaClientCommand.js +0 -1
  8. package/dist-cjs/commands/DeleteHapgCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteHsmCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteLunaClientCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeHapgCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeHsmCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeLunaClientCommand.js +0 -1
  14. package/dist-cjs/commands/GetConfigCommand.js +0 -1
  15. package/dist-cjs/commands/ListAvailableZonesCommand.js +0 -1
  16. package/dist-cjs/commands/ListHapgsCommand.js +0 -1
  17. package/dist-cjs/commands/ListHsmsCommand.js +0 -1
  18. package/dist-cjs/commands/ListLunaClientsCommand.js +0 -1
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  20. package/dist-cjs/commands/ModifyHapgCommand.js +0 -1
  21. package/dist-cjs/commands/ModifyHsmCommand.js +0 -1
  22. package/dist-cjs/commands/ModifyLunaClientCommand.js +0 -1
  23. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -1
  24. package/dist-cjs/endpoints.js +0 -1
  25. package/dist-cjs/index.js +0 -1
  26. package/dist-cjs/models/index.js +0 -1
  27. package/dist-cjs/models/models_0.js +0 -1
  28. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  29. package/dist-cjs/runtimeConfig.browser.js +2 -3
  30. package/dist-cjs/runtimeConfig.js +3 -4
  31. package/dist-cjs/runtimeConfig.native.js +0 -1
  32. package/dist-cjs/runtimeConfig.shared.js +0 -1
  33. package/dist-es/CloudHSM.js +0 -1
  34. package/dist-es/CloudHSMClient.js +0 -1
  35. package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
  36. package/dist-es/commands/CreateHapgCommand.js +0 -1
  37. package/dist-es/commands/CreateHsmCommand.js +0 -1
  38. package/dist-es/commands/CreateLunaClientCommand.js +0 -1
  39. package/dist-es/commands/DeleteHapgCommand.js +0 -1
  40. package/dist-es/commands/DeleteHsmCommand.js +0 -1
  41. package/dist-es/commands/DeleteLunaClientCommand.js +0 -1
  42. package/dist-es/commands/DescribeHapgCommand.js +0 -1
  43. package/dist-es/commands/DescribeHsmCommand.js +0 -1
  44. package/dist-es/commands/DescribeLunaClientCommand.js +0 -1
  45. package/dist-es/commands/GetConfigCommand.js +0 -1
  46. package/dist-es/commands/ListAvailableZonesCommand.js +0 -1
  47. package/dist-es/commands/ListHapgsCommand.js +0 -1
  48. package/dist-es/commands/ListHsmsCommand.js +0 -1
  49. package/dist-es/commands/ListLunaClientsCommand.js +0 -1
  50. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  51. package/dist-es/commands/ModifyHapgCommand.js +0 -1
  52. package/dist-es/commands/ModifyHsmCommand.js +0 -1
  53. package/dist-es/commands/ModifyLunaClientCommand.js +0 -1
  54. package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
  55. package/dist-es/endpoints.js +0 -1
  56. package/dist-es/index.js +0 -1
  57. package/dist-es/models/index.js +0 -1
  58. package/dist-es/models/models_0.js +0 -1
  59. package/dist-es/protocols/Aws_json1_1.js +0 -1
  60. package/dist-es/runtimeConfig.browser.js +1 -2
  61. package/dist-es/runtimeConfig.js +2 -3
  62. package/dist-es/runtimeConfig.native.js +0 -1
  63. package/dist-es/runtimeConfig.shared.js +0 -1
  64. package/package.json +33 -30
  65. package/dist-cjs/CloudHSM.js.map +0 -1
  66. package/dist-cjs/CloudHSMClient.js.map +0 -1
  67. package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
  68. package/dist-cjs/commands/CreateHapgCommand.js.map +0 -1
  69. package/dist-cjs/commands/CreateHsmCommand.js.map +0 -1
  70. package/dist-cjs/commands/CreateLunaClientCommand.js.map +0 -1
  71. package/dist-cjs/commands/DeleteHapgCommand.js.map +0 -1
  72. package/dist-cjs/commands/DeleteHsmCommand.js.map +0 -1
  73. package/dist-cjs/commands/DeleteLunaClientCommand.js.map +0 -1
  74. package/dist-cjs/commands/DescribeHapgCommand.js.map +0 -1
  75. package/dist-cjs/commands/DescribeHsmCommand.js.map +0 -1
  76. package/dist-cjs/commands/DescribeLunaClientCommand.js.map +0 -1
  77. package/dist-cjs/commands/GetConfigCommand.js.map +0 -1
  78. package/dist-cjs/commands/ListAvailableZonesCommand.js.map +0 -1
  79. package/dist-cjs/commands/ListHapgsCommand.js.map +0 -1
  80. package/dist-cjs/commands/ListHsmsCommand.js.map +0 -1
  81. package/dist-cjs/commands/ListLunaClientsCommand.js.map +0 -1
  82. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  83. package/dist-cjs/commands/ModifyHapgCommand.js.map +0 -1
  84. package/dist-cjs/commands/ModifyHsmCommand.js.map +0 -1
  85. package/dist-cjs/commands/ModifyLunaClientCommand.js.map +0 -1
  86. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  87. package/dist-cjs/endpoints.js.map +0 -1
  88. package/dist-cjs/index.js.map +0 -1
  89. package/dist-cjs/models/index.js.map +0 -1
  90. package/dist-cjs/models/models_0.js.map +0 -1
  91. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  92. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  93. package/dist-cjs/runtimeConfig.js.map +0 -1
  94. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  95. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  96. package/dist-es/CloudHSM.js.map +0 -1
  97. package/dist-es/CloudHSMClient.js.map +0 -1
  98. package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
  99. package/dist-es/commands/CreateHapgCommand.js.map +0 -1
  100. package/dist-es/commands/CreateHsmCommand.js.map +0 -1
  101. package/dist-es/commands/CreateLunaClientCommand.js.map +0 -1
  102. package/dist-es/commands/DeleteHapgCommand.js.map +0 -1
  103. package/dist-es/commands/DeleteHsmCommand.js.map +0 -1
  104. package/dist-es/commands/DeleteLunaClientCommand.js.map +0 -1
  105. package/dist-es/commands/DescribeHapgCommand.js.map +0 -1
  106. package/dist-es/commands/DescribeHsmCommand.js.map +0 -1
  107. package/dist-es/commands/DescribeLunaClientCommand.js.map +0 -1
  108. package/dist-es/commands/GetConfigCommand.js.map +0 -1
  109. package/dist-es/commands/ListAvailableZonesCommand.js.map +0 -1
  110. package/dist-es/commands/ListHapgsCommand.js.map +0 -1
  111. package/dist-es/commands/ListHsmsCommand.js.map +0 -1
  112. package/dist-es/commands/ListLunaClientsCommand.js.map +0 -1
  113. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  114. package/dist-es/commands/ModifyHapgCommand.js.map +0 -1
  115. package/dist-es/commands/ModifyHsmCommand.js.map +0 -1
  116. package/dist-es/commands/ModifyLunaClientCommand.js.map +0 -1
  117. package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  118. package/dist-es/endpoints.js.map +0 -1
  119. package/dist-es/index.js.map +0 -1
  120. package/dist-es/models/index.js.map +0 -1
  121. package/dist-es/models/models_0.js.map +0 -1
  122. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  123. package/dist-es/runtimeConfig.browser.js.map +0 -1
  124. package/dist-es/runtimeConfig.js.map +0 -1
  125. package/dist-es/runtimeConfig.native.js.map +0 -1
  126. package/dist-es/runtimeConfig.shared.js.map +0 -1
  127. package/jest.config.js +0 -4
  128. package/src/CloudHSM.ts +0 -893
  129. package/src/CloudHSMClient.ts +0 -312
  130. package/src/commands/AddTagsToResourceCommand.ts +0 -107
  131. package/src/commands/CreateHapgCommand.ts +0 -106
  132. package/src/commands/CreateHsmCommand.ts +0 -111
  133. package/src/commands/CreateLunaClientCommand.ts +0 -105
  134. package/src/commands/DeleteHapgCommand.ts +0 -105
  135. package/src/commands/DeleteHsmCommand.ts +0 -103
  136. package/src/commands/DeleteLunaClientCommand.ts +0 -105
  137. package/src/commands/DescribeHapgCommand.ts +0 -105
  138. package/src/commands/DescribeHsmCommand.ts +0 -106
  139. package/src/commands/DescribeLunaClientCommand.ts +0 -105
  140. package/src/commands/GetConfigCommand.ts +0 -103
  141. package/src/commands/ListAvailableZonesCommand.ts +0 -105
  142. package/src/commands/ListHapgsCommand.ts +0 -106
  143. package/src/commands/ListHsmsCommand.ts +0 -107
  144. package/src/commands/ListLunaClientsCommand.ts +0 -109
  145. package/src/commands/ListTagsForResourceCommand.ts +0 -105
  146. package/src/commands/ModifyHapgCommand.ts +0 -105
  147. package/src/commands/ModifyHsmCommand.ts +0 -108
  148. package/src/commands/ModifyLunaClientCommand.ts +0 -107
  149. package/src/commands/RemoveTagsFromResourceCommand.ts +0 -107
  150. package/src/endpoints.ts +0 -57
  151. package/src/index.ts +0 -23
  152. package/src/models/index.ts +0 -1
  153. package/src/models/models_0.ts +0 -1161
  154. package/src/protocols/Aws_json1_1.ts +0 -2400
  155. package/src/runtimeConfig.browser.ts +0 -41
  156. package/src/runtimeConfig.native.ts +0 -17
  157. package/src/runtimeConfig.shared.ts +0 -17
  158. package/src/runtimeConfig.ts +0 -46
  159. package/tsconfig.es.json +0 -10
  160. package/tsconfig.json +0 -33
  161. package/tsconfig.types.json +0 -9
@@ -1,1161 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>A key-value pair that identifies or specifies metadata about an AWS CloudHSM
5
- * resource.</p>
6
- */
7
- export interface Tag {
8
- /**
9
- * <p>The key of the tag.</p>
10
- */
11
- Key: string | undefined;
12
-
13
- /**
14
- * <p>The value of the tag.</p>
15
- */
16
- Value: string | undefined;
17
- }
18
-
19
- export namespace Tag {
20
- /**
21
- * @internal
22
- */
23
- export const filterSensitiveLog = (obj: Tag): any => ({
24
- ...obj,
25
- });
26
- }
27
-
28
- export interface AddTagsToResourceRequest {
29
- /**
30
- * <p>The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.</p>
31
- */
32
- ResourceArn: string | undefined;
33
-
34
- /**
35
- * <p>One or more tags.</p>
36
- */
37
- TagList: Tag[] | undefined;
38
- }
39
-
40
- export namespace AddTagsToResourceRequest {
41
- /**
42
- * @internal
43
- */
44
- export const filterSensitiveLog = (obj: AddTagsToResourceRequest): any => ({
45
- ...obj,
46
- });
47
- }
48
-
49
- export interface AddTagsToResourceResponse {
50
- /**
51
- * <p>The status of the operation.</p>
52
- */
53
- Status: string | undefined;
54
- }
55
-
56
- export namespace AddTagsToResourceResponse {
57
- /**
58
- * @internal
59
- */
60
- export const filterSensitiveLog = (obj: AddTagsToResourceResponse): any => ({
61
- ...obj,
62
- });
63
- }
64
-
65
- /**
66
- * <p>Indicates that an internal error occurred.</p>
67
- */
68
- export interface CloudHsmInternalException extends __SmithyException, $MetadataBearer {
69
- name: "CloudHsmInternalException";
70
- $fault: "server";
71
- /**
72
- * <p>Additional information about the error.</p>
73
- */
74
- message?: string;
75
-
76
- /**
77
- * <p>Indicates if the action can be retried.</p>
78
- */
79
- retryable?: boolean;
80
- }
81
-
82
- export namespace CloudHsmInternalException {
83
- /**
84
- * @internal
85
- */
86
- export const filterSensitiveLog = (obj: CloudHsmInternalException): any => ({
87
- ...obj,
88
- });
89
- }
90
-
91
- /**
92
- * <p>Indicates that an exception occurred in the AWS CloudHSM service.</p>
93
- */
94
- export interface CloudHsmServiceException extends __SmithyException, $MetadataBearer {
95
- name: "CloudHsmServiceException";
96
- $fault: "client";
97
- /**
98
- * <p>Additional information about the error.</p>
99
- */
100
- message?: string;
101
-
102
- /**
103
- * <p>Indicates if the action can be retried.</p>
104
- */
105
- retryable?: boolean;
106
- }
107
-
108
- export namespace CloudHsmServiceException {
109
- /**
110
- * @internal
111
- */
112
- export const filterSensitiveLog = (obj: CloudHsmServiceException): any => ({
113
- ...obj,
114
- });
115
- }
116
-
117
- /**
118
- * <p>Indicates that one or more of the request parameters are not valid.</p>
119
- */
120
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
121
- name: "InvalidRequestException";
122
- $fault: "client";
123
- /**
124
- * <p>Additional information about the error.</p>
125
- */
126
- message?: string;
127
-
128
- /**
129
- * <p>Indicates if the action can be retried.</p>
130
- */
131
- retryable?: boolean;
132
- }
133
-
134
- export namespace InvalidRequestException {
135
- /**
136
- * @internal
137
- */
138
- export const filterSensitiveLog = (obj: InvalidRequestException): any => ({
139
- ...obj,
140
- });
141
- }
142
-
143
- export enum ClientVersion {
144
- FIVE_ONE = "5.1",
145
- FIVE_THREE = "5.3",
146
- }
147
-
148
- /**
149
- * <p>Contains the inputs for the <a>CreateHapgRequest</a> action.</p>
150
- */
151
- export interface CreateHapgRequest {
152
- /**
153
- * <p>The label of the new high-availability partition group.</p>
154
- */
155
- Label: string | undefined;
156
- }
157
-
158
- export namespace CreateHapgRequest {
159
- /**
160
- * @internal
161
- */
162
- export const filterSensitiveLog = (obj: CreateHapgRequest): any => ({
163
- ...obj,
164
- });
165
- }
166
-
167
- /**
168
- * <p>Contains the output of the <a>CreateHAPartitionGroup</a> action.</p>
169
- */
170
- export interface CreateHapgResponse {
171
- /**
172
- * <p>The ARN of the high-availability partition group.</p>
173
- */
174
- HapgArn?: string;
175
- }
176
-
177
- export namespace CreateHapgResponse {
178
- /**
179
- * @internal
180
- */
181
- export const filterSensitiveLog = (obj: CreateHapgResponse): any => ({
182
- ...obj,
183
- });
184
- }
185
-
186
- export enum SubscriptionType {
187
- PRODUCTION = "PRODUCTION",
188
- }
189
-
190
- /**
191
- * <p>Contains the inputs for the <code>CreateHsm</code> operation.</p>
192
- */
193
- export interface CreateHsmRequest {
194
- /**
195
- * <p>The identifier of the subnet in your VPC in which to place the HSM.</p>
196
- */
197
- SubnetId: string | undefined;
198
-
199
- /**
200
- * <p>The SSH public key to install on the HSM.</p>
201
- */
202
- SshKey: string | undefined;
203
-
204
- /**
205
- * <p>The IP address to assign to the HSM's ENI.</p>
206
- * <p>If an IP address is not specified, an IP address will be randomly chosen from the CIDR
207
- * range of the subnet.</p>
208
- */
209
- EniIp?: string;
210
-
211
- /**
212
- * <p>The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your
213
- * behalf.</p>
214
- */
215
- IamRoleArn: string | undefined;
216
-
217
- /**
218
- * <p>The external ID from <code>IamRoleArn</code>, if present.</p>
219
- */
220
- ExternalId?: string;
221
-
222
- /**
223
- * <p>Specifies the type of subscription for the HSM.</p>
224
- * <ul>
225
- * <li>
226
- * <p>
227
- * <b>PRODUCTION</b> - The HSM is being used in a production
228
- * environment.</p>
229
- * </li>
230
- * <li>
231
- * <p>
232
- * <b>TRIAL</b> - The HSM is being used in a product
233
- * trial.</p>
234
- * </li>
235
- * </ul>
236
- */
237
- SubscriptionType: SubscriptionType | string | undefined;
238
-
239
- /**
240
- * <p>A user-defined token to ensure idempotence. Subsequent calls to this operation with the
241
- * same token will be ignored.</p>
242
- */
243
- ClientToken?: string;
244
-
245
- /**
246
- * <p>The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one
247
- * syslog monitoring server.</p>
248
- */
249
- SyslogIp?: string;
250
- }
251
-
252
- export namespace CreateHsmRequest {
253
- /**
254
- * @internal
255
- */
256
- export const filterSensitiveLog = (obj: CreateHsmRequest): any => ({
257
- ...obj,
258
- });
259
- }
260
-
261
- /**
262
- * <p>Contains the output of the <code>CreateHsm</code> operation.</p>
263
- */
264
- export interface CreateHsmResponse {
265
- /**
266
- * <p>The ARN of the HSM.</p>
267
- */
268
- HsmArn?: string;
269
- }
270
-
271
- export namespace CreateHsmResponse {
272
- /**
273
- * @internal
274
- */
275
- export const filterSensitiveLog = (obj: CreateHsmResponse): any => ({
276
- ...obj,
277
- });
278
- }
279
-
280
- /**
281
- * <p>Contains the inputs for the <a>CreateLunaClient</a> action.</p>
282
- */
283
- export interface CreateLunaClientRequest {
284
- /**
285
- * <p>The label for the client.</p>
286
- */
287
- Label?: string;
288
-
289
- /**
290
- * <p>The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used
291
- * by this client.</p>
292
- */
293
- Certificate: string | undefined;
294
- }
295
-
296
- export namespace CreateLunaClientRequest {
297
- /**
298
- * @internal
299
- */
300
- export const filterSensitiveLog = (obj: CreateLunaClientRequest): any => ({
301
- ...obj,
302
- });
303
- }
304
-
305
- /**
306
- * <p>Contains the output of the <a>CreateLunaClient</a> action.</p>
307
- */
308
- export interface CreateLunaClientResponse {
309
- /**
310
- * <p>The ARN of the client.</p>
311
- */
312
- ClientArn?: string;
313
- }
314
-
315
- export namespace CreateLunaClientResponse {
316
- /**
317
- * @internal
318
- */
319
- export const filterSensitiveLog = (obj: CreateLunaClientResponse): any => ({
320
- ...obj,
321
- });
322
- }
323
-
324
- /**
325
- * <p>Contains the inputs for the <a>DeleteHapg</a> action.</p>
326
- */
327
- export interface DeleteHapgRequest {
328
- /**
329
- * <p>The ARN of the high-availability partition group to delete.</p>
330
- */
331
- HapgArn: string | undefined;
332
- }
333
-
334
- export namespace DeleteHapgRequest {
335
- /**
336
- * @internal
337
- */
338
- export const filterSensitiveLog = (obj: DeleteHapgRequest): any => ({
339
- ...obj,
340
- });
341
- }
342
-
343
- /**
344
- * <p>Contains the output of the <a>DeleteHapg</a> action.</p>
345
- */
346
- export interface DeleteHapgResponse {
347
- /**
348
- * <p>The status of the action.</p>
349
- */
350
- Status: string | undefined;
351
- }
352
-
353
- export namespace DeleteHapgResponse {
354
- /**
355
- * @internal
356
- */
357
- export const filterSensitiveLog = (obj: DeleteHapgResponse): any => ({
358
- ...obj,
359
- });
360
- }
361
-
362
- /**
363
- * <p>Contains the inputs for the <a>DeleteHsm</a> operation.</p>
364
- */
365
- export interface DeleteHsmRequest {
366
- /**
367
- * <p>The ARN of the HSM to delete.</p>
368
- */
369
- HsmArn: string | undefined;
370
- }
371
-
372
- export namespace DeleteHsmRequest {
373
- /**
374
- * @internal
375
- */
376
- export const filterSensitiveLog = (obj: DeleteHsmRequest): any => ({
377
- ...obj,
378
- });
379
- }
380
-
381
- /**
382
- * <p>Contains the output of the <a>DeleteHsm</a> operation.</p>
383
- */
384
- export interface DeleteHsmResponse {
385
- /**
386
- * <p>The status of the operation.</p>
387
- */
388
- Status: string | undefined;
389
- }
390
-
391
- export namespace DeleteHsmResponse {
392
- /**
393
- * @internal
394
- */
395
- export const filterSensitiveLog = (obj: DeleteHsmResponse): any => ({
396
- ...obj,
397
- });
398
- }
399
-
400
- export interface DeleteLunaClientRequest {
401
- /**
402
- * <p>The ARN of the client to delete.</p>
403
- */
404
- ClientArn: string | undefined;
405
- }
406
-
407
- export namespace DeleteLunaClientRequest {
408
- /**
409
- * @internal
410
- */
411
- export const filterSensitiveLog = (obj: DeleteLunaClientRequest): any => ({
412
- ...obj,
413
- });
414
- }
415
-
416
- export interface DeleteLunaClientResponse {
417
- /**
418
- * <p>The status of the action.</p>
419
- */
420
- Status: string | undefined;
421
- }
422
-
423
- export namespace DeleteLunaClientResponse {
424
- /**
425
- * @internal
426
- */
427
- export const filterSensitiveLog = (obj: DeleteLunaClientResponse): any => ({
428
- ...obj,
429
- });
430
- }
431
-
432
- /**
433
- * <p>Contains the inputs for the <a>DescribeHapg</a> action.</p>
434
- */
435
- export interface DescribeHapgRequest {
436
- /**
437
- * <p>The ARN of the high-availability partition group to describe.</p>
438
- */
439
- HapgArn: string | undefined;
440
- }
441
-
442
- export namespace DescribeHapgRequest {
443
- /**
444
- * @internal
445
- */
446
- export const filterSensitiveLog = (obj: DescribeHapgRequest): any => ({
447
- ...obj,
448
- });
449
- }
450
-
451
- export enum CloudHsmObjectState {
452
- DEGRADED = "DEGRADED",
453
- READY = "READY",
454
- UPDATING = "UPDATING",
455
- }
456
-
457
- /**
458
- * <p>Contains the output of the <a>DescribeHapg</a> action.</p>
459
- */
460
- export interface DescribeHapgResponse {
461
- /**
462
- * <p>The ARN of the high-availability partition group.</p>
463
- */
464
- HapgArn?: string;
465
-
466
- /**
467
- * <p>The serial number of the high-availability partition group.</p>
468
- */
469
- HapgSerial?: string;
470
-
471
- /**
472
- * <p></p>
473
- */
474
- HsmsLastActionFailed?: string[];
475
-
476
- /**
477
- * <p></p>
478
- */
479
- HsmsPendingDeletion?: string[];
480
-
481
- /**
482
- * <p></p>
483
- */
484
- HsmsPendingRegistration?: string[];
485
-
486
- /**
487
- * <p>The label for the high-availability partition group.</p>
488
- */
489
- Label?: string;
490
-
491
- /**
492
- * <p>The date and time the high-availability partition group was last modified.</p>
493
- */
494
- LastModifiedTimestamp?: string;
495
-
496
- /**
497
- * <p>The list of partition serial numbers that belong to the high-availability partition
498
- * group.</p>
499
- */
500
- PartitionSerialList?: string[];
501
-
502
- /**
503
- * <p>The state of the high-availability partition group.</p>
504
- */
505
- State?: CloudHsmObjectState | string;
506
- }
507
-
508
- export namespace DescribeHapgResponse {
509
- /**
510
- * @internal
511
- */
512
- export const filterSensitiveLog = (obj: DescribeHapgResponse): any => ({
513
- ...obj,
514
- });
515
- }
516
-
517
- /**
518
- * <p>Contains the inputs for the <a>DescribeHsm</a> operation.</p>
519
- */
520
- export interface DescribeHsmRequest {
521
- /**
522
- * <p>The ARN of the HSM. Either the <code>HsmArn</code> or the <code>SerialNumber</code>
523
- * parameter must be specified.</p>
524
- */
525
- HsmArn?: string;
526
-
527
- /**
528
- * <p>The serial number of the HSM. Either the <code>HsmArn</code> or the
529
- * <code>HsmSerialNumber</code> parameter must be specified.</p>
530
- */
531
- HsmSerialNumber?: string;
532
- }
533
-
534
- export namespace DescribeHsmRequest {
535
- /**
536
- * @internal
537
- */
538
- export const filterSensitiveLog = (obj: DescribeHsmRequest): any => ({
539
- ...obj,
540
- });
541
- }
542
-
543
- export enum HsmStatus {
544
- DEGRADED = "DEGRADED",
545
- PENDING = "PENDING",
546
- RUNNING = "RUNNING",
547
- SUSPENDED = "SUSPENDED",
548
- TERMINATED = "TERMINATED",
549
- TERMINATING = "TERMINATING",
550
- UPDATING = "UPDATING",
551
- }
552
-
553
- /**
554
- * <p>Contains the output of the <a>DescribeHsm</a> operation.</p>
555
- */
556
- export interface DescribeHsmResponse {
557
- /**
558
- * <p>The ARN of the HSM.</p>
559
- */
560
- HsmArn?: string;
561
-
562
- /**
563
- * <p>The status of the HSM.</p>
564
- */
565
- Status?: HsmStatus | string;
566
-
567
- /**
568
- * <p>Contains additional information about the status of the HSM.</p>
569
- */
570
- StatusDetails?: string;
571
-
572
- /**
573
- * <p>The Availability Zone that the HSM is in.</p>
574
- */
575
- AvailabilityZone?: string;
576
-
577
- /**
578
- * <p>The identifier of the elastic network interface (ENI) attached to the HSM.</p>
579
- */
580
- EniId?: string;
581
-
582
- /**
583
- * <p>The IP address assigned to the HSM's ENI.</p>
584
- */
585
- EniIp?: string;
586
-
587
- /**
588
- * <p>Specifies the type of subscription for the HSM.</p>
589
- * <ul>
590
- * <li>
591
- * <p>
592
- * <b>PRODUCTION</b> - The HSM is being used in a production
593
- * environment.</p>
594
- * </li>
595
- * <li>
596
- * <p>
597
- * <b>TRIAL</b> - The HSM is being used in a product
598
- * trial.</p>
599
- * </li>
600
- * </ul>
601
- */
602
- SubscriptionType?: SubscriptionType | string;
603
-
604
- /**
605
- * <p>The subscription start date.</p>
606
- */
607
- SubscriptionStartDate?: string;
608
-
609
- /**
610
- * <p>The subscription end date.</p>
611
- */
612
- SubscriptionEndDate?: string;
613
-
614
- /**
615
- * <p>The identifier of the VPC that the HSM is in.</p>
616
- */
617
- VpcId?: string;
618
-
619
- /**
620
- * <p>The identifier of the subnet that the HSM is in.</p>
621
- */
622
- SubnetId?: string;
623
-
624
- /**
625
- * <p>The ARN of the IAM role assigned to the HSM.</p>
626
- */
627
- IamRoleArn?: string;
628
-
629
- /**
630
- * <p>The serial number of the HSM.</p>
631
- */
632
- SerialNumber?: string;
633
-
634
- /**
635
- * <p>The name of the HSM vendor.</p>
636
- */
637
- VendorName?: string;
638
-
639
- /**
640
- * <p>The HSM model type.</p>
641
- */
642
- HsmType?: string;
643
-
644
- /**
645
- * <p>The HSM software version.</p>
646
- */
647
- SoftwareVersion?: string;
648
-
649
- /**
650
- * <p>The public SSH key.</p>
651
- */
652
- SshPublicKey?: string;
653
-
654
- /**
655
- * <p>The date and time that the SSH key was last updated.</p>
656
- */
657
- SshKeyLastUpdated?: string;
658
-
659
- /**
660
- * <p>The URI of the certificate server.</p>
661
- */
662
- ServerCertUri?: string;
663
-
664
- /**
665
- * <p>The date and time that the server certificate was last updated.</p>
666
- */
667
- ServerCertLastUpdated?: string;
668
-
669
- /**
670
- * <p>The list of partitions on the HSM.</p>
671
- */
672
- Partitions?: string[];
673
- }
674
-
675
- export namespace DescribeHsmResponse {
676
- /**
677
- * @internal
678
- */
679
- export const filterSensitiveLog = (obj: DescribeHsmResponse): any => ({
680
- ...obj,
681
- });
682
- }
683
-
684
- export interface DescribeLunaClientRequest {
685
- /**
686
- * <p>The ARN of the client.</p>
687
- */
688
- ClientArn?: string;
689
-
690
- /**
691
- * <p>The certificate fingerprint.</p>
692
- */
693
- CertificateFingerprint?: string;
694
- }
695
-
696
- export namespace DescribeLunaClientRequest {
697
- /**
698
- * @internal
699
- */
700
- export const filterSensitiveLog = (obj: DescribeLunaClientRequest): any => ({
701
- ...obj,
702
- });
703
- }
704
-
705
- export interface DescribeLunaClientResponse {
706
- /**
707
- * <p>The ARN of the client.</p>
708
- */
709
- ClientArn?: string;
710
-
711
- /**
712
- * <p>The certificate installed on the HSMs used by this client.</p>
713
- */
714
- Certificate?: string;
715
-
716
- /**
717
- * <p>The certificate fingerprint.</p>
718
- */
719
- CertificateFingerprint?: string;
720
-
721
- /**
722
- * <p>The date and time the client was last modified.</p>
723
- */
724
- LastModifiedTimestamp?: string;
725
-
726
- /**
727
- * <p>The label of the client.</p>
728
- */
729
- Label?: string;
730
- }
731
-
732
- export namespace DescribeLunaClientResponse {
733
- /**
734
- * @internal
735
- */
736
- export const filterSensitiveLog = (obj: DescribeLunaClientResponse): any => ({
737
- ...obj,
738
- });
739
- }
740
-
741
- export interface GetConfigRequest {
742
- /**
743
- * <p>The ARN of the client.</p>
744
- */
745
- ClientArn: string | undefined;
746
-
747
- /**
748
- * <p>The client version.</p>
749
- */
750
- ClientVersion: ClientVersion | string | undefined;
751
-
752
- /**
753
- * <p>A list of ARNs that identify the high-availability partition groups that are associated
754
- * with the client.</p>
755
- */
756
- HapgList: string[] | undefined;
757
- }
758
-
759
- export namespace GetConfigRequest {
760
- /**
761
- * @internal
762
- */
763
- export const filterSensitiveLog = (obj: GetConfigRequest): any => ({
764
- ...obj,
765
- });
766
- }
767
-
768
- export interface GetConfigResponse {
769
- /**
770
- * <p>The type of credentials.</p>
771
- */
772
- ConfigType?: string;
773
-
774
- /**
775
- * <p>The chrystoki.conf configuration file.</p>
776
- */
777
- ConfigFile?: string;
778
-
779
- /**
780
- * <p>The certificate file containing the server.pem files of the HSMs.</p>
781
- */
782
- ConfigCred?: string;
783
- }
784
-
785
- export namespace GetConfigResponse {
786
- /**
787
- * @internal
788
- */
789
- export const filterSensitiveLog = (obj: GetConfigResponse): any => ({
790
- ...obj,
791
- });
792
- }
793
-
794
- /**
795
- * <p>Contains the inputs for the <a>ListAvailableZones</a> action.</p>
796
- */
797
- export interface ListAvailableZonesRequest {}
798
-
799
- export namespace ListAvailableZonesRequest {
800
- /**
801
- * @internal
802
- */
803
- export const filterSensitiveLog = (obj: ListAvailableZonesRequest): any => ({
804
- ...obj,
805
- });
806
- }
807
-
808
- export interface ListAvailableZonesResponse {
809
- /**
810
- * <p>The list of Availability Zones that have available AWS CloudHSM capacity.</p>
811
- */
812
- AZList?: string[];
813
- }
814
-
815
- export namespace ListAvailableZonesResponse {
816
- /**
817
- * @internal
818
- */
819
- export const filterSensitiveLog = (obj: ListAvailableZonesResponse): any => ({
820
- ...obj,
821
- });
822
- }
823
-
824
- export interface ListHapgsRequest {
825
- /**
826
- * <p>The <code>NextToken</code> value from a previous call to <code>ListHapgs</code>. Pass
827
- * null if this is the first call.</p>
828
- */
829
- NextToken?: string;
830
- }
831
-
832
- export namespace ListHapgsRequest {
833
- /**
834
- * @internal
835
- */
836
- export const filterSensitiveLog = (obj: ListHapgsRequest): any => ({
837
- ...obj,
838
- });
839
- }
840
-
841
- export interface ListHapgsResponse {
842
- /**
843
- * <p>The list of high-availability partition groups.</p>
844
- */
845
- HapgList: string[] | undefined;
846
-
847
- /**
848
- * <p>If not null, more results are available. Pass this value to <code>ListHapgs</code> to
849
- * retrieve the next set of items.</p>
850
- */
851
- NextToken?: string;
852
- }
853
-
854
- export namespace ListHapgsResponse {
855
- /**
856
- * @internal
857
- */
858
- export const filterSensitiveLog = (obj: ListHapgsResponse): any => ({
859
- ...obj,
860
- });
861
- }
862
-
863
- export interface ListHsmsRequest {
864
- /**
865
- * <p>The <code>NextToken</code> value from a previous call to <code>ListHsms</code>. Pass
866
- * null if this is the first call.</p>
867
- */
868
- NextToken?: string;
869
- }
870
-
871
- export namespace ListHsmsRequest {
872
- /**
873
- * @internal
874
- */
875
- export const filterSensitiveLog = (obj: ListHsmsRequest): any => ({
876
- ...obj,
877
- });
878
- }
879
-
880
- /**
881
- * <p>Contains the output of the <code>ListHsms</code> operation.</p>
882
- */
883
- export interface ListHsmsResponse {
884
- /**
885
- * <p>The list of ARNs that identify the HSMs.</p>
886
- */
887
- HsmList?: string[];
888
-
889
- /**
890
- * <p>If not null, more results are available. Pass this value to <code>ListHsms</code> to
891
- * retrieve the next set of items.</p>
892
- */
893
- NextToken?: string;
894
- }
895
-
896
- export namespace ListHsmsResponse {
897
- /**
898
- * @internal
899
- */
900
- export const filterSensitiveLog = (obj: ListHsmsResponse): any => ({
901
- ...obj,
902
- });
903
- }
904
-
905
- export interface ListLunaClientsRequest {
906
- /**
907
- * <p>The <code>NextToken</code> value from a previous call to <code>ListLunaClients</code>.
908
- * Pass null if this is the first call.</p>
909
- */
910
- NextToken?: string;
911
- }
912
-
913
- export namespace ListLunaClientsRequest {
914
- /**
915
- * @internal
916
- */
917
- export const filterSensitiveLog = (obj: ListLunaClientsRequest): any => ({
918
- ...obj,
919
- });
920
- }
921
-
922
- export interface ListLunaClientsResponse {
923
- /**
924
- * <p>The list of clients.</p>
925
- */
926
- ClientList: string[] | undefined;
927
-
928
- /**
929
- * <p>If not null, more results are available. Pass this to <code>ListLunaClients</code> to
930
- * retrieve the next set of items.</p>
931
- */
932
- NextToken?: string;
933
- }
934
-
935
- export namespace ListLunaClientsResponse {
936
- /**
937
- * @internal
938
- */
939
- export const filterSensitiveLog = (obj: ListLunaClientsResponse): any => ({
940
- ...obj,
941
- });
942
- }
943
-
944
- export interface ListTagsForResourceRequest {
945
- /**
946
- * <p>The Amazon Resource Name (ARN) of the AWS CloudHSM resource.</p>
947
- */
948
- ResourceArn: string | undefined;
949
- }
950
-
951
- export namespace ListTagsForResourceRequest {
952
- /**
953
- * @internal
954
- */
955
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
956
- ...obj,
957
- });
958
- }
959
-
960
- export interface ListTagsForResourceResponse {
961
- /**
962
- * <p>One or more tags.</p>
963
- */
964
- TagList: Tag[] | undefined;
965
- }
966
-
967
- export namespace ListTagsForResourceResponse {
968
- /**
969
- * @internal
970
- */
971
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
972
- ...obj,
973
- });
974
- }
975
-
976
- export interface ModifyHapgRequest {
977
- /**
978
- * <p>The ARN of the high-availability partition group to modify.</p>
979
- */
980
- HapgArn: string | undefined;
981
-
982
- /**
983
- * <p>The new label for the high-availability partition group.</p>
984
- */
985
- Label?: string;
986
-
987
- /**
988
- * <p>The list of partition serial numbers to make members of the high-availability partition
989
- * group.</p>
990
- */
991
- PartitionSerialList?: string[];
992
- }
993
-
994
- export namespace ModifyHapgRequest {
995
- /**
996
- * @internal
997
- */
998
- export const filterSensitiveLog = (obj: ModifyHapgRequest): any => ({
999
- ...obj,
1000
- });
1001
- }
1002
-
1003
- export interface ModifyHapgResponse {
1004
- /**
1005
- * <p>The ARN of the high-availability partition group.</p>
1006
- */
1007
- HapgArn?: string;
1008
- }
1009
-
1010
- export namespace ModifyHapgResponse {
1011
- /**
1012
- * @internal
1013
- */
1014
- export const filterSensitiveLog = (obj: ModifyHapgResponse): any => ({
1015
- ...obj,
1016
- });
1017
- }
1018
-
1019
- /**
1020
- * <p>Contains the inputs for the <a>ModifyHsm</a> operation.</p>
1021
- */
1022
- export interface ModifyHsmRequest {
1023
- /**
1024
- * <p>The ARN of the HSM to modify.</p>
1025
- */
1026
- HsmArn: string | undefined;
1027
-
1028
- /**
1029
- * <p>The new identifier of the subnet that the HSM is in. The new subnet must be in the same
1030
- * Availability Zone as the current subnet.</p>
1031
- */
1032
- SubnetId?: string;
1033
-
1034
- /**
1035
- * <p>The new IP address for the elastic network interface (ENI) attached to the
1036
- * HSM.</p>
1037
- * <p>If the HSM is moved to a different subnet, and an IP address is not specified, an IP
1038
- * address will be randomly chosen from the CIDR range of the new subnet.</p>
1039
- */
1040
- EniIp?: string;
1041
-
1042
- /**
1043
- * <p>The new IAM role ARN.</p>
1044
- */
1045
- IamRoleArn?: string;
1046
-
1047
- /**
1048
- * <p>The new external ID.</p>
1049
- */
1050
- ExternalId?: string;
1051
-
1052
- /**
1053
- * <p>The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports
1054
- * one syslog monitoring server.</p>
1055
- */
1056
- SyslogIp?: string;
1057
- }
1058
-
1059
- export namespace ModifyHsmRequest {
1060
- /**
1061
- * @internal
1062
- */
1063
- export const filterSensitiveLog = (obj: ModifyHsmRequest): any => ({
1064
- ...obj,
1065
- });
1066
- }
1067
-
1068
- /**
1069
- * <p>Contains the output of the <a>ModifyHsm</a> operation.</p>
1070
- */
1071
- export interface ModifyHsmResponse {
1072
- /**
1073
- * <p>The ARN of the HSM.</p>
1074
- */
1075
- HsmArn?: string;
1076
- }
1077
-
1078
- export namespace ModifyHsmResponse {
1079
- /**
1080
- * @internal
1081
- */
1082
- export const filterSensitiveLog = (obj: ModifyHsmResponse): any => ({
1083
- ...obj,
1084
- });
1085
- }
1086
-
1087
- export interface ModifyLunaClientRequest {
1088
- /**
1089
- * <p>The ARN of the client.</p>
1090
- */
1091
- ClientArn: string | undefined;
1092
-
1093
- /**
1094
- * <p>The new certificate for the client.</p>
1095
- */
1096
- Certificate: string | undefined;
1097
- }
1098
-
1099
- export namespace ModifyLunaClientRequest {
1100
- /**
1101
- * @internal
1102
- */
1103
- export const filterSensitiveLog = (obj: ModifyLunaClientRequest): any => ({
1104
- ...obj,
1105
- });
1106
- }
1107
-
1108
- export interface ModifyLunaClientResponse {
1109
- /**
1110
- * <p>The ARN of the client.</p>
1111
- */
1112
- ClientArn?: string;
1113
- }
1114
-
1115
- export namespace ModifyLunaClientResponse {
1116
- /**
1117
- * @internal
1118
- */
1119
- export const filterSensitiveLog = (obj: ModifyLunaClientResponse): any => ({
1120
- ...obj,
1121
- });
1122
- }
1123
-
1124
- export interface RemoveTagsFromResourceRequest {
1125
- /**
1126
- * <p>The Amazon Resource Name (ARN) of the AWS CloudHSM resource.</p>
1127
- */
1128
- ResourceArn: string | undefined;
1129
-
1130
- /**
1131
- * <p>The tag key or keys to remove.</p>
1132
- * <p>Specify only the tag key to remove (not the value). To overwrite the value for an
1133
- * existing tag, use <a>AddTagsToResource</a>.</p>
1134
- */
1135
- TagKeyList: string[] | undefined;
1136
- }
1137
-
1138
- export namespace RemoveTagsFromResourceRequest {
1139
- /**
1140
- * @internal
1141
- */
1142
- export const filterSensitiveLog = (obj: RemoveTagsFromResourceRequest): any => ({
1143
- ...obj,
1144
- });
1145
- }
1146
-
1147
- export interface RemoveTagsFromResourceResponse {
1148
- /**
1149
- * <p>The status of the operation.</p>
1150
- */
1151
- Status: string | undefined;
1152
- }
1153
-
1154
- export namespace RemoveTagsFromResourceResponse {
1155
- /**
1156
- * @internal
1157
- */
1158
- export const filterSensitiveLog = (obj: RemoveTagsFromResourceResponse): any => ({
1159
- ...obj,
1160
- });
1161
- }