tencentcloud-sdk-nodejs 4.1.333 → 4.1.335
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/es/common/sdk_version.js +1 -1
- package/es/services/cfg/v20210820/cfg_client.js +9 -0
- package/es/services/ctem/v20231128/ctem_client.js +21 -6
- package/es/services/cvd/index.js +4 -0
- package/es/services/cvd/v20201104/cvd_client.js +150 -0
- package/es/services/cvd/v20201104/cvd_models.js +1 -0
- package/es/services/cvd/v20201104/index.js +6 -0
- package/es/services/databuddy/v20260715/databuddy_client.js +9 -0
- package/es/services/dbbrain/v20210527/dbbrain_client.js +3 -0
- package/es/services/dbdc/v20201029/dbdc_client.js +18 -0
- package/es/services/goosefs/v20220519/goosefs_client.js +14 -2
- package/es/services/index.js +1 -0
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +6 -33
- package/es/services/kms/v20190118/kms_client.js +9 -6
- package/es/services/waf/v20180125/waf_client.js +7 -4
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +12 -4
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +4 -4
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +12 -4
- package/tencentcloud/services/cdz/v20221123/cdz_models.d.ts +10 -6
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +13 -1
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +18 -0
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +216 -82
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +4 -0
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +3 -3
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +3 -3
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +14 -2
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
- package/tencentcloud/services/ctem/v20231128/ctem_client.d.ts +27 -7
- package/tencentcloud/services/ctem/v20231128/ctem_client.js +39 -9
- package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +326 -76
- package/tencentcloud/services/cvd/index.d.ts +6 -0
- package/tencentcloud/services/cvd/index.js +7 -0
- package/tencentcloud/services/cvd/v20201104/cvd_client.d.ts +205 -0
- package/tencentcloud/services/cvd/v20201104/cvd_client.js +322 -0
- package/tencentcloud/services/cvd/v20201104/cvd_models.d.ts +2527 -0
- package/tencentcloud/services/cvd/v20201104/cvd_models.js +18 -0
- package/tencentcloud/services/cvd/v20201104/index.d.ts +6 -0
- package/tencentcloud/services/cvd/v20201104/index.js +10 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +57 -8
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +18 -1
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +23 -0
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +121 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +164 -46
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +26 -1
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +37 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +174 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +17 -7
- package/tencentcloud/services/ga2/v20250115/ga2_client.d.ts +1 -1
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +72 -30
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +19 -3
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +27 -3
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +263 -86
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +7 -5
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +3 -3
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +3 -3
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +113 -41
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +7 -43
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +9 -63
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +96 -818
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +11 -7
- package/tencentcloud/services/kms/v20190118/kms_client.js +15 -9
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +79 -20
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +31 -73
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +14 -1
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +157 -3
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +63 -45
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +1 -1
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +1 -1
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +58 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateAliasRequest, EnableWhiteBoxKeyRequest, AsymmetricRsaDecryptRequest, EnableKeyRotationRequest, DescribeWhiteBoxKeyDetailsResponse, CreateKeyRequest, DisableWhiteBoxKeyResponse, DisableKeyResponse, DescribeWhiteBoxServiceStatusRequest, UpdateDataKeyDescriptionRequest, DescribeDataKeyResponse, DisableDataKeyResponse, DescribeKeyRequest, DescribeDataKeysRequest, ListAlgorithmsResponse, DisableKeysResponse, EnableDataKeyResponse, DescribeWhiteBoxKeyResponse, UpdateKeyDescriptionResponse, DescribeWhiteBoxServiceStatusResponse, AsymmetricRsaDecryptResponse, ScheduleDataKeyDeletionResponse, EnableKeyRequest, GetKeyRotationStatusRequest, ListAlgorithmsRequest, ListKeyDetailResponse, GenerateDataKeyRequest, UpdateAliasResponse, ScheduleKeyDeletionResponse, PostQuantumCryptoVerifyRequest, GenerateRandomResponse, UpdateDataKeyNameRequest, ScheduleDataKeyDeletionRequest, DescribeKeysRequest, GetPublicKeyRequest, GetServiceStatusRequest, EnableWhiteBoxKeysResponse, ArchiveKeyResponse, VerifyByAsymmetricKeyResponse, DescribeDataKeysResponse, DescribeWhiteBoxKeyRequest, GetParametersForImportResponse, DecryptResponse, ListDataKeyDetailResponse, CreateWhiteBoxKeyResponse, ImportKeyMaterialRequest, DeleteImportedKeyMaterialResponse, EnableKeysRequest, EnableWhiteBoxKeysRequest, EncryptByWhiteBoxResponse, UpdateDataKeyNameResponse, DescribeKeysResponse, EnableWhiteBoxKeyResponse, ListDataKeysResponse, ReEncryptRequest, ListKeysResponse, DescribeDataKeyRequest, AsymmetricSm2DecryptResponse, DisableKeyRotationResponse, VerifyByAsymmetricKeyRequest, DisableWhiteBoxKeysRequest, ImportDataKeyRequest, ListKeyDetailRequest, DeleteWhiteBoxKeyRequest, GetRegionsResponse, UpdateDataKeyDescriptionResponse,
|
|
3
|
+
import { UpdateAliasRequest, EnableWhiteBoxKeyRequest, AsymmetricRsaDecryptRequest, EnableKeyRotationRequest, DescribeWhiteBoxKeyDetailsResponse, CreateKeyRequest, DisableWhiteBoxKeyResponse, DisableKeyResponse, DescribeWhiteBoxServiceStatusRequest, UpdateDataKeyDescriptionRequest, DescribeDataKeyResponse, DisableDataKeyResponse, DescribeKeyRequest, DescribeDataKeysRequest, ListAlgorithmsResponse, DisableKeysResponse, EnableDataKeyResponse, DescribeWhiteBoxKeyResponse, UpdateKeyDescriptionResponse, DescribeWhiteBoxServiceStatusResponse, AsymmetricRsaDecryptResponse, ScheduleDataKeyDeletionResponse, EnableKeyRequest, GetKeyRotationStatusRequest, ListAlgorithmsRequest, ListKeyDetailResponse, GenerateDataKeyRequest, UpdateAliasResponse, ScheduleKeyDeletionResponse, PostQuantumCryptoVerifyRequest, GenerateRandomResponse, UpdateDataKeyNameRequest, ScheduleDataKeyDeletionRequest, DescribeKeysRequest, GetPublicKeyRequest, GetServiceStatusRequest, EnableWhiteBoxKeysResponse, ArchiveKeyResponse, VerifyByAsymmetricKeyResponse, DescribeDataKeysResponse, DescribeWhiteBoxKeyRequest, GetParametersForImportResponse, DecryptResponse, CreateKmsInstanceRequest, ListDataKeyDetailResponse, CreateWhiteBoxKeyResponse, ImportKeyMaterialRequest, DeleteImportedKeyMaterialResponse, EnableKeysRequest, EnableWhiteBoxKeysRequest, EncryptByWhiteBoxResponse, UpdateDataKeyNameResponse, DescribeKeysResponse, EnableWhiteBoxKeyResponse, ListDataKeysResponse, ReEncryptRequest, ListKeysResponse, DescribeDataKeyRequest, AsymmetricSm2DecryptResponse, DisableKeyRotationResponse, VerifyByAsymmetricKeyRequest, DisableWhiteBoxKeysRequest, ImportDataKeyRequest, ListKeyDetailRequest, DeleteWhiteBoxKeyRequest, PostQuantumCryptoSignResponse, GetRegionsResponse, UpdateDataKeyDescriptionResponse, GetDataKeyCiphertextBlobRequest, EnableDataKeysResponse, GenerateDataKeyResponse, EnableDataKeysRequest, CreateWhiteBoxKeyRequest, GetDataKeyPlaintextResponse, DisableDataKeyRequest, OverwriteWhiteBoxDeviceFingerprintsResponse, DisableWhiteBoxKeysResponse, ArchiveKeyRequest, GetParametersForImportRequest, CreateKeyResponse, ReEncryptResponse, EncryptResponse, GetDataKeyPlaintextRequest, CancelKeyDeletionRequest, DeleteImportedKeyMaterialRequest, EnableKeyResponse, ImportDataKeyResponse, GetServiceStatusResponse, GetKeyRotationStatusResponse, EncryptRequest, AsymmetricSm2DecryptRequest, ListDataKeysRequest, DeleteWhiteBoxKeyResponse, ListDataKeyDetailRequest, CancelDataKeyDeletionResponse, RotateKeyResponse, ListKeysRequest, DescribeWhiteBoxDecryptKeyRequest, CancelKeyArchiveResponse, CreateKmsInstanceResponse, DecryptRequest, DescribeWhiteBoxKeyDetailsRequest, PostQuantumCryptoSignRequest, PostQuantumCryptoDecryptRequest, CancelKeyDeletionResponse, DisableKeysRequest, DisableWhiteBoxKeyRequest, UnbindCloudResourceRequest, OverwriteWhiteBoxDeviceFingerprintsRequest, EnableKeyRotationResponse, BindCloudResourceResponse, EnableKeysResponse, SignByAsymmetricKeyRequest, DescribeWhiteBoxDeviceFingerprintsRequest, GetRegionsRequest, PostQuantumCryptoEncryptResponse, EncryptByWhiteBoxRequest, GenerateRandomRequest, DisableDataKeysResponse, ScheduleKeyDeletionRequest, CancelDataKeyDeletionRequest, PostQuantumCryptoEncryptRequest, DisableKeyRequest, ImportKeyMaterialResponse, EnableDataKeyRequest, BindCloudResourceRequest, GetDataKeyCiphertextBlobResponse, GetPublicKeyResponse, SignByAsymmetricKeyResponse, PostQuantumCryptoVerifyResponse, DescribeWhiteBoxDecryptKeyResponse, DescribeWhiteBoxDeviceFingerprintsResponse, PostQuantumCryptoDecryptResponse, RotateKeyRequest, DisableDataKeysRequest, UpdateKeyDescriptionRequest, UnbindCloudResourceResponse, DescribeKeyResponse, CancelKeyArchiveRequest, DisableKeyRotationRequest } from "./kms_models";
|
|
4
4
|
/**
|
|
5
5
|
* kms client
|
|
6
6
|
* @class
|
|
@@ -44,6 +44,10 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
* 该接口用于获取非对称密钥的公钥信息,可用于本地数据加密或验签。只有处于Enabled状态的非对称密钥才可能获取公钥。
|
|
45
45
|
*/
|
|
46
46
|
GetPublicKey(req: GetPublicKeyRequest, cb?: (error: string, rep: GetPublicKeyResponse) => void): Promise<GetPublicKeyResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* 该接口用于对指定的cmk修改描述信息。对于处于PendingDelete状态的CMK禁止修改。
|
|
49
|
+
*/
|
|
50
|
+
UpdateKeyDescription(req: UpdateKeyDescriptionRequest, cb?: (error: string, rep: UpdateKeyDescriptionResponse) => void): Promise<UpdateKeyDescriptionResponse>;
|
|
47
51
|
/**
|
|
48
52
|
* 本接口用于禁用一个主密钥,处于禁用状态的Key无法用于加密、解密操作。
|
|
49
53
|
*/
|
|
@@ -154,9 +158,9 @@ export declare class Client extends AbstractClient {
|
|
|
154
158
|
*/
|
|
155
159
|
VerifyByAsymmetricKey(req: VerifyByAsymmetricKeyRequest, cb?: (error: string, rep: VerifyByAsymmetricKeyResponse) => void): Promise<VerifyByAsymmetricKeyResponse>;
|
|
156
160
|
/**
|
|
157
|
-
*
|
|
161
|
+
* 返回数据密钥属性信息列表
|
|
158
162
|
*/
|
|
159
|
-
|
|
163
|
+
DescribeDataKeys(req: DescribeDataKeysRequest, cb?: (error: string, rep: DescribeDataKeysResponse) => void): Promise<DescribeDataKeysResponse>;
|
|
160
164
|
/**
|
|
161
165
|
* 数据密钥导入接口,并托管到KMS
|
|
162
166
|
*/
|
|
@@ -186,9 +190,9 @@ export declare class Client extends AbstractClient {
|
|
|
186
190
|
*/
|
|
187
191
|
DisableDataKey(req: DisableDataKeyRequest, cb?: (error: string, rep: DisableDataKeyResponse) => void): Promise<DisableDataKeyResponse>;
|
|
188
192
|
/**
|
|
189
|
-
*
|
|
193
|
+
* 购买开通KMS服务
|
|
190
194
|
*/
|
|
191
|
-
|
|
195
|
+
CreateKmsInstance(req: CreateKmsInstanceRequest, cb?: (error: string, rep: CreateKmsInstanceResponse) => void): Promise<CreateKmsInstanceResponse>;
|
|
192
196
|
/**
|
|
193
197
|
* 对指定的CMK禁止密钥轮换功能。
|
|
194
198
|
*/
|
|
@@ -258,9 +262,9 @@ export declare class Client extends AbstractClient {
|
|
|
258
262
|
*/
|
|
259
263
|
DescribeWhiteBoxServiceStatus(req?: DescribeWhiteBoxServiceStatusRequest, cb?: (error: string, rep: DescribeWhiteBoxServiceStatusResponse) => void): Promise<DescribeWhiteBoxServiceStatusResponse>;
|
|
260
264
|
/**
|
|
261
|
-
*
|
|
265
|
+
* 批量启用数据密钥
|
|
262
266
|
*/
|
|
263
|
-
|
|
267
|
+
EnableDataKeys(req: EnableDataKeysRequest, cb?: (error: string, rep: EnableDataKeysResponse) => void): Promise<EnableDataKeysResponse>;
|
|
264
268
|
/**
|
|
265
269
|
* 取消密钥归档,取消后密钥的状态变为Enabled。
|
|
266
270
|
*/
|
|
@@ -82,6 +82,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
async GetPublicKey(req, cb) {
|
|
83
83
|
return this.request("GetPublicKey", req, cb);
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* 该接口用于对指定的cmk修改描述信息。对于处于PendingDelete状态的CMK禁止修改。
|
|
87
|
+
*/
|
|
88
|
+
async UpdateKeyDescription(req, cb) {
|
|
89
|
+
return this.request("UpdateKeyDescription", req, cb);
|
|
90
|
+
}
|
|
85
91
|
/**
|
|
86
92
|
* 本接口用于禁用一个主密钥,处于禁用状态的Key无法用于加密、解密操作。
|
|
87
93
|
*/
|
|
@@ -246,10 +252,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
246
252
|
return this.request("VerifyByAsymmetricKey", req, cb);
|
|
247
253
|
}
|
|
248
254
|
/**
|
|
249
|
-
*
|
|
255
|
+
* 返回数据密钥属性信息列表
|
|
250
256
|
*/
|
|
251
|
-
async
|
|
252
|
-
return this.request("
|
|
257
|
+
async DescribeDataKeys(req, cb) {
|
|
258
|
+
return this.request("DescribeDataKeys", req, cb);
|
|
253
259
|
}
|
|
254
260
|
/**
|
|
255
261
|
* 数据密钥导入接口,并托管到KMS
|
|
@@ -294,10 +300,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
294
300
|
return this.request("DisableDataKey", req, cb);
|
|
295
301
|
}
|
|
296
302
|
/**
|
|
297
|
-
*
|
|
303
|
+
* 购买开通KMS服务
|
|
298
304
|
*/
|
|
299
|
-
async
|
|
300
|
-
return this.request("
|
|
305
|
+
async CreateKmsInstance(req, cb) {
|
|
306
|
+
return this.request("CreateKmsInstance", req, cb);
|
|
301
307
|
}
|
|
302
308
|
/**
|
|
303
309
|
* 对指定的CMK禁止密钥轮换功能。
|
|
@@ -402,10 +408,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
402
408
|
return this.request("DescribeWhiteBoxServiceStatus", req, cb);
|
|
403
409
|
}
|
|
404
410
|
/**
|
|
405
|
-
*
|
|
411
|
+
* 批量启用数据密钥
|
|
406
412
|
*/
|
|
407
|
-
async
|
|
408
|
-
return this.request("
|
|
413
|
+
async EnableDataKeys(req, cb) {
|
|
414
|
+
return this.request("EnableDataKeys", req, cb);
|
|
409
415
|
}
|
|
410
416
|
/**
|
|
411
417
|
* 取消密钥归档,取消后密钥的状态变为Enabled。
|
|
@@ -687,6 +687,31 @@ export interface DecryptResponse {
|
|
|
687
687
|
*/
|
|
688
688
|
RequestId?: string;
|
|
689
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* CreateKmsInstance请求参数结构体
|
|
692
|
+
*/
|
|
693
|
+
export interface CreateKmsInstanceRequest {
|
|
694
|
+
/**
|
|
695
|
+
* <p>实例付费类型(PREPAID)</p>
|
|
696
|
+
*/
|
|
697
|
+
InstanceChargeType: string;
|
|
698
|
+
/**
|
|
699
|
+
* <p>版本类型</p><p>枚举值:</p><ul><li>professional: 专业版</li></ul>
|
|
700
|
+
*/
|
|
701
|
+
ProductVersion?: string;
|
|
702
|
+
/**
|
|
703
|
+
* <p>预付费实例信息</p>
|
|
704
|
+
*/
|
|
705
|
+
InstanceChargePrepaid?: InstanceChargePrepaid;
|
|
706
|
+
/**
|
|
707
|
+
* <p>可重入客户端ID</p>
|
|
708
|
+
*/
|
|
709
|
+
ClientToken?: string;
|
|
710
|
+
/**
|
|
711
|
+
* <p>实例标签</p>
|
|
712
|
+
*/
|
|
713
|
+
Tags?: Array<Tag>;
|
|
714
|
+
}
|
|
690
715
|
/**
|
|
691
716
|
* ListDataKeyDetail返回参数结构体
|
|
692
717
|
*/
|
|
@@ -1171,6 +1196,19 @@ export interface DeleteWhiteBoxKeyRequest {
|
|
|
1171
1196
|
*/
|
|
1172
1197
|
KeyId: string;
|
|
1173
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* PostQuantumCryptoSign返回参数结构体
|
|
1201
|
+
*/
|
|
1202
|
+
export interface PostQuantumCryptoSignResponse {
|
|
1203
|
+
/**
|
|
1204
|
+
* 签名值,Base64编码。可使用 PostQuantumCryptoVerify接口对签名值进行验证。
|
|
1205
|
+
*/
|
|
1206
|
+
Signature?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1209
|
+
*/
|
|
1210
|
+
RequestId?: string;
|
|
1211
|
+
}
|
|
1174
1212
|
/**
|
|
1175
1213
|
* 算法的名称 和 标识
|
|
1176
1214
|
*/
|
|
@@ -1220,13 +1258,13 @@ export interface ExclusiveHSM {
|
|
|
1220
1258
|
HsmClusterName?: string;
|
|
1221
1259
|
}
|
|
1222
1260
|
/**
|
|
1223
|
-
*
|
|
1261
|
+
* GetDataKeyCiphertextBlob请求参数结构体
|
|
1224
1262
|
*/
|
|
1225
|
-
export interface
|
|
1263
|
+
export interface GetDataKeyCiphertextBlobRequest {
|
|
1226
1264
|
/**
|
|
1227
|
-
*
|
|
1265
|
+
* 数据密钥的唯一标志符
|
|
1228
1266
|
*/
|
|
1229
|
-
|
|
1267
|
+
DataKeyId: string;
|
|
1230
1268
|
/**
|
|
1231
1269
|
* 可信服务成员账号信息,当前账号时管理员或者委派管理员时有效。
|
|
1232
1270
|
*/
|
|
@@ -1488,13 +1526,13 @@ export interface GetDataKeyPlaintextRequest {
|
|
|
1488
1526
|
EncryptionAlgorithm?: string;
|
|
1489
1527
|
}
|
|
1490
1528
|
/**
|
|
1491
|
-
*
|
|
1529
|
+
* CancelKeyDeletion请求参数结构体
|
|
1492
1530
|
*/
|
|
1493
|
-
export interface
|
|
1531
|
+
export interface CancelKeyDeletionRequest {
|
|
1494
1532
|
/**
|
|
1495
|
-
*
|
|
1533
|
+
* 需要被取消删除的CMK的唯一标志
|
|
1496
1534
|
*/
|
|
1497
|
-
|
|
1535
|
+
KeyId: string;
|
|
1498
1536
|
/**
|
|
1499
1537
|
* 可信服务成员账号信息,当前账号时管理员或者委派管理员时有效。
|
|
1500
1538
|
*/
|
|
@@ -1987,21 +2025,21 @@ export interface CancelKeyArchiveResponse {
|
|
|
1987
2025
|
RequestId?: string;
|
|
1988
2026
|
}
|
|
1989
2027
|
/**
|
|
1990
|
-
*
|
|
2028
|
+
* CreateKmsInstance返回参数结构体
|
|
1991
2029
|
*/
|
|
1992
|
-
export interface
|
|
2030
|
+
export interface CreateKmsInstanceResponse {
|
|
1993
2031
|
/**
|
|
1994
|
-
*
|
|
2032
|
+
* <p>实例ID</p>
|
|
1995
2033
|
*/
|
|
1996
|
-
|
|
2034
|
+
InstanceId?: string;
|
|
1997
2035
|
/**
|
|
1998
|
-
*
|
|
2036
|
+
* <p>计费订单号</p>
|
|
1999
2037
|
*/
|
|
2000
|
-
|
|
2038
|
+
DealName?: string;
|
|
2001
2039
|
/**
|
|
2002
|
-
*
|
|
2040
|
+
* <p>计费冻结流水号</p>
|
|
2003
2041
|
*/
|
|
2004
|
-
|
|
2042
|
+
BillId?: string;
|
|
2005
2043
|
/**
|
|
2006
2044
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2007
2045
|
*/
|
|
@@ -2388,13 +2426,21 @@ export interface GetDataKeyCiphertextBlobResponse {
|
|
|
2388
2426
|
RequestId?: string;
|
|
2389
2427
|
}
|
|
2390
2428
|
/**
|
|
2391
|
-
*
|
|
2429
|
+
* GetPublicKey返回参数结构体
|
|
2392
2430
|
*/
|
|
2393
|
-
export interface
|
|
2431
|
+
export interface GetPublicKeyResponse {
|
|
2394
2432
|
/**
|
|
2395
|
-
*
|
|
2433
|
+
* CMK的唯一标识。
|
|
2396
2434
|
*/
|
|
2397
|
-
|
|
2435
|
+
KeyId: string;
|
|
2436
|
+
/**
|
|
2437
|
+
* 经过base64编码的公钥内容。
|
|
2438
|
+
*/
|
|
2439
|
+
PublicKey: string;
|
|
2440
|
+
/**
|
|
2441
|
+
* PEM格式的公钥内容。
|
|
2442
|
+
*/
|
|
2443
|
+
PublicKeyPem: string;
|
|
2398
2444
|
/**
|
|
2399
2445
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2400
2446
|
*/
|
|
@@ -2535,6 +2581,19 @@ export interface DescribeKeyResponse {
|
|
|
2535
2581
|
*/
|
|
2536
2582
|
RequestId?: string;
|
|
2537
2583
|
}
|
|
2584
|
+
/**
|
|
2585
|
+
* 预付费计费信息
|
|
2586
|
+
*/
|
|
2587
|
+
export interface InstanceChargePrepaid {
|
|
2588
|
+
/**
|
|
2589
|
+
* <p>按月购买时长(1~100)月</p>
|
|
2590
|
+
*/
|
|
2591
|
+
Period: number;
|
|
2592
|
+
/**
|
|
2593
|
+
* <p>续费标记(0:用户未设置,1:自动续费 2:不自动续费)</p>
|
|
2594
|
+
*/
|
|
2595
|
+
RenewFlag: number;
|
|
2596
|
+
}
|
|
2538
2597
|
/**
|
|
2539
2598
|
* CancelKeyArchive请求参数结构体
|
|
2540
2599
|
*/
|
|
@@ -18226,7 +18226,7 @@ export interface TrackSelector {
|
|
|
18226
18226
|
*/
|
|
18227
18227
|
export interface VideoRedrawTaskInfo {
|
|
18228
18228
|
/**
|
|
18229
|
-
* <p>转绘视频风格,如动漫、赛博朋克、水墨等</p>
|
|
18229
|
+
* <p>转绘视频风格,如动漫、赛博朋克、水墨等</p><p>默认值:动漫风</p>
|
|
18230
18230
|
*/
|
|
18231
18231
|
Style?: string;
|
|
18232
18232
|
}
|
|
@@ -969,11 +969,11 @@ export interface DeleteExportTaskRequest {
|
|
|
969
969
|
*/
|
|
970
970
|
export interface DescribeInstancesResponse {
|
|
971
971
|
/**
|
|
972
|
-
*
|
|
972
|
+
* <p>实例总数量。</p>
|
|
973
973
|
*/
|
|
974
974
|
TotalCount?: number;
|
|
975
975
|
/**
|
|
976
|
-
*
|
|
976
|
+
* <p>实例详细信息列表。</p>
|
|
977
977
|
*/
|
|
978
978
|
InstanceSet?: Array<InstanceSet>;
|
|
979
979
|
/**
|
|
@@ -4696,153 +4696,111 @@ export interface Groups {
|
|
|
4696
4696
|
*/
|
|
4697
4697
|
export interface DescribeInstancesRequest {
|
|
4698
4698
|
/**
|
|
4699
|
-
*
|
|
4699
|
+
* <p>每页输出实例的数量,参数默认值20,最大值为1000。</p>
|
|
4700
4700
|
*/
|
|
4701
4701
|
Limit?: number;
|
|
4702
4702
|
/**
|
|
4703
|
-
*
|
|
4703
|
+
* <p>分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。</p>
|
|
4704
4704
|
*/
|
|
4705
4705
|
Offset?: number;
|
|
4706
4706
|
/**
|
|
4707
|
-
*
|
|
4708
|
-
|
|
4709
|
-
|
|
4707
|
+
* <p>指定实例 ID。例如:crs-xjhsdj****。请登录<a href="https://console.cloud.tencent.com/redis">Redis控制台</a>在实例列表复制实例 ID。</p>
|
|
4710
4708
|
*/
|
|
4711
4709
|
InstanceId?: string;
|
|
4712
4710
|
/**
|
|
4713
|
-
*
|
|
4714
|
-
- projectId:依据项目ID排序。
|
|
4715
|
-
- createtime:依据实例创建时间排序。
|
|
4716
|
-
- instancename:依据实例名称排序。
|
|
4717
|
-
- type:依据实例类型排序。
|
|
4718
|
-
- curDeadline:依据实例到期时间排序。
|
|
4711
|
+
* <p>实例列表排序依据,枚举值如下所示:</p><ul><li>projectId:依据项目ID排序。</li><li>createtime:依据实例创建时间排序。</li><li>instancename:依据实例名称排序。</li><li>type:依据实例类型排序。</li><li>curDeadline:依据实例到期时间排序。</li></ul>
|
|
4719
4712
|
*/
|
|
4720
4713
|
OrderBy?: string;
|
|
4721
4714
|
/**
|
|
4722
|
-
*
|
|
4723
|
-
- 1:倒序。
|
|
4724
|
-
- 0:顺序。
|
|
4715
|
+
* <p>实例排序方式,默认为倒序排序。</p><ul><li>1:倒序。</li><li>0:顺序。</li></ul>
|
|
4725
4716
|
*/
|
|
4726
4717
|
OrderType?: number;
|
|
4727
4718
|
/**
|
|
4728
|
-
*
|
|
4719
|
+
* <p>私有网络 ID 数组。如果不配置该参数或设置数组为空则默认选择基础网络。例如47525。该参数暂时保留,可忽略。请根据 UniqVpcIds 参数格式设置私有网络ID数组。</p>
|
|
4729
4720
|
*/
|
|
4730
4721
|
VpcIds?: Array<string>;
|
|
4731
4722
|
/**
|
|
4732
|
-
*
|
|
4723
|
+
* <p>私有网络所属子网 ID 数组,例如:56854。该参数暂时保留,可忽略。请根据 UniqSubnetIds 参数格式设置私有网络子网 ID 数组。</p>
|
|
4733
4724
|
*/
|
|
4734
4725
|
SubnetIds?: Array<string>;
|
|
4735
4726
|
/**
|
|
4736
|
-
*
|
|
4727
|
+
* <p>设置模糊查询关键字段,仅实例名称支持模糊查询。</p>
|
|
4737
4728
|
*/
|
|
4738
4729
|
SearchKey?: string;
|
|
4739
4730
|
/**
|
|
4740
|
-
*
|
|
4731
|
+
* <p>项目 ID 组成的数组。</p>
|
|
4741
4732
|
*/
|
|
4742
4733
|
ProjectIds?: Array<number | bigint>;
|
|
4743
4734
|
/**
|
|
4744
|
-
*
|
|
4735
|
+
* <p>实例名称。</p>
|
|
4745
4736
|
*/
|
|
4746
4737
|
InstanceName?: string;
|
|
4747
4738
|
/**
|
|
4748
|
-
*
|
|
4739
|
+
* <p>私有网络 ID 数组。如果不配置该参数或者设置数组为空则默认选择基础网络,如:vpc-sad23jfdfk。</p>
|
|
4749
4740
|
*/
|
|
4750
4741
|
UniqVpcIds?: Array<string>;
|
|
4751
4742
|
/**
|
|
4752
|
-
*
|
|
4743
|
+
* <p>私有网络所属子网 ID 数组,如:subnet-fdj24n34j2。</p>
|
|
4753
4744
|
*/
|
|
4754
4745
|
UniqSubnetIds?: Array<string>;
|
|
4755
4746
|
/**
|
|
4756
|
-
*
|
|
4747
|
+
* <p>地域 ID 数组,该参数已经弃用,可通过公共参数Region查询对应地域。</p>
|
|
4757
4748
|
*/
|
|
4758
4749
|
RegionIds?: Array<number | bigint>;
|
|
4759
4750
|
/**
|
|
4760
|
-
*
|
|
4761
|
-
- 0:待初始化。
|
|
4762
|
-
- 1:流程中。
|
|
4763
|
-
- 2:运行中。
|
|
4764
|
-
- -2:已隔离。
|
|
4765
|
-
- -3:待删除。
|
|
4751
|
+
* <p>实例状态。</p><ul><li>0:待初始化。</li><li>1:流程中。</li><li>2:运行中。</li><li>-2:已隔离。</li><li>-3:待删除。</li></ul>
|
|
4766
4752
|
*/
|
|
4767
4753
|
Status?: Array<number | bigint>;
|
|
4768
4754
|
/**
|
|
4769
|
-
*
|
|
4770
|
-
- 1:单机版。
|
|
4771
|
-
- 2:主从版。
|
|
4772
|
-
- 3:集群版。
|
|
4755
|
+
* <p>实例架构版本。</p><ul><li>1:单机版。</li><li>2:主从版。</li><li>3:集群版。</li></ul>
|
|
4773
4756
|
*/
|
|
4774
4757
|
TypeVersion?: number;
|
|
4775
4758
|
/**
|
|
4776
|
-
*
|
|
4759
|
+
* <p>存储引擎信息。可设置为Redis-2.8、Redis-4.0、Redis-5.0、Redis-6.0 或者 CKV。</p>
|
|
4777
4760
|
*/
|
|
4778
4761
|
EngineName?: string;
|
|
4779
4762
|
/**
|
|
4780
|
-
*
|
|
4781
|
-
- 0:手动续费。
|
|
4782
|
-
- 1:自动续费。
|
|
4783
|
-
- 2:到期不再续费。
|
|
4763
|
+
* <p>续费模式。</p><ul><li>0:手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</li></ul>
|
|
4784
4764
|
*/
|
|
4785
4765
|
AutoRenew?: Array<number | bigint>;
|
|
4786
4766
|
/**
|
|
4787
|
-
*
|
|
4788
|
-
- postpaid:按量计费。
|
|
4789
|
-
- prepaid:包年包月。
|
|
4767
|
+
* <p>计费模式。</p><ul><li>postpaid:按量计费。</li><li>prepaid:包年包月。</li></ul>
|
|
4790
4768
|
*/
|
|
4791
4769
|
BillingMode?: string;
|
|
4792
4770
|
/**
|
|
4793
|
-
*
|
|
4794
|
-
- 2:Redis 2.8 内存版(标准架构)。
|
|
4795
|
-
- 3:CKV 3.2 内存版(标准架构)。
|
|
4796
|
-
- 4:CKV 3.2 内存版(集群架构)。
|
|
4797
|
-
- 5:Redis 2.8 内存版(单机)。
|
|
4798
|
-
- 6:Redis 4.0 内存版(标准架构)。
|
|
4799
|
-
- 7:Redis 4.0 内存版(集群架构)。
|
|
4800
|
-
- 8:Redis 5.0 内存版(标准架构)。
|
|
4801
|
-
- 9:Redis 5.0 内存版(集群架构)。
|
|
4802
|
-
- 15:Redis 6.2 内存版(标准架构)。
|
|
4803
|
-
- 16:Redis 6.2 内存版(集群架构)。
|
|
4804
|
-
- 17:Redis 7.0 内存版(标准架构)。
|
|
4805
|
-
- 18:Redis 7.0 内存版(集群架构)。
|
|
4806
|
-
- 200:Memcached 1.6 内存版(集群架构)。
|
|
4771
|
+
* <p>实例类型。</p><ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>5:Redis 2.8 内存版(单机)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li><li>17:Redis 7.0 内存版(标准架构)。</li><li>18:Redis 7.0 内存版(集群架构)。</li><li>200:Memcached 1.6 内存版(集群架构)。</li></ul>
|
|
4807
4772
|
*/
|
|
4808
4773
|
Type?: number;
|
|
4809
4774
|
/**
|
|
4810
|
-
*
|
|
4811
|
-
|
|
4812
|
-
- 数组中每一个元素取并集进行匹配查询。
|
|
4813
|
-
- **InstanceId** 与 **SearchKeys** 同时配置,则取二者交集进行匹配查询。
|
|
4775
|
+
* <p>该参数为数组类型,支持配置实例名称、实例 ID、IP地址,其中实例名称为模糊匹配,实例 ID 和 IP 地址精确匹配。</p><ul><li>数组中每一个元素取并集进行匹配查询。</li><li><strong>InstanceId</strong> 与 <strong>SearchKeys</strong> 同时配置,则取二者交集进行匹配查询。</li></ul>
|
|
4814
4776
|
*/
|
|
4815
4777
|
SearchKeys?: Array<string>;
|
|
4816
4778
|
/**
|
|
4817
|
-
*
|
|
4779
|
+
* <p>内部参数,用户可忽略。</p>
|
|
4818
4780
|
*/
|
|
4819
4781
|
TypeList?: Array<number | bigint>;
|
|
4820
4782
|
/**
|
|
4821
|
-
*
|
|
4783
|
+
* <p>内部参数,用户可忽略。</p>
|
|
4822
4784
|
*/
|
|
4823
4785
|
MonitorVersion?: string;
|
|
4824
4786
|
/**
|
|
4825
|
-
*
|
|
4787
|
+
* <p>根据标签的 Key 和 Value 筛选资源。该参数不配置或者数组设置为空值,则不根据标签进行过滤。</p>
|
|
4826
4788
|
*/
|
|
4827
4789
|
InstanceTags?: Array<InstanceTagInfo>;
|
|
4828
4790
|
/**
|
|
4829
|
-
*
|
|
4791
|
+
* <p>根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。</p>
|
|
4830
4792
|
*/
|
|
4831
4793
|
TagKeys?: Array<string>;
|
|
4832
4794
|
/**
|
|
4833
|
-
*
|
|
4834
|
-
- local:本地盘版。
|
|
4835
|
-
- cdc:独享集群版。
|
|
4795
|
+
* <p>实例的部署类型。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。</p><p>枚举值:</p><ul><li>local: 通用 I 型。</li><li>localv2: 通用 II 型。</li><li>cdc: 独享集群型。</li></ul>
|
|
4836
4796
|
*/
|
|
4837
4797
|
ProductVersions?: Array<string>;
|
|
4838
4798
|
/**
|
|
4839
|
-
*
|
|
4799
|
+
* <p>批量查询指定的实例 ID,返回结果已 Limit 限制为主。</p>
|
|
4840
4800
|
*/
|
|
4841
4801
|
InstanceIds?: Array<string>;
|
|
4842
4802
|
/**
|
|
4843
|
-
*
|
|
4844
|
-
- singleaz:单可用区。
|
|
4845
|
-
- multiaz:多可用区。
|
|
4803
|
+
* <p>可用区模式。</p><ul><li>singleaz:单可用区。</li><li>multiaz:多可用区。</li></ul>
|
|
4846
4804
|
*/
|
|
4847
4805
|
AzMode?: string;
|
|
4848
4806
|
}
|
|
@@ -6108,7 +6066,7 @@ export interface InstanceSet {
|
|
|
6108
6066
|
*/
|
|
6109
6067
|
SizeUsed?: number;
|
|
6110
6068
|
/**
|
|
6111
|
-
* <p>实例类型。</p><p>枚举值:</p><ul><li>2: Redis 2.8 内存版(标准架构)。</li><li>3: CKV 3.2 内存版(标准架构)。</li><li>4: CKV 3.2 内存版(集群架构)。</li><li>5: Redis 2.8 内存版(单机)。</li><li>6: Redis 4.0 内存版(标准架构)。</li><li>7: Redis 4.0 内存版(集群架构)。</li><li>8: Redis 5.0 内存版(标准架构)。</li><li>9: Redis 5.0 内存版(集群架构)。</li><li>15: Redis 6.2 内存版(标准架构)。</li><li>16: Redis 6.2 内存版(集群架构)。</li><li>17: Redis 7.0 内存版(标准架构)。</li><li>18: Redis 7.0 内存版(集群架构)。</li><li>19: Valkey 8.0 内存版(标准架构)。</li><li>20: Valkey 8.0 内存版(集群架构)。</li><li>21: Valkey
|
|
6069
|
+
* <p>实例类型。</p><p>枚举值:</p><ul><li>2: Redis 2.8 内存版(标准架构)。</li><li>3: CKV 3.2 内存版(标准架构)。</li><li>4: CKV 3.2 内存版(集群架构)。</li><li>5: Redis 2.8 内存版(单机)。</li><li>6: Redis 4.0 内存版(标准架构)。</li><li>7: Redis 4.0 内存版(集群架构)。</li><li>8: Redis 5.0 内存版(标准架构)。</li><li>9: Redis 5.0 内存版(集群架构)。</li><li>15: Redis 6.2 内存版(标准架构)。</li><li>16: Redis 6.2 内存版(集群架构)。</li><li>17: Redis 7.0 内存版(标准架构)。</li><li>18: Redis 7.0 内存版(集群架构)。</li><li>19: Valkey 8.0 内存版(标准架构)。</li><li>20: Valkey 8.0 内存版(集群架构)。</li><li>21: Valkey 9.0 内存版(标准架构)。</li><li>22: Valkey 9.0 内存版(集群架构)。</li><li>200: Memcached 1.6 内存版(集群架构)。</li></ul>
|
|
6112
6070
|
*/
|
|
6113
6071
|
Type?: number;
|
|
6114
6072
|
/**
|
|
@@ -6268,7 +6226,7 @@ export interface InstanceSet {
|
|
|
6268
6226
|
*/
|
|
6269
6227
|
DedicatedClusterId?: string;
|
|
6270
6228
|
/**
|
|
6271
|
-
* <p
|
|
6229
|
+
* <p>实例的部署类型。</p><p>枚举值:</p><ul><li>local: 通用 I 型。</li><li>localv2: 通用 II 型。</li><li>cdc: 独享集群型。</li></ul>
|
|
6272
6230
|
*/
|
|
6273
6231
|
ProductVersion?: string;
|
|
6274
6232
|
/**
|
|
@@ -3702,6 +3702,15 @@ export interface SearchClsLogResponse {
|
|
|
3702
3702
|
*/
|
|
3703
3703
|
RequestId?: string;
|
|
3704
3704
|
}
|
|
3705
|
+
/**
|
|
3706
|
+
* 构建运行配置
|
|
3707
|
+
*/
|
|
3708
|
+
export interface BuildRunner {
|
|
3709
|
+
/**
|
|
3710
|
+
* <p>构建服务所需 CPU 规格</p>
|
|
3711
|
+
*/
|
|
3712
|
+
Cpus?: number;
|
|
3713
|
+
}
|
|
3705
3714
|
/**
|
|
3706
3715
|
* 清除任务详情
|
|
3707
3716
|
*/
|
|
@@ -7835,7 +7844,7 @@ export interface CreateCloudAppRequest {
|
|
|
7835
7844
|
*/
|
|
7836
7845
|
ServiceName: string;
|
|
7837
7846
|
/**
|
|
7838
|
-
* <p>部署类型</p>
|
|
7847
|
+
* <p>部署类型</p><p>枚举值:</p><ul><li>statis-hosting: 静态托管应用</li><li>custom: 自定义流水线</li></ul>
|
|
7839
7848
|
*/
|
|
7840
7849
|
DeployType: string;
|
|
7841
7850
|
/**
|
|
@@ -7902,6 +7911,10 @@ export interface CreateCloudAppRequest {
|
|
|
7902
7911
|
* <p>后置执行命令</p>
|
|
7903
7912
|
*/
|
|
7904
7913
|
PostDeployCommand?: string;
|
|
7914
|
+
/**
|
|
7915
|
+
* <p>流水线运行配置</p>
|
|
7916
|
+
*/
|
|
7917
|
+
Runner?: BuildRunner;
|
|
7905
7918
|
}
|
|
7906
7919
|
/**
|
|
7907
7920
|
* 键值对
|
|
@@ -247,4 +247,8 @@ export interface TextToVoiceRequest {
|
|
|
247
247
|
* <p>控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;</p>
|
|
248
248
|
*/
|
|
249
249
|
EmotionIntensity?: number;
|
|
250
|
+
/**
|
|
251
|
+
* <p>是否开启LaTeX文本朗读功能,默认为false。<br>注:</p><ul><li>该参数适用于K12教育场景,启用后,会增加一定的时延</li><li>仅支持中文文本中使用LaTeX公式</li><li>仅支持部分超自然大模型2.0音色,详情见<a href="https://cloud.tencent.com/document/product/1073/92668">音色列表</a>。</li><li>公式使用需添加定界符,支持 $...$、$$...$$<br>例:同学们看这道题,$1 + 2 = 3$,这是最基础的加法。</li></ul>
|
|
252
|
+
*/
|
|
253
|
+
EnableLatex?: boolean;
|
|
250
254
|
}
|
|
@@ -1257,6 +1257,7 @@ export declare class Client extends AbstractClient {
|
|
|
1257
1257
|
CreatePersonSample(req: CreatePersonSampleRequest, cb?: (error: string, rep: CreatePersonSampleResponse) => void): Promise<CreatePersonSampleResponse>;
|
|
1258
1258
|
/**
|
|
1259
1259
|
* 使用自然语言对媒体进行语义搜索。
|
|
1260
|
+
仅支持文搜视频、文搜图、图搜图,图搜视频请使用SearchMediaBySemanticsAsync.
|
|
1260
1261
|
*/
|
|
1261
1262
|
SearchMediaBySemantics(req: SearchMediaBySemanticsRequest, cb?: (error: string, rep: SearchMediaBySemanticsResponse) => void): Promise<SearchMediaBySemanticsResponse>;
|
|
1262
1263
|
/**
|
|
@@ -1729,6 +1729,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
/**
|
|
1731
1731
|
* 使用自然语言对媒体进行语义搜索。
|
|
1732
|
+
仅支持文搜视频、文搜图、图搜图,图搜视频请使用SearchMediaBySemanticsAsync.
|
|
1732
1733
|
*/
|
|
1733
1734
|
async SearchMediaBySemantics(req, cb) {
|
|
1734
1735
|
return this.request("SearchMediaBySemantics", req, cb);
|