tencentcloud-sdk-nodejs-intl-en 3.0.1470 → 3.0.1471
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/csip/v20221121/csip_client.js +217 -13
- package/tencentcloud/csip/v20221121/models.js +3033 -541
- package/tencentcloud/kms/v20190118/kms_client.js +36 -22
- package/tencentcloud/kms/v20190118/models.js +227 -57
- package/tencentcloud/redis/v20180412/models.js +673 -180
- package/tencentcloud/redis/v20180412/redis_client.js +52 -13
- package/tencentcloud/tdmysql/v20211122/models.js +170 -0
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +13 -0
- package/tencentcloud/teo/v20220901/models.js +31 -45
- package/tencentcloud/vod/v20180717/models.js +76 -76
|
@@ -239,37 +239,37 @@ class CreateKeyRequest extends AbstractModel {
|
|
|
239
239
|
super();
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
242
|
+
* <p>Alias that makes the key easier to identify and understand. It cannot be empty and must contain 1-60 alphanumeric characters, hyphens (-), or underscores (_), and start with a letter or digit. Aliases prefixed with kms- are reserved for cloud services. The alias must be unique.</p>
|
|
243
243
|
* @type {string || null}
|
|
244
244
|
*/
|
|
245
245
|
this.Alias = null;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* <p>Description of the CMK. Maximum length: 1024 bytes.</p>
|
|
249
249
|
* @type {string || null}
|
|
250
250
|
*/
|
|
251
251
|
this.Description = null;
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
|
-
* Specifies the key
|
|
254
|
+
* <p>Specifies the purpose of the key. The default value is "ENCRYPT_DECRYPT", which indicates creating a symmetric encryption/decryption key. Other supported purposes: "ASYMMETRIC_DECRYPT_RSA_2048" indicates creating an RSA2048 asymmetric key for encryption/decryption; "ASYMMETRIC_DECRYPT_RSA_3072" indicates creating an RSA3072 asymmetric key for encryption/decryption; "ASYMMETRIC_DECRYPT_RSA_4096" indicates creating an RSA4096 asymmetric key for encryption/decryption; "ASYMMETRIC_DECRYPT_SM2" indicates creating an SM2 asymmetric key for encryption/decryption; "ASYMMETRIC_SIGN_VERIFY_SM2" indicates creating an SM2 asymmetric key for signature generation and verification; "ASYMMETRIC_SIGN_VERIFY_ECC" indicates creating an ECC asymmetric key for signature generation and verification; "ASYMMETRIC_SIGN_VERIFY_RSA_2048" indicates creating an RSA_2048 asymmetric key for signature generation and verification; "ASYMMETRIC_SIGN_VERIFY_RSA_3072" indicates creating an RSA_3072 asymmetric key for signature generation and verification; <br>"ASYMMETRIC_SIGN_VERIFY_RSA_4096" indicates creating an RSA_4096 asymmetric key for signature generation and verification; "ASYMMETRIC_SIGN_VERIFY_ECDSA384" indicates creating an ECDSA384 asymmetric key for signature generation and verification. For the complete list of key purposes and supported algorithms, call the ListAlgorithms API.</p>
|
|
255
255
|
* @type {string || null}
|
|
256
256
|
*/
|
|
257
257
|
this.KeyUsage = null;
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
|
-
* Specifies the key type.
|
|
260
|
+
* <p>Specifies the key type. The default value is 1. 1 indicates the default type, where the CMK is created by KMS. 2 indicates the EXTERNAL type, where you need to import the key material. For more information, see the GetParametersForImport and ImportKeyMaterial APIs.</p>
|
|
261
261
|
* @type {number || null}
|
|
262
262
|
*/
|
|
263
263
|
this.Type = null;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
* Tag list
|
|
266
|
+
* <p>Tag list.</p>
|
|
267
267
|
* @type {Array.<Tag> || null}
|
|
268
268
|
*/
|
|
269
269
|
this.Tags = null;
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
|
-
* ID
|
|
272
|
+
* <p>HSM cluster ID corresponding to KMS Advanced Edition (valid only for KMS exclusive/managed service instances).</p>
|
|
273
273
|
* @type {string || null}
|
|
274
274
|
*/
|
|
275
275
|
this.HsmClusterId = null;
|
|
@@ -1255,7 +1255,7 @@ class GenerateDataKeyRequest extends AbstractModel {
|
|
|
1255
1255
|
this.EncryptionPublicKey = null;
|
|
1256
1256
|
|
|
1257
1257
|
/**
|
|
1258
|
-
* Asymmetric encryption algorithm. Valid values: `SM2` (C1C3C2 ciphertext is returned)
|
|
1258
|
+
* Asymmetric encryption algorithm. Valid values: `SM2` (C1C3C2 ciphertext is returned), `SM2_C1C3C2_ASN1` (C1C3C2 ASN1 ciphertext is returned), `RSAES_PKCS1_V1_5`, `RSAES_OAEP_SHA_1`, and `RSAES_OAEP_SHA_256`. This field is used in combination with `EncryptionPublicKey` for encryption. If it is left empty, an SM2 public key will be used by default.
|
|
1259
1259
|
* @type {string || null}
|
|
1260
1260
|
*/
|
|
1261
1261
|
this.EncryptionAlgorithm = null;
|
|
@@ -1717,7 +1717,7 @@ class VerifyByAsymmetricKeyResponse extends AbstractModel {
|
|
|
1717
1717
|
super();
|
|
1718
1718
|
|
|
1719
1719
|
/**
|
|
1720
|
-
* Whether the signature is valid.
|
|
1720
|
+
* <p>Whether the signature is valid. true: valid; false: invalid.</p>
|
|
1721
1721
|
* @type {boolean || null}
|
|
1722
1722
|
*/
|
|
1723
1723
|
this.SignatureValid = null;
|
|
@@ -1913,6 +1913,75 @@ If `EncryptionPublicKey` is specified, this field will return the Base64-encoded
|
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
|
|
1916
|
+
/**
|
|
1917
|
+
* CreateKmsInstance request structure.
|
|
1918
|
+
* @class
|
|
1919
|
+
*/
|
|
1920
|
+
class CreateKmsInstanceRequest extends AbstractModel {
|
|
1921
|
+
constructor(){
|
|
1922
|
+
super();
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* <p>Instance billing type (PREPAID).</p>
|
|
1926
|
+
* @type {string || null}
|
|
1927
|
+
*/
|
|
1928
|
+
this.InstanceChargeType = null;
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* <p>Version type.</p><p>Valid values:</p><ul><li>professional: Professional Edition</li></ul>
|
|
1932
|
+
* @type {string || null}
|
|
1933
|
+
*/
|
|
1934
|
+
this.ProductVersion = null;
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* <p>Prepaid instance information.</p>
|
|
1938
|
+
* @type {InstanceChargePrepaid || null}
|
|
1939
|
+
*/
|
|
1940
|
+
this.InstanceChargePrepaid = null;
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* <p>Reentrant client ID.</p>
|
|
1944
|
+
* @type {string || null}
|
|
1945
|
+
*/
|
|
1946
|
+
this.ClientToken = null;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* <p>Instance tag.</p>
|
|
1950
|
+
* @type {Array.<Tag> || null}
|
|
1951
|
+
*/
|
|
1952
|
+
this.Tags = null;
|
|
1953
|
+
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* @private
|
|
1958
|
+
*/
|
|
1959
|
+
deserialize(params) {
|
|
1960
|
+
if (!params) {
|
|
1961
|
+
return;
|
|
1962
|
+
}
|
|
1963
|
+
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
1964
|
+
this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
|
|
1965
|
+
|
|
1966
|
+
if (params.InstanceChargePrepaid) {
|
|
1967
|
+
let obj = new InstanceChargePrepaid();
|
|
1968
|
+
obj.deserialize(params.InstanceChargePrepaid)
|
|
1969
|
+
this.InstanceChargePrepaid = obj;
|
|
1970
|
+
}
|
|
1971
|
+
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
1972
|
+
|
|
1973
|
+
if (params.Tags) {
|
|
1974
|
+
this.Tags = new Array();
|
|
1975
|
+
for (let z in params.Tags) {
|
|
1976
|
+
let obj = new Tag();
|
|
1977
|
+
obj.deserialize(params.Tags[z]);
|
|
1978
|
+
this.Tags.push(obj);
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1916
1985
|
/**
|
|
1917
1986
|
* ListDataKeyDetail response structure.
|
|
1918
1987
|
* @class
|
|
@@ -2811,31 +2880,31 @@ class VerifyByAsymmetricKeyRequest extends AbstractModel {
|
|
|
2811
2880
|
super();
|
|
2812
2881
|
|
|
2813
2882
|
/**
|
|
2814
|
-
* Unique
|
|
2883
|
+
* <p>Unique identifier of the key</p>
|
|
2815
2884
|
* @type {string || null}
|
|
2816
2885
|
*/
|
|
2817
2886
|
this.KeyId = null;
|
|
2818
2887
|
|
|
2819
2888
|
/**
|
|
2820
|
-
* Signature value,
|
|
2889
|
+
* <p>Signature value, generated by calling the KMS signing API</p>
|
|
2821
2890
|
* @type {string || null}
|
|
2822
2891
|
*/
|
|
2823
2892
|
this.SignatureValue = null;
|
|
2824
2893
|
|
|
2825
2894
|
/**
|
|
2826
|
-
*
|
|
2895
|
+
* <p>Message original text or message digest. If the message original text is provided, its length (before Base64 encoding) cannot exceed 4096 bytes. If the message digest is provided, its length (before Base64 encoding) must be 32 bytes.</p>
|
|
2827
2896
|
* @type {string || null}
|
|
2828
2897
|
*/
|
|
2829
2898
|
this.Message = null;
|
|
2830
2899
|
|
|
2831
2900
|
/**
|
|
2832
|
-
* Signature algorithm.
|
|
2901
|
+
* <p>Signature algorithm. Supported algorithms: SM2DSA, ECC_P256_R1, ECDSA384_SHA384, RSA_PSS_SHA_256, RSA_PKCS1_SHA_256, RSA_PSS_SHA_384, RSA_PKCS1_SHA_384, RSA_PSS_SHA_512, RSA_PKCS1_SHA_512, etc. For more supported algorithms, query them through the ListAlgorithms API.</p>
|
|
2833
2902
|
* @type {string || null}
|
|
2834
2903
|
*/
|
|
2835
2904
|
this.Algorithm = null;
|
|
2836
2905
|
|
|
2837
2906
|
/**
|
|
2838
|
-
* Message type
|
|
2907
|
+
* <p>Message type: RAW or DIGEST. If not specified, RAW is used by default, indicating the message original text.</p>
|
|
2839
2908
|
* @type {string || null}
|
|
2840
2909
|
*/
|
|
2841
2910
|
this.MessageType = null;
|
|
@@ -3107,6 +3176,41 @@ class DeleteWhiteBoxKeyRequest extends AbstractModel {
|
|
|
3107
3176
|
}
|
|
3108
3177
|
}
|
|
3109
3178
|
|
|
3179
|
+
/**
|
|
3180
|
+
* PostQuantumCryptoSign response structure.
|
|
3181
|
+
* @class
|
|
3182
|
+
*/
|
|
3183
|
+
class PostQuantumCryptoSignResponse extends AbstractModel {
|
|
3184
|
+
constructor(){
|
|
3185
|
+
super();
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* Base64-encoded signature You can use PostQuantumCryptoVerify to verify the signature value.
|
|
3189
|
+
* @type {string || null}
|
|
3190
|
+
*/
|
|
3191
|
+
this.Signature = null;
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* 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.
|
|
3195
|
+
* @type {string || null}
|
|
3196
|
+
*/
|
|
3197
|
+
this.RequestId = null;
|
|
3198
|
+
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* @private
|
|
3203
|
+
*/
|
|
3204
|
+
deserialize(params) {
|
|
3205
|
+
if (!params) {
|
|
3206
|
+
return;
|
|
3207
|
+
}
|
|
3208
|
+
this.Signature = 'Signature' in params ? params.Signature : null;
|
|
3209
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3210
|
+
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3110
3214
|
/**
|
|
3111
3215
|
* Algorithm name and ID
|
|
3112
3216
|
* @class
|
|
@@ -3241,18 +3345,18 @@ class ExclusiveHSM extends AbstractModel {
|
|
|
3241
3345
|
}
|
|
3242
3346
|
|
|
3243
3347
|
/**
|
|
3244
|
-
*
|
|
3348
|
+
* GetDataKeyCiphertextBlob request structure.
|
|
3245
3349
|
* @class
|
|
3246
3350
|
*/
|
|
3247
|
-
class
|
|
3351
|
+
class GetDataKeyCiphertextBlobRequest extends AbstractModel {
|
|
3248
3352
|
constructor(){
|
|
3249
3353
|
super();
|
|
3250
3354
|
|
|
3251
3355
|
/**
|
|
3252
|
-
* Unique
|
|
3356
|
+
* Unique id of a data key.
|
|
3253
3357
|
* @type {string || null}
|
|
3254
3358
|
*/
|
|
3255
|
-
this.
|
|
3359
|
+
this.DataKeyId = null;
|
|
3256
3360
|
|
|
3257
3361
|
/**
|
|
3258
3362
|
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
@@ -3269,7 +3373,7 @@ class CancelKeyDeletionRequest extends AbstractModel {
|
|
|
3269
3373
|
if (!params) {
|
|
3270
3374
|
return;
|
|
3271
3375
|
}
|
|
3272
|
-
this.
|
|
3376
|
+
this.DataKeyId = 'DataKeyId' in params ? params.DataKeyId : null;
|
|
3273
3377
|
|
|
3274
3378
|
if (params.MemberAccount) {
|
|
3275
3379
|
let obj = new MemberAccount();
|
|
@@ -3698,55 +3802,55 @@ class CreateKeyResponse extends AbstractModel {
|
|
|
3698
3802
|
super();
|
|
3699
3803
|
|
|
3700
3804
|
/**
|
|
3701
|
-
* Globally unique CMK
|
|
3805
|
+
* <p>Globally unique identifier of the CMK</p>
|
|
3702
3806
|
* @type {string || null}
|
|
3703
3807
|
*/
|
|
3704
3808
|
this.KeyId = null;
|
|
3705
3809
|
|
|
3706
3810
|
/**
|
|
3707
|
-
* Alias that makes
|
|
3811
|
+
* <p>Alias that makes the key easier to identify and understand</p>
|
|
3708
3812
|
* @type {string || null}
|
|
3709
3813
|
*/
|
|
3710
3814
|
this.Alias = null;
|
|
3711
3815
|
|
|
3712
3816
|
/**
|
|
3713
|
-
* Key creation time
|
|
3817
|
+
* <p>Key creation time, unix timestamp</p>
|
|
3714
3818
|
* @type {number || null}
|
|
3715
3819
|
*/
|
|
3716
3820
|
this.CreateTime = null;
|
|
3717
3821
|
|
|
3718
3822
|
/**
|
|
3719
|
-
*
|
|
3823
|
+
* <p>Description of the CMK</p>
|
|
3720
3824
|
* @type {string || null}
|
|
3721
3825
|
*/
|
|
3722
3826
|
this.Description = null;
|
|
3723
3827
|
|
|
3724
3828
|
/**
|
|
3725
|
-
* CMK
|
|
3829
|
+
* <p>Status of the CMK</p>
|
|
3726
3830
|
* @type {string || null}
|
|
3727
3831
|
*/
|
|
3728
3832
|
this.KeyState = null;
|
|
3729
3833
|
|
|
3730
3834
|
/**
|
|
3731
|
-
* CMK
|
|
3835
|
+
* <p>Purpose of the CMK</p>
|
|
3732
3836
|
* @type {string || null}
|
|
3733
3837
|
*/
|
|
3734
3838
|
this.KeyUsage = null;
|
|
3735
3839
|
|
|
3736
3840
|
/**
|
|
3737
|
-
* Return code of
|
|
3841
|
+
* <p>Return code of the tag operation. 0: Success; 1: Internal error; 2: Business processing error</p>
|
|
3738
3842
|
* @type {number || null}
|
|
3739
3843
|
*/
|
|
3740
3844
|
this.TagCode = null;
|
|
3741
3845
|
|
|
3742
3846
|
/**
|
|
3743
|
-
*
|
|
3847
|
+
* <p>Return message of the tag operation</p>
|
|
3744
3848
|
* @type {string || null}
|
|
3745
3849
|
*/
|
|
3746
3850
|
this.TagMsg = null;
|
|
3747
3851
|
|
|
3748
3852
|
/**
|
|
3749
|
-
* HSM cluster ID (valid only for exclusive
|
|
3853
|
+
* <p>HSM cluster ID (valid only for KMS exclusive/managed service instances)</p>
|
|
3750
3854
|
* @type {string || null}
|
|
3751
3855
|
*/
|
|
3752
3856
|
this.HsmClusterId = null;
|
|
@@ -3921,18 +4025,18 @@ class GetDataKeyPlaintextRequest extends AbstractModel {
|
|
|
3921
4025
|
}
|
|
3922
4026
|
|
|
3923
4027
|
/**
|
|
3924
|
-
*
|
|
4028
|
+
* CancelKeyDeletion request structure.
|
|
3925
4029
|
* @class
|
|
3926
4030
|
*/
|
|
3927
|
-
class
|
|
4031
|
+
class CancelKeyDeletionRequest extends AbstractModel {
|
|
3928
4032
|
constructor(){
|
|
3929
4033
|
super();
|
|
3930
4034
|
|
|
3931
4035
|
/**
|
|
3932
|
-
* Unique
|
|
4036
|
+
* Unique ID of the CMK for which to cancel schedule deletion
|
|
3933
4037
|
* @type {string || null}
|
|
3934
4038
|
*/
|
|
3935
|
-
this.
|
|
4039
|
+
this.KeyId = null;
|
|
3936
4040
|
|
|
3937
4041
|
/**
|
|
3938
4042
|
* Trusted service member account information. valid at that time when the current account is admin or delegated admin.
|
|
@@ -3949,7 +4053,7 @@ class GetDataKeyCiphertextBlobRequest extends AbstractModel {
|
|
|
3949
4053
|
if (!params) {
|
|
3950
4054
|
return;
|
|
3951
4055
|
}
|
|
3952
|
-
this.
|
|
4056
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3953
4057
|
|
|
3954
4058
|
if (params.MemberAccount) {
|
|
3955
4059
|
let obj = new MemberAccount();
|
|
@@ -4218,6 +4322,18 @@ class GetServiceStatusResponse extends AbstractModel {
|
|
|
4218
4322
|
*/
|
|
4219
4323
|
this.ResourceRegion = null;
|
|
4220
4324
|
|
|
4325
|
+
/**
|
|
4326
|
+
* <p>Multi-account activation limit</p><p>Unit: count</p>
|
|
4327
|
+
* @type {number || null}
|
|
4328
|
+
*/
|
|
4329
|
+
this.MultiAccountLimit = null;
|
|
4330
|
+
|
|
4331
|
+
/**
|
|
4332
|
+
* <p>Multi-account enablement count</p><p>Unit: count</p>
|
|
4333
|
+
* @type {number || null}
|
|
4334
|
+
*/
|
|
4335
|
+
this.MultiAccountUsedCount = null;
|
|
4336
|
+
|
|
4221
4337
|
/**
|
|
4222
4338
|
* 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.
|
|
4223
4339
|
* @type {string || null}
|
|
@@ -4280,6 +4396,8 @@ class GetServiceStatusResponse extends AbstractModel {
|
|
|
4280
4396
|
}
|
|
4281
4397
|
this.ResourceZone = 'ResourceZone' in params ? params.ResourceZone : null;
|
|
4282
4398
|
this.ResourceRegion = 'ResourceRegion' in params ? params.ResourceRegion : null;
|
|
4399
|
+
this.MultiAccountLimit = 'MultiAccountLimit' in params ? params.MultiAccountLimit : null;
|
|
4400
|
+
this.MultiAccountUsedCount = 'MultiAccountUsedCount' in params ? params.MultiAccountUsedCount : null;
|
|
4283
4401
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4284
4402
|
|
|
4285
4403
|
}
|
|
@@ -5058,30 +5176,30 @@ class CancelKeyArchiveResponse extends AbstractModel {
|
|
|
5058
5176
|
}
|
|
5059
5177
|
|
|
5060
5178
|
/**
|
|
5061
|
-
*
|
|
5179
|
+
* CreateKmsInstance response structure.
|
|
5062
5180
|
* @class
|
|
5063
5181
|
*/
|
|
5064
|
-
class
|
|
5182
|
+
class CreateKmsInstanceResponse extends AbstractModel {
|
|
5065
5183
|
constructor(){
|
|
5066
5184
|
super();
|
|
5067
5185
|
|
|
5068
5186
|
/**
|
|
5069
|
-
*
|
|
5187
|
+
* <p>Instance ID.</p>
|
|
5070
5188
|
* @type {string || null}
|
|
5071
5189
|
*/
|
|
5072
|
-
this.
|
|
5190
|
+
this.InstanceId = null;
|
|
5073
5191
|
|
|
5074
5192
|
/**
|
|
5075
|
-
*
|
|
5193
|
+
* <p>Billing order number</p>
|
|
5076
5194
|
* @type {string || null}
|
|
5077
5195
|
*/
|
|
5078
|
-
this.
|
|
5196
|
+
this.DealName = null;
|
|
5079
5197
|
|
|
5080
5198
|
/**
|
|
5081
|
-
*
|
|
5199
|
+
* <p>Billing freeze serial number</p>
|
|
5082
5200
|
* @type {string || null}
|
|
5083
5201
|
*/
|
|
5084
|
-
this.
|
|
5202
|
+
this.BillId = null;
|
|
5085
5203
|
|
|
5086
5204
|
/**
|
|
5087
5205
|
* 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.
|
|
@@ -5098,9 +5216,9 @@ class GetPublicKeyResponse extends AbstractModel {
|
|
|
5098
5216
|
if (!params) {
|
|
5099
5217
|
return;
|
|
5100
5218
|
}
|
|
5101
|
-
this.
|
|
5102
|
-
this.
|
|
5103
|
-
this.
|
|
5219
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5220
|
+
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
5221
|
+
this.BillId = 'BillId' in params ? params.BillId : null;
|
|
5104
5222
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5105
5223
|
|
|
5106
5224
|
}
|
|
@@ -5605,25 +5723,25 @@ class SignByAsymmetricKeyRequest extends AbstractModel {
|
|
|
5605
5723
|
super();
|
|
5606
5724
|
|
|
5607
5725
|
/**
|
|
5608
|
-
* Signature algorithm.
|
|
5726
|
+
* <p>Signature algorithm. Supported algorithms: SM2DSA, ECC_P256_R1, ECDSA384_SHA384, RSA_PSS_SHA_256, RSA_PKCS1_SHA_256, RSA_PSS_SHA_384, RSA_PKCS1_SHA_384, RSA_PSS_SHA_512, RSA_PKCS1_SHA_512, etc. For more supported algorithms, query them through the ListAlgorithms API.</p>
|
|
5609
5727
|
* @type {string || null}
|
|
5610
5728
|
*/
|
|
5611
5729
|
this.Algorithm = null;
|
|
5612
5730
|
|
|
5613
5731
|
/**
|
|
5614
|
-
*
|
|
5732
|
+
* <p>Message original text or message digest. If the message original text is provided, its length (before Base64 encoding) cannot exceed 4096 bytes. If the message digest is provided, its length (before Base64 encoding) must be 32 bytes.</p>
|
|
5615
5733
|
* @type {string || null}
|
|
5616
5734
|
*/
|
|
5617
5735
|
this.Message = null;
|
|
5618
5736
|
|
|
5619
5737
|
/**
|
|
5620
|
-
* Unique
|
|
5738
|
+
* <p>Unique identifier of the key</p>
|
|
5621
5739
|
* @type {string || null}
|
|
5622
5740
|
*/
|
|
5623
5741
|
this.KeyId = null;
|
|
5624
5742
|
|
|
5625
5743
|
/**
|
|
5626
|
-
* Message type
|
|
5744
|
+
* <p>Message type: RAW or DIGEST. If not specified, RAW is used by default, indicating the message original text.</p>
|
|
5627
5745
|
* @type {string || null}
|
|
5628
5746
|
*/
|
|
5629
5747
|
this.MessageType = null;
|
|
@@ -6170,18 +6288,30 @@ class GetDataKeyCiphertextBlobResponse extends AbstractModel {
|
|
|
6170
6288
|
}
|
|
6171
6289
|
|
|
6172
6290
|
/**
|
|
6173
|
-
*
|
|
6291
|
+
* GetPublicKey response structure.
|
|
6174
6292
|
* @class
|
|
6175
6293
|
*/
|
|
6176
|
-
class
|
|
6294
|
+
class GetPublicKeyResponse extends AbstractModel {
|
|
6177
6295
|
constructor(){
|
|
6178
6296
|
super();
|
|
6179
6297
|
|
|
6180
6298
|
/**
|
|
6181
|
-
*
|
|
6299
|
+
* Unique CMK ID.
|
|
6182
6300
|
* @type {string || null}
|
|
6183
6301
|
*/
|
|
6184
|
-
this.
|
|
6302
|
+
this.KeyId = null;
|
|
6303
|
+
|
|
6304
|
+
/**
|
|
6305
|
+
* Base64-encoded public key content.
|
|
6306
|
+
* @type {string || null}
|
|
6307
|
+
*/
|
|
6308
|
+
this.PublicKey = null;
|
|
6309
|
+
|
|
6310
|
+
/**
|
|
6311
|
+
* Public key content in PEM format.
|
|
6312
|
+
* @type {string || null}
|
|
6313
|
+
*/
|
|
6314
|
+
this.PublicKeyPem = null;
|
|
6185
6315
|
|
|
6186
6316
|
/**
|
|
6187
6317
|
* 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.
|
|
@@ -6198,7 +6328,9 @@ class PostQuantumCryptoSignResponse extends AbstractModel {
|
|
|
6198
6328
|
if (!params) {
|
|
6199
6329
|
return;
|
|
6200
6330
|
}
|
|
6201
|
-
this.
|
|
6331
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
6332
|
+
this.PublicKey = 'PublicKey' in params ? params.PublicKey : null;
|
|
6333
|
+
this.PublicKeyPem = 'PublicKeyPem' in params ? params.PublicKeyPem : null;
|
|
6202
6334
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6203
6335
|
|
|
6204
6336
|
}
|
|
@@ -6213,7 +6345,7 @@ class SignByAsymmetricKeyResponse extends AbstractModel {
|
|
|
6213
6345
|
super();
|
|
6214
6346
|
|
|
6215
6347
|
/**
|
|
6216
|
-
* Base64-encoded
|
|
6348
|
+
* <p>Signature, Base64-encoded.</p>
|
|
6217
6349
|
* @type {string || null}
|
|
6218
6350
|
*/
|
|
6219
6351
|
this.Signature = null;
|
|
@@ -6590,6 +6722,41 @@ class DescribeKeyResponse extends AbstractModel {
|
|
|
6590
6722
|
}
|
|
6591
6723
|
}
|
|
6592
6724
|
|
|
6725
|
+
/**
|
|
6726
|
+
* Prepaid billing information.
|
|
6727
|
+
* @class
|
|
6728
|
+
*/
|
|
6729
|
+
class InstanceChargePrepaid extends AbstractModel {
|
|
6730
|
+
constructor(){
|
|
6731
|
+
super();
|
|
6732
|
+
|
|
6733
|
+
/**
|
|
6734
|
+
* <p>Purchase duration in months (1-100).</p>
|
|
6735
|
+
* @type {number || null}
|
|
6736
|
+
*/
|
|
6737
|
+
this.Period = null;
|
|
6738
|
+
|
|
6739
|
+
/**
|
|
6740
|
+
* <p>Renewal flag (0: not set by the user; 1: auto-renewal; 2: no auto-renewal).</p>
|
|
6741
|
+
* @type {number || null}
|
|
6742
|
+
*/
|
|
6743
|
+
this.RenewFlag = null;
|
|
6744
|
+
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6747
|
+
/**
|
|
6748
|
+
* @private
|
|
6749
|
+
*/
|
|
6750
|
+
deserialize(params) {
|
|
6751
|
+
if (!params) {
|
|
6752
|
+
return;
|
|
6753
|
+
}
|
|
6754
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
6755
|
+
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
6756
|
+
|
|
6757
|
+
}
|
|
6758
|
+
}
|
|
6759
|
+
|
|
6593
6760
|
/**
|
|
6594
6761
|
* CancelKeyArchive request structure.
|
|
6595
6762
|
* @class
|
|
@@ -6752,6 +6919,7 @@ module.exports = {
|
|
|
6752
6919
|
DescribeWhiteBoxKeyRequest: DescribeWhiteBoxKeyRequest,
|
|
6753
6920
|
GetParametersForImportResponse: GetParametersForImportResponse,
|
|
6754
6921
|
DecryptResponse: DecryptResponse,
|
|
6922
|
+
CreateKmsInstanceRequest: CreateKmsInstanceRequest,
|
|
6755
6923
|
ListDataKeyDetailResponse: ListDataKeyDetailResponse,
|
|
6756
6924
|
CreateWhiteBoxKeyResponse: CreateWhiteBoxKeyResponse,
|
|
6757
6925
|
ImportKeyMaterialRequest: ImportKeyMaterialRequest,
|
|
@@ -6775,11 +6943,12 @@ module.exports = {
|
|
|
6775
6943
|
ImportDataKeyRequest: ImportDataKeyRequest,
|
|
6776
6944
|
ListKeyDetailRequest: ListKeyDetailRequest,
|
|
6777
6945
|
DeleteWhiteBoxKeyRequest: DeleteWhiteBoxKeyRequest,
|
|
6946
|
+
PostQuantumCryptoSignResponse: PostQuantumCryptoSignResponse,
|
|
6778
6947
|
AlgorithmInfo: AlgorithmInfo,
|
|
6779
6948
|
GetRegionsResponse: GetRegionsResponse,
|
|
6780
6949
|
UpdateDataKeyDescriptionResponse: UpdateDataKeyDescriptionResponse,
|
|
6781
6950
|
ExclusiveHSM: ExclusiveHSM,
|
|
6782
|
-
|
|
6951
|
+
GetDataKeyCiphertextBlobRequest: GetDataKeyCiphertextBlobRequest,
|
|
6783
6952
|
EnableDataKeysResponse: EnableDataKeysResponse,
|
|
6784
6953
|
GenerateDataKeyResponse: GenerateDataKeyResponse,
|
|
6785
6954
|
EnableDataKeysRequest: EnableDataKeysRequest,
|
|
@@ -6794,7 +6963,7 @@ module.exports = {
|
|
|
6794
6963
|
ReEncryptResponse: ReEncryptResponse,
|
|
6795
6964
|
EncryptResponse: EncryptResponse,
|
|
6796
6965
|
GetDataKeyPlaintextRequest: GetDataKeyPlaintextRequest,
|
|
6797
|
-
|
|
6966
|
+
CancelKeyDeletionRequest: CancelKeyDeletionRequest,
|
|
6798
6967
|
DeleteImportedKeyMaterialRequest: DeleteImportedKeyMaterialRequest,
|
|
6799
6968
|
EnableKeyResponse: EnableKeyResponse,
|
|
6800
6969
|
ImportDataKeyResponse: ImportDataKeyResponse,
|
|
@@ -6813,7 +6982,7 @@ module.exports = {
|
|
|
6813
6982
|
DataKey: DataKey,
|
|
6814
6983
|
KeyMetadata: KeyMetadata,
|
|
6815
6984
|
CancelKeyArchiveResponse: CancelKeyArchiveResponse,
|
|
6816
|
-
|
|
6985
|
+
CreateKmsInstanceResponse: CreateKmsInstanceResponse,
|
|
6817
6986
|
DecryptRequest: DecryptRequest,
|
|
6818
6987
|
DescribeWhiteBoxKeyDetailsRequest: DescribeWhiteBoxKeyDetailsRequest,
|
|
6819
6988
|
PostQuantumCryptoSignRequest: PostQuantumCryptoSignRequest,
|
|
@@ -6843,7 +7012,7 @@ module.exports = {
|
|
|
6843
7012
|
EnableDataKeyRequest: EnableDataKeyRequest,
|
|
6844
7013
|
BindCloudResourceRequest: BindCloudResourceRequest,
|
|
6845
7014
|
GetDataKeyCiphertextBlobResponse: GetDataKeyCiphertextBlobResponse,
|
|
6846
|
-
|
|
7015
|
+
GetPublicKeyResponse: GetPublicKeyResponse,
|
|
6847
7016
|
SignByAsymmetricKeyResponse: SignByAsymmetricKeyResponse,
|
|
6848
7017
|
PostQuantumCryptoVerifyResponse: PostQuantumCryptoVerifyResponse,
|
|
6849
7018
|
DescribeWhiteBoxDecryptKeyResponse: DescribeWhiteBoxDecryptKeyResponse,
|
|
@@ -6854,6 +7023,7 @@ module.exports = {
|
|
|
6854
7023
|
UpdateKeyDescriptionRequest: UpdateKeyDescriptionRequest,
|
|
6855
7024
|
UnbindCloudResourceResponse: UnbindCloudResourceResponse,
|
|
6856
7025
|
DescribeKeyResponse: DescribeKeyResponse,
|
|
7026
|
+
InstanceChargePrepaid: InstanceChargePrepaid,
|
|
6857
7027
|
CancelKeyArchiveRequest: CancelKeyArchiveRequest,
|
|
6858
7028
|
Tag: Tag,
|
|
6859
7029
|
DisableKeyRotationRequest: DisableKeyRotationRequest,
|