@aws-sdk/client-cloudhsm-v2 3.686.0 → 3.691.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.
|
@@ -61,71 +61,71 @@ export interface Backup {
|
|
|
61
61
|
* <p>The Amazon Resource Name (ARN) of the backup.</p>
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
|
-
BackupArn?: string;
|
|
64
|
+
BackupArn?: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* <p>The state of the backup.</p>
|
|
67
67
|
* @public
|
|
68
68
|
*/
|
|
69
|
-
BackupState?: BackupState;
|
|
69
|
+
BackupState?: BackupState | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* <p>The identifier (ID) of the cluster that was backed up.</p>
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
|
-
ClusterId?: string;
|
|
74
|
+
ClusterId?: string | undefined;
|
|
75
75
|
/**
|
|
76
76
|
* <p>The date and time when the backup was created.</p>
|
|
77
77
|
* @public
|
|
78
78
|
*/
|
|
79
|
-
CreateTimestamp?: Date;
|
|
79
|
+
CreateTimestamp?: Date | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* <p>The date and time when the backup was copied from a source backup.</p>
|
|
82
82
|
* @public
|
|
83
83
|
*/
|
|
84
|
-
CopyTimestamp?: Date;
|
|
84
|
+
CopyTimestamp?: Date | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* <p>Specifies whether the service should exempt a backup from the retention policy for the cluster. <code>True</code> exempts
|
|
87
87
|
* a backup from the retention policy. <code>False</code> means the service applies the backup retention policy defined at the cluster.</p>
|
|
88
88
|
* @public
|
|
89
89
|
*/
|
|
90
|
-
NeverExpires?: boolean;
|
|
90
|
+
NeverExpires?: boolean | undefined;
|
|
91
91
|
/**
|
|
92
92
|
* <p>The AWS Region that contains the source backup from which the new backup was
|
|
93
93
|
* copied.</p>
|
|
94
94
|
* @public
|
|
95
95
|
*/
|
|
96
|
-
SourceRegion?: string;
|
|
96
|
+
SourceRegion?: string | undefined;
|
|
97
97
|
/**
|
|
98
98
|
* <p>The identifier (ID) of the source backup from which the new backup was
|
|
99
99
|
* copied.</p>
|
|
100
100
|
* @public
|
|
101
101
|
*/
|
|
102
|
-
SourceBackup?: string;
|
|
102
|
+
SourceBackup?: string | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* <p>The identifier (ID) of the cluster containing the source backup from which the new
|
|
105
105
|
* backup was copied.</p>
|
|
106
106
|
* @public
|
|
107
107
|
*/
|
|
108
|
-
SourceCluster?: string;
|
|
108
|
+
SourceCluster?: string | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* <p>The date and time when the backup will be permanently deleted.</p>
|
|
111
111
|
* @public
|
|
112
112
|
*/
|
|
113
|
-
DeleteTimestamp?: Date;
|
|
113
|
+
DeleteTimestamp?: Date | undefined;
|
|
114
114
|
/**
|
|
115
115
|
* <p>The list of tags for the backup.</p>
|
|
116
116
|
* @public
|
|
117
117
|
*/
|
|
118
|
-
TagList?: Tag[];
|
|
118
|
+
TagList?: Tag[] | undefined;
|
|
119
119
|
/**
|
|
120
120
|
* <p>The HSM type used to create the backup.</p>
|
|
121
121
|
* @public
|
|
122
122
|
*/
|
|
123
|
-
HsmType?: string;
|
|
123
|
+
HsmType?: string | undefined;
|
|
124
124
|
/**
|
|
125
125
|
* <p>The mode of the cluster that was backed up.</p>
|
|
126
126
|
* @public
|
|
127
127
|
*/
|
|
128
|
-
Mode?: ClusterMode;
|
|
128
|
+
Mode?: ClusterMode | undefined;
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* @public
|
|
@@ -159,12 +159,12 @@ export interface BackupRetentionPolicy {
|
|
|
159
159
|
* the number of days to retain backups.</p>
|
|
160
160
|
* @public
|
|
161
161
|
*/
|
|
162
|
-
Type?: BackupRetentionType;
|
|
162
|
+
Type?: BackupRetentionType | undefined;
|
|
163
163
|
/**
|
|
164
164
|
* <p>Use a value between 7 - 379.</p>
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
167
|
-
Value?: string;
|
|
167
|
+
Value?: string | undefined;
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* <p>The request was rejected because the requester does not have permission to perform the
|
|
@@ -174,7 +174,7 @@ export interface BackupRetentionPolicy {
|
|
|
174
174
|
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
175
175
|
readonly name: "CloudHsmAccessDeniedException";
|
|
176
176
|
readonly $fault: "client";
|
|
177
|
-
Message?: string;
|
|
177
|
+
Message?: string | undefined;
|
|
178
178
|
/**
|
|
179
179
|
* @internal
|
|
180
180
|
*/
|
|
@@ -188,7 +188,7 @@ export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
|
188
188
|
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
189
189
|
readonly name: "CloudHsmInternalFailureException";
|
|
190
190
|
readonly $fault: "server";
|
|
191
|
-
Message?: string;
|
|
191
|
+
Message?: string | undefined;
|
|
192
192
|
/**
|
|
193
193
|
* @internal
|
|
194
194
|
*/
|
|
@@ -201,7 +201,7 @@ export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
|
201
201
|
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
202
202
|
readonly name: "CloudHsmInvalidRequestException";
|
|
203
203
|
readonly $fault: "client";
|
|
204
|
-
Message?: string;
|
|
204
|
+
Message?: string | undefined;
|
|
205
205
|
/**
|
|
206
206
|
* @internal
|
|
207
207
|
*/
|
|
@@ -215,7 +215,7 @@ export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
|
215
215
|
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
216
216
|
readonly name: "CloudHsmResourceNotFoundException";
|
|
217
217
|
readonly $fault: "client";
|
|
218
|
-
Message?: string;
|
|
218
|
+
Message?: string | undefined;
|
|
219
219
|
/**
|
|
220
220
|
* @internal
|
|
221
221
|
*/
|
|
@@ -228,7 +228,7 @@ export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
|
228
228
|
export declare class CloudHsmServiceException extends __BaseException {
|
|
229
229
|
readonly name: "CloudHsmServiceException";
|
|
230
230
|
readonly $fault: "client";
|
|
231
|
-
Message?: string;
|
|
231
|
+
Message?: string | undefined;
|
|
232
232
|
/**
|
|
233
233
|
* @internal
|
|
234
234
|
*/
|
|
@@ -241,7 +241,7 @@ export declare class CloudHsmServiceException extends __BaseException {
|
|
|
241
241
|
export declare class CloudHsmTagException extends __BaseException {
|
|
242
242
|
readonly name: "CloudHsmTagException";
|
|
243
243
|
readonly $fault: "client";
|
|
244
|
-
Message?: string;
|
|
244
|
+
Message?: string | undefined;
|
|
245
245
|
/**
|
|
246
246
|
* @internal
|
|
247
247
|
*/
|
|
@@ -265,7 +265,7 @@ export interface CopyBackupToRegionRequest {
|
|
|
265
265
|
* <p>Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.</p>
|
|
266
266
|
* @public
|
|
267
267
|
*/
|
|
268
|
-
TagList?: Tag[];
|
|
268
|
+
TagList?: Tag[] | undefined;
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
271
|
* <p>Contains information about the backup that will be copied and created by the <a>CopyBackupToRegion</a> operation.</p>
|
|
@@ -276,22 +276,22 @@ export interface DestinationBackup {
|
|
|
276
276
|
* <p>The date and time when both the source backup was created.</p>
|
|
277
277
|
* @public
|
|
278
278
|
*/
|
|
279
|
-
CreateTimestamp?: Date;
|
|
279
|
+
CreateTimestamp?: Date | undefined;
|
|
280
280
|
/**
|
|
281
281
|
* <p>The AWS region that contains the source backup from which the new backup was copied.</p>
|
|
282
282
|
* @public
|
|
283
283
|
*/
|
|
284
|
-
SourceRegion?: string;
|
|
284
|
+
SourceRegion?: string | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* <p>The identifier (ID) of the source backup from which the new backup was copied.</p>
|
|
287
287
|
* @public
|
|
288
288
|
*/
|
|
289
|
-
SourceBackup?: string;
|
|
289
|
+
SourceBackup?: string | undefined;
|
|
290
290
|
/**
|
|
291
291
|
* <p>The identifier (ID) of the cluster containing the source backup from which the new backup was copied.</p>
|
|
292
292
|
* @public
|
|
293
293
|
*/
|
|
294
|
-
SourceCluster?: string;
|
|
294
|
+
SourceCluster?: string | undefined;
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
297
|
* @public
|
|
@@ -306,7 +306,7 @@ export interface CopyBackupToRegionResponse {
|
|
|
306
306
|
* destination region.</p>
|
|
307
307
|
* @public
|
|
308
308
|
*/
|
|
309
|
-
DestinationBackup?: DestinationBackup;
|
|
309
|
+
DestinationBackup?: DestinationBackup | undefined;
|
|
310
310
|
}
|
|
311
311
|
/**
|
|
312
312
|
* @public
|
|
@@ -316,7 +316,7 @@ export interface CreateClusterRequest {
|
|
|
316
316
|
* <p>A policy that defines how the service retains backups.</p>
|
|
317
317
|
* @public
|
|
318
318
|
*/
|
|
319
|
-
BackupRetentionPolicy?: BackupRetentionPolicy;
|
|
319
|
+
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
320
320
|
/**
|
|
321
321
|
* <p>The type of HSM to use in the cluster. The allowed values are
|
|
322
322
|
* <code>hsm1.medium</code> and <code>hsm2m.medium</code>.</p>
|
|
@@ -329,7 +329,7 @@ export interface CreateClusterRequest {
|
|
|
329
329
|
* </p>
|
|
330
330
|
* @public
|
|
331
331
|
*/
|
|
332
|
-
SourceBackupId?: string;
|
|
332
|
+
SourceBackupId?: string | undefined;
|
|
333
333
|
/**
|
|
334
334
|
* <p>The identifiers (IDs) of the subnets where you are creating the cluster. You must
|
|
335
335
|
* specify at least one subnet. If you specify multiple subnets, they must meet the following
|
|
@@ -349,13 +349,13 @@ export interface CreateClusterRequest {
|
|
|
349
349
|
* <p>Tags to apply to the CloudHSM cluster during creation.</p>
|
|
350
350
|
* @public
|
|
351
351
|
*/
|
|
352
|
-
TagList?: Tag[];
|
|
352
|
+
TagList?: Tag[] | undefined;
|
|
353
353
|
/**
|
|
354
354
|
* <p>The mode to use in the cluster. The allowed values are
|
|
355
355
|
* <code>FIPS</code> and <code>NON_FIPS</code>.</p>
|
|
356
356
|
* @public
|
|
357
357
|
*/
|
|
358
|
-
Mode?: ClusterMode;
|
|
358
|
+
Mode?: ClusterMode | undefined;
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
361
|
* <p>Contains one or more certificates or a certificate signing request (CSR).</p>
|
|
@@ -367,28 +367,28 @@ export interface Certificates {
|
|
|
367
367
|
* state is <code>UNINITIALIZED</code>.</p>
|
|
368
368
|
* @public
|
|
369
369
|
*/
|
|
370
|
-
ClusterCsr?: string;
|
|
370
|
+
ClusterCsr?: string | undefined;
|
|
371
371
|
/**
|
|
372
372
|
* <p>The HSM certificate issued (signed) by the HSM hardware.</p>
|
|
373
373
|
* @public
|
|
374
374
|
*/
|
|
375
|
-
HsmCertificate?: string;
|
|
375
|
+
HsmCertificate?: string | undefined;
|
|
376
376
|
/**
|
|
377
377
|
* <p>The HSM hardware certificate issued (signed) by CloudHSM.</p>
|
|
378
378
|
* @public
|
|
379
379
|
*/
|
|
380
|
-
AwsHardwareCertificate?: string;
|
|
380
|
+
AwsHardwareCertificate?: string | undefined;
|
|
381
381
|
/**
|
|
382
382
|
* <p>The HSM hardware certificate issued (signed) by the hardware manufacturer.</p>
|
|
383
383
|
* @public
|
|
384
384
|
*/
|
|
385
|
-
ManufacturerHardwareCertificate?: string;
|
|
385
|
+
ManufacturerHardwareCertificate?: string | undefined;
|
|
386
386
|
/**
|
|
387
387
|
* <p>The cluster certificate issued (signed) by the issuing certificate authority (CA) of
|
|
388
388
|
* the cluster's owner.</p>
|
|
389
389
|
* @public
|
|
390
390
|
*/
|
|
391
|
-
ClusterCertificate?: string;
|
|
391
|
+
ClusterCertificate?: string | undefined;
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
394
|
* @public
|
|
@@ -415,27 +415,27 @@ export interface Hsm {
|
|
|
415
415
|
* <p>The Availability Zone that contains the HSM.</p>
|
|
416
416
|
* @public
|
|
417
417
|
*/
|
|
418
|
-
AvailabilityZone?: string;
|
|
418
|
+
AvailabilityZone?: string | undefined;
|
|
419
419
|
/**
|
|
420
420
|
* <p>The identifier (ID) of the cluster that contains the HSM.</p>
|
|
421
421
|
* @public
|
|
422
422
|
*/
|
|
423
|
-
ClusterId?: string;
|
|
423
|
+
ClusterId?: string | undefined;
|
|
424
424
|
/**
|
|
425
425
|
* <p>The subnet that contains the HSM's elastic network interface (ENI).</p>
|
|
426
426
|
* @public
|
|
427
427
|
*/
|
|
428
|
-
SubnetId?: string;
|
|
428
|
+
SubnetId?: string | undefined;
|
|
429
429
|
/**
|
|
430
430
|
* <p>The identifier (ID) of the HSM's elastic network interface (ENI).</p>
|
|
431
431
|
* @public
|
|
432
432
|
*/
|
|
433
|
-
EniId?: string;
|
|
433
|
+
EniId?: string | undefined;
|
|
434
434
|
/**
|
|
435
435
|
* <p>The IP address of the HSM's elastic network interface (ENI).</p>
|
|
436
436
|
* @public
|
|
437
437
|
*/
|
|
438
|
-
EniIp?: string;
|
|
438
|
+
EniIp?: string | undefined;
|
|
439
439
|
/**
|
|
440
440
|
* <p>The HSM's identifier (ID).</p>
|
|
441
441
|
* @public
|
|
@@ -445,12 +445,12 @@ export interface Hsm {
|
|
|
445
445
|
* <p>The HSM's state.</p>
|
|
446
446
|
* @public
|
|
447
447
|
*/
|
|
448
|
-
State?: HsmState;
|
|
448
|
+
State?: HsmState | undefined;
|
|
449
449
|
/**
|
|
450
450
|
* <p>A description of the HSM's state.</p>
|
|
451
451
|
* @public
|
|
452
452
|
*/
|
|
453
|
-
StateMessage?: string;
|
|
453
|
+
StateMessage?: string | undefined;
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* @public
|
|
@@ -480,84 +480,84 @@ export interface Cluster {
|
|
|
480
480
|
* <p>The cluster's backup policy.</p>
|
|
481
481
|
* @public
|
|
482
482
|
*/
|
|
483
|
-
BackupPolicy?: BackupPolicy;
|
|
483
|
+
BackupPolicy?: BackupPolicy | undefined;
|
|
484
484
|
/**
|
|
485
485
|
* <p>A policy that defines how the service retains backups.</p>
|
|
486
486
|
* @public
|
|
487
487
|
*/
|
|
488
|
-
BackupRetentionPolicy?: BackupRetentionPolicy;
|
|
488
|
+
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
489
489
|
/**
|
|
490
490
|
* <p>The cluster's identifier (ID).</p>
|
|
491
491
|
* @public
|
|
492
492
|
*/
|
|
493
|
-
ClusterId?: string;
|
|
493
|
+
ClusterId?: string | undefined;
|
|
494
494
|
/**
|
|
495
495
|
* <p>The date and time when the cluster was created.</p>
|
|
496
496
|
* @public
|
|
497
497
|
*/
|
|
498
|
-
CreateTimestamp?: Date;
|
|
498
|
+
CreateTimestamp?: Date | undefined;
|
|
499
499
|
/**
|
|
500
500
|
* <p>Contains information about the HSMs in the cluster.</p>
|
|
501
501
|
* @public
|
|
502
502
|
*/
|
|
503
|
-
Hsms?: Hsm[];
|
|
503
|
+
Hsms?: Hsm[] | undefined;
|
|
504
504
|
/**
|
|
505
505
|
* <p>The type of HSM that the cluster contains.</p>
|
|
506
506
|
* @public
|
|
507
507
|
*/
|
|
508
|
-
HsmType?: string;
|
|
508
|
+
HsmType?: string | undefined;
|
|
509
509
|
/**
|
|
510
510
|
* <p>The default password for the cluster's Pre-Crypto Officer (PRECO) user.</p>
|
|
511
511
|
* @public
|
|
512
512
|
*/
|
|
513
|
-
PreCoPassword?: string;
|
|
513
|
+
PreCoPassword?: string | undefined;
|
|
514
514
|
/**
|
|
515
515
|
* <p>The identifier (ID) of the cluster's security group.</p>
|
|
516
516
|
* @public
|
|
517
517
|
*/
|
|
518
|
-
SecurityGroup?: string;
|
|
518
|
+
SecurityGroup?: string | undefined;
|
|
519
519
|
/**
|
|
520
520
|
* <p>The identifier (ID) of the backup used to create the cluster. This value exists only
|
|
521
521
|
* when the cluster was created from a backup.</p>
|
|
522
522
|
* @public
|
|
523
523
|
*/
|
|
524
|
-
SourceBackupId?: string;
|
|
524
|
+
SourceBackupId?: string | undefined;
|
|
525
525
|
/**
|
|
526
526
|
* <p>The cluster's state.</p>
|
|
527
527
|
* @public
|
|
528
528
|
*/
|
|
529
|
-
State?: ClusterState;
|
|
529
|
+
State?: ClusterState | undefined;
|
|
530
530
|
/**
|
|
531
531
|
* <p>A description of the cluster's state.</p>
|
|
532
532
|
* @public
|
|
533
533
|
*/
|
|
534
|
-
StateMessage?: string;
|
|
534
|
+
StateMessage?: string | undefined;
|
|
535
535
|
/**
|
|
536
536
|
* <p>A map from availability zone to the cluster’s subnet in that availability zone.</p>
|
|
537
537
|
* @public
|
|
538
538
|
*/
|
|
539
|
-
SubnetMapping?: Record<string, string
|
|
539
|
+
SubnetMapping?: Record<string, string> | undefined;
|
|
540
540
|
/**
|
|
541
541
|
* <p>The identifier (ID) of the virtual private cloud (VPC) that contains the
|
|
542
542
|
* cluster.</p>
|
|
543
543
|
* @public
|
|
544
544
|
*/
|
|
545
|
-
VpcId?: string;
|
|
545
|
+
VpcId?: string | undefined;
|
|
546
546
|
/**
|
|
547
547
|
* <p>Contains one or more certificates or a certificate signing request (CSR).</p>
|
|
548
548
|
* @public
|
|
549
549
|
*/
|
|
550
|
-
Certificates?: Certificates;
|
|
550
|
+
Certificates?: Certificates | undefined;
|
|
551
551
|
/**
|
|
552
552
|
* <p>The list of tags for the cluster.</p>
|
|
553
553
|
* @public
|
|
554
554
|
*/
|
|
555
|
-
TagList?: Tag[];
|
|
555
|
+
TagList?: Tag[] | undefined;
|
|
556
556
|
/**
|
|
557
557
|
* <p>The mode of the cluster.</p>
|
|
558
558
|
* @public
|
|
559
559
|
*/
|
|
560
|
-
Mode?: ClusterMode;
|
|
560
|
+
Mode?: ClusterMode | undefined;
|
|
561
561
|
}
|
|
562
562
|
/**
|
|
563
563
|
* @public
|
|
@@ -567,7 +567,7 @@ export interface CreateClusterResponse {
|
|
|
567
567
|
* <p>Information about the cluster that was created.</p>
|
|
568
568
|
* @public
|
|
569
569
|
*/
|
|
570
|
-
Cluster?: Cluster;
|
|
570
|
+
Cluster?: Cluster | undefined;
|
|
571
571
|
}
|
|
572
572
|
/**
|
|
573
573
|
* @public
|
|
@@ -590,7 +590,7 @@ export interface CreateHsmRequest {
|
|
|
590
590
|
* an IP address, one is chosen for you from that subnet.</p>
|
|
591
591
|
* @public
|
|
592
592
|
*/
|
|
593
|
-
IpAddress?: string;
|
|
593
|
+
IpAddress?: string | undefined;
|
|
594
594
|
}
|
|
595
595
|
/**
|
|
596
596
|
* @public
|
|
@@ -600,7 +600,7 @@ export interface CreateHsmResponse {
|
|
|
600
600
|
* <p>Information about the HSM that was created.</p>
|
|
601
601
|
* @public
|
|
602
602
|
*/
|
|
603
|
-
Hsm?: Hsm;
|
|
603
|
+
Hsm?: Hsm | undefined;
|
|
604
604
|
}
|
|
605
605
|
/**
|
|
606
606
|
* @public
|
|
@@ -620,7 +620,7 @@ export interface DeleteBackupResponse {
|
|
|
620
620
|
* <p>Information on the <code>Backup</code> object deleted.</p>
|
|
621
621
|
* @public
|
|
622
622
|
*/
|
|
623
|
-
Backup?: Backup;
|
|
623
|
+
Backup?: Backup | undefined;
|
|
624
624
|
}
|
|
625
625
|
/**
|
|
626
626
|
* @public
|
|
@@ -641,7 +641,7 @@ export interface DeleteClusterResponse {
|
|
|
641
641
|
* <p>Information about the cluster that was deleted.</p>
|
|
642
642
|
* @public
|
|
643
643
|
*/
|
|
644
|
-
Cluster?: Cluster;
|
|
644
|
+
Cluster?: Cluster | undefined;
|
|
645
645
|
}
|
|
646
646
|
/**
|
|
647
647
|
* @public
|
|
@@ -657,19 +657,19 @@ export interface DeleteHsmRequest {
|
|
|
657
657
|
* <p>The identifier (ID) of the HSM that you are deleting.</p>
|
|
658
658
|
* @public
|
|
659
659
|
*/
|
|
660
|
-
HsmId?: string;
|
|
660
|
+
HsmId?: string | undefined;
|
|
661
661
|
/**
|
|
662
662
|
* <p>The identifier (ID) of the elastic network interface (ENI) of the HSM that you are
|
|
663
663
|
* deleting.</p>
|
|
664
664
|
* @public
|
|
665
665
|
*/
|
|
666
|
-
EniId?: string;
|
|
666
|
+
EniId?: string | undefined;
|
|
667
667
|
/**
|
|
668
668
|
* <p>The IP address of the elastic network interface (ENI) of the HSM that you are
|
|
669
669
|
* deleting.</p>
|
|
670
670
|
* @public
|
|
671
671
|
*/
|
|
672
|
-
EniIp?: string;
|
|
672
|
+
EniIp?: string | undefined;
|
|
673
673
|
}
|
|
674
674
|
/**
|
|
675
675
|
* @public
|
|
@@ -679,7 +679,7 @@ export interface DeleteHsmResponse {
|
|
|
679
679
|
* <p>The identifier (ID) of the HSM that was deleted.</p>
|
|
680
680
|
* @public
|
|
681
681
|
*/
|
|
682
|
-
HsmId?: string;
|
|
682
|
+
HsmId?: string | undefined;
|
|
683
683
|
}
|
|
684
684
|
/**
|
|
685
685
|
* @public
|
|
@@ -689,7 +689,7 @@ export interface DeleteResourcePolicyRequest {
|
|
|
689
689
|
* <p>Amazon Resource Name (ARN) of the resource from which the policy will be removed. </p>
|
|
690
690
|
* @public
|
|
691
691
|
*/
|
|
692
|
-
ResourceArn?: string;
|
|
692
|
+
ResourceArn?: string | undefined;
|
|
693
693
|
}
|
|
694
694
|
/**
|
|
695
695
|
* @public
|
|
@@ -699,12 +699,12 @@ export interface DeleteResourcePolicyResponse {
|
|
|
699
699
|
* <p>Amazon Resource Name (ARN) of the resource from which the policy was deleted. </p>
|
|
700
700
|
* @public
|
|
701
701
|
*/
|
|
702
|
-
ResourceArn?: string;
|
|
702
|
+
ResourceArn?: string | undefined;
|
|
703
703
|
/**
|
|
704
704
|
* <p>The policy previously attached to the resource.</p>
|
|
705
705
|
* @public
|
|
706
706
|
*/
|
|
707
|
-
Policy?: string;
|
|
707
|
+
Policy?: string | undefined;
|
|
708
708
|
}
|
|
709
709
|
/**
|
|
710
710
|
* @public
|
|
@@ -715,13 +715,13 @@ export interface DescribeBackupsRequest {
|
|
|
715
715
|
* value to get more backups.</p>
|
|
716
716
|
* @public
|
|
717
717
|
*/
|
|
718
|
-
NextToken?: string;
|
|
718
|
+
NextToken?: string | undefined;
|
|
719
719
|
/**
|
|
720
720
|
* <p>The maximum number of backups to return in the response. When there are more backups
|
|
721
721
|
* than the number you specify, the response contains a <code>NextToken</code> value.</p>
|
|
722
722
|
* @public
|
|
723
723
|
*/
|
|
724
|
-
MaxResults?: number;
|
|
724
|
+
MaxResults?: number | undefined;
|
|
725
725
|
/**
|
|
726
726
|
* <p>One or more filters to limit the items returned in the response.</p>
|
|
727
727
|
* <p>Use the <code>backupIds</code> filter to return only the specified backups. Specify
|
|
@@ -738,7 +738,7 @@ export interface DescribeBackupsRequest {
|
|
|
738
738
|
* defined at the cluster.</p>
|
|
739
739
|
* @public
|
|
740
740
|
*/
|
|
741
|
-
Filters?: Record<string, string[]
|
|
741
|
+
Filters?: Record<string, string[]> | undefined;
|
|
742
742
|
/**
|
|
743
743
|
* <p>Describe backups that are shared with you.</p>
|
|
744
744
|
* <note>
|
|
@@ -750,13 +750,13 @@ export interface DescribeBackupsRequest {
|
|
|
750
750
|
* </note>
|
|
751
751
|
* @public
|
|
752
752
|
*/
|
|
753
|
-
Shared?: boolean;
|
|
753
|
+
Shared?: boolean | undefined;
|
|
754
754
|
/**
|
|
755
755
|
* <p>Designates whether or not to sort the return backups by ascending chronological order
|
|
756
756
|
* of generation.</p>
|
|
757
757
|
* @public
|
|
758
758
|
*/
|
|
759
|
-
SortAscending?: boolean;
|
|
759
|
+
SortAscending?: boolean | undefined;
|
|
760
760
|
}
|
|
761
761
|
/**
|
|
762
762
|
* @public
|
|
@@ -766,14 +766,14 @@ export interface DescribeBackupsResponse {
|
|
|
766
766
|
* <p>A list of backups.</p>
|
|
767
767
|
* @public
|
|
768
768
|
*/
|
|
769
|
-
Backups?: Backup[];
|
|
769
|
+
Backups?: Backup[] | undefined;
|
|
770
770
|
/**
|
|
771
771
|
* <p>An opaque string that indicates that the response contains only a subset of backups.
|
|
772
772
|
* Use this value in a subsequent <code>DescribeBackups</code> request to get more
|
|
773
773
|
* backups.</p>
|
|
774
774
|
* @public
|
|
775
775
|
*/
|
|
776
|
-
NextToken?: string;
|
|
776
|
+
NextToken?: string | undefined;
|
|
777
777
|
}
|
|
778
778
|
/**
|
|
779
779
|
* @public
|
|
@@ -789,19 +789,19 @@ export interface DescribeClustersRequest {
|
|
|
789
789
|
* state.</p>
|
|
790
790
|
* @public
|
|
791
791
|
*/
|
|
792
|
-
Filters?: Record<string, string[]
|
|
792
|
+
Filters?: Record<string, string[]> | undefined;
|
|
793
793
|
/**
|
|
794
794
|
* <p>The <code>NextToken</code> value that you received in the previous response. Use this
|
|
795
795
|
* value to get more clusters.</p>
|
|
796
796
|
* @public
|
|
797
797
|
*/
|
|
798
|
-
NextToken?: string;
|
|
798
|
+
NextToken?: string | undefined;
|
|
799
799
|
/**
|
|
800
800
|
* <p>The maximum number of clusters to return in the response. When there are more clusters
|
|
801
801
|
* than the number you specify, the response contains a <code>NextToken</code> value.</p>
|
|
802
802
|
* @public
|
|
803
803
|
*/
|
|
804
|
-
MaxResults?: number;
|
|
804
|
+
MaxResults?: number | undefined;
|
|
805
805
|
}
|
|
806
806
|
/**
|
|
807
807
|
* @public
|
|
@@ -811,14 +811,14 @@ export interface DescribeClustersResponse {
|
|
|
811
811
|
* <p>A list of clusters.</p>
|
|
812
812
|
* @public
|
|
813
813
|
*/
|
|
814
|
-
Clusters?: Cluster[];
|
|
814
|
+
Clusters?: Cluster[] | undefined;
|
|
815
815
|
/**
|
|
816
816
|
* <p>An opaque string that indicates that the response contains only a subset of clusters.
|
|
817
817
|
* Use this value in a subsequent <code>DescribeClusters</code> request to get more
|
|
818
818
|
* clusters.</p>
|
|
819
819
|
* @public
|
|
820
820
|
*/
|
|
821
|
-
NextToken?: string;
|
|
821
|
+
NextToken?: string | undefined;
|
|
822
822
|
}
|
|
823
823
|
/**
|
|
824
824
|
* @public
|
|
@@ -828,7 +828,7 @@ export interface GetResourcePolicyRequest {
|
|
|
828
828
|
* <p>Amazon Resource Name (ARN) of the resource to which a policy is attached.</p>
|
|
829
829
|
* @public
|
|
830
830
|
*/
|
|
831
|
-
ResourceArn?: string;
|
|
831
|
+
ResourceArn?: string | undefined;
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
834
834
|
* @public
|
|
@@ -838,7 +838,7 @@ export interface GetResourcePolicyResponse {
|
|
|
838
838
|
* <p>The policy attached to a resource.</p>
|
|
839
839
|
* @public
|
|
840
840
|
*/
|
|
841
|
-
Policy?: string;
|
|
841
|
+
Policy?: string | undefined;
|
|
842
842
|
}
|
|
843
843
|
/**
|
|
844
844
|
* @public
|
|
@@ -873,12 +873,12 @@ export interface InitializeClusterResponse {
|
|
|
873
873
|
* <p>The cluster's state.</p>
|
|
874
874
|
* @public
|
|
875
875
|
*/
|
|
876
|
-
State?: ClusterState;
|
|
876
|
+
State?: ClusterState | undefined;
|
|
877
877
|
/**
|
|
878
878
|
* <p>A description of the cluster's state.</p>
|
|
879
879
|
* @public
|
|
880
880
|
*/
|
|
881
|
-
StateMessage?: string;
|
|
881
|
+
StateMessage?: string | undefined;
|
|
882
882
|
}
|
|
883
883
|
/**
|
|
884
884
|
* @public
|
|
@@ -895,13 +895,13 @@ export interface ListTagsRequest {
|
|
|
895
895
|
* value to get more tags.</p>
|
|
896
896
|
* @public
|
|
897
897
|
*/
|
|
898
|
-
NextToken?: string;
|
|
898
|
+
NextToken?: string | undefined;
|
|
899
899
|
/**
|
|
900
900
|
* <p>The maximum number of tags to return in the response. When there are more tags than the
|
|
901
901
|
* number you specify, the response contains a <code>NextToken</code> value.</p>
|
|
902
902
|
* @public
|
|
903
903
|
*/
|
|
904
|
-
MaxResults?: number;
|
|
904
|
+
MaxResults?: number | undefined;
|
|
905
905
|
}
|
|
906
906
|
/**
|
|
907
907
|
* @public
|
|
@@ -917,7 +917,7 @@ export interface ListTagsResponse {
|
|
|
917
917
|
* this value in a subsequent <code>ListTags</code> request to get more tags.</p>
|
|
918
918
|
* @public
|
|
919
919
|
*/
|
|
920
|
-
NextToken?: string;
|
|
920
|
+
NextToken?: string | undefined;
|
|
921
921
|
}
|
|
922
922
|
/**
|
|
923
923
|
* @public
|
|
@@ -948,7 +948,7 @@ export interface ModifyBackupAttributesResponse {
|
|
|
948
948
|
* pending deletion will include the <code>DeleteTimestamp</code> parameter.</p>
|
|
949
949
|
* @public
|
|
950
950
|
*/
|
|
951
|
-
Backup?: Backup;
|
|
951
|
+
Backup?: Backup | undefined;
|
|
952
952
|
}
|
|
953
953
|
/**
|
|
954
954
|
* @public
|
|
@@ -974,7 +974,7 @@ export interface ModifyClusterResponse {
|
|
|
974
974
|
* <p>Contains information about an CloudHSM cluster.</p>
|
|
975
975
|
* @public
|
|
976
976
|
*/
|
|
977
|
-
Cluster?: Cluster;
|
|
977
|
+
Cluster?: Cluster | undefined;
|
|
978
978
|
}
|
|
979
979
|
/**
|
|
980
980
|
* @public
|
|
@@ -984,13 +984,13 @@ export interface PutResourcePolicyRequest {
|
|
|
984
984
|
* <p>Amazon Resource Name (ARN) of the resource to which you want to attach a policy. </p>
|
|
985
985
|
* @public
|
|
986
986
|
*/
|
|
987
|
-
ResourceArn?: string;
|
|
987
|
+
ResourceArn?: string | undefined;
|
|
988
988
|
/**
|
|
989
989
|
* <p>The policy you want to associate with a resource. </p>
|
|
990
990
|
* <p>For an example policy, see <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html"> Working with shared backups</a> in the CloudHSM User Guide</p>
|
|
991
991
|
* @public
|
|
992
992
|
*/
|
|
993
|
-
Policy?: string;
|
|
993
|
+
Policy?: string | undefined;
|
|
994
994
|
}
|
|
995
995
|
/**
|
|
996
996
|
* @public
|
|
@@ -1000,12 +1000,12 @@ export interface PutResourcePolicyResponse {
|
|
|
1000
1000
|
* <p>Amazon Resource Name (ARN) of the resource to which a policy is attached.</p>
|
|
1001
1001
|
* @public
|
|
1002
1002
|
*/
|
|
1003
|
-
ResourceArn?: string;
|
|
1003
|
+
ResourceArn?: string | undefined;
|
|
1004
1004
|
/**
|
|
1005
1005
|
* <p>The policy attached to a resource.</p>
|
|
1006
1006
|
* @public
|
|
1007
1007
|
*/
|
|
1008
|
-
Policy?: string;
|
|
1008
|
+
Policy?: string | undefined;
|
|
1009
1009
|
}
|
|
1010
1010
|
/**
|
|
1011
1011
|
* @public
|
|
@@ -1025,7 +1025,7 @@ export interface RestoreBackupResponse {
|
|
|
1025
1025
|
* <p>Information on the <code>Backup</code> object created.</p>
|
|
1026
1026
|
* @public
|
|
1027
1027
|
*/
|
|
1028
|
-
Backup?: Backup;
|
|
1028
|
+
Backup?: Backup | undefined;
|
|
1029
1029
|
}
|
|
1030
1030
|
/**
|
|
1031
1031
|
* @public
|
|
@@ -18,19 +18,19 @@ export interface Tag {
|
|
|
18
18
|
}
|
|
19
19
|
export interface Backup {
|
|
20
20
|
BackupId: string | undefined;
|
|
21
|
-
BackupArn?: string;
|
|
22
|
-
BackupState?: BackupState;
|
|
23
|
-
ClusterId?: string;
|
|
24
|
-
CreateTimestamp?: Date;
|
|
25
|
-
CopyTimestamp?: Date;
|
|
26
|
-
NeverExpires?: boolean;
|
|
27
|
-
SourceRegion?: string;
|
|
28
|
-
SourceBackup?: string;
|
|
29
|
-
SourceCluster?: string;
|
|
30
|
-
DeleteTimestamp?: Date;
|
|
31
|
-
TagList?: Tag[];
|
|
32
|
-
HsmType?: string;
|
|
33
|
-
Mode?: ClusterMode;
|
|
21
|
+
BackupArn?: string | undefined;
|
|
22
|
+
BackupState?: BackupState | undefined;
|
|
23
|
+
ClusterId?: string | undefined;
|
|
24
|
+
CreateTimestamp?: Date | undefined;
|
|
25
|
+
CopyTimestamp?: Date | undefined;
|
|
26
|
+
NeverExpires?: boolean | undefined;
|
|
27
|
+
SourceRegion?: string | undefined;
|
|
28
|
+
SourceBackup?: string | undefined;
|
|
29
|
+
SourceCluster?: string | undefined;
|
|
30
|
+
DeleteTimestamp?: Date | undefined;
|
|
31
|
+
TagList?: Tag[] | undefined;
|
|
32
|
+
HsmType?: string | undefined;
|
|
33
|
+
Mode?: ClusterMode | undefined;
|
|
34
34
|
}
|
|
35
35
|
export declare const BackupPolicy: {
|
|
36
36
|
readonly DEFAULT: "DEFAULT";
|
|
@@ -42,13 +42,13 @@ export declare const BackupRetentionType: {
|
|
|
42
42
|
export type BackupRetentionType =
|
|
43
43
|
(typeof BackupRetentionType)[keyof typeof BackupRetentionType];
|
|
44
44
|
export interface BackupRetentionPolicy {
|
|
45
|
-
Type?: BackupRetentionType;
|
|
46
|
-
Value?: string;
|
|
45
|
+
Type?: BackupRetentionType | undefined;
|
|
46
|
+
Value?: string | undefined;
|
|
47
47
|
}
|
|
48
48
|
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
49
49
|
readonly name: "CloudHsmAccessDeniedException";
|
|
50
50
|
readonly $fault: "client";
|
|
51
|
-
Message?: string;
|
|
51
|
+
Message?: string | undefined;
|
|
52
52
|
constructor(
|
|
53
53
|
opts: __ExceptionOptionType<CloudHsmAccessDeniedException, __BaseException>
|
|
54
54
|
);
|
|
@@ -56,7 +56,7 @@ export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
|
56
56
|
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
57
57
|
readonly name: "CloudHsmInternalFailureException";
|
|
58
58
|
readonly $fault: "server";
|
|
59
|
-
Message?: string;
|
|
59
|
+
Message?: string | undefined;
|
|
60
60
|
constructor(
|
|
61
61
|
opts: __ExceptionOptionType<
|
|
62
62
|
CloudHsmInternalFailureException,
|
|
@@ -67,7 +67,7 @@ export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
|
67
67
|
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
68
68
|
readonly name: "CloudHsmInvalidRequestException";
|
|
69
69
|
readonly $fault: "client";
|
|
70
|
-
Message?: string;
|
|
70
|
+
Message?: string | undefined;
|
|
71
71
|
constructor(
|
|
72
72
|
opts: __ExceptionOptionType<
|
|
73
73
|
CloudHsmInvalidRequestException,
|
|
@@ -78,7 +78,7 @@ export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
|
78
78
|
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
79
79
|
readonly name: "CloudHsmResourceNotFoundException";
|
|
80
80
|
readonly $fault: "client";
|
|
81
|
-
Message?: string;
|
|
81
|
+
Message?: string | undefined;
|
|
82
82
|
constructor(
|
|
83
83
|
opts: __ExceptionOptionType<
|
|
84
84
|
CloudHsmResourceNotFoundException,
|
|
@@ -89,7 +89,7 @@ export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
|
89
89
|
export declare class CloudHsmServiceException extends __BaseException {
|
|
90
90
|
readonly name: "CloudHsmServiceException";
|
|
91
91
|
readonly $fault: "client";
|
|
92
|
-
Message?: string;
|
|
92
|
+
Message?: string | undefined;
|
|
93
93
|
constructor(
|
|
94
94
|
opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>
|
|
95
95
|
);
|
|
@@ -97,7 +97,7 @@ export declare class CloudHsmServiceException extends __BaseException {
|
|
|
97
97
|
export declare class CloudHsmTagException extends __BaseException {
|
|
98
98
|
readonly name: "CloudHsmTagException";
|
|
99
99
|
readonly $fault: "client";
|
|
100
|
-
Message?: string;
|
|
100
|
+
Message?: string | undefined;
|
|
101
101
|
constructor(
|
|
102
102
|
opts: __ExceptionOptionType<CloudHsmTagException, __BaseException>
|
|
103
103
|
);
|
|
@@ -105,31 +105,31 @@ export declare class CloudHsmTagException extends __BaseException {
|
|
|
105
105
|
export interface CopyBackupToRegionRequest {
|
|
106
106
|
DestinationRegion: string | undefined;
|
|
107
107
|
BackupId: string | undefined;
|
|
108
|
-
TagList?: Tag[];
|
|
108
|
+
TagList?: Tag[] | undefined;
|
|
109
109
|
}
|
|
110
110
|
export interface DestinationBackup {
|
|
111
|
-
CreateTimestamp?: Date;
|
|
112
|
-
SourceRegion?: string;
|
|
113
|
-
SourceBackup?: string;
|
|
114
|
-
SourceCluster?: string;
|
|
111
|
+
CreateTimestamp?: Date | undefined;
|
|
112
|
+
SourceRegion?: string | undefined;
|
|
113
|
+
SourceBackup?: string | undefined;
|
|
114
|
+
SourceCluster?: string | undefined;
|
|
115
115
|
}
|
|
116
116
|
export interface CopyBackupToRegionResponse {
|
|
117
|
-
DestinationBackup?: DestinationBackup;
|
|
117
|
+
DestinationBackup?: DestinationBackup | undefined;
|
|
118
118
|
}
|
|
119
119
|
export interface CreateClusterRequest {
|
|
120
|
-
BackupRetentionPolicy?: BackupRetentionPolicy;
|
|
120
|
+
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
121
121
|
HsmType: string | undefined;
|
|
122
|
-
SourceBackupId?: string;
|
|
122
|
+
SourceBackupId?: string | undefined;
|
|
123
123
|
SubnetIds: string[] | undefined;
|
|
124
|
-
TagList?: Tag[];
|
|
125
|
-
Mode?: ClusterMode;
|
|
124
|
+
TagList?: Tag[] | undefined;
|
|
125
|
+
Mode?: ClusterMode | undefined;
|
|
126
126
|
}
|
|
127
127
|
export interface Certificates {
|
|
128
|
-
ClusterCsr?: string;
|
|
129
|
-
HsmCertificate?: string;
|
|
130
|
-
AwsHardwareCertificate?: string;
|
|
131
|
-
ManufacturerHardwareCertificate?: string;
|
|
132
|
-
ClusterCertificate?: string;
|
|
128
|
+
ClusterCsr?: string | undefined;
|
|
129
|
+
HsmCertificate?: string | undefined;
|
|
130
|
+
AwsHardwareCertificate?: string | undefined;
|
|
131
|
+
ManufacturerHardwareCertificate?: string | undefined;
|
|
132
|
+
ClusterCertificate?: string | undefined;
|
|
133
133
|
}
|
|
134
134
|
export declare const HsmState: {
|
|
135
135
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -140,14 +140,14 @@ export declare const HsmState: {
|
|
|
140
140
|
};
|
|
141
141
|
export type HsmState = (typeof HsmState)[keyof typeof HsmState];
|
|
142
142
|
export interface Hsm {
|
|
143
|
-
AvailabilityZone?: string;
|
|
144
|
-
ClusterId?: string;
|
|
145
|
-
SubnetId?: string;
|
|
146
|
-
EniId?: string;
|
|
147
|
-
EniIp?: string;
|
|
143
|
+
AvailabilityZone?: string | undefined;
|
|
144
|
+
ClusterId?: string | undefined;
|
|
145
|
+
SubnetId?: string | undefined;
|
|
146
|
+
EniId?: string | undefined;
|
|
147
|
+
EniIp?: string | undefined;
|
|
148
148
|
HsmId: string | undefined;
|
|
149
|
-
State?: HsmState;
|
|
150
|
-
StateMessage?: string;
|
|
149
|
+
State?: HsmState | undefined;
|
|
150
|
+
StateMessage?: string | undefined;
|
|
151
151
|
}
|
|
152
152
|
export declare const ClusterState: {
|
|
153
153
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -162,87 +162,87 @@ export declare const ClusterState: {
|
|
|
162
162
|
};
|
|
163
163
|
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
164
164
|
export interface Cluster {
|
|
165
|
-
BackupPolicy?: BackupPolicy;
|
|
166
|
-
BackupRetentionPolicy?: BackupRetentionPolicy;
|
|
167
|
-
ClusterId?: string;
|
|
168
|
-
CreateTimestamp?: Date;
|
|
169
|
-
Hsms?: Hsm[];
|
|
170
|
-
HsmType?: string;
|
|
171
|
-
PreCoPassword?: string;
|
|
172
|
-
SecurityGroup?: string;
|
|
173
|
-
SourceBackupId?: string;
|
|
174
|
-
State?: ClusterState;
|
|
175
|
-
StateMessage?: string;
|
|
176
|
-
SubnetMapping?: Record<string, string
|
|
177
|
-
VpcId?: string;
|
|
178
|
-
Certificates?: Certificates;
|
|
179
|
-
TagList?: Tag[];
|
|
180
|
-
Mode?: ClusterMode;
|
|
165
|
+
BackupPolicy?: BackupPolicy | undefined;
|
|
166
|
+
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
167
|
+
ClusterId?: string | undefined;
|
|
168
|
+
CreateTimestamp?: Date | undefined;
|
|
169
|
+
Hsms?: Hsm[] | undefined;
|
|
170
|
+
HsmType?: string | undefined;
|
|
171
|
+
PreCoPassword?: string | undefined;
|
|
172
|
+
SecurityGroup?: string | undefined;
|
|
173
|
+
SourceBackupId?: string | undefined;
|
|
174
|
+
State?: ClusterState | undefined;
|
|
175
|
+
StateMessage?: string | undefined;
|
|
176
|
+
SubnetMapping?: Record<string, string> | undefined;
|
|
177
|
+
VpcId?: string | undefined;
|
|
178
|
+
Certificates?: Certificates | undefined;
|
|
179
|
+
TagList?: Tag[] | undefined;
|
|
180
|
+
Mode?: ClusterMode | undefined;
|
|
181
181
|
}
|
|
182
182
|
export interface CreateClusterResponse {
|
|
183
|
-
Cluster?: Cluster;
|
|
183
|
+
Cluster?: Cluster | undefined;
|
|
184
184
|
}
|
|
185
185
|
export interface CreateHsmRequest {
|
|
186
186
|
ClusterId: string | undefined;
|
|
187
187
|
AvailabilityZone: string | undefined;
|
|
188
|
-
IpAddress?: string;
|
|
188
|
+
IpAddress?: string | undefined;
|
|
189
189
|
}
|
|
190
190
|
export interface CreateHsmResponse {
|
|
191
|
-
Hsm?: Hsm;
|
|
191
|
+
Hsm?: Hsm | undefined;
|
|
192
192
|
}
|
|
193
193
|
export interface DeleteBackupRequest {
|
|
194
194
|
BackupId: string | undefined;
|
|
195
195
|
}
|
|
196
196
|
export interface DeleteBackupResponse {
|
|
197
|
-
Backup?: Backup;
|
|
197
|
+
Backup?: Backup | undefined;
|
|
198
198
|
}
|
|
199
199
|
export interface DeleteClusterRequest {
|
|
200
200
|
ClusterId: string | undefined;
|
|
201
201
|
}
|
|
202
202
|
export interface DeleteClusterResponse {
|
|
203
|
-
Cluster?: Cluster;
|
|
203
|
+
Cluster?: Cluster | undefined;
|
|
204
204
|
}
|
|
205
205
|
export interface DeleteHsmRequest {
|
|
206
206
|
ClusterId: string | undefined;
|
|
207
|
-
HsmId?: string;
|
|
208
|
-
EniId?: string;
|
|
209
|
-
EniIp?: string;
|
|
207
|
+
HsmId?: string | undefined;
|
|
208
|
+
EniId?: string | undefined;
|
|
209
|
+
EniIp?: string | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface DeleteHsmResponse {
|
|
212
|
-
HsmId?: string;
|
|
212
|
+
HsmId?: string | undefined;
|
|
213
213
|
}
|
|
214
214
|
export interface DeleteResourcePolicyRequest {
|
|
215
|
-
ResourceArn?: string;
|
|
215
|
+
ResourceArn?: string | undefined;
|
|
216
216
|
}
|
|
217
217
|
export interface DeleteResourcePolicyResponse {
|
|
218
|
-
ResourceArn?: string;
|
|
219
|
-
Policy?: string;
|
|
218
|
+
ResourceArn?: string | undefined;
|
|
219
|
+
Policy?: string | undefined;
|
|
220
220
|
}
|
|
221
221
|
export interface DescribeBackupsRequest {
|
|
222
|
-
NextToken?: string;
|
|
223
|
-
MaxResults?: number;
|
|
224
|
-
Filters?: Record<string, string[]
|
|
225
|
-
Shared?: boolean;
|
|
226
|
-
SortAscending?: boolean;
|
|
222
|
+
NextToken?: string | undefined;
|
|
223
|
+
MaxResults?: number | undefined;
|
|
224
|
+
Filters?: Record<string, string[]> | undefined;
|
|
225
|
+
Shared?: boolean | undefined;
|
|
226
|
+
SortAscending?: boolean | undefined;
|
|
227
227
|
}
|
|
228
228
|
export interface DescribeBackupsResponse {
|
|
229
|
-
Backups?: Backup[];
|
|
230
|
-
NextToken?: string;
|
|
229
|
+
Backups?: Backup[] | undefined;
|
|
230
|
+
NextToken?: string | undefined;
|
|
231
231
|
}
|
|
232
232
|
export interface DescribeClustersRequest {
|
|
233
|
-
Filters?: Record<string, string[]
|
|
234
|
-
NextToken?: string;
|
|
235
|
-
MaxResults?: number;
|
|
233
|
+
Filters?: Record<string, string[]> | undefined;
|
|
234
|
+
NextToken?: string | undefined;
|
|
235
|
+
MaxResults?: number | undefined;
|
|
236
236
|
}
|
|
237
237
|
export interface DescribeClustersResponse {
|
|
238
|
-
Clusters?: Cluster[];
|
|
239
|
-
NextToken?: string;
|
|
238
|
+
Clusters?: Cluster[] | undefined;
|
|
239
|
+
NextToken?: string | undefined;
|
|
240
240
|
}
|
|
241
241
|
export interface GetResourcePolicyRequest {
|
|
242
|
-
ResourceArn?: string;
|
|
242
|
+
ResourceArn?: string | undefined;
|
|
243
243
|
}
|
|
244
244
|
export interface GetResourcePolicyResponse {
|
|
245
|
-
Policy?: string;
|
|
245
|
+
Policy?: string | undefined;
|
|
246
246
|
}
|
|
247
247
|
export interface InitializeClusterRequest {
|
|
248
248
|
ClusterId: string | undefined;
|
|
@@ -250,45 +250,45 @@ export interface InitializeClusterRequest {
|
|
|
250
250
|
TrustAnchor: string | undefined;
|
|
251
251
|
}
|
|
252
252
|
export interface InitializeClusterResponse {
|
|
253
|
-
State?: ClusterState;
|
|
254
|
-
StateMessage?: string;
|
|
253
|
+
State?: ClusterState | undefined;
|
|
254
|
+
StateMessage?: string | undefined;
|
|
255
255
|
}
|
|
256
256
|
export interface ListTagsRequest {
|
|
257
257
|
ResourceId: string | undefined;
|
|
258
|
-
NextToken?: string;
|
|
259
|
-
MaxResults?: number;
|
|
258
|
+
NextToken?: string | undefined;
|
|
259
|
+
MaxResults?: number | undefined;
|
|
260
260
|
}
|
|
261
261
|
export interface ListTagsResponse {
|
|
262
262
|
TagList: Tag[] | undefined;
|
|
263
|
-
NextToken?: string;
|
|
263
|
+
NextToken?: string | undefined;
|
|
264
264
|
}
|
|
265
265
|
export interface ModifyBackupAttributesRequest {
|
|
266
266
|
BackupId: string | undefined;
|
|
267
267
|
NeverExpires: boolean | undefined;
|
|
268
268
|
}
|
|
269
269
|
export interface ModifyBackupAttributesResponse {
|
|
270
|
-
Backup?: Backup;
|
|
270
|
+
Backup?: Backup | undefined;
|
|
271
271
|
}
|
|
272
272
|
export interface ModifyClusterRequest {
|
|
273
273
|
BackupRetentionPolicy: BackupRetentionPolicy | undefined;
|
|
274
274
|
ClusterId: string | undefined;
|
|
275
275
|
}
|
|
276
276
|
export interface ModifyClusterResponse {
|
|
277
|
-
Cluster?: Cluster;
|
|
277
|
+
Cluster?: Cluster | undefined;
|
|
278
278
|
}
|
|
279
279
|
export interface PutResourcePolicyRequest {
|
|
280
|
-
ResourceArn?: string;
|
|
281
|
-
Policy?: string;
|
|
280
|
+
ResourceArn?: string | undefined;
|
|
281
|
+
Policy?: string | undefined;
|
|
282
282
|
}
|
|
283
283
|
export interface PutResourcePolicyResponse {
|
|
284
|
-
ResourceArn?: string;
|
|
285
|
-
Policy?: string;
|
|
284
|
+
ResourceArn?: string | undefined;
|
|
285
|
+
Policy?: string | undefined;
|
|
286
286
|
}
|
|
287
287
|
export interface RestoreBackupRequest {
|
|
288
288
|
BackupId: string | undefined;
|
|
289
289
|
}
|
|
290
290
|
export interface RestoreBackupResponse {
|
|
291
|
-
Backup?: Backup;
|
|
291
|
+
Backup?: Backup | undefined;
|
|
292
292
|
}
|
|
293
293
|
export interface TagResourceRequest {
|
|
294
294
|
ResourceId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudhsm-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudhsm-v2",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|