tencentcloud-sdk-nodejs-intl-en 3.0.1214 → 3.0.1216
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.
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/kms/v20190118/kms_client.js +248 -50
- package/tencentcloud/kms/v20190118/models.js +1679 -173
- package/tencentcloud/mdl/v20200326/models.js +2 -2
- package/tencentcloud/region/index.js +3 -0
- package/tencentcloud/region/v20220627/index.js +4 -0
- package/tencentcloud/region/v20220627/models.js +527 -0
- package/tencentcloud/region/v20220627/region_client.js +75 -0
|
@@ -355,42 +355,93 @@ class DescribeWhiteBoxServiceStatusRequest extends AbstractModel {
|
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
|
-
*
|
|
358
|
+
* UpdateDataKeyDescription request structure.
|
|
359
359
|
* @class
|
|
360
360
|
*/
|
|
361
|
-
class
|
|
361
|
+
class UpdateDataKeyDescriptionRequest extends AbstractModel {
|
|
362
362
|
constructor(){
|
|
363
363
|
super();
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
|
-
*
|
|
366
|
+
* Specifies the unique identifier of the data key.
|
|
367
367
|
* @type {string || null}
|
|
368
368
|
*/
|
|
369
|
-
this.
|
|
369
|
+
this.DataKeyId = null;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
|
-
*
|
|
372
|
+
* Data key description of up to 100 bytes.
|
|
373
373
|
* @type {string || null}
|
|
374
374
|
*/
|
|
375
|
-
this.
|
|
375
|
+
this.Description = null;
|
|
376
|
+
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* @private
|
|
381
|
+
*/
|
|
382
|
+
deserialize(params) {
|
|
383
|
+
if (!params) {
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
387
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
388
|
+
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* DescribeDataKey response structure.
|
|
394
|
+
* @class
|
|
395
|
+
*/
|
|
396
|
+
class DescribeDataKeyResponse extends AbstractModel {
|
|
397
|
+
constructor(){
|
|
398
|
+
super();
|
|
376
399
|
|
|
377
400
|
/**
|
|
378
|
-
*
|
|
379
|
-
* @type {
|
|
401
|
+
* Specifies the data key attribute information.
|
|
402
|
+
* @type {DataKeyMetadata || null}
|
|
380
403
|
*/
|
|
381
|
-
this.
|
|
404
|
+
this.DataKeyMetadata = null;
|
|
382
405
|
|
|
383
406
|
/**
|
|
384
|
-
*
|
|
407
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
385
408
|
* @type {string || null}
|
|
386
409
|
*/
|
|
387
|
-
this.
|
|
410
|
+
this.RequestId = null;
|
|
411
|
+
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @private
|
|
416
|
+
*/
|
|
417
|
+
deserialize(params) {
|
|
418
|
+
if (!params) {
|
|
419
|
+
return;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
if (params.DataKeyMetadata) {
|
|
423
|
+
let obj = new DataKeyMetadata();
|
|
424
|
+
obj.deserialize(params.DataKeyMetadata)
|
|
425
|
+
this.DataKeyMetadata = obj;
|
|
426
|
+
}
|
|
427
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
428
|
+
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* DisableDataKey response structure.
|
|
434
|
+
* @class
|
|
435
|
+
*/
|
|
436
|
+
class DisableDataKeyResponse extends AbstractModel {
|
|
437
|
+
constructor(){
|
|
438
|
+
super();
|
|
388
439
|
|
|
389
440
|
/**
|
|
390
|
-
*
|
|
441
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
391
442
|
* @type {string || null}
|
|
392
443
|
*/
|
|
393
|
-
this.
|
|
444
|
+
this.RequestId = null;
|
|
394
445
|
|
|
395
446
|
}
|
|
396
447
|
|
|
@@ -401,11 +452,7 @@ class VerifyByAsymmetricKeyRequest extends AbstractModel {
|
|
|
401
452
|
if (!params) {
|
|
402
453
|
return;
|
|
403
454
|
}
|
|
404
|
-
this.
|
|
405
|
-
this.SignatureValue = 'SignatureValue' in params ? params.SignatureValue : null;
|
|
406
|
-
this.Message = 'Message' in params ? params.Message : null;
|
|
407
|
-
this.Algorithm = 'Algorithm' in params ? params.Algorithm : null;
|
|
408
|
-
this.MessageType = 'MessageType' in params ? params.MessageType : null;
|
|
455
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
409
456
|
|
|
410
457
|
}
|
|
411
458
|
}
|
|
@@ -543,6 +590,34 @@ class WhiteboxKeyInfo extends AbstractModel {
|
|
|
543
590
|
}
|
|
544
591
|
}
|
|
545
592
|
|
|
593
|
+
/**
|
|
594
|
+
* DescribeDataKeys request structure.
|
|
595
|
+
* @class
|
|
596
|
+
*/
|
|
597
|
+
class DescribeDataKeysRequest extends AbstractModel {
|
|
598
|
+
constructor(){
|
|
599
|
+
super();
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Specifies the ID list of datakeys to query. supports up to 100 DataKey ids in a batch query.
|
|
603
|
+
* @type {Array.<string> || null}
|
|
604
|
+
*/
|
|
605
|
+
this.DataKeyIds = null;
|
|
606
|
+
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @private
|
|
611
|
+
*/
|
|
612
|
+
deserialize(params) {
|
|
613
|
+
if (!params) {
|
|
614
|
+
return;
|
|
615
|
+
}
|
|
616
|
+
this.DataKeyIds = 'DataKeyIds' in params ? params.DataKeyIds : null;
|
|
617
|
+
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
546
621
|
/**
|
|
547
622
|
* ListAlgorithms response structure.
|
|
548
623
|
* @class
|
|
@@ -644,6 +719,34 @@ class DisableKeysResponse extends AbstractModel {
|
|
|
644
719
|
}
|
|
645
720
|
}
|
|
646
721
|
|
|
722
|
+
/**
|
|
723
|
+
* EnableDataKey response structure.
|
|
724
|
+
* @class
|
|
725
|
+
*/
|
|
726
|
+
class EnableDataKeyResponse extends AbstractModel {
|
|
727
|
+
constructor(){
|
|
728
|
+
super();
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
732
|
+
* @type {string || null}
|
|
733
|
+
*/
|
|
734
|
+
this.RequestId = null;
|
|
735
|
+
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* @private
|
|
740
|
+
*/
|
|
741
|
+
deserialize(params) {
|
|
742
|
+
if (!params) {
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
746
|
+
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
647
750
|
/**
|
|
648
751
|
* DescribeWhiteBoxKey response structure.
|
|
649
752
|
* @class
|
|
@@ -748,36 +851,72 @@ class DescribeWhiteBoxServiceStatusResponse extends AbstractModel {
|
|
|
748
851
|
}
|
|
749
852
|
|
|
750
853
|
/**
|
|
751
|
-
*
|
|
854
|
+
* AsymmetricRsaDecrypt response structure.
|
|
752
855
|
* @class
|
|
753
856
|
*/
|
|
754
|
-
class
|
|
857
|
+
class AsymmetricRsaDecryptResponse extends AbstractModel {
|
|
755
858
|
constructor(){
|
|
756
859
|
super();
|
|
757
860
|
|
|
758
861
|
/**
|
|
759
|
-
*
|
|
862
|
+
* Unique CMK ID
|
|
760
863
|
* @type {string || null}
|
|
761
864
|
*/
|
|
762
|
-
this.
|
|
865
|
+
this.KeyId = null;
|
|
763
866
|
|
|
764
867
|
/**
|
|
765
|
-
*
|
|
868
|
+
* Base64-encoded plaintext after decryption
|
|
766
869
|
* @type {string || null}
|
|
767
870
|
*/
|
|
768
|
-
this.
|
|
871
|
+
this.Plaintext = null;
|
|
769
872
|
|
|
770
873
|
/**
|
|
771
|
-
*
|
|
874
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
772
875
|
* @type {string || null}
|
|
773
876
|
*/
|
|
774
|
-
this.
|
|
877
|
+
this.RequestId = null;
|
|
878
|
+
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* @private
|
|
883
|
+
*/
|
|
884
|
+
deserialize(params) {
|
|
885
|
+
if (!params) {
|
|
886
|
+
return;
|
|
887
|
+
}
|
|
888
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
889
|
+
this.Plaintext = 'Plaintext' in params ? params.Plaintext : null;
|
|
890
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
891
|
+
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* ScheduleDataKeyDeletion response structure.
|
|
897
|
+
* @class
|
|
898
|
+
*/
|
|
899
|
+
class ScheduleDataKeyDeletionResponse extends AbstractModel {
|
|
900
|
+
constructor(){
|
|
901
|
+
super();
|
|
775
902
|
|
|
776
903
|
/**
|
|
777
|
-
*
|
|
904
|
+
* Schedule deletion execution time.
|
|
778
905
|
* @type {number || null}
|
|
779
906
|
*/
|
|
780
|
-
this.
|
|
907
|
+
this.DeletionDate = null;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Unique identifier of the data key scheduled for deletion.
|
|
911
|
+
* @type {string || null}
|
|
912
|
+
*/
|
|
913
|
+
this.DataKeyId = null;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
917
|
+
* @type {string || null}
|
|
918
|
+
*/
|
|
919
|
+
this.RequestId = null;
|
|
781
920
|
|
|
782
921
|
}
|
|
783
922
|
|
|
@@ -788,10 +927,9 @@ class ImportKeyMaterialRequest extends AbstractModel {
|
|
|
788
927
|
if (!params) {
|
|
789
928
|
return;
|
|
790
929
|
}
|
|
791
|
-
this.
|
|
792
|
-
this.
|
|
793
|
-
this.
|
|
794
|
-
this.ValidTo = 'ValidTo' in params ? params.ValidTo : null;
|
|
930
|
+
this.DeletionDate = 'DeletionDate' in params ? params.DeletionDate : null;
|
|
931
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
932
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
795
933
|
|
|
796
934
|
}
|
|
797
935
|
}
|
|
@@ -1002,6 +1140,30 @@ class GenerateDataKeyRequest extends AbstractModel {
|
|
|
1002
1140
|
*/
|
|
1003
1141
|
this.EncryptionAlgorithm = null;
|
|
1004
1142
|
|
|
1143
|
+
/**
|
|
1144
|
+
* Indicates whether the data generated key is managed by KMS. 1 means the key is managed and saved by KMS. 0 means the key is not managed by KMS.
|
|
1145
|
+
* @type {number || null}
|
|
1146
|
+
*/
|
|
1147
|
+
this.IsHostedByKms = null;
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Name of the data key. required when IsHostedByKms is 1. optional when IsHostedByKms is 0 as KMS does not manage it.
|
|
1151
|
+
* @type {string || null}
|
|
1152
|
+
*/
|
|
1153
|
+
this.DataKeyName = null;
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* Describes the data key. maximum 100 bytes.
|
|
1157
|
+
* @type {string || null}
|
|
1158
|
+
*/
|
|
1159
|
+
this.Description = null;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* HSM cluster ID corresponding to the KMS exclusive edition. if HsmClusterId is specified, it indicates the root key is in this cluster and verifies whether KeyId corresponds to HsmClusterId.
|
|
1163
|
+
* @type {string || null}
|
|
1164
|
+
*/
|
|
1165
|
+
this.HsmClusterId = null;
|
|
1166
|
+
|
|
1005
1167
|
}
|
|
1006
1168
|
|
|
1007
1169
|
/**
|
|
@@ -1017,6 +1179,10 @@ class GenerateDataKeyRequest extends AbstractModel {
|
|
|
1017
1179
|
this.EncryptionContext = 'EncryptionContext' in params ? params.EncryptionContext : null;
|
|
1018
1180
|
this.EncryptionPublicKey = 'EncryptionPublicKey' in params ? params.EncryptionPublicKey : null;
|
|
1019
1181
|
this.EncryptionAlgorithm = 'EncryptionAlgorithm' in params ? params.EncryptionAlgorithm : null;
|
|
1182
|
+
this.IsHostedByKms = 'IsHostedByKms' in params ? params.IsHostedByKms : null;
|
|
1183
|
+
this.DataKeyName = 'DataKeyName' in params ? params.DataKeyName : null;
|
|
1184
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1185
|
+
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
1020
1186
|
|
|
1021
1187
|
}
|
|
1022
1188
|
}
|
|
@@ -1168,6 +1334,76 @@ class GenerateRandomResponse extends AbstractModel {
|
|
|
1168
1334
|
}
|
|
1169
1335
|
}
|
|
1170
1336
|
|
|
1337
|
+
/**
|
|
1338
|
+
* UpdateDataKeyName request structure.
|
|
1339
|
+
* @class
|
|
1340
|
+
*/
|
|
1341
|
+
class UpdateDataKeyNameRequest extends AbstractModel {
|
|
1342
|
+
constructor(){
|
|
1343
|
+
super();
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* Unique identifier of a data key.
|
|
1347
|
+
* @type {string || null}
|
|
1348
|
+
*/
|
|
1349
|
+
this.DataKeyId = null;
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Name of the data key.
|
|
1353
|
+
* @type {string || null}
|
|
1354
|
+
*/
|
|
1355
|
+
this.DataKeyName = null;
|
|
1356
|
+
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* @private
|
|
1361
|
+
*/
|
|
1362
|
+
deserialize(params) {
|
|
1363
|
+
if (!params) {
|
|
1364
|
+
return;
|
|
1365
|
+
}
|
|
1366
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
1367
|
+
this.DataKeyName = 'DataKeyName' in params ? params.DataKeyName : null;
|
|
1368
|
+
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* ScheduleDataKeyDeletion request structure.
|
|
1374
|
+
* @class
|
|
1375
|
+
*/
|
|
1376
|
+
class ScheduleDataKeyDeletionRequest extends AbstractModel {
|
|
1377
|
+
constructor(){
|
|
1378
|
+
super();
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* Unique id of a data key.
|
|
1382
|
+
* @type {string || null}
|
|
1383
|
+
*/
|
|
1384
|
+
this.DataKeyId = null;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Schedule deletion time range: [7,30].
|
|
1388
|
+
* @type {number || null}
|
|
1389
|
+
*/
|
|
1390
|
+
this.PendingWindowInDays = null;
|
|
1391
|
+
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* @private
|
|
1396
|
+
*/
|
|
1397
|
+
deserialize(params) {
|
|
1398
|
+
if (!params) {
|
|
1399
|
+
return;
|
|
1400
|
+
}
|
|
1401
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
1402
|
+
this.PendingWindowInDays = 'PendingWindowInDays' in params ? params.PendingWindowInDays : null;
|
|
1403
|
+
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1171
1407
|
/**
|
|
1172
1408
|
* DescribeKeys request structure.
|
|
1173
1409
|
* @class
|
|
@@ -1337,22 +1573,65 @@ class VerifyByAsymmetricKeyResponse extends AbstractModel {
|
|
|
1337
1573
|
}
|
|
1338
1574
|
|
|
1339
1575
|
/**
|
|
1340
|
-
*
|
|
1576
|
+
* DescribeDataKeys response structure.
|
|
1341
1577
|
* @class
|
|
1342
1578
|
*/
|
|
1343
|
-
class
|
|
1579
|
+
class DescribeDataKeysResponse extends AbstractModel {
|
|
1344
1580
|
constructor(){
|
|
1345
1581
|
super();
|
|
1346
1582
|
|
|
1347
1583
|
/**
|
|
1348
|
-
*
|
|
1349
|
-
* @type {
|
|
1584
|
+
* Response data key attribute information list.
|
|
1585
|
+
* @type {Array.<DataKeyMetadata> || null}
|
|
1350
1586
|
*/
|
|
1351
|
-
this.
|
|
1352
|
-
|
|
1353
|
-
}
|
|
1587
|
+
this.DataKeyMetadatas = null;
|
|
1354
1588
|
|
|
1355
|
-
|
|
1589
|
+
/**
|
|
1590
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1591
|
+
* @type {string || null}
|
|
1592
|
+
*/
|
|
1593
|
+
this.RequestId = null;
|
|
1594
|
+
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* @private
|
|
1599
|
+
*/
|
|
1600
|
+
deserialize(params) {
|
|
1601
|
+
if (!params) {
|
|
1602
|
+
return;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
if (params.DataKeyMetadatas) {
|
|
1606
|
+
this.DataKeyMetadatas = new Array();
|
|
1607
|
+
for (let z in params.DataKeyMetadatas) {
|
|
1608
|
+
let obj = new DataKeyMetadata();
|
|
1609
|
+
obj.deserialize(params.DataKeyMetadatas[z]);
|
|
1610
|
+
this.DataKeyMetadatas.push(obj);
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1614
|
+
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* DescribeWhiteBoxKey request structure.
|
|
1620
|
+
* @class
|
|
1621
|
+
*/
|
|
1622
|
+
class DescribeWhiteBoxKeyRequest extends AbstractModel {
|
|
1623
|
+
constructor(){
|
|
1624
|
+
super();
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* Globally unique white-box key ID
|
|
1628
|
+
* @type {string || null}
|
|
1629
|
+
*/
|
|
1630
|
+
this.KeyId = null;
|
|
1631
|
+
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1356
1635
|
* @private
|
|
1357
1636
|
*/
|
|
1358
1637
|
deserialize(params) {
|
|
@@ -1463,6 +1742,56 @@ If `EncryptionPublicKey` is specified, this field will return the Base64-encoded
|
|
|
1463
1742
|
}
|
|
1464
1743
|
}
|
|
1465
1744
|
|
|
1745
|
+
/**
|
|
1746
|
+
* ListDataKeyDetail response structure.
|
|
1747
|
+
* @class
|
|
1748
|
+
*/
|
|
1749
|
+
class ListDataKeyDetailResponse extends AbstractModel {
|
|
1750
|
+
constructor(){
|
|
1751
|
+
super();
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Returns the attribute information list.
|
|
1755
|
+
* @type {Array.<DataKeyMetadata> || null}
|
|
1756
|
+
*/
|
|
1757
|
+
this.DataKeyMetadatas = null;
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Total number of datakeys.
|
|
1761
|
+
* @type {number || null}
|
|
1762
|
+
*/
|
|
1763
|
+
this.TotalCount = null;
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1767
|
+
* @type {string || null}
|
|
1768
|
+
*/
|
|
1769
|
+
this.RequestId = null;
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* @private
|
|
1775
|
+
*/
|
|
1776
|
+
deserialize(params) {
|
|
1777
|
+
if (!params) {
|
|
1778
|
+
return;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
if (params.DataKeyMetadatas) {
|
|
1782
|
+
this.DataKeyMetadatas = new Array();
|
|
1783
|
+
for (let z in params.DataKeyMetadatas) {
|
|
1784
|
+
let obj = new DataKeyMetadata();
|
|
1785
|
+
obj.deserialize(params.DataKeyMetadatas[z]);
|
|
1786
|
+
this.DataKeyMetadatas.push(obj);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1790
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1791
|
+
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1466
1795
|
/**
|
|
1467
1796
|
* CreateWhiteBoxKey response structure.
|
|
1468
1797
|
* @class
|
|
@@ -1527,19 +1856,37 @@ class CreateWhiteBoxKeyResponse extends AbstractModel {
|
|
|
1527
1856
|
}
|
|
1528
1857
|
|
|
1529
1858
|
/**
|
|
1530
|
-
*
|
|
1859
|
+
* ImportKeyMaterial request structure.
|
|
1531
1860
|
* @class
|
|
1532
1861
|
*/
|
|
1533
|
-
class
|
|
1862
|
+
class ImportKeyMaterialRequest extends AbstractModel {
|
|
1534
1863
|
constructor(){
|
|
1535
1864
|
super();
|
|
1536
1865
|
|
|
1537
1866
|
/**
|
|
1538
|
-
*
|
|
1867
|
+
* Base64-encoded key material that encrypted with the `PublicKey` returned by `GetParametersForImport`. For the KMS of SM-CRYPTO version, the length of the key material should be 128 bits, while for KMS of FIPS-compliant version, the length should be 256 bits.
|
|
1868
|
+
* @type {string || null}
|
|
1869
|
+
*/
|
|
1870
|
+
this.EncryptedKeyMaterial = null;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Import token obtained by calling `GetParametersForImport`.
|
|
1874
|
+
* @type {string || null}
|
|
1875
|
+
*/
|
|
1876
|
+
this.ImportToken = null;
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* Specifies the CMK into which to import key material, which must be the same as the one specified by `GetParametersForImport`.
|
|
1539
1880
|
* @type {string || null}
|
|
1540
1881
|
*/
|
|
1541
1882
|
this.KeyId = null;
|
|
1542
1883
|
|
|
1884
|
+
/**
|
|
1885
|
+
* Unix timestamp of the key material's expiration time. If this value is empty or 0, the key material will never expire. To specify the expiration time, it should be later than the current time. Maximum value: 2147443200.
|
|
1886
|
+
* @type {number || null}
|
|
1887
|
+
*/
|
|
1888
|
+
this.ValidTo = null;
|
|
1889
|
+
|
|
1543
1890
|
}
|
|
1544
1891
|
|
|
1545
1892
|
/**
|
|
@@ -1549,7 +1896,10 @@ class Key extends AbstractModel {
|
|
|
1549
1896
|
if (!params) {
|
|
1550
1897
|
return;
|
|
1551
1898
|
}
|
|
1899
|
+
this.EncryptedKeyMaterial = 'EncryptedKeyMaterial' in params ? params.EncryptedKeyMaterial : null;
|
|
1900
|
+
this.ImportToken = 'ImportToken' in params ? params.ImportToken : null;
|
|
1552
1901
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
1902
|
+
this.ValidTo = 'ValidTo' in params ? params.ValidTo : null;
|
|
1553
1903
|
|
|
1554
1904
|
}
|
|
1555
1905
|
}
|
|
@@ -1680,6 +2030,34 @@ class EncryptByWhiteBoxResponse extends AbstractModel {
|
|
|
1680
2030
|
}
|
|
1681
2031
|
}
|
|
1682
2032
|
|
|
2033
|
+
/**
|
|
2034
|
+
* UpdateDataKeyName response structure.
|
|
2035
|
+
* @class
|
|
2036
|
+
*/
|
|
2037
|
+
class UpdateDataKeyNameResponse extends AbstractModel {
|
|
2038
|
+
constructor(){
|
|
2039
|
+
super();
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2043
|
+
* @type {string || null}
|
|
2044
|
+
*/
|
|
2045
|
+
this.RequestId = null;
|
|
2046
|
+
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* @private
|
|
2051
|
+
*/
|
|
2052
|
+
deserialize(params) {
|
|
2053
|
+
if (!params) {
|
|
2054
|
+
return;
|
|
2055
|
+
}
|
|
2056
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2057
|
+
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
|
|
1683
2061
|
/**
|
|
1684
2062
|
* DescribeKeys response structure.
|
|
1685
2063
|
* @class
|
|
@@ -1751,6 +2129,56 @@ class EnableWhiteBoxKeyResponse extends AbstractModel {
|
|
|
1751
2129
|
}
|
|
1752
2130
|
}
|
|
1753
2131
|
|
|
2132
|
+
/**
|
|
2133
|
+
* ListDataKeys response structure.
|
|
2134
|
+
* @class
|
|
2135
|
+
*/
|
|
2136
|
+
class ListDataKeysResponse extends AbstractModel {
|
|
2137
|
+
constructor(){
|
|
2138
|
+
super();
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* Specifies the list array of data key ids.
|
|
2142
|
+
* @type {Array.<DataKey> || null}
|
|
2143
|
+
*/
|
|
2144
|
+
this.DataKeys = null;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Total number of data keys.
|
|
2148
|
+
* @type {number || null}
|
|
2149
|
+
*/
|
|
2150
|
+
this.TotalCount = null;
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2154
|
+
* @type {string || null}
|
|
2155
|
+
*/
|
|
2156
|
+
this.RequestId = null;
|
|
2157
|
+
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* @private
|
|
2162
|
+
*/
|
|
2163
|
+
deserialize(params) {
|
|
2164
|
+
if (!params) {
|
|
2165
|
+
return;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
if (params.DataKeys) {
|
|
2169
|
+
this.DataKeys = new Array();
|
|
2170
|
+
for (let z in params.DataKeys) {
|
|
2171
|
+
let obj = new DataKey();
|
|
2172
|
+
obj.deserialize(params.DataKeys[z]);
|
|
2173
|
+
this.DataKeys.push(obj);
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2177
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2178
|
+
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
|
|
1754
2182
|
/**
|
|
1755
2183
|
* ReEncrypt request structure.
|
|
1756
2184
|
* @class
|
|
@@ -1851,30 +2279,53 @@ class ListKeysResponse extends AbstractModel {
|
|
|
1851
2279
|
}
|
|
1852
2280
|
|
|
1853
2281
|
/**
|
|
1854
|
-
*
|
|
2282
|
+
* Tag filter
|
|
1855
2283
|
* @class
|
|
1856
2284
|
*/
|
|
1857
|
-
class
|
|
2285
|
+
class TagFilter extends AbstractModel {
|
|
1858
2286
|
constructor(){
|
|
1859
2287
|
super();
|
|
1860
2288
|
|
|
1861
2289
|
/**
|
|
1862
|
-
*
|
|
2290
|
+
* Tag key
|
|
1863
2291
|
* @type {string || null}
|
|
1864
2292
|
*/
|
|
1865
|
-
this.
|
|
2293
|
+
this.TagKey = null;
|
|
1866
2294
|
|
|
1867
2295
|
/**
|
|
1868
|
-
*
|
|
1869
|
-
* @type {string || null}
|
|
2296
|
+
* Tag value
|
|
2297
|
+
* @type {Array.<string> || null}
|
|
1870
2298
|
*/
|
|
1871
|
-
this.
|
|
2299
|
+
this.TagValue = null;
|
|
2300
|
+
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* @private
|
|
2305
|
+
*/
|
|
2306
|
+
deserialize(params) {
|
|
2307
|
+
if (!params) {
|
|
2308
|
+
return;
|
|
2309
|
+
}
|
|
2310
|
+
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
2311
|
+
this.TagValue = 'TagValue' in params ? params.TagValue : null;
|
|
2312
|
+
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* DescribeDataKey request structure.
|
|
2318
|
+
* @class
|
|
2319
|
+
*/
|
|
2320
|
+
class DescribeDataKeyRequest extends AbstractModel {
|
|
2321
|
+
constructor(){
|
|
2322
|
+
super();
|
|
1872
2323
|
|
|
1873
2324
|
/**
|
|
1874
|
-
*
|
|
2325
|
+
* Data key globally unique id.
|
|
1875
2326
|
* @type {string || null}
|
|
1876
2327
|
*/
|
|
1877
|
-
this.
|
|
2328
|
+
this.DataKeyId = null;
|
|
1878
2329
|
|
|
1879
2330
|
}
|
|
1880
2331
|
|
|
@@ -1885,21 +2336,31 @@ class AsymmetricSm2DecryptResponse extends AbstractModel {
|
|
|
1885
2336
|
if (!params) {
|
|
1886
2337
|
return;
|
|
1887
2338
|
}
|
|
1888
|
-
this.
|
|
1889
|
-
this.Plaintext = 'Plaintext' in params ? params.Plaintext : null;
|
|
1890
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2339
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
1891
2340
|
|
|
1892
2341
|
}
|
|
1893
2342
|
}
|
|
1894
2343
|
|
|
1895
2344
|
/**
|
|
1896
|
-
*
|
|
2345
|
+
* AsymmetricSm2Decrypt response structure.
|
|
1897
2346
|
* @class
|
|
1898
2347
|
*/
|
|
1899
|
-
class
|
|
2348
|
+
class AsymmetricSm2DecryptResponse extends AbstractModel {
|
|
1900
2349
|
constructor(){
|
|
1901
2350
|
super();
|
|
1902
2351
|
|
|
2352
|
+
/**
|
|
2353
|
+
* Unique CMK ID
|
|
2354
|
+
* @type {string || null}
|
|
2355
|
+
*/
|
|
2356
|
+
this.KeyId = null;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* Base64-encoded plaintext after decryption
|
|
2360
|
+
* @type {string || null}
|
|
2361
|
+
*/
|
|
2362
|
+
this.Plaintext = null;
|
|
2363
|
+
|
|
1903
2364
|
/**
|
|
1904
2365
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1905
2366
|
* @type {string || null}
|
|
@@ -1915,24 +2376,26 @@ class DisableKeyRotationResponse extends AbstractModel {
|
|
|
1915
2376
|
if (!params) {
|
|
1916
2377
|
return;
|
|
1917
2378
|
}
|
|
2379
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2380
|
+
this.Plaintext = 'Plaintext' in params ? params.Plaintext : null;
|
|
1918
2381
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1919
2382
|
|
|
1920
2383
|
}
|
|
1921
2384
|
}
|
|
1922
2385
|
|
|
1923
2386
|
/**
|
|
1924
|
-
*
|
|
2387
|
+
* DisableKeyRotation response structure.
|
|
1925
2388
|
* @class
|
|
1926
2389
|
*/
|
|
1927
|
-
class
|
|
2390
|
+
class DisableKeyRotationResponse extends AbstractModel {
|
|
1928
2391
|
constructor(){
|
|
1929
2392
|
super();
|
|
1930
2393
|
|
|
1931
2394
|
/**
|
|
1932
|
-
*
|
|
1933
|
-
* @type {
|
|
2395
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2396
|
+
* @type {string || null}
|
|
1934
2397
|
*/
|
|
1935
|
-
this.
|
|
2398
|
+
this.RequestId = null;
|
|
1936
2399
|
|
|
1937
2400
|
}
|
|
1938
2401
|
|
|
@@ -1943,42 +2406,351 @@ class DisableWhiteBoxKeysRequest extends AbstractModel {
|
|
|
1943
2406
|
if (!params) {
|
|
1944
2407
|
return;
|
|
1945
2408
|
}
|
|
1946
|
-
this.
|
|
2409
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1947
2410
|
|
|
1948
2411
|
}
|
|
1949
2412
|
}
|
|
1950
2413
|
|
|
1951
2414
|
/**
|
|
1952
|
-
*
|
|
2415
|
+
* Specifies the data key attribute information.
|
|
1953
2416
|
* @class
|
|
1954
2417
|
*/
|
|
1955
|
-
class
|
|
2418
|
+
class DataKeyMetadata extends AbstractModel {
|
|
1956
2419
|
constructor(){
|
|
1957
2420
|
super();
|
|
1958
2421
|
|
|
1959
2422
|
/**
|
|
1960
|
-
*
|
|
1961
|
-
* @type {
|
|
2423
|
+
* DataKey globally unique id.
|
|
2424
|
+
* @type {string || null}
|
|
1962
2425
|
*/
|
|
1963
|
-
this.
|
|
2426
|
+
this.DataKeyId = null;
|
|
1964
2427
|
|
|
1965
2428
|
/**
|
|
1966
|
-
*
|
|
1967
|
-
* @type {
|
|
2429
|
+
* Globally unique id of the CMK.
|
|
2430
|
+
* @type {string || null}
|
|
1968
2431
|
*/
|
|
1969
|
-
this.
|
|
2432
|
+
this.KeyId = null;
|
|
1970
2433
|
|
|
1971
2434
|
/**
|
|
1972
|
-
*
|
|
1973
|
-
* @type {
|
|
2435
|
+
* Key name as a more recognizable and understandable data key.
|
|
2436
|
+
* @type {string || null}
|
|
1974
2437
|
*/
|
|
1975
|
-
this.
|
|
2438
|
+
this.DataKeyName = null;
|
|
1976
2439
|
|
|
1977
2440
|
/**
|
|
1978
|
-
*
|
|
2441
|
+
* Specifies the length of the data key in bytes.
|
|
1979
2442
|
* @type {number || null}
|
|
1980
2443
|
*/
|
|
1981
|
-
this.
|
|
2444
|
+
this.NumberOfBytes = null;
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Key key creation time.
|
|
2448
|
+
* @type {number || null}
|
|
2449
|
+
*/
|
|
2450
|
+
this.CreateTime = null;
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* DataKey description.
|
|
2454
|
+
* @type {string || null}
|
|
2455
|
+
*/
|
|
2456
|
+
this.Description = null;
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* DataKey status. valid values: Enabled, Disabled, PendingDelete.
|
|
2460
|
+
* @type {string || null}
|
|
2461
|
+
*/
|
|
2462
|
+
this.KeyState = null;
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* Creator.
|
|
2466
|
+
* @type {number || null}
|
|
2467
|
+
*/
|
|
2468
|
+
this.CreatorUin = null;
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Specifies the creator of the data key. valid values: user (user-created) or product name (auto-created by authorized cloud services).
|
|
2472
|
+
* @type {string || null}
|
|
2473
|
+
*/
|
|
2474
|
+
this.Owner = null;
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* The time when schedule deletion.
|
|
2478
|
+
* @type {number || null}
|
|
2479
|
+
*/
|
|
2480
|
+
this.DeletionDate = null;
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* Specifies the key material type of DataKey. valid values: TENCENT_KMS (created by KMS), EXTERNAL (user import).
|
|
2484
|
+
* @type {string || null}
|
|
2485
|
+
*/
|
|
2486
|
+
this.Origin = null;
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* HSM cluster ID (only applicable to KMS exclusive/managed service instance).
|
|
2490
|
+
* @type {string || null}
|
|
2491
|
+
*/
|
|
2492
|
+
this.HsmClusterId = null;
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Resource ID in the format of `creatorUin/$creatorUin/$dataKeyId`.
|
|
2496
|
+
* @type {string || null}
|
|
2497
|
+
*/
|
|
2498
|
+
this.ResourceId = null;
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* Whether the key is a primary replica. valid values: `0` (primary), `1` (synced replica).
|
|
2502
|
+
* @type {number || null}
|
|
2503
|
+
*/
|
|
2504
|
+
this.IsSyncReplica = null;
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* Synchronous original region.
|
|
2508
|
+
* @type {string || null}
|
|
2509
|
+
*/
|
|
2510
|
+
this.SourceRegion = null;
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* The state of key synchronization. valid values: 0 (unsynced), 1 (synchronization successful), 2 (synchronization failed), 3 (synchronizing).
|
|
2514
|
+
* @type {number || null}
|
|
2515
|
+
*/
|
|
2516
|
+
this.SyncStatus = null;
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Sresult description}.
|
|
2520
|
+
* @type {string || null}
|
|
2521
|
+
*/
|
|
2522
|
+
this.SyncMessages = null;
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* Start time of synchronization.
|
|
2526
|
+
* @type {number || null}
|
|
2527
|
+
*/
|
|
2528
|
+
this.SyncStartTime = null;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Specifies the synchronous end time.
|
|
2532
|
+
* @type {number || null}
|
|
2533
|
+
*/
|
|
2534
|
+
this.SyncEndTime = null;
|
|
2535
|
+
|
|
2536
|
+
/**
|
|
2537
|
+
* Synchronous original cluster. if empty, it is a public cloud public cluster.
|
|
2538
|
+
* @type {string || null}
|
|
2539
|
+
*/
|
|
2540
|
+
this.SourceHsmClusterId = null;
|
|
2541
|
+
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* @private
|
|
2546
|
+
*/
|
|
2547
|
+
deserialize(params) {
|
|
2548
|
+
if (!params) {
|
|
2549
|
+
return;
|
|
2550
|
+
}
|
|
2551
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
2552
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2553
|
+
this.DataKeyName = 'DataKeyName' in params ? params.DataKeyName : null;
|
|
2554
|
+
this.NumberOfBytes = 'NumberOfBytes' in params ? params.NumberOfBytes : null;
|
|
2555
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2556
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2557
|
+
this.KeyState = 'KeyState' in params ? params.KeyState : null;
|
|
2558
|
+
this.CreatorUin = 'CreatorUin' in params ? params.CreatorUin : null;
|
|
2559
|
+
this.Owner = 'Owner' in params ? params.Owner : null;
|
|
2560
|
+
this.DeletionDate = 'DeletionDate' in params ? params.DeletionDate : null;
|
|
2561
|
+
this.Origin = 'Origin' in params ? params.Origin : null;
|
|
2562
|
+
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
2563
|
+
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
|
|
2564
|
+
this.IsSyncReplica = 'IsSyncReplica' in params ? params.IsSyncReplica : null;
|
|
2565
|
+
this.SourceRegion = 'SourceRegion' in params ? params.SourceRegion : null;
|
|
2566
|
+
this.SyncStatus = 'SyncStatus' in params ? params.SyncStatus : null;
|
|
2567
|
+
this.SyncMessages = 'SyncMessages' in params ? params.SyncMessages : null;
|
|
2568
|
+
this.SyncStartTime = 'SyncStartTime' in params ? params.SyncStartTime : null;
|
|
2569
|
+
this.SyncEndTime = 'SyncEndTime' in params ? params.SyncEndTime : null;
|
|
2570
|
+
this.SourceHsmClusterId = 'SourceHsmClusterId' in params ? params.SourceHsmClusterId : null;
|
|
2571
|
+
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* VerifyByAsymmetricKey request structure.
|
|
2577
|
+
* @class
|
|
2578
|
+
*/
|
|
2579
|
+
class VerifyByAsymmetricKeyRequest extends AbstractModel {
|
|
2580
|
+
constructor(){
|
|
2581
|
+
super();
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* Unique ID of a key
|
|
2585
|
+
* @type {string || null}
|
|
2586
|
+
*/
|
|
2587
|
+
this.KeyId = null;
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* Signature value, which is generated by calling the KMS signature API.
|
|
2591
|
+
* @type {string || null}
|
|
2592
|
+
*/
|
|
2593
|
+
this.SignatureValue = null;
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* Full message or message abstract. Before Base64 encoding, an original message can contain up to 4,096 bytes while a message abstract must be 32 bytes.
|
|
2597
|
+
* @type {string || null}
|
|
2598
|
+
*/
|
|
2599
|
+
this.Message = null;
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* Signature algorithm. The valid values include `SM2DSA`, `ECC_P256_R1`, `RSA_PSS_SHA_256`, and `RSA_PKCS1_SHA_256`, etc. You can get a full list of supported algorithms using the ListAlgorithms API.
|
|
2603
|
+
* @type {string || null}
|
|
2604
|
+
*/
|
|
2605
|
+
this.Algorithm = null;
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Message type. Valid values: `RAW` (indicating an original message; used by default if the parameter is not passed in) and `DIGEST`.
|
|
2609
|
+
* @type {string || null}
|
|
2610
|
+
*/
|
|
2611
|
+
this.MessageType = null;
|
|
2612
|
+
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* @private
|
|
2617
|
+
*/
|
|
2618
|
+
deserialize(params) {
|
|
2619
|
+
if (!params) {
|
|
2620
|
+
return;
|
|
2621
|
+
}
|
|
2622
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2623
|
+
this.SignatureValue = 'SignatureValue' in params ? params.SignatureValue : null;
|
|
2624
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
2625
|
+
this.Algorithm = 'Algorithm' in params ? params.Algorithm : null;
|
|
2626
|
+
this.MessageType = 'MessageType' in params ? params.MessageType : null;
|
|
2627
|
+
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* DisableWhiteBoxKeys request structure.
|
|
2633
|
+
* @class
|
|
2634
|
+
*/
|
|
2635
|
+
class DisableWhiteBoxKeysRequest extends AbstractModel {
|
|
2636
|
+
constructor(){
|
|
2637
|
+
super();
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* List of globally unique white-box key IDs. Note: you should make sure that all provided `KeyId` values are in valid format, unique, and actually exist. Up to 50 ones are allowed.
|
|
2641
|
+
* @type {Array.<string> || null}
|
|
2642
|
+
*/
|
|
2643
|
+
this.KeyIds = null;
|
|
2644
|
+
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* @private
|
|
2649
|
+
*/
|
|
2650
|
+
deserialize(params) {
|
|
2651
|
+
if (!params) {
|
|
2652
|
+
return;
|
|
2653
|
+
}
|
|
2654
|
+
this.KeyIds = 'KeyIds' in params ? params.KeyIds : null;
|
|
2655
|
+
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
/**
|
|
2660
|
+
* ImportDataKey request structure.
|
|
2661
|
+
* @class
|
|
2662
|
+
*/
|
|
2663
|
+
class ImportDataKeyRequest extends AbstractModel {
|
|
2664
|
+
constructor(){
|
|
2665
|
+
super();
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* Name of the data key.
|
|
2669
|
+
* @type {string || null}
|
|
2670
|
+
*/
|
|
2671
|
+
this.DataKeyName = null;
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* If the imported key is plaintext data key, it is the base64 plaintext data key after conversion. if the imported key is ciphertext data key, it is the ciphertext data key generated by the KMS GenerateDataKey interface.
|
|
2675
|
+
* @type {string || null}
|
|
2676
|
+
*/
|
|
2677
|
+
this.ImportKeyMaterial = null;
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* 1: ciphertext import (data key generated by KMS api) 2: plaintext import.
|
|
2681
|
+
* @type {number || null}
|
|
2682
|
+
*/
|
|
2683
|
+
this.ImportType = null;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Describes the data key. maximum 100 bytes.
|
|
2687
|
+
* @type {string || null}
|
|
2688
|
+
*/
|
|
2689
|
+
this.Description = null;
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* When importing an encrypted data key, no need to input the root key. if the input is provided, validate whether the KeyId matches the one in the ciphertext.
|
|
2693
|
+
When importing plaintext data key, KeyId cannot be empty. the data key is encrypted with the specified root key.
|
|
2694
|
+
* @type {string || null}
|
|
2695
|
+
*/
|
|
2696
|
+
this.KeyId = null;
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* HSM cluster ID corresponding to the KMS exclusive edition. if HsmClusterId is specified, it indicates the root key is in this cluster and verifies whether KeyId corresponds to HsmClusterId.
|
|
2700
|
+
* @type {string || null}
|
|
2701
|
+
*/
|
|
2702
|
+
this.HsmClusterId = null;
|
|
2703
|
+
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
/**
|
|
2707
|
+
* @private
|
|
2708
|
+
*/
|
|
2709
|
+
deserialize(params) {
|
|
2710
|
+
if (!params) {
|
|
2711
|
+
return;
|
|
2712
|
+
}
|
|
2713
|
+
this.DataKeyName = 'DataKeyName' in params ? params.DataKeyName : null;
|
|
2714
|
+
this.ImportKeyMaterial = 'ImportKeyMaterial' in params ? params.ImportKeyMaterial : null;
|
|
2715
|
+
this.ImportType = 'ImportType' in params ? params.ImportType : null;
|
|
2716
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2717
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2718
|
+
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
2719
|
+
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* ListKeyDetail request structure.
|
|
2725
|
+
* @class
|
|
2726
|
+
*/
|
|
2727
|
+
class ListKeyDetailRequest extends AbstractModel {
|
|
2728
|
+
constructor(){
|
|
2729
|
+
super();
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* This parameter has the same meaning of the `Offset` in an SQL query, indicating that this acquisition starts from the "No. Offset value" element of the array arranged in a certain order. The default value is 0.
|
|
2733
|
+
* @type {number || null}
|
|
2734
|
+
*/
|
|
2735
|
+
this.Offset = null;
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* This parameter has the same meaning of the `Limit` in an SQL query, indicating that up to `Limit` value elements can be obtained in this request. The default value is 10 and the maximum value is 200.
|
|
2739
|
+
* @type {number || null}
|
|
2740
|
+
*/
|
|
2741
|
+
this.Limit = null;
|
|
2742
|
+
|
|
2743
|
+
/**
|
|
2744
|
+
* Filters by creator role. 0 (default value): the CMK is created by the user; 1: the CMK is created automatically by an authorized Tencent Cloud service.
|
|
2745
|
+
* @type {number || null}
|
|
2746
|
+
*/
|
|
2747
|
+
this.Role = null;
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Sorts by CMK creation time. 0: descending; 1: ascending
|
|
2751
|
+
* @type {number || null}
|
|
2752
|
+
*/
|
|
2753
|
+
this.OrderType = null;
|
|
1982
2754
|
|
|
1983
2755
|
/**
|
|
1984
2756
|
* Filters by CMK status. 0: all CMKs; 1: CMKs in `Enabled` status only; 2: CMKs in `Disabled` status only; 3: CMKs in `PendingDelete` status only (i.e., keys with schedule deletion enabled); 4: CMKs in `PendingImport` status only; 5: CMKs in `Archived` status only.
|
|
@@ -2145,6 +2917,34 @@ class GetRegionsResponse extends AbstractModel {
|
|
|
2145
2917
|
}
|
|
2146
2918
|
}
|
|
2147
2919
|
|
|
2920
|
+
/**
|
|
2921
|
+
* UpdateDataKeyDescription response structure.
|
|
2922
|
+
* @class
|
|
2923
|
+
*/
|
|
2924
|
+
class UpdateDataKeyDescriptionResponse extends AbstractModel {
|
|
2925
|
+
constructor(){
|
|
2926
|
+
super();
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2930
|
+
* @type {string || null}
|
|
2931
|
+
*/
|
|
2932
|
+
this.RequestId = null;
|
|
2933
|
+
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
/**
|
|
2937
|
+
* @private
|
|
2938
|
+
*/
|
|
2939
|
+
deserialize(params) {
|
|
2940
|
+
if (!params) {
|
|
2941
|
+
return;
|
|
2942
|
+
}
|
|
2943
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2944
|
+
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2148
2948
|
/**
|
|
2149
2949
|
* Exclusive edition cluster.
|
|
2150
2950
|
* @class
|
|
@@ -2180,6 +2980,62 @@ class ExclusiveHSM extends AbstractModel {
|
|
|
2180
2980
|
}
|
|
2181
2981
|
}
|
|
2182
2982
|
|
|
2983
|
+
/**
|
|
2984
|
+
* CancelKeyDeletion request structure.
|
|
2985
|
+
* @class
|
|
2986
|
+
*/
|
|
2987
|
+
class CancelKeyDeletionRequest extends AbstractModel {
|
|
2988
|
+
constructor(){
|
|
2989
|
+
super();
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* Unique ID of the CMK for which to cancel schedule deletion
|
|
2993
|
+
* @type {string || null}
|
|
2994
|
+
*/
|
|
2995
|
+
this.KeyId = null;
|
|
2996
|
+
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* @private
|
|
3001
|
+
*/
|
|
3002
|
+
deserialize(params) {
|
|
3003
|
+
if (!params) {
|
|
3004
|
+
return;
|
|
3005
|
+
}
|
|
3006
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3007
|
+
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
/**
|
|
3012
|
+
* EnableDataKeys response structure.
|
|
3013
|
+
* @class
|
|
3014
|
+
*/
|
|
3015
|
+
class EnableDataKeysResponse extends AbstractModel {
|
|
3016
|
+
constructor(){
|
|
3017
|
+
super();
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3021
|
+
* @type {string || null}
|
|
3022
|
+
*/
|
|
3023
|
+
this.RequestId = null;
|
|
3024
|
+
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* @private
|
|
3029
|
+
*/
|
|
3030
|
+
deserialize(params) {
|
|
3031
|
+
if (!params) {
|
|
3032
|
+
return;
|
|
3033
|
+
}
|
|
3034
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3035
|
+
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
|
|
2183
3039
|
/**
|
|
2184
3040
|
* GenerateDataKey response structure.
|
|
2185
3041
|
* @class
|
|
@@ -2207,6 +3063,12 @@ If `EncryptionPublicKey` is specified, this field will return the Base64-encoded
|
|
|
2207
3063
|
*/
|
|
2208
3064
|
this.CiphertextBlob = null;
|
|
2209
3065
|
|
|
3066
|
+
/**
|
|
3067
|
+
* Globally unique id of the data key, returned when KMS hosting is enabled.
|
|
3068
|
+
* @type {string || null}
|
|
3069
|
+
*/
|
|
3070
|
+
this.DataKeyId = null;
|
|
3071
|
+
|
|
2210
3072
|
/**
|
|
2211
3073
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2212
3074
|
* @type {string || null}
|
|
@@ -2225,11 +3087,40 @@ If `EncryptionPublicKey` is specified, this field will return the Base64-encoded
|
|
|
2225
3087
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2226
3088
|
this.Plaintext = 'Plaintext' in params ? params.Plaintext : null;
|
|
2227
3089
|
this.CiphertextBlob = 'CiphertextBlob' in params ? params.CiphertextBlob : null;
|
|
3090
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
2228
3091
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2229
3092
|
|
|
2230
3093
|
}
|
|
2231
3094
|
}
|
|
2232
3095
|
|
|
3096
|
+
/**
|
|
3097
|
+
* EnableDataKeys request structure.
|
|
3098
|
+
* @class
|
|
3099
|
+
*/
|
|
3100
|
+
class EnableDataKeysRequest extends AbstractModel {
|
|
3101
|
+
constructor(){
|
|
3102
|
+
super();
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* The Id list of datakeys that need to be batch enabled supports a maximum of 100 data keys.
|
|
3106
|
+
* @type {Array.<string> || null}
|
|
3107
|
+
*/
|
|
3108
|
+
this.DataKeyIds = null;
|
|
3109
|
+
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
/**
|
|
3113
|
+
* @private
|
|
3114
|
+
*/
|
|
3115
|
+
deserialize(params) {
|
|
3116
|
+
if (!params) {
|
|
3117
|
+
return;
|
|
3118
|
+
}
|
|
3119
|
+
this.DataKeyIds = 'DataKeyIds' in params ? params.DataKeyIds : null;
|
|
3120
|
+
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
|
|
2233
3124
|
/**
|
|
2234
3125
|
* CreateWhiteBoxKey request structure.
|
|
2235
3126
|
* @class
|
|
@@ -2287,6 +3178,69 @@ class CreateWhiteBoxKeyRequest extends AbstractModel {
|
|
|
2287
3178
|
}
|
|
2288
3179
|
}
|
|
2289
3180
|
|
|
3181
|
+
/**
|
|
3182
|
+
* GetDataKeyPlaintext response structure.
|
|
3183
|
+
* @class
|
|
3184
|
+
*/
|
|
3185
|
+
class GetDataKeyPlaintextResponse extends AbstractModel {
|
|
3186
|
+
constructor(){
|
|
3187
|
+
super();
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* If EncryptionPublicKey is not provided during the call, the field value is the plaintext encoded in Base64, and the Base64 decoding is required to obtain the plaintext. If EncryptionPublicKey is provided during the call, the field value is the ciphertext asymmetrically encrypted with the EncryptionPublicKey and encoded in Base64. After Base64 decoding, the private key corresponding to the user-uploaded public key is used for further decryption to obtain the plaintext.
|
|
3191
|
+
* @type {string || null}
|
|
3192
|
+
*/
|
|
3193
|
+
this.Plaintext = null;
|
|
3194
|
+
|
|
3195
|
+
/**
|
|
3196
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3197
|
+
* @type {string || null}
|
|
3198
|
+
*/
|
|
3199
|
+
this.RequestId = null;
|
|
3200
|
+
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
/**
|
|
3204
|
+
* @private
|
|
3205
|
+
*/
|
|
3206
|
+
deserialize(params) {
|
|
3207
|
+
if (!params) {
|
|
3208
|
+
return;
|
|
3209
|
+
}
|
|
3210
|
+
this.Plaintext = 'Plaintext' in params ? params.Plaintext : null;
|
|
3211
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3212
|
+
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* DisableDataKey request structure.
|
|
3218
|
+
* @class
|
|
3219
|
+
*/
|
|
3220
|
+
class DisableDataKeyRequest extends AbstractModel {
|
|
3221
|
+
constructor(){
|
|
3222
|
+
super();
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* Specifies the unique identifier of the data key.
|
|
3226
|
+
* @type {string || null}
|
|
3227
|
+
*/
|
|
3228
|
+
this.DataKeyId = null;
|
|
3229
|
+
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
/**
|
|
3233
|
+
* @private
|
|
3234
|
+
*/
|
|
3235
|
+
deserialize(params) {
|
|
3236
|
+
if (!params) {
|
|
3237
|
+
return;
|
|
3238
|
+
}
|
|
3239
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
3240
|
+
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
|
|
2290
3244
|
/**
|
|
2291
3245
|
* OverwriteWhiteBoxDeviceFingerprints response structure.
|
|
2292
3246
|
* @class
|
|
@@ -2551,40 +3505,112 @@ class ReEncryptResponse extends AbstractModel {
|
|
|
2551
3505
|
if (!params) {
|
|
2552
3506
|
return;
|
|
2553
3507
|
}
|
|
2554
|
-
this.CiphertextBlob = 'CiphertextBlob' in params ? params.CiphertextBlob : null;
|
|
2555
|
-
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2556
|
-
this.SourceKeyId = 'SourceKeyId' in params ? params.SourceKeyId : null;
|
|
2557
|
-
this.ReEncrypted = 'ReEncrypted' in params ? params.ReEncrypted : null;
|
|
2558
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3508
|
+
this.CiphertextBlob = 'CiphertextBlob' in params ? params.CiphertextBlob : null;
|
|
3509
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3510
|
+
this.SourceKeyId = 'SourceKeyId' in params ? params.SourceKeyId : null;
|
|
3511
|
+
this.ReEncrypted = 'ReEncrypted' in params ? params.ReEncrypted : null;
|
|
3512
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3513
|
+
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
/**
|
|
3518
|
+
* Encrypt response structure.
|
|
3519
|
+
* @class
|
|
3520
|
+
*/
|
|
3521
|
+
class EncryptResponse extends AbstractModel {
|
|
3522
|
+
constructor(){
|
|
3523
|
+
super();
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* Base64-encoded ciphertext, which is the encrypted information of the ciphertext and key. To get the plaintext, you need to pass in this field to the Decrypt API.
|
|
3527
|
+
* @type {string || null}
|
|
3528
|
+
*/
|
|
3529
|
+
this.CiphertextBlob = null;
|
|
3530
|
+
|
|
3531
|
+
/**
|
|
3532
|
+
* Globally unique ID of the CMK used for encryption
|
|
3533
|
+
* @type {string || null}
|
|
3534
|
+
*/
|
|
3535
|
+
this.KeyId = null;
|
|
3536
|
+
|
|
3537
|
+
/**
|
|
3538
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3539
|
+
* @type {string || null}
|
|
3540
|
+
*/
|
|
3541
|
+
this.RequestId = null;
|
|
3542
|
+
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* @private
|
|
3547
|
+
*/
|
|
3548
|
+
deserialize(params) {
|
|
3549
|
+
if (!params) {
|
|
3550
|
+
return;
|
|
3551
|
+
}
|
|
3552
|
+
this.CiphertextBlob = 'CiphertextBlob' in params ? params.CiphertextBlob : null;
|
|
3553
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3554
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3555
|
+
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
/**
|
|
3560
|
+
* GetDataKeyPlaintext request structure.
|
|
3561
|
+
* @class
|
|
3562
|
+
*/
|
|
3563
|
+
class GetDataKeyPlaintextRequest extends AbstractModel {
|
|
3564
|
+
constructor(){
|
|
3565
|
+
super();
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* Unique id of a data key.
|
|
3569
|
+
* @type {string || null}
|
|
3570
|
+
*/
|
|
3571
|
+
this.DataKeyId = null;
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* PEM formatted public key string, supporting RSA2048 and SM2 public keys, and used to encrypt the plaintext value in the returned data. If it is empty, plaintext value will not be encrypted.
|
|
3575
|
+
* @type {string || null}
|
|
3576
|
+
*/
|
|
3577
|
+
this.EncryptionPublicKey = null;
|
|
3578
|
+
|
|
3579
|
+
/**
|
|
3580
|
+
* Asymmetric encryption algorithm, used in conjunction with EncryptionPublicKey to encrypt the returned data. It currently supports SM2 (returns ciphertext in C1C3C2 format), SM2_C1C3C2_ASN1 (returns ciphertext in C1C3C2 ASN1 format), RSAES_PKCS1_V1_5, RSAES_OAEP_SHA_1, and RSAES_OAEP_SHA_256. If it is empty, the default value SM2 is used.
|
|
3581
|
+
* @type {string || null}
|
|
3582
|
+
*/
|
|
3583
|
+
this.EncryptionAlgorithm = null;
|
|
3584
|
+
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* @private
|
|
3589
|
+
*/
|
|
3590
|
+
deserialize(params) {
|
|
3591
|
+
if (!params) {
|
|
3592
|
+
return;
|
|
3593
|
+
}
|
|
3594
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
3595
|
+
this.EncryptionPublicKey = 'EncryptionPublicKey' in params ? params.EncryptionPublicKey : null;
|
|
3596
|
+
this.EncryptionAlgorithm = 'EncryptionAlgorithm' in params ? params.EncryptionAlgorithm : null;
|
|
2559
3597
|
|
|
2560
3598
|
}
|
|
2561
3599
|
}
|
|
2562
3600
|
|
|
2563
3601
|
/**
|
|
2564
|
-
*
|
|
3602
|
+
* GetDataKeyCiphertextBlob request structure.
|
|
2565
3603
|
* @class
|
|
2566
3604
|
*/
|
|
2567
|
-
class
|
|
3605
|
+
class GetDataKeyCiphertextBlobRequest extends AbstractModel {
|
|
2568
3606
|
constructor(){
|
|
2569
3607
|
super();
|
|
2570
3608
|
|
|
2571
3609
|
/**
|
|
2572
|
-
*
|
|
2573
|
-
* @type {string || null}
|
|
2574
|
-
*/
|
|
2575
|
-
this.CiphertextBlob = null;
|
|
2576
|
-
|
|
2577
|
-
/**
|
|
2578
|
-
* Globally unique ID of the CMK used for encryption
|
|
2579
|
-
* @type {string || null}
|
|
2580
|
-
*/
|
|
2581
|
-
this.KeyId = null;
|
|
2582
|
-
|
|
2583
|
-
/**
|
|
2584
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3610
|
+
* Unique id of a data key.
|
|
2585
3611
|
* @type {string || null}
|
|
2586
3612
|
*/
|
|
2587
|
-
this.
|
|
3613
|
+
this.DataKeyId = null;
|
|
2588
3614
|
|
|
2589
3615
|
}
|
|
2590
3616
|
|
|
@@ -2595,23 +3621,21 @@ class EncryptResponse extends AbstractModel {
|
|
|
2595
3621
|
if (!params) {
|
|
2596
3622
|
return;
|
|
2597
3623
|
}
|
|
2598
|
-
this.
|
|
2599
|
-
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
2600
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3624
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
2601
3625
|
|
|
2602
3626
|
}
|
|
2603
3627
|
}
|
|
2604
3628
|
|
|
2605
3629
|
/**
|
|
2606
|
-
*
|
|
3630
|
+
* DeleteImportedKeyMaterial request structure.
|
|
2607
3631
|
* @class
|
|
2608
3632
|
*/
|
|
2609
|
-
class
|
|
3633
|
+
class DeleteImportedKeyMaterialRequest extends AbstractModel {
|
|
2610
3634
|
constructor(){
|
|
2611
3635
|
super();
|
|
2612
3636
|
|
|
2613
3637
|
/**
|
|
2614
|
-
*
|
|
3638
|
+
* Specifies the EXTERNAL CMK for which to delete the key material.
|
|
2615
3639
|
* @type {string || null}
|
|
2616
3640
|
*/
|
|
2617
3641
|
this.KeyId = null;
|
|
@@ -2631,18 +3655,18 @@ class CancelKeyDeletionRequest extends AbstractModel {
|
|
|
2631
3655
|
}
|
|
2632
3656
|
|
|
2633
3657
|
/**
|
|
2634
|
-
*
|
|
3658
|
+
* EnableKey response structure.
|
|
2635
3659
|
* @class
|
|
2636
3660
|
*/
|
|
2637
|
-
class
|
|
3661
|
+
class EnableKeyResponse extends AbstractModel {
|
|
2638
3662
|
constructor(){
|
|
2639
3663
|
super();
|
|
2640
3664
|
|
|
2641
3665
|
/**
|
|
2642
|
-
*
|
|
3666
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2643
3667
|
* @type {string || null}
|
|
2644
3668
|
*/
|
|
2645
|
-
this.
|
|
3669
|
+
this.RequestId = null;
|
|
2646
3670
|
|
|
2647
3671
|
}
|
|
2648
3672
|
|
|
@@ -2653,19 +3677,31 @@ class DeleteImportedKeyMaterialRequest extends AbstractModel {
|
|
|
2653
3677
|
if (!params) {
|
|
2654
3678
|
return;
|
|
2655
3679
|
}
|
|
2656
|
-
this.
|
|
3680
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2657
3681
|
|
|
2658
3682
|
}
|
|
2659
3683
|
}
|
|
2660
3684
|
|
|
2661
3685
|
/**
|
|
2662
|
-
*
|
|
3686
|
+
* ImportDataKey response structure.
|
|
2663
3687
|
* @class
|
|
2664
3688
|
*/
|
|
2665
|
-
class
|
|
3689
|
+
class ImportDataKeyResponse extends AbstractModel {
|
|
2666
3690
|
constructor(){
|
|
2667
3691
|
super();
|
|
2668
3692
|
|
|
3693
|
+
/**
|
|
3694
|
+
* Globally unique CMK id.
|
|
3695
|
+
* @type {string || null}
|
|
3696
|
+
*/
|
|
3697
|
+
this.KeyId = null;
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* Globally unique id of DataKey. no. show on portal/domestic and international sites.
|
|
3701
|
+
* @type {string || null}
|
|
3702
|
+
*/
|
|
3703
|
+
this.DataKeyId = null;
|
|
3704
|
+
|
|
2669
3705
|
/**
|
|
2670
3706
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2671
3707
|
* @type {string || null}
|
|
@@ -2681,6 +3717,8 @@ class EnableKeyResponse extends AbstractModel {
|
|
|
2681
3717
|
if (!params) {
|
|
2682
3718
|
return;
|
|
2683
3719
|
}
|
|
3720
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3721
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
2684
3722
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2685
3723
|
|
|
2686
3724
|
}
|
|
@@ -2725,7 +3763,7 @@ class GetServiceStatusResponse extends AbstractModel {
|
|
|
2725
3763
|
this.ProRenewFlag = null;
|
|
2726
3764
|
|
|
2727
3765
|
/**
|
|
2728
|
-
*
|
|
3766
|
+
* Flagship edition purchase record unique identifier. if not activated, the return value is empty.
|
|
2729
3767
|
* @type {string || null}
|
|
2730
3768
|
*/
|
|
2731
3769
|
this.ProResourceId = null;
|
|
@@ -2766,6 +3804,42 @@ class GetServiceStatusResponse extends AbstractModel {
|
|
|
2766
3804
|
*/
|
|
2767
3805
|
this.ExclusiveHSMList = null;
|
|
2768
3806
|
|
|
3807
|
+
/**
|
|
3808
|
+
* Whether data key management is supported. valid values: 1 (supported), 0 (unsupported).
|
|
3809
|
+
* @type {boolean || null}
|
|
3810
|
+
*/
|
|
3811
|
+
this.IsAllowedDataKeyHosted = null;
|
|
3812
|
+
|
|
3813
|
+
/**
|
|
3814
|
+
* Valid when IsAllowedDataKeyHosted is 1. specifies the purchase quota for data keys.
|
|
3815
|
+
* @type {number || null}
|
|
3816
|
+
*/
|
|
3817
|
+
this.DataKeyLimit = null;
|
|
3818
|
+
|
|
3819
|
+
/**
|
|
3820
|
+
* Valid when IsAllowedDataKeyHosted is 1. data key free quota.
|
|
3821
|
+
* @type {number || null}
|
|
3822
|
+
*/
|
|
3823
|
+
this.FreeDataKeyLimit = null;
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* Valid at that time when IsAllowedDataKeyHosted is 1. specifies the number of keys used.
|
|
3827
|
+
* @type {number || null}
|
|
3828
|
+
*/
|
|
3829
|
+
this.DataKeyUsedCount = null;
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* Specifies the target region of the sync task.
|
|
3833
|
+
* @type {Array.<DestinationSyncConfig> || null}
|
|
3834
|
+
*/
|
|
3835
|
+
this.SyncTaskList = null;
|
|
3836
|
+
|
|
3837
|
+
/**
|
|
3838
|
+
* Whether synchronization task is supported. true: supported; false: unsupported.
|
|
3839
|
+
* @type {boolean || null}
|
|
3840
|
+
*/
|
|
3841
|
+
this.IsAllowedSync = null;
|
|
3842
|
+
|
|
2769
3843
|
/**
|
|
2770
3844
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2771
3845
|
* @type {string || null}
|
|
@@ -2801,6 +3875,20 @@ class GetServiceStatusResponse extends AbstractModel {
|
|
|
2801
3875
|
this.ExclusiveHSMList.push(obj);
|
|
2802
3876
|
}
|
|
2803
3877
|
}
|
|
3878
|
+
this.IsAllowedDataKeyHosted = 'IsAllowedDataKeyHosted' in params ? params.IsAllowedDataKeyHosted : null;
|
|
3879
|
+
this.DataKeyLimit = 'DataKeyLimit' in params ? params.DataKeyLimit : null;
|
|
3880
|
+
this.FreeDataKeyLimit = 'FreeDataKeyLimit' in params ? params.FreeDataKeyLimit : null;
|
|
3881
|
+
this.DataKeyUsedCount = 'DataKeyUsedCount' in params ? params.DataKeyUsedCount : null;
|
|
3882
|
+
|
|
3883
|
+
if (params.SyncTaskList) {
|
|
3884
|
+
this.SyncTaskList = new Array();
|
|
3885
|
+
for (let z in params.SyncTaskList) {
|
|
3886
|
+
let obj = new DestinationSyncConfig();
|
|
3887
|
+
obj.deserialize(params.SyncTaskList[z]);
|
|
3888
|
+
this.SyncTaskList.push(obj);
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
this.IsAllowedSync = 'IsAllowedSync' in params ? params.IsAllowedSync : null;
|
|
2804
3892
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2805
3893
|
|
|
2806
3894
|
}
|
|
@@ -2953,6 +4041,55 @@ class AsymmetricSm2DecryptRequest extends AbstractModel {
|
|
|
2953
4041
|
}
|
|
2954
4042
|
}
|
|
2955
4043
|
|
|
4044
|
+
/**
|
|
4045
|
+
* ListDataKeys request structure.
|
|
4046
|
+
* @class
|
|
4047
|
+
*/
|
|
4048
|
+
class ListDataKeysRequest extends AbstractModel {
|
|
4049
|
+
constructor(){
|
|
4050
|
+
super();
|
|
4051
|
+
|
|
4052
|
+
/**
|
|
4053
|
+
* Meaning matches the Offset in SQL queries, indicates the retrieval starts from the Offset-th element in a sequentially arranged array, defaults to 0.
|
|
4054
|
+
* @type {number || null}
|
|
4055
|
+
*/
|
|
4056
|
+
this.Offset = null;
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* Specifies the maximum number of elements to retrieve, same as the Limit in SQL queries. default value is 10. maximum value is 200.
|
|
4060
|
+
* @type {number || null}
|
|
4061
|
+
*/
|
|
4062
|
+
this.Limit = null;
|
|
4063
|
+
|
|
4064
|
+
/**
|
|
4065
|
+
* Filter criteria based on the creator role. default 0 means data key created by oneself, 1 means data key automatically created by other cloud services.
|
|
4066
|
+
* @type {number || null}
|
|
4067
|
+
*/
|
|
4068
|
+
this.Role = null;
|
|
4069
|
+
|
|
4070
|
+
/**
|
|
4071
|
+
* HSM cluster ID corresponding to KMS advanced edition (only applicable to KMS exclusive/managed service instance).
|
|
4072
|
+
* @type {string || null}
|
|
4073
|
+
*/
|
|
4074
|
+
this.HsmClusterId = null;
|
|
4075
|
+
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4078
|
+
/**
|
|
4079
|
+
* @private
|
|
4080
|
+
*/
|
|
4081
|
+
deserialize(params) {
|
|
4082
|
+
if (!params) {
|
|
4083
|
+
return;
|
|
4084
|
+
}
|
|
4085
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4086
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4087
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
4088
|
+
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
4089
|
+
|
|
4090
|
+
}
|
|
4091
|
+
}
|
|
4092
|
+
|
|
2956
4093
|
/**
|
|
2957
4094
|
* DeleteWhiteBoxKey response structure.
|
|
2958
4095
|
* @class
|
|
@@ -2981,6 +4118,132 @@ class DeleteWhiteBoxKeyResponse extends AbstractModel {
|
|
|
2981
4118
|
}
|
|
2982
4119
|
}
|
|
2983
4120
|
|
|
4121
|
+
/**
|
|
4122
|
+
* ListDataKeyDetail request structure.
|
|
4123
|
+
* @class
|
|
4124
|
+
*/
|
|
4125
|
+
class ListDataKeyDetailRequest extends AbstractModel {
|
|
4126
|
+
constructor(){
|
|
4127
|
+
super();
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* Meaning matches the Offset in SQL queries, indicates the retrieval starts from the Offset-th element in a sequentially arranged array, defaults to 0.
|
|
4131
|
+
* @type {number || null}
|
|
4132
|
+
*/
|
|
4133
|
+
this.Offset = null;
|
|
4134
|
+
|
|
4135
|
+
/**
|
|
4136
|
+
* Specifies the maximum number of elements to retrieve, same as the Limit in SQL queries. default value is 10. maximum value is 200.
|
|
4137
|
+
* @type {number || null}
|
|
4138
|
+
*/
|
|
4139
|
+
this.Limit = null;
|
|
4140
|
+
|
|
4141
|
+
/**
|
|
4142
|
+
* Filter by creator role. default 0 means data keys created by the user, 1 means data keys automatically created by authorized cloud services.
|
|
4143
|
+
* @type {number || null}
|
|
4144
|
+
*/
|
|
4145
|
+
this.Role = null;
|
|
4146
|
+
|
|
4147
|
+
/**
|
|
4148
|
+
* Sorts according to the creation time of DataKey. 0 indicates descending sort. 1 indicates ascending sort.
|
|
4149
|
+
* @type {number || null}
|
|
4150
|
+
*/
|
|
4151
|
+
this.OrderType = null;
|
|
4152
|
+
|
|
4153
|
+
/**
|
|
4154
|
+
* Filter based on DataKey state. 0 means all datakeys, 1 means querying only Enabled datakeys, 2 means querying only Disabled datakeys, 3 means querying datakeys in PendingDelete state (keys in scheduled deletion status).
|
|
4155
|
+
* @type {number || null}
|
|
4156
|
+
*/
|
|
4157
|
+
this.KeyState = null;
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* Performs a fuzzy match query based on DataKeyId or DataKeyName.
|
|
4161
|
+
* @type {string || null}
|
|
4162
|
+
*/
|
|
4163
|
+
this.SearchKeyAlias = null;
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* Filters data keys by DateKey type. "TENCENT_KMS" filters data keys with key material created by KMS. "EXTERNAL" filters EXTERNAL type data keys requiring user-imported key material. "ALL" or leave unset queries both types. case-sensitive.
|
|
4167
|
+
* @type {string || null}
|
|
4168
|
+
*/
|
|
4169
|
+
this.Origin = null;
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* HSM cluster ID corresponding to KMS advanced edition.
|
|
4173
|
+
* @type {string || null}
|
|
4174
|
+
*/
|
|
4175
|
+
this.HsmClusterId = null;
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* Specifies the globally unique identifier of the root key.
|
|
4179
|
+
* @type {string || null}
|
|
4180
|
+
*/
|
|
4181
|
+
this.KeyId = null;
|
|
4182
|
+
|
|
4183
|
+
/**
|
|
4184
|
+
* Length of the data key.
|
|
4185
|
+
* @type {number || null}
|
|
4186
|
+
*/
|
|
4187
|
+
this.DataKeyLen = null;
|
|
4188
|
+
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
/**
|
|
4192
|
+
* @private
|
|
4193
|
+
*/
|
|
4194
|
+
deserialize(params) {
|
|
4195
|
+
if (!params) {
|
|
4196
|
+
return;
|
|
4197
|
+
}
|
|
4198
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4199
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4200
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
4201
|
+
this.OrderType = 'OrderType' in params ? params.OrderType : null;
|
|
4202
|
+
this.KeyState = 'KeyState' in params ? params.KeyState : null;
|
|
4203
|
+
this.SearchKeyAlias = 'SearchKeyAlias' in params ? params.SearchKeyAlias : null;
|
|
4204
|
+
this.Origin = 'Origin' in params ? params.Origin : null;
|
|
4205
|
+
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
4206
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
4207
|
+
this.DataKeyLen = 'DataKeyLen' in params ? params.DataKeyLen : null;
|
|
4208
|
+
|
|
4209
|
+
}
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
/**
|
|
4213
|
+
* CancelDataKeyDeletion response structure.
|
|
4214
|
+
* @class
|
|
4215
|
+
*/
|
|
4216
|
+
class CancelDataKeyDeletionResponse extends AbstractModel {
|
|
4217
|
+
constructor(){
|
|
4218
|
+
super();
|
|
4219
|
+
|
|
4220
|
+
/**
|
|
4221
|
+
* The unique identifier of the data key scheduled for deletion.
|
|
4222
|
+
* @type {string || null}
|
|
4223
|
+
*/
|
|
4224
|
+
this.DataKeyId = null;
|
|
4225
|
+
|
|
4226
|
+
/**
|
|
4227
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4228
|
+
* @type {string || null}
|
|
4229
|
+
*/
|
|
4230
|
+
this.RequestId = null;
|
|
4231
|
+
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
/**
|
|
4235
|
+
* @private
|
|
4236
|
+
*/
|
|
4237
|
+
deserialize(params) {
|
|
4238
|
+
if (!params) {
|
|
4239
|
+
return;
|
|
4240
|
+
}
|
|
4241
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
4242
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4243
|
+
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
|
|
2984
4247
|
/**
|
|
2985
4248
|
* ListKeys request structure.
|
|
2986
4249
|
* @class
|
|
@@ -3031,18 +4294,46 @@ class ListKeysRequest extends AbstractModel {
|
|
|
3031
4294
|
}
|
|
3032
4295
|
|
|
3033
4296
|
/**
|
|
3034
|
-
* DescribeWhiteBoxDecryptKey request structure.
|
|
4297
|
+
* DescribeWhiteBoxDecryptKey request structure.
|
|
4298
|
+
* @class
|
|
4299
|
+
*/
|
|
4300
|
+
class DescribeWhiteBoxDecryptKeyRequest extends AbstractModel {
|
|
4301
|
+
constructor(){
|
|
4302
|
+
super();
|
|
4303
|
+
|
|
4304
|
+
/**
|
|
4305
|
+
* Globally unique white-box key ID
|
|
4306
|
+
* @type {string || null}
|
|
4307
|
+
*/
|
|
4308
|
+
this.KeyId = null;
|
|
4309
|
+
|
|
4310
|
+
}
|
|
4311
|
+
|
|
4312
|
+
/**
|
|
4313
|
+
* @private
|
|
4314
|
+
*/
|
|
4315
|
+
deserialize(params) {
|
|
4316
|
+
if (!params) {
|
|
4317
|
+
return;
|
|
4318
|
+
}
|
|
4319
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
4320
|
+
|
|
4321
|
+
}
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
/**
|
|
4325
|
+
* Specifies the data key attribute.
|
|
3035
4326
|
* @class
|
|
3036
4327
|
*/
|
|
3037
|
-
class
|
|
4328
|
+
class DataKey extends AbstractModel {
|
|
3038
4329
|
constructor(){
|
|
3039
4330
|
super();
|
|
3040
4331
|
|
|
3041
4332
|
/**
|
|
3042
|
-
* Globally unique
|
|
4333
|
+
* Globally unique id of DataKey.
|
|
3043
4334
|
* @type {string || null}
|
|
3044
4335
|
*/
|
|
3045
|
-
this.
|
|
4336
|
+
this.DataKeyId = null;
|
|
3046
4337
|
|
|
3047
4338
|
}
|
|
3048
4339
|
|
|
@@ -3053,7 +4344,7 @@ class DescribeWhiteBoxDecryptKeyRequest extends AbstractModel {
|
|
|
3053
4344
|
if (!params) {
|
|
3054
4345
|
return;
|
|
3055
4346
|
}
|
|
3056
|
-
this.
|
|
4347
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
3057
4348
|
|
|
3058
4349
|
}
|
|
3059
4350
|
}
|
|
@@ -3174,6 +4465,48 @@ class KeyMetadata extends AbstractModel {
|
|
|
3174
4465
|
*/
|
|
3175
4466
|
this.LastRotateTime = null;
|
|
3176
4467
|
|
|
4468
|
+
/**
|
|
4469
|
+
* Specifies whether the key is a primary replica. valid values: 0 (primary replica), 1 (synced replica).
|
|
4470
|
+
* @type {number || null}
|
|
4471
|
+
*/
|
|
4472
|
+
this.IsSyncReplica = null;
|
|
4473
|
+
|
|
4474
|
+
/**
|
|
4475
|
+
* Synchronous original region.
|
|
4476
|
+
* @type {string || null}
|
|
4477
|
+
*/
|
|
4478
|
+
this.SourceRegion = null;
|
|
4479
|
+
|
|
4480
|
+
/**
|
|
4481
|
+
* The state of key synchronization. valid values: 0 (unsynced), 1 (synchronization successful), 2 (synchronization failed), 3 (synchronizing).
|
|
4482
|
+
* @type {number || null}
|
|
4483
|
+
*/
|
|
4484
|
+
this.SyncStatus = null;
|
|
4485
|
+
|
|
4486
|
+
/**
|
|
4487
|
+
* Describes the synchronous result.
|
|
4488
|
+
* @type {string || null}
|
|
4489
|
+
*/
|
|
4490
|
+
this.SyncMessages = null;
|
|
4491
|
+
|
|
4492
|
+
/**
|
|
4493
|
+
* Start time of synchronization.
|
|
4494
|
+
* @type {number || null}
|
|
4495
|
+
*/
|
|
4496
|
+
this.SyncStartTime = null;
|
|
4497
|
+
|
|
4498
|
+
/**
|
|
4499
|
+
* Specifies the synchronous end time.
|
|
4500
|
+
* @type {number || null}
|
|
4501
|
+
*/
|
|
4502
|
+
this.SyncEndTime = null;
|
|
4503
|
+
|
|
4504
|
+
/**
|
|
4505
|
+
* Synchronous original cluster. if empty, it is a public cloud public cluster.
|
|
4506
|
+
* @type {string || null}
|
|
4507
|
+
*/
|
|
4508
|
+
this.SourceHsmClusterId = null;
|
|
4509
|
+
|
|
3177
4510
|
}
|
|
3178
4511
|
|
|
3179
4512
|
/**
|
|
@@ -3201,6 +4534,13 @@ class KeyMetadata extends AbstractModel {
|
|
|
3201
4534
|
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
3202
4535
|
this.RotateDays = 'RotateDays' in params ? params.RotateDays : null;
|
|
3203
4536
|
this.LastRotateTime = 'LastRotateTime' in params ? params.LastRotateTime : null;
|
|
4537
|
+
this.IsSyncReplica = 'IsSyncReplica' in params ? params.IsSyncReplica : null;
|
|
4538
|
+
this.SourceRegion = 'SourceRegion' in params ? params.SourceRegion : null;
|
|
4539
|
+
this.SyncStatus = 'SyncStatus' in params ? params.SyncStatus : null;
|
|
4540
|
+
this.SyncMessages = 'SyncMessages' in params ? params.SyncMessages : null;
|
|
4541
|
+
this.SyncStartTime = 'SyncStartTime' in params ? params.SyncStartTime : null;
|
|
4542
|
+
this.SyncEndTime = 'SyncEndTime' in params ? params.SyncEndTime : null;
|
|
4543
|
+
this.SourceHsmClusterId = 'SourceHsmClusterId' in params ? params.SourceHsmClusterId : null;
|
|
3204
4544
|
|
|
3205
4545
|
}
|
|
3206
4546
|
}
|
|
@@ -3233,6 +4573,55 @@ class CancelKeyArchiveResponse extends AbstractModel {
|
|
|
3233
4573
|
}
|
|
3234
4574
|
}
|
|
3235
4575
|
|
|
4576
|
+
/**
|
|
4577
|
+
* GetPublicKey response structure.
|
|
4578
|
+
* @class
|
|
4579
|
+
*/
|
|
4580
|
+
class GetPublicKeyResponse extends AbstractModel {
|
|
4581
|
+
constructor(){
|
|
4582
|
+
super();
|
|
4583
|
+
|
|
4584
|
+
/**
|
|
4585
|
+
* Unique CMK ID.
|
|
4586
|
+
* @type {string || null}
|
|
4587
|
+
*/
|
|
4588
|
+
this.KeyId = null;
|
|
4589
|
+
|
|
4590
|
+
/**
|
|
4591
|
+
* Base64-encoded public key content.
|
|
4592
|
+
* @type {string || null}
|
|
4593
|
+
*/
|
|
4594
|
+
this.PublicKey = null;
|
|
4595
|
+
|
|
4596
|
+
/**
|
|
4597
|
+
* Public key content in PEM format.
|
|
4598
|
+
* @type {string || null}
|
|
4599
|
+
*/
|
|
4600
|
+
this.PublicKeyPem = null;
|
|
4601
|
+
|
|
4602
|
+
/**
|
|
4603
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4604
|
+
* @type {string || null}
|
|
4605
|
+
*/
|
|
4606
|
+
this.RequestId = null;
|
|
4607
|
+
|
|
4608
|
+
}
|
|
4609
|
+
|
|
4610
|
+
/**
|
|
4611
|
+
* @private
|
|
4612
|
+
*/
|
|
4613
|
+
deserialize(params) {
|
|
4614
|
+
if (!params) {
|
|
4615
|
+
return;
|
|
4616
|
+
}
|
|
4617
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
4618
|
+
this.PublicKey = 'PublicKey' in params ? params.PublicKey : null;
|
|
4619
|
+
this.PublicKeyPem = 'PublicKeyPem' in params ? params.PublicKeyPem : null;
|
|
4620
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4621
|
+
|
|
4622
|
+
}
|
|
4623
|
+
}
|
|
4624
|
+
|
|
3236
4625
|
/**
|
|
3237
4626
|
* Decrypt request structure.
|
|
3238
4627
|
* @class
|
|
@@ -3417,30 +4806,24 @@ class PostQuantumCryptoDecryptRequest extends AbstractModel {
|
|
|
3417
4806
|
}
|
|
3418
4807
|
|
|
3419
4808
|
/**
|
|
3420
|
-
*
|
|
4809
|
+
* Target region list of the sync task, including region and cluster information. if the cluster is empty, it means public cloud shared cluster. if the cluster is not empty, it means dedicated cluster.
|
|
3421
4810
|
* @class
|
|
3422
4811
|
*/
|
|
3423
|
-
class
|
|
4812
|
+
class DestinationSyncConfig extends AbstractModel {
|
|
3424
4813
|
constructor(){
|
|
3425
4814
|
super();
|
|
3426
4815
|
|
|
3427
4816
|
/**
|
|
3428
|
-
*
|
|
3429
|
-
* @type {string || null}
|
|
3430
|
-
*/
|
|
3431
|
-
this.KeyId = null;
|
|
3432
|
-
|
|
3433
|
-
/**
|
|
3434
|
-
* Base64-encoded plaintext after decryption
|
|
4817
|
+
* Specifies the target region of the synchronization task.
|
|
3435
4818
|
* @type {string || null}
|
|
3436
4819
|
*/
|
|
3437
|
-
this.
|
|
4820
|
+
this.DestinationRegion = null;
|
|
3438
4821
|
|
|
3439
4822
|
/**
|
|
3440
|
-
*
|
|
4823
|
+
* HsmClusterId being empty indicates public cloud shared version. if not empty, it indicates exclusive edition cluster in the region.
|
|
3441
4824
|
* @type {string || null}
|
|
3442
4825
|
*/
|
|
3443
|
-
this.
|
|
4826
|
+
this.HsmClusterId = null;
|
|
3444
4827
|
|
|
3445
4828
|
}
|
|
3446
4829
|
|
|
@@ -3451,9 +4834,8 @@ class AsymmetricRsaDecryptResponse extends AbstractModel {
|
|
|
3451
4834
|
if (!params) {
|
|
3452
4835
|
return;
|
|
3453
4836
|
}
|
|
3454
|
-
this.
|
|
3455
|
-
this.
|
|
3456
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4837
|
+
this.DestinationRegion = 'DestinationRegion' in params ? params.DestinationRegion : null;
|
|
4838
|
+
this.HsmClusterId = 'HsmClusterId' in params ? params.HsmClusterId : null;
|
|
3457
4839
|
|
|
3458
4840
|
}
|
|
3459
4841
|
}
|
|
@@ -3928,6 +5310,62 @@ class GenerateRandomRequest extends AbstractModel {
|
|
|
3928
5310
|
}
|
|
3929
5311
|
}
|
|
3930
5312
|
|
|
5313
|
+
/**
|
|
5314
|
+
* Returned CMK list information
|
|
5315
|
+
* @class
|
|
5316
|
+
*/
|
|
5317
|
+
class Key extends AbstractModel {
|
|
5318
|
+
constructor(){
|
|
5319
|
+
super();
|
|
5320
|
+
|
|
5321
|
+
/**
|
|
5322
|
+
* Globally unique CMK ID.
|
|
5323
|
+
* @type {string || null}
|
|
5324
|
+
*/
|
|
5325
|
+
this.KeyId = null;
|
|
5326
|
+
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
* @private
|
|
5331
|
+
*/
|
|
5332
|
+
deserialize(params) {
|
|
5333
|
+
if (!params) {
|
|
5334
|
+
return;
|
|
5335
|
+
}
|
|
5336
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
5337
|
+
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
/**
|
|
5342
|
+
* DisableDataKeys response structure.
|
|
5343
|
+
* @class
|
|
5344
|
+
*/
|
|
5345
|
+
class DisableDataKeysResponse extends AbstractModel {
|
|
5346
|
+
constructor(){
|
|
5347
|
+
super();
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5351
|
+
* @type {string || null}
|
|
5352
|
+
*/
|
|
5353
|
+
this.RequestId = null;
|
|
5354
|
+
|
|
5355
|
+
}
|
|
5356
|
+
|
|
5357
|
+
/**
|
|
5358
|
+
* @private
|
|
5359
|
+
*/
|
|
5360
|
+
deserialize(params) {
|
|
5361
|
+
if (!params) {
|
|
5362
|
+
return;
|
|
5363
|
+
}
|
|
5364
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5365
|
+
|
|
5366
|
+
}
|
|
5367
|
+
}
|
|
5368
|
+
|
|
3931
5369
|
/**
|
|
3932
5370
|
* ScheduleKeyDeletion request structure.
|
|
3933
5371
|
* @class
|
|
@@ -3963,6 +5401,34 @@ class ScheduleKeyDeletionRequest extends AbstractModel {
|
|
|
3963
5401
|
}
|
|
3964
5402
|
}
|
|
3965
5403
|
|
|
5404
|
+
/**
|
|
5405
|
+
* CancelDataKeyDeletion request structure.
|
|
5406
|
+
* @class
|
|
5407
|
+
*/
|
|
5408
|
+
class CancelDataKeyDeletionRequest extends AbstractModel {
|
|
5409
|
+
constructor(){
|
|
5410
|
+
super();
|
|
5411
|
+
|
|
5412
|
+
/**
|
|
5413
|
+
* Unique id of a data key.
|
|
5414
|
+
* @type {string || null}
|
|
5415
|
+
*/
|
|
5416
|
+
this.DataKeyId = null;
|
|
5417
|
+
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
/**
|
|
5421
|
+
* @private
|
|
5422
|
+
*/
|
|
5423
|
+
deserialize(params) {
|
|
5424
|
+
if (!params) {
|
|
5425
|
+
return;
|
|
5426
|
+
}
|
|
5427
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
5428
|
+
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
|
|
3966
5432
|
/**
|
|
3967
5433
|
* PostQuantumCryptoEncrypt request structure.
|
|
3968
5434
|
* @class
|
|
@@ -4055,36 +5521,18 @@ class ImportKeyMaterialResponse extends AbstractModel {
|
|
|
4055
5521
|
}
|
|
4056
5522
|
|
|
4057
5523
|
/**
|
|
4058
|
-
*
|
|
5524
|
+
* EnableDataKey request structure.
|
|
4059
5525
|
* @class
|
|
4060
5526
|
*/
|
|
4061
|
-
class
|
|
5527
|
+
class EnableDataKeyRequest extends AbstractModel {
|
|
4062
5528
|
constructor(){
|
|
4063
5529
|
super();
|
|
4064
5530
|
|
|
4065
5531
|
/**
|
|
4066
|
-
* Unique
|
|
4067
|
-
* @type {string || null}
|
|
4068
|
-
*/
|
|
4069
|
-
this.KeyId = null;
|
|
4070
|
-
|
|
4071
|
-
/**
|
|
4072
|
-
* Base64-encoded public key content.
|
|
4073
|
-
* @type {string || null}
|
|
4074
|
-
*/
|
|
4075
|
-
this.PublicKey = null;
|
|
4076
|
-
|
|
4077
|
-
/**
|
|
4078
|
-
* Public key content in PEM format.
|
|
4079
|
-
* @type {string || null}
|
|
4080
|
-
*/
|
|
4081
|
-
this.PublicKeyPem = null;
|
|
4082
|
-
|
|
4083
|
-
/**
|
|
4084
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5532
|
+
* Unique id of a data key.
|
|
4085
5533
|
* @type {string || null}
|
|
4086
5534
|
*/
|
|
4087
|
-
this.
|
|
5535
|
+
this.DataKeyId = null;
|
|
4088
5536
|
|
|
4089
5537
|
}
|
|
4090
5538
|
|
|
@@ -4095,10 +5543,7 @@ class GetPublicKeyResponse extends AbstractModel {
|
|
|
4095
5543
|
if (!params) {
|
|
4096
5544
|
return;
|
|
4097
5545
|
}
|
|
4098
|
-
this.
|
|
4099
|
-
this.PublicKey = 'PublicKey' in params ? params.PublicKey : null;
|
|
4100
|
-
this.PublicKeyPem = 'PublicKeyPem' in params ? params.PublicKeyPem : null;
|
|
4101
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5546
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
4102
5547
|
|
|
4103
5548
|
}
|
|
4104
5549
|
}
|
|
@@ -4146,24 +5591,24 @@ class BindCloudResourceRequest extends AbstractModel {
|
|
|
4146
5591
|
}
|
|
4147
5592
|
|
|
4148
5593
|
/**
|
|
4149
|
-
*
|
|
5594
|
+
* GetDataKeyCiphertextBlob response structure.
|
|
4150
5595
|
* @class
|
|
4151
5596
|
*/
|
|
4152
|
-
class
|
|
5597
|
+
class GetDataKeyCiphertextBlobResponse extends AbstractModel {
|
|
4153
5598
|
constructor(){
|
|
4154
5599
|
super();
|
|
4155
5600
|
|
|
4156
5601
|
/**
|
|
4157
|
-
*
|
|
5602
|
+
* Specifies the ciphertext of the data key.
|
|
4158
5603
|
* @type {string || null}
|
|
4159
5604
|
*/
|
|
4160
|
-
this.
|
|
5605
|
+
this.CiphertextBlob = null;
|
|
4161
5606
|
|
|
4162
5607
|
/**
|
|
4163
|
-
*
|
|
4164
|
-
* @type {
|
|
5608
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5609
|
+
* @type {string || null}
|
|
4165
5610
|
*/
|
|
4166
|
-
this.
|
|
5611
|
+
this.RequestId = null;
|
|
4167
5612
|
|
|
4168
5613
|
}
|
|
4169
5614
|
|
|
@@ -4174,8 +5619,8 @@ class TagFilter extends AbstractModel {
|
|
|
4174
5619
|
if (!params) {
|
|
4175
5620
|
return;
|
|
4176
5621
|
}
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
5622
|
+
this.CiphertextBlob = 'CiphertextBlob' in params ? params.CiphertextBlob : null;
|
|
5623
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4179
5624
|
|
|
4180
5625
|
}
|
|
4181
5626
|
}
|
|
@@ -4406,6 +5851,34 @@ If `EncryptionPublicKey` is passed in, this field contains the Base64-encoded ci
|
|
|
4406
5851
|
}
|
|
4407
5852
|
}
|
|
4408
5853
|
|
|
5854
|
+
/**
|
|
5855
|
+
* DisableDataKeys request structure.
|
|
5856
|
+
* @class
|
|
5857
|
+
*/
|
|
5858
|
+
class DisableDataKeysRequest extends AbstractModel {
|
|
5859
|
+
constructor(){
|
|
5860
|
+
super();
|
|
5861
|
+
|
|
5862
|
+
/**
|
|
5863
|
+
* Specifies the Id list of datakeys to be bulk disabled. supports a maximum of 100 data keys.
|
|
5864
|
+
* @type {Array.<string> || null}
|
|
5865
|
+
*/
|
|
5866
|
+
this.DataKeyIds = null;
|
|
5867
|
+
|
|
5868
|
+
}
|
|
5869
|
+
|
|
5870
|
+
/**
|
|
5871
|
+
* @private
|
|
5872
|
+
*/
|
|
5873
|
+
deserialize(params) {
|
|
5874
|
+
if (!params) {
|
|
5875
|
+
return;
|
|
5876
|
+
}
|
|
5877
|
+
this.DataKeyIds = 'DataKeyIds' in params ? params.DataKeyIds : null;
|
|
5878
|
+
|
|
5879
|
+
}
|
|
5880
|
+
}
|
|
5881
|
+
|
|
4409
5882
|
/**
|
|
4410
5883
|
* UpdateKeyDescription request structure.
|
|
4411
5884
|
* @class
|
|
@@ -4575,15 +6048,20 @@ module.exports = {
|
|
|
4575
6048
|
DisableWhiteBoxKeyResponse: DisableWhiteBoxKeyResponse,
|
|
4576
6049
|
DisableKeyResponse: DisableKeyResponse,
|
|
4577
6050
|
DescribeWhiteBoxServiceStatusRequest: DescribeWhiteBoxServiceStatusRequest,
|
|
4578
|
-
|
|
6051
|
+
UpdateDataKeyDescriptionRequest: UpdateDataKeyDescriptionRequest,
|
|
6052
|
+
DescribeDataKeyResponse: DescribeDataKeyResponse,
|
|
6053
|
+
DisableDataKeyResponse: DisableDataKeyResponse,
|
|
4579
6054
|
DescribeKeyRequest: DescribeKeyRequest,
|
|
4580
6055
|
WhiteboxKeyInfo: WhiteboxKeyInfo,
|
|
6056
|
+
DescribeDataKeysRequest: DescribeDataKeysRequest,
|
|
4581
6057
|
ListAlgorithmsResponse: ListAlgorithmsResponse,
|
|
4582
6058
|
DisableKeysResponse: DisableKeysResponse,
|
|
6059
|
+
EnableDataKeyResponse: EnableDataKeyResponse,
|
|
4583
6060
|
DescribeWhiteBoxKeyResponse: DescribeWhiteBoxKeyResponse,
|
|
4584
6061
|
UpdateKeyDescriptionResponse: UpdateKeyDescriptionResponse,
|
|
4585
6062
|
DescribeWhiteBoxServiceStatusResponse: DescribeWhiteBoxServiceStatusResponse,
|
|
4586
|
-
|
|
6063
|
+
AsymmetricRsaDecryptResponse: AsymmetricRsaDecryptResponse,
|
|
6064
|
+
ScheduleDataKeyDeletionResponse: ScheduleDataKeyDeletionResponse,
|
|
4587
6065
|
EnableKeyRequest: EnableKeyRequest,
|
|
4588
6066
|
GetKeyRotationStatusRequest: GetKeyRotationStatusRequest,
|
|
4589
6067
|
ListAlgorithmsRequest: ListAlgorithmsRequest,
|
|
@@ -4594,35 +6072,52 @@ module.exports = {
|
|
|
4594
6072
|
ScheduleKeyDeletionResponse: ScheduleKeyDeletionResponse,
|
|
4595
6073
|
PostQuantumCryptoVerifyRequest: PostQuantumCryptoVerifyRequest,
|
|
4596
6074
|
GenerateRandomResponse: GenerateRandomResponse,
|
|
6075
|
+
UpdateDataKeyNameRequest: UpdateDataKeyNameRequest,
|
|
6076
|
+
ScheduleDataKeyDeletionRequest: ScheduleDataKeyDeletionRequest,
|
|
4597
6077
|
DescribeKeysRequest: DescribeKeysRequest,
|
|
4598
6078
|
GetPublicKeyRequest: GetPublicKeyRequest,
|
|
4599
6079
|
GetServiceStatusRequest: GetServiceStatusRequest,
|
|
4600
6080
|
EnableWhiteBoxKeysResponse: EnableWhiteBoxKeysResponse,
|
|
4601
6081
|
ArchiveKeyResponse: ArchiveKeyResponse,
|
|
4602
6082
|
VerifyByAsymmetricKeyResponse: VerifyByAsymmetricKeyResponse,
|
|
6083
|
+
DescribeDataKeysResponse: DescribeDataKeysResponse,
|
|
4603
6084
|
DescribeWhiteBoxKeyRequest: DescribeWhiteBoxKeyRequest,
|
|
4604
6085
|
GetParametersForImportResponse: GetParametersForImportResponse,
|
|
4605
6086
|
DecryptResponse: DecryptResponse,
|
|
6087
|
+
ListDataKeyDetailResponse: ListDataKeyDetailResponse,
|
|
4606
6088
|
CreateWhiteBoxKeyResponse: CreateWhiteBoxKeyResponse,
|
|
4607
|
-
|
|
6089
|
+
ImportKeyMaterialRequest: ImportKeyMaterialRequest,
|
|
4608
6090
|
DeleteImportedKeyMaterialResponse: DeleteImportedKeyMaterialResponse,
|
|
4609
6091
|
EnableKeysRequest: EnableKeysRequest,
|
|
4610
6092
|
EnableWhiteBoxKeysRequest: EnableWhiteBoxKeysRequest,
|
|
4611
6093
|
EncryptByWhiteBoxResponse: EncryptByWhiteBoxResponse,
|
|
6094
|
+
UpdateDataKeyNameResponse: UpdateDataKeyNameResponse,
|
|
4612
6095
|
DescribeKeysResponse: DescribeKeysResponse,
|
|
4613
6096
|
EnableWhiteBoxKeyResponse: EnableWhiteBoxKeyResponse,
|
|
6097
|
+
ListDataKeysResponse: ListDataKeysResponse,
|
|
4614
6098
|
ReEncryptRequest: ReEncryptRequest,
|
|
4615
6099
|
ListKeysResponse: ListKeysResponse,
|
|
6100
|
+
TagFilter: TagFilter,
|
|
6101
|
+
DescribeDataKeyRequest: DescribeDataKeyRequest,
|
|
4616
6102
|
AsymmetricSm2DecryptResponse: AsymmetricSm2DecryptResponse,
|
|
4617
6103
|
DisableKeyRotationResponse: DisableKeyRotationResponse,
|
|
6104
|
+
DataKeyMetadata: DataKeyMetadata,
|
|
6105
|
+
VerifyByAsymmetricKeyRequest: VerifyByAsymmetricKeyRequest,
|
|
4618
6106
|
DisableWhiteBoxKeysRequest: DisableWhiteBoxKeysRequest,
|
|
6107
|
+
ImportDataKeyRequest: ImportDataKeyRequest,
|
|
4619
6108
|
ListKeyDetailRequest: ListKeyDetailRequest,
|
|
4620
6109
|
DeleteWhiteBoxKeyRequest: DeleteWhiteBoxKeyRequest,
|
|
4621
6110
|
AlgorithmInfo: AlgorithmInfo,
|
|
4622
6111
|
GetRegionsResponse: GetRegionsResponse,
|
|
6112
|
+
UpdateDataKeyDescriptionResponse: UpdateDataKeyDescriptionResponse,
|
|
4623
6113
|
ExclusiveHSM: ExclusiveHSM,
|
|
6114
|
+
CancelKeyDeletionRequest: CancelKeyDeletionRequest,
|
|
6115
|
+
EnableDataKeysResponse: EnableDataKeysResponse,
|
|
4624
6116
|
GenerateDataKeyResponse: GenerateDataKeyResponse,
|
|
6117
|
+
EnableDataKeysRequest: EnableDataKeysRequest,
|
|
4625
6118
|
CreateWhiteBoxKeyRequest: CreateWhiteBoxKeyRequest,
|
|
6119
|
+
GetDataKeyPlaintextResponse: GetDataKeyPlaintextResponse,
|
|
6120
|
+
DisableDataKeyRequest: DisableDataKeyRequest,
|
|
4626
6121
|
OverwriteWhiteBoxDeviceFingerprintsResponse: OverwriteWhiteBoxDeviceFingerprintsResponse,
|
|
4627
6122
|
DisableWhiteBoxKeysResponse: DisableWhiteBoxKeysResponse,
|
|
4628
6123
|
ArchiveKeyRequest: ArchiveKeyRequest,
|
|
@@ -4630,24 +6125,31 @@ module.exports = {
|
|
|
4630
6125
|
CreateKeyResponse: CreateKeyResponse,
|
|
4631
6126
|
ReEncryptResponse: ReEncryptResponse,
|
|
4632
6127
|
EncryptResponse: EncryptResponse,
|
|
4633
|
-
|
|
6128
|
+
GetDataKeyPlaintextRequest: GetDataKeyPlaintextRequest,
|
|
6129
|
+
GetDataKeyCiphertextBlobRequest: GetDataKeyCiphertextBlobRequest,
|
|
4634
6130
|
DeleteImportedKeyMaterialRequest: DeleteImportedKeyMaterialRequest,
|
|
4635
6131
|
EnableKeyResponse: EnableKeyResponse,
|
|
6132
|
+
ImportDataKeyResponse: ImportDataKeyResponse,
|
|
4636
6133
|
GetServiceStatusResponse: GetServiceStatusResponse,
|
|
4637
6134
|
DeviceFingerprint: DeviceFingerprint,
|
|
4638
6135
|
GetKeyRotationStatusResponse: GetKeyRotationStatusResponse,
|
|
4639
6136
|
EncryptRequest: EncryptRequest,
|
|
4640
6137
|
AsymmetricSm2DecryptRequest: AsymmetricSm2DecryptRequest,
|
|
6138
|
+
ListDataKeysRequest: ListDataKeysRequest,
|
|
4641
6139
|
DeleteWhiteBoxKeyResponse: DeleteWhiteBoxKeyResponse,
|
|
6140
|
+
ListDataKeyDetailRequest: ListDataKeyDetailRequest,
|
|
6141
|
+
CancelDataKeyDeletionResponse: CancelDataKeyDeletionResponse,
|
|
4642
6142
|
ListKeysRequest: ListKeysRequest,
|
|
4643
6143
|
DescribeWhiteBoxDecryptKeyRequest: DescribeWhiteBoxDecryptKeyRequest,
|
|
6144
|
+
DataKey: DataKey,
|
|
4644
6145
|
KeyMetadata: KeyMetadata,
|
|
4645
6146
|
CancelKeyArchiveResponse: CancelKeyArchiveResponse,
|
|
6147
|
+
GetPublicKeyResponse: GetPublicKeyResponse,
|
|
4646
6148
|
DecryptRequest: DecryptRequest,
|
|
4647
6149
|
DescribeWhiteBoxKeyDetailsRequest: DescribeWhiteBoxKeyDetailsRequest,
|
|
4648
6150
|
PostQuantumCryptoSignRequest: PostQuantumCryptoSignRequest,
|
|
4649
6151
|
PostQuantumCryptoDecryptRequest: PostQuantumCryptoDecryptRequest,
|
|
4650
|
-
|
|
6152
|
+
DestinationSyncConfig: DestinationSyncConfig,
|
|
4651
6153
|
CancelKeyDeletionResponse: CancelKeyDeletionResponse,
|
|
4652
6154
|
DisableKeysRequest: DisableKeysRequest,
|
|
4653
6155
|
DisableWhiteBoxKeyRequest: DisableWhiteBoxKeyRequest,
|
|
@@ -4662,19 +6164,23 @@ module.exports = {
|
|
|
4662
6164
|
PostQuantumCryptoEncryptResponse: PostQuantumCryptoEncryptResponse,
|
|
4663
6165
|
EncryptByWhiteBoxRequest: EncryptByWhiteBoxRequest,
|
|
4664
6166
|
GenerateRandomRequest: GenerateRandomRequest,
|
|
6167
|
+
Key: Key,
|
|
6168
|
+
DisableDataKeysResponse: DisableDataKeysResponse,
|
|
4665
6169
|
ScheduleKeyDeletionRequest: ScheduleKeyDeletionRequest,
|
|
6170
|
+
CancelDataKeyDeletionRequest: CancelDataKeyDeletionRequest,
|
|
4666
6171
|
PostQuantumCryptoEncryptRequest: PostQuantumCryptoEncryptRequest,
|
|
4667
6172
|
DisableKeyRequest: DisableKeyRequest,
|
|
4668
6173
|
ImportKeyMaterialResponse: ImportKeyMaterialResponse,
|
|
4669
|
-
|
|
6174
|
+
EnableDataKeyRequest: EnableDataKeyRequest,
|
|
4670
6175
|
BindCloudResourceRequest: BindCloudResourceRequest,
|
|
4671
|
-
|
|
6176
|
+
GetDataKeyCiphertextBlobResponse: GetDataKeyCiphertextBlobResponse,
|
|
4672
6177
|
PostQuantumCryptoSignResponse: PostQuantumCryptoSignResponse,
|
|
4673
6178
|
SignByAsymmetricKeyResponse: SignByAsymmetricKeyResponse,
|
|
4674
6179
|
PostQuantumCryptoVerifyResponse: PostQuantumCryptoVerifyResponse,
|
|
4675
6180
|
DescribeWhiteBoxDecryptKeyResponse: DescribeWhiteBoxDecryptKeyResponse,
|
|
4676
6181
|
DescribeWhiteBoxDeviceFingerprintsResponse: DescribeWhiteBoxDeviceFingerprintsResponse,
|
|
4677
6182
|
PostQuantumCryptoDecryptResponse: PostQuantumCryptoDecryptResponse,
|
|
6183
|
+
DisableDataKeysRequest: DisableDataKeysRequest,
|
|
4678
6184
|
UpdateKeyDescriptionRequest: UpdateKeyDescriptionRequest,
|
|
4679
6185
|
UnbindCloudResourceResponse: UnbindCloudResourceResponse,
|
|
4680
6186
|
DescribeKeyResponse: DescribeKeyResponse,
|