tencentcloud-sdk-nodejs 4.0.266 → 4.0.270
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/CHANGELOG.md +899 -0
- package/SERVICE_CHANGELOG.md +914 -94
- package/package.json +1 -1
- package/products.md +40 -39
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +3 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +56 -22
- package/src/services/as/v20180419/as_models.ts +8 -3
- package/src/services/billing/v20180709/billing_models.ts +18 -0
- package/src/services/cam/v20190116/cam_client.ts +21 -7
- package/src/services/cam/v20190116/cam_models.ts +134 -11
- package/src/services/cbs/v20170312/cbs_models.ts +6 -1
- package/src/services/cdb/v20170320/cdb_models.ts +11 -1
- package/src/services/clb/v20180317/clb_models.ts +22 -0
- package/src/services/cls/v20201016/cls_models.ts +3 -49
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +44 -2
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +28 -4
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +166 -71
- package/src/services/dcdb/v20180411/dcdb_models.ts +21 -5
- package/src/services/dlc/v20210125/dlc_models.ts +0 -1
- package/src/services/eb/index.ts +5 -0
- package/src/services/eb/v20210416/eb_client.ts +353 -0
- package/src/services/eb/v20210416/eb_models.ts +1483 -0
- package/src/services/eb/v20210416/index.ts +6 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -19
- package/src/services/essbasic/v20210526/essbasic_models.ts +33 -8
- package/src/services/faceid/v20180301/faceid_client.ts +15 -1
- package/src/services/faceid/v20180301/faceid_models.ts +143 -8
- package/src/services/gaap/v20180529/gaap_models.ts +115 -1
- package/src/services/gs/v20191118/gs_client.ts +24 -0
- package/src/services/gs/v20191118/gs_models.ts +45 -0
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +542 -431
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +538 -64
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +831 -391
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +2089 -360
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -0
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +158 -26
- package/src/services/ocr/v20181119/ocr_models.ts +2 -1
- package/src/services/postgres/v20170312/postgres_client.ts +1 -0
- package/src/services/postgres/v20170312/postgres_models.ts +43 -3
- package/src/services/rce/v20201103/rce_models.ts +5 -0
- package/src/services/scf/v20180416/scf_models.ts +3 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
- package/src/services/ssm/v20190923/ssm_client.ts +3 -2
- package/src/services/ssm/v20190923/ssm_models.ts +36 -14
- package/src/services/tcss/v20201101/tcss_models.ts +31 -5
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +13 -0
- package/src/services/tsf/v20180326/tsf_models.ts +12 -0
- package/src/services/vod/v20180717/vod_models.ts +18 -1
- package/src/services/wav/v20210129/wav_client.ts +2 -2
- package/src/services/wav/v20210129/wav_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +48 -18
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +17 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +7 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +9 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +113 -10
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +9 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +18 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -48
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +143 -63
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +18 -5
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +0 -1
- package/tencentcloud/services/eb/index.d.ts +6 -0
- package/tencentcloud/services/eb/index.js +7 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +110 -0
- package/tencentcloud/services/eb/v20210416/eb_client.js +181 -0
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +1248 -0
- package/tencentcloud/services/eb/v20210416/eb_models.js +18 -0
- package/tencentcloud/services/eb/v20210416/index.d.ts +6 -0
- package/tencentcloud/services/eb/v20210416/index.js +9 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -17
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +28 -8
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -8
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +102 -1
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +9 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +12 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +40 -0
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +179 -143
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +267 -213
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +462 -59
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +276 -119
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +400 -175
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1779 -293
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +17 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +130 -21
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +37 -3
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +4 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +3 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.d.ts +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_client.js +2 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +33 -14
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +25 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +10 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +17 -1
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_client.js +2 -2
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +1 -1
- package/test/cam.v20190116.test.js +12 -2
- package/test/dbbrain.v20210527.test.js +20 -0
- package/test/eb.v20210416.test.js +271 -0
- package/test/faceid.v20180301.test.js +10 -0
- package/test/gs.v20191118.test.js +20 -0
- package/test/iotexplorer.v20190423.test.js +240 -150
- package/test/iotvideoindustry.v20201201.test.js +454 -114
- package/test/mariadb.v20170312.test.js +10 -0
|
@@ -400,6 +400,10 @@ export interface AddEditAbnormalProcessRuleRequest {
|
|
|
400
400
|
export interface DescribeComplianceTaskAssetSummaryRequest {
|
|
401
401
|
/**
|
|
402
402
|
* 资产类型列表。
|
|
403
|
+
ASSET_CONTAINER, 容器
|
|
404
|
+
ASSET_IMAGE, 镜像
|
|
405
|
+
ASSET_HOST, 主机
|
|
406
|
+
ASSET_K8S, K8S资产
|
|
403
407
|
*/
|
|
404
408
|
AssetTypeSet: Array<string>;
|
|
405
409
|
}
|
|
@@ -3603,6 +3607,7 @@ ASSET_CONTAINER, 容器
|
|
|
3603
3607
|
ASSET_IMAGE, 镜像
|
|
3604
3608
|
ASSET_HOST, 主机
|
|
3605
3609
|
ASSET_K8S, K8S资产
|
|
3610
|
+
AssetTypeSet, PolicySetId, PeriodTaskId三个参数,必须要给其中一个参数填写有效的值。
|
|
3606
3611
|
*/
|
|
3607
3612
|
AssetTypeSet?: Array<string>;
|
|
3608
3613
|
/**
|
|
@@ -4157,7 +4162,7 @@ export interface HostInfo {
|
|
|
4157
4162
|
*/
|
|
4158
4163
|
IsContainerd: boolean;
|
|
4159
4164
|
/**
|
|
4160
|
-
*
|
|
4165
|
+
* 主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;
|
|
4161
4166
|
*/
|
|
4162
4167
|
MachineType: string;
|
|
4163
4168
|
/**
|
|
@@ -4168,6 +4173,14 @@ export interface HostInfo {
|
|
|
4168
4173
|
* 主机uuid
|
|
4169
4174
|
*/
|
|
4170
4175
|
Uuid: string;
|
|
4176
|
+
/**
|
|
4177
|
+
* 主机实例ID
|
|
4178
|
+
*/
|
|
4179
|
+
InstanceID: string;
|
|
4180
|
+
/**
|
|
4181
|
+
* 地域ID
|
|
4182
|
+
*/
|
|
4183
|
+
RegionID: number;
|
|
4171
4184
|
}
|
|
4172
4185
|
/**
|
|
4173
4186
|
* DescribeVirusScanTimeoutSetting请求参数结构体
|
|
@@ -4525,6 +4538,14 @@ export interface DescribeAssetHostDetailResponse {
|
|
|
4525
4538
|
* 外网ip
|
|
4526
4539
|
*/
|
|
4527
4540
|
PublicIp: string;
|
|
4541
|
+
/**
|
|
4542
|
+
* 主机实例ID
|
|
4543
|
+
*/
|
|
4544
|
+
InstanceID: string;
|
|
4545
|
+
/**
|
|
4546
|
+
* 地域ID
|
|
4547
|
+
*/
|
|
4548
|
+
RegionID: number;
|
|
4528
4549
|
/**
|
|
4529
4550
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4530
4551
|
*/
|
|
@@ -9132,6 +9153,7 @@ export interface DescribeAssetHostListRequest {
|
|
|
9132
9153
|
<li>HostID- string - 是否必填:否 - 主机id搜索</li>
|
|
9133
9154
|
<li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
|
|
9134
9155
|
<li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),"TENCENTCLOUD":"腾讯云服务器","OTHERCLOUD":"非腾讯云服务器"</li>
|
|
9156
|
+
<li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
|
|
9135
9157
|
*/
|
|
9136
9158
|
Filters?: Array<AssetFilters>;
|
|
9137
9159
|
/**
|
|
@@ -9388,11 +9410,11 @@ export interface ServiceInfo {
|
|
|
9388
9410
|
*/
|
|
9389
9411
|
export interface AddEditReverseShellWhiteListRequest {
|
|
9390
9412
|
/**
|
|
9391
|
-
*
|
|
9413
|
+
* 增加或编辑白名单信息。新增白名单时WhiteListInfo.id为空,编辑白名单WhiteListInfo.id不能为空。
|
|
9392
9414
|
*/
|
|
9393
9415
|
WhiteListInfo: ReverseShellWhiteListInfo;
|
|
9394
9416
|
/**
|
|
9395
|
-
*
|
|
9417
|
+
* 仅在添加事件白名单时候使用
|
|
9396
9418
|
*/
|
|
9397
9419
|
EventId?: string;
|
|
9398
9420
|
}
|
|
@@ -1449,6 +1449,11 @@ export interface PrometheusAlertRule {
|
|
|
1449
1449
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1450
1450
|
*/
|
|
1451
1451
|
Annotations?: Array<Label>;
|
|
1452
|
+
/**
|
|
1453
|
+
* 告警规则状态
|
|
1454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1455
|
+
*/
|
|
1456
|
+
RuleState?: number;
|
|
1452
1457
|
}
|
|
1453
1458
|
/**
|
|
1454
1459
|
* DescribePrometheusAgentInstances请求参数结构体
|
|
@@ -3902,6 +3907,12 @@ abnormal = 异常
|
|
|
3902
3907
|
* 集群名称
|
|
3903
3908
|
*/
|
|
3904
3909
|
ClusterName: string;
|
|
3910
|
+
/**
|
|
3911
|
+
* 额外labels
|
|
3912
|
+
本集群的所有指标都会带上这几个label
|
|
3913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3914
|
+
*/
|
|
3915
|
+
ExternalLabels: Array<Label>;
|
|
3905
3916
|
}
|
|
3906
3917
|
/**
|
|
3907
3918
|
* 集群中控制器的状态描述
|
|
@@ -4118,6 +4118,16 @@ export interface ContainerGroupDeploy {
|
|
|
4118
4118
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4119
4119
|
*/
|
|
4120
4120
|
TcrRepoInfo: TcrRepoInfo;
|
|
4121
|
+
/**
|
|
4122
|
+
* 数据卷信息,list
|
|
4123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4124
|
+
*/
|
|
4125
|
+
VolumeInfos: Array<VolumeInfo>;
|
|
4126
|
+
/**
|
|
4127
|
+
* 数据卷挂载信息,list
|
|
4128
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4129
|
+
*/
|
|
4130
|
+
VolumeMountInfos: Array<VolumeMountInfo>;
|
|
4121
4131
|
}
|
|
4122
4132
|
/**
|
|
4123
4133
|
* Tsf命名空间分页对象
|
|
@@ -1963,6 +1963,7 @@ export interface DescribeMediaProcessUsageDataRequest {
|
|
|
1963
1963
|
<li> Editing: 视频编辑</li>
|
|
1964
1964
|
<li> AdaptiveBitrateStreaming: 自适应码流</li>
|
|
1965
1965
|
<li> ContentAudit: 内容审核</li>
|
|
1966
|
+
<li> RemoveWatermark: 去除水印</li>
|
|
1966
1967
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
|
1967
1968
|
*/
|
|
1968
1969
|
Type?: string;
|
|
@@ -3013,6 +3014,7 @@ export interface TaskStatData {
|
|
|
3013
3014
|
<li> Editing: 视频编辑</li>
|
|
3014
3015
|
<li> AdaptiveBitrateStreaming: 自适应码流</li>
|
|
3015
3016
|
<li> ContentAudit: 智能识别</li>
|
|
3017
|
+
<li> RemoveWatermark: 去水印</li>
|
|
3016
3018
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
|
3017
3019
|
*/
|
|
3018
3020
|
TaskType: string;
|
|
@@ -3056,6 +3058,13 @@ export interface TaskStatData {
|
|
|
3056
3058
|
<li>Edit.H265.FHD: H.265编码方式全高清视频编辑</li>
|
|
3057
3059
|
<li>Edit.H265.2K: H.265编码方式2K视频编辑</li>
|
|
3058
3060
|
<li>Edit.H265.4K: H.265编码方式4K视频编辑</li>
|
|
3061
|
+
去水印规格:
|
|
3062
|
+
<li>480P: 分辨率640*480及以下</li>
|
|
3063
|
+
<li>720P: 分辨率1280*720及以下</li>
|
|
3064
|
+
<li>1080P: 分辨率1920*1080及以下</li>
|
|
3065
|
+
<li>2K: 分辨率2560*1440及以下</li>
|
|
3066
|
+
<li>4K: 分辨率3840*2160及以下</li>
|
|
3067
|
+
<li>8K: 分辨率7680*4320及以下</li>
|
|
3059
3068
|
*/
|
|
3060
3069
|
Details: Array<SpecificationDataItem>;
|
|
3061
3070
|
}
|
|
@@ -9674,6 +9683,13 @@ export interface AdaptiveDynamicStreamingInfoItem {
|
|
|
9674
9683
|
* 播放地址。
|
|
9675
9684
|
*/
|
|
9676
9685
|
Url: string;
|
|
9686
|
+
/**
|
|
9687
|
+
* 媒体文件大小,单位:字节。
|
|
9688
|
+
<li>当媒体文件为 HLS 时,大小是 m3u8 和 ts 文件大小的总和;</li>
|
|
9689
|
+
<li>当媒体文件为 DASH 时,大小是 mpd 和分片文件大小的总和;</li>
|
|
9690
|
+
<li><font color=red>注意</font>:在 2022-01-10T16:00:00Z 前处理生成的自适应码流文件此字段为0。</li>
|
|
9691
|
+
*/
|
|
9692
|
+
Size?: number;
|
|
9677
9693
|
}
|
|
9678
9694
|
/**
|
|
9679
9695
|
* 文本违禁任务控制参数
|
|
@@ -10282,7 +10298,7 @@ export interface DescribeMediaProcessUsageDataResponse {
|
|
|
10282
10298
|
/**
|
|
10283
10299
|
* 视频处理统计数据概览,展示所查询任务的概览以及详细数据。
|
|
10284
10300
|
*/
|
|
10285
|
-
MediaProcessDataSet
|
|
10301
|
+
MediaProcessDataSet: Array<TaskStatData>;
|
|
10286
10302
|
/**
|
|
10287
10303
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10288
10304
|
*/
|
|
@@ -16,7 +16,7 @@ export declare class Client extends AbstractClient {
|
|
|
16
16
|
*/
|
|
17
17
|
QueryActivityLiveCodeList(req: QueryActivityLiveCodeListRequest, cb?: (error: string, rep: QueryActivityLiveCodeListResponse) => void): Promise<QueryActivityLiveCodeListResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* 企业可通过此接口,根据外部联系人的userid
|
|
19
|
+
* 企业可通过此接口,根据外部联系人的userid,拉取外部联系人详情
|
|
20
20
|
*/
|
|
21
21
|
QueryExternalContactDetail(req: QueryExternalContactDetailRequest, cb?: (error: string, rep: QueryExternalContactDetailResponse) => void): Promise<QueryExternalContactDetailResponse>;
|
|
22
22
|
/**
|
|
@@ -44,7 +44,7 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
*/
|
|
45
45
|
QueryChatArchivingList(req: QueryChatArchivingListRequest, cb?: (error: string, rep: QueryChatArchivingListResponse) => void): Promise<QueryChatArchivingListResponse>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* 企业可通过此接口基于外部联系人获取指定成员添加的客户列表。客户是指配置了客户联系功能的成员所添加的外部联系人。没有配置客户联系功能的成员,所添加的外部联系人将不会作为客户返回。
|
|
48
48
|
*/
|
|
49
49
|
QueryExternalContactList(req: QueryExternalContactListRequest, cb?: (error: string, rep: QueryExternalContactListResponse) => void): Promise<QueryExternalContactListResponse>;
|
|
50
50
|
/**
|
|
@@ -40,7 +40,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
40
40
|
return this.request("QueryActivityLiveCodeList", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* 企业可通过此接口,根据外部联系人的userid
|
|
43
|
+
* 企业可通过此接口,根据外部联系人的userid,拉取外部联系人详情
|
|
44
44
|
*/
|
|
45
45
|
async QueryExternalContactDetail(req, cb) {
|
|
46
46
|
return this.request("QueryExternalContactDetail", req, cb);
|
|
@@ -82,7 +82,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
return this.request("QueryChatArchivingList", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 企业可通过此接口基于外部联系人获取指定成员添加的客户列表。客户是指配置了客户联系功能的成员所添加的外部联系人。没有配置客户联系功能的成员,所添加的外部联系人将不会作为客户返回。
|
|
86
86
|
*/
|
|
87
87
|
async QueryExternalContactList(req, cb) {
|
|
88
88
|
return this.request("QueryExternalContactList", req, cb);
|
|
@@ -378,9 +378,9 @@ it("cam.v20190116.GetPolicyVersion", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
-
it("cam.v20190116.
|
|
381
|
+
it("cam.v20190116.ListAttachedUserAllPolicies", async function () {
|
|
382
382
|
try {
|
|
383
|
-
const data = await client.
|
|
383
|
+
const data = await client.ListAttachedUserAllPolicies({})
|
|
384
384
|
expect(data).to.be.ok
|
|
385
385
|
} catch(error) {
|
|
386
386
|
expect(error.requestId).to.be.ok
|
|
@@ -698,6 +698,16 @@ it("cam.v20190116.CreatePolicy", async function () {
|
|
|
698
698
|
}
|
|
699
699
|
})
|
|
700
700
|
|
|
701
|
+
it("cam.v20190116.UpdateAssumeRolePolicy", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.UpdateAssumeRolePolicy({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
701
711
|
it("cam.v20190116.DetachUserPolicy", async function () {
|
|
702
712
|
try {
|
|
703
713
|
const data = await client.DetachUserPolicy({})
|
|
@@ -68,6 +68,16 @@ it("dbbrain.v20210527.DescribeMySqlProcessList", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("dbbrain.v20210527.CreateProxySessionKillTask", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateProxySessionKillTask({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("dbbrain.v20210527.DescribeDBDiagReportTasks", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeDBDiagReportTasks({})
|
|
@@ -268,6 +278,16 @@ it("dbbrain.v20210527.DescribeTopSpaceSchemaTimeSeries", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
281
|
+
it("dbbrain.v20210527.CreateKillTask", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateKillTask({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
271
291
|
it("dbbrain.v20210527.DescribeUserSqlAdvice", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.DescribeUserSqlAdvice({})
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.eb.v20210416.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("eb.v20210416.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("eb.v20210416.DeleteEventBus", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteEventBus({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("eb.v20210416.CreateTransformation", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateTransformation({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("eb.v20210416.CreateEventBus", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateEventBus({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("eb.v20210416.CreateRule", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateRule({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("eb.v20210416.DeleteTarget", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteTarget({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("eb.v20210416.ListTargets", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ListTargets({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("eb.v20210416.CheckRule", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CheckRule({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("eb.v20210416.PublishEvent", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.PublishEvent({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("eb.v20210416.UpdateTarget", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.UpdateTarget({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("eb.v20210416.GetTransformation", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.GetTransformation({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
it("eb.v20210416.ListRules", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ListRules({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("eb.v20210416.DeleteRule", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DeleteRule({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it("eb.v20210416.UpdateEventBus", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateEventBus({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("eb.v20210416.CreateTarget", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CreateTarget({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
it("eb.v20210416.UpdateRule", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.UpdateRule({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
it("eb.v20210416.DeleteTransformation", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteTransformation({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("eb.v20210416.CreateConnection", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CreateConnection({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("eb.v20210416.GetRule", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetRule({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("eb.v20210416.DeleteConnection", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DeleteConnection({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
it("eb.v20210416.ListEventBuses", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ListEventBuses({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("eb.v20210416.GetEventBus", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.GetEventBus({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("eb.v20210416.UpdateTransformation", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.UpdateTransformation({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
it("eb.v20210416.CheckTransformation", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CheckTransformation({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("eb.v20210416.ListConnections", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ListConnections({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("eb.v20210416.UpdateConnection", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.UpdateConnection({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
})
|
|
@@ -38,6 +38,16 @@ it("faceid.v20180301.GetActionSequence", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("faceid.v20180301.GetWeChatBillDetails", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.GetWeChatBillDetails({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("faceid.v20180301.CheckIdCardInformation", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CheckIdCardInformation({})
|
|
@@ -68,6 +68,26 @@ it("gs.v20191118.SwitchGameArchive", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("gs.v20191118.StartPublishStream", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.StartPublishStream({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("gs.v20191118.StopPublishStream", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.StopPublishStream({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
71
91
|
it("gs.v20191118.CreateSession", async function () {
|
|
72
92
|
try {
|
|
73
93
|
const data = await client.CreateSession({})
|