tencentcloud-sdk-nodejs 4.0.566 → 4.0.568
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 +524 -0
- package/SERVICE_CHANGELOG.md +535 -170
- package/package.json +1 -1
- package/products.md +37 -37
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +23 -23
- package/src/services/cat/v20180409/cat_models.ts +4 -4
- package/src/services/ccc/v20200210/ccc_models.ts +14 -4
- package/src/services/cdb/v20170320/cdb_models.ts +21 -6
- package/src/services/cdn/v20180606/cdn_models.ts +8 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -1
- package/src/services/cls/v20201016/cls_models.ts +39 -8
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +23 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +17 -3
- package/src/services/dcdb/v20180411/dcdb_models.ts +403 -26
- package/src/services/dlc/v20210125/dlc_models.ts +6 -0
- package/src/services/emr/v20190103/emr_models.ts +6 -0
- package/src/services/ess/v20201111/ess_client.ts +71 -7
- package/src/services/ess/v20201111/ess_models.ts +463 -88
- package/src/services/essbasic/v20210526/essbasic_client.ts +49 -11
- package/src/services/essbasic/v20210526/essbasic_models.ts +472 -290
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +23 -11
- package/src/services/mariadb/v20170312/mariadb_client.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +308 -0
- package/src/services/monitor/v20180724/monitor_client.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +5 -0
- package/src/services/mps/v20190612/mps_models.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +53 -27
- package/src/services/ocr/v20181119/ocr_models.ts +36 -36
- package/src/services/redis/v20180412/redis_client.ts +14 -2
- package/src/services/redis/v20180412/redis_models.ts +159 -39
- package/src/services/tcss/v20201101/tcss_models.ts +31 -6
- package/src/services/tdid/v20210519/tdid_client.ts +133 -65
- package/src/services/tiw/v20190919/tiw_client.ts +403 -91
- package/src/services/tiw/v20190919/tiw_models.ts +2181 -976
- package/src/services/trtc/v20190722/trtc_client.ts +2 -2
- package/src/services/trtc/v20190722/trtc_models.ts +27 -7
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +17 -16
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +36 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +23 -23
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +4 -4
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +12 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +18 -6
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +34 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +19 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +334 -25
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +5 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +22 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +31 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +400 -83
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +15 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +21 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +356 -201
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +20 -10
- 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 +252 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +29 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +29 -3
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +36 -36
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +132 -34
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +26 -6
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +102 -34
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +102 -34
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +114 -13
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +169 -18
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +1946 -922
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +24 -7
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +15 -14
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +31 -6
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/ess.v20201111.test.js +50 -0
- package/test/essbasic.v20210526.test.js +32 -2
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/redis.v20180412.test.js +10 -0
- package/test/tiw.v20190919.test.js +262 -12
|
@@ -54,7 +54,7 @@ networkDelay :网络延迟率。
|
|
|
54
54
|
其他使用说明如下:
|
|
55
55
|
1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。
|
|
56
56
|
2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。
|
|
57
|
-
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec
|
|
57
|
+
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐,如您有转码/非转码切换,其余参数则必须全量带齐。
|
|
58
58
|
4、发起单流旁路任务时,AudioParams和VideoParams都填写表示音视频旁路,如果仅填写AudioParams表示纯音频旁路,任务进行过程中不支持纯音频到音视频的切换。音视频旁路时,VideoParams中的Width、Height、Fps、BitRate、Gop需要按照真实上行参数填写。
|
|
59
59
|
5、更新转推任务(UpdatePublishCdnStream)必须携带SequenceNumber参数,用于防止请求乱序。客户保证对同一个任务更新时的SequenceNumber参数递增:腾讯云返回InternalError错误码时,需重试请求(不换SequenceNumber);腾讯云返回FailedOperation.OutdateRequest过期错误码时,无需处理即可。
|
|
60
60
|
6、您可以在主播进房前,提前创建转推任务,结束转推任务时需要主动调用停止接口。如果您没有调用停止转推任务接口时,腾讯云后台会按照所有参与混流的用户没有任何数据上行的时间算起,直到超过启动转推任务时设置的超时时间(AgentParams.MaxIdleTime)为止,自动停止混流转推任务。
|
|
@@ -241,7 +241,7 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
241
241
|
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
242
242
|
- 默认接口请求频率限制:1次/15秒。
|
|
243
243
|
*/
|
|
244
|
-
DescribeTrtcRoomUsage(req
|
|
244
|
+
DescribeTrtcRoomUsage(req: DescribeTrtcRoomUsageRequest, cb?: (error: string, rep: DescribeTrtcRoomUsageResponse) => void): Promise<DescribeTrtcRoomUsageResponse>;
|
|
245
245
|
/**
|
|
246
246
|
* 查询云端录制计费时长。
|
|
247
247
|
|
|
@@ -80,7 +80,7 @@ networkDelay :网络延迟率。
|
|
|
80
80
|
其他使用说明如下:
|
|
81
81
|
1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。
|
|
82
82
|
2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。
|
|
83
|
-
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec
|
|
83
|
+
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐,如您有转码/非转码切换,其余参数则必须全量带齐。
|
|
84
84
|
4、发起单流旁路任务时,AudioParams和VideoParams都填写表示音视频旁路,如果仅填写AudioParams表示纯音频旁路,任务进行过程中不支持纯音频到音视频的切换。音视频旁路时,VideoParams中的Width、Height、Fps、BitRate、Gop需要按照真实上行参数填写。
|
|
85
85
|
5、更新转推任务(UpdatePublishCdnStream)必须携带SequenceNumber参数,用于防止请求乱序。客户保证对同一个任务更新时的SequenceNumber参数递增:腾讯云返回InternalError错误码时,需重试请求(不换SequenceNumber);腾讯云返回FailedOperation.OutdateRequest过期错误码时,无需处理即可。
|
|
86
86
|
6、您可以在主播进房前,提前创建转推任务,结束转推任务时需要主动调用停止接口。如果您没有调用停止转推任务接口时,腾讯云后台会按照所有参与混流的用户没有任何数据上行的时间算起,直到超过启动转推任务时设置的超时时间(AgentParams.MaxIdleTime)为止,自动停止混流转推任务。
|
|
@@ -1138,6 +1138,10 @@ export interface McuLayoutParams {
|
|
|
1138
1138
|
* 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
|
|
1139
1139
|
*/
|
|
1140
1140
|
MaxVideoUser?: MaxVideoUser;
|
|
1141
|
+
/**
|
|
1142
|
+
* 屏幕分享模板、悬浮模板、九宫格模版有效,画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底
|
|
1143
|
+
*/
|
|
1144
|
+
RenderMode?: number;
|
|
1141
1145
|
}
|
|
1142
1146
|
/**
|
|
1143
1147
|
* DescribeTRTCRealTimeQualityMetricData请求参数结构体
|
|
@@ -1339,7 +1343,7 @@ export interface StartPublishCdnStreamResponse {
|
|
|
1339
1343
|
/**
|
|
1340
1344
|
* 用于唯一标识转推任务,由腾讯云服务端生成,后续更新和停止请求都需要携带TaskiD参数。
|
|
1341
1345
|
*/
|
|
1342
|
-
TaskId
|
|
1346
|
+
TaskId?: string;
|
|
1343
1347
|
/**
|
|
1344
1348
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1345
1349
|
*/
|
|
@@ -2103,11 +2107,11 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2103
2107
|
*/
|
|
2104
2108
|
AgentParams: AgentParams;
|
|
2105
2109
|
/**
|
|
2106
|
-
* 是否转码,0表示无需转码,1
|
|
2110
|
+
* 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转吗费用。
|
|
2107
2111
|
*/
|
|
2108
2112
|
WithTranscoding: number;
|
|
2109
2113
|
/**
|
|
2110
|
-
*
|
|
2114
|
+
* 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
|
|
2111
2115
|
*/
|
|
2112
2116
|
AudioParams?: McuAudioParams;
|
|
2113
2117
|
/**
|
|
@@ -2119,7 +2123,7 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2119
2123
|
*/
|
|
2120
2124
|
SingleSubscribeParams?: SingleSubscribeParams;
|
|
2121
2125
|
/**
|
|
2122
|
-
* 转推的CDN
|
|
2126
|
+
* 转推的CDN参数。和回推房间参数必须要有一个。
|
|
2123
2127
|
*/
|
|
2124
2128
|
PublishCdnParams?: Array<McuPublishCdnParam>;
|
|
2125
2129
|
/**
|
|
@@ -2127,7 +2131,7 @@ export interface StartPublishCdnStreamRequest {
|
|
|
2127
2131
|
*/
|
|
2128
2132
|
SeiParams?: McuSeiParams;
|
|
2129
2133
|
/**
|
|
2130
|
-
*
|
|
2134
|
+
* 回推房间信息,和转推CDN参数必须要有一个。
|
|
2131
2135
|
*/
|
|
2132
2136
|
FeedBackRoomParams?: Array<McuFeedBackRoomParams>;
|
|
2133
2137
|
}
|
|
@@ -2278,7 +2282,20 @@ export interface DescribePictureResponse {
|
|
|
2278
2282
|
/**
|
|
2279
2283
|
* DescribeTrtcRoomUsage请求参数结构体
|
|
2280
2284
|
*/
|
|
2281
|
-
export
|
|
2285
|
+
export interface DescribeTrtcRoomUsageRequest {
|
|
2286
|
+
/**
|
|
2287
|
+
* TRTC的SdkAppId,和房间所对应的SdkAppId相同。
|
|
2288
|
+
*/
|
|
2289
|
+
SdkAppid: number;
|
|
2290
|
+
/**
|
|
2291
|
+
* 查询开始时间,格式为YYYY-MM-DD HH:MM,精确到分钟级。
|
|
2292
|
+
*/
|
|
2293
|
+
StartTime: string;
|
|
2294
|
+
/**
|
|
2295
|
+
* 查询结束时间,格式为YYYY-MM-DD HH:MM,单次查询不超过24h。
|
|
2296
|
+
*/
|
|
2297
|
+
EndTime: string;
|
|
2298
|
+
}
|
|
2282
2299
|
/**
|
|
2283
2300
|
* DescribeTrtcMcuTranscodeTime请求参数结构体
|
|
2284
2301
|
*/
|
|
@@ -2594,7 +2611,7 @@ export interface UpdatePublishCdnStreamResponse {
|
|
|
2594
2611
|
/**
|
|
2595
2612
|
* 转推任务唯一的String Id
|
|
2596
2613
|
*/
|
|
2597
|
-
TaskId
|
|
2614
|
+
TaskId?: string;
|
|
2598
2615
|
/**
|
|
2599
2616
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2600
2617
|
*/
|
|
@@ -30,7 +30,7 @@ export declare class Client extends AbstractClient {
|
|
|
30
30
|
*/
|
|
31
31
|
AdjustPublicAddress(req: AdjustPublicAddressRequest, cb?: (error: string, rep: AdjustPublicAddressResponse) => void): Promise<AdjustPublicAddressResponse>;
|
|
32
32
|
/**
|
|
33
|
-
* 本接口(CreateFlowLog
|
|
33
|
+
* 本接口(CreateFlowLog)用于创建网络流日志。
|
|
34
34
|
*/
|
|
35
35
|
CreateFlowLog(req: CreateFlowLogRequest, cb?: (error: string, rep: CreateFlowLogResponse) => void): Promise<CreateFlowLogResponse>;
|
|
36
36
|
/**
|
|
@@ -60,7 +60,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
60
60
|
return this.request("AdjustPublicAddress", req, cb);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* 本接口(CreateFlowLog
|
|
63
|
+
* 本接口(CreateFlowLog)用于创建网络流日志。
|
|
64
64
|
*/
|
|
65
65
|
async CreateFlowLog(req, cb) {
|
|
66
66
|
return this.request("CreateFlowLog", req, cb);
|
|
@@ -4747,9 +4747,9 @@ export interface Tag {
|
|
|
4747
4747
|
*/
|
|
4748
4748
|
export interface CreateFlowLogResponse {
|
|
4749
4749
|
/**
|
|
4750
|
-
*
|
|
4750
|
+
* 创建的流日志信息。
|
|
4751
4751
|
*/
|
|
4752
|
-
FlowLog
|
|
4752
|
+
FlowLog?: Array<FlowLog>;
|
|
4753
4753
|
/**
|
|
4754
4754
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4755
4755
|
*/
|
|
@@ -4851,11 +4851,11 @@ export interface DescribeGatewayFlowMonitorDetailRequest {
|
|
|
4851
4851
|
*/
|
|
4852
4852
|
Limit?: number;
|
|
4853
4853
|
/**
|
|
4854
|
-
* 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`。
|
|
4854
|
+
* 排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`。默认值`OutTraffic`。
|
|
4855
4855
|
*/
|
|
4856
4856
|
OrderField?: string;
|
|
4857
4857
|
/**
|
|
4858
|
-
* 排序方法。顺序:`ASC`,倒序:`DESC`。
|
|
4858
|
+
* 排序方法。顺序:`ASC`,倒序:`DESC`。默认值`DESC`。
|
|
4859
4859
|
*/
|
|
4860
4860
|
OrderDirection?: string;
|
|
4861
4861
|
}
|
|
@@ -5902,7 +5902,7 @@ export interface ModifyCcnAttachedInstancesAttributeResponse {
|
|
|
5902
5902
|
*/
|
|
5903
5903
|
export interface CreateNetworkAclRequest {
|
|
5904
5904
|
/**
|
|
5905
|
-
* VPC实例ID
|
|
5905
|
+
* VPC实例ID。可通过<a href="https://cloud.tencent.com/document/product/215/15778">DescribeVpcs</a>接口返回值中的VpcId获取。
|
|
5906
5906
|
*/
|
|
5907
5907
|
VpcId: string;
|
|
5908
5908
|
/**
|
|
@@ -5910,7 +5910,7 @@ export interface CreateNetworkAclRequest {
|
|
|
5910
5910
|
*/
|
|
5911
5911
|
NetworkAclName: string;
|
|
5912
5912
|
/**
|
|
5913
|
-
* 网络ACL类型,三元组(TRIPLE)或五元组(QUINTUPLE)。
|
|
5913
|
+
* 网络ACL类型,三元组(TRIPLE)或五元组(QUINTUPLE)。默认值三元组(TRIPLE)。
|
|
5914
5914
|
*/
|
|
5915
5915
|
NetworkAclType?: string;
|
|
5916
5916
|
/**
|
|
@@ -8850,19 +8850,19 @@ export interface CreateNatGatewayDestinationIpPortTranslationNatRuleRequest {
|
|
|
8850
8850
|
*/
|
|
8851
8851
|
export interface CreateFlowLogRequest {
|
|
8852
8852
|
/**
|
|
8853
|
-
*
|
|
8853
|
+
* 流日志实例名字。
|
|
8854
8854
|
*/
|
|
8855
8855
|
FlowLogName: string;
|
|
8856
8856
|
/**
|
|
8857
|
-
* 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE|CCN|NAT|DCG
|
|
8857
|
+
* 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE|CCN|NAT|DCG。
|
|
8858
8858
|
*/
|
|
8859
8859
|
ResourceType: string;
|
|
8860
8860
|
/**
|
|
8861
|
-
* 资源唯一ID
|
|
8861
|
+
* 资源唯一ID。
|
|
8862
8862
|
*/
|
|
8863
8863
|
ResourceId: string;
|
|
8864
8864
|
/**
|
|
8865
|
-
* 流日志采集类型,ACCEPT|REJECT|ALL
|
|
8865
|
+
* 流日志采集类型,ACCEPT|REJECT|ALL。
|
|
8866
8866
|
*/
|
|
8867
8867
|
TrafficType: string;
|
|
8868
8868
|
/**
|
|
@@ -8870,19 +8870,19 @@ export interface CreateFlowLogRequest {
|
|
|
8870
8870
|
*/
|
|
8871
8871
|
VpcId?: string;
|
|
8872
8872
|
/**
|
|
8873
|
-
*
|
|
8873
|
+
* 流日志实例描述。
|
|
8874
8874
|
*/
|
|
8875
8875
|
FlowLogDescription?: string;
|
|
8876
8876
|
/**
|
|
8877
|
-
* 流日志存储ID
|
|
8877
|
+
* 流日志存储ID。
|
|
8878
8878
|
*/
|
|
8879
8879
|
CloudLogId?: string;
|
|
8880
8880
|
/**
|
|
8881
|
-
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
|
8881
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
8882
8882
|
*/
|
|
8883
8883
|
Tags?: Array<Tag>;
|
|
8884
8884
|
/**
|
|
8885
|
-
* 消费端类型:cls、ckafka
|
|
8885
|
+
* 消费端类型:cls、ckafka。默认值cls。
|
|
8886
8886
|
*/
|
|
8887
8887
|
StorageType?: string;
|
|
8888
8888
|
/**
|
|
@@ -10008,6 +10008,7 @@ export interface EnableVpcEndPointConnectRequest {
|
|
|
10008
10008
|
EndPointId: Array<string>;
|
|
10009
10009
|
/**
|
|
10010
10010
|
* 是否接受终端节点连接请求。
|
|
10011
|
+
<li> true:自动接受。</li> <li> false:不自动接受。</li>
|
|
10011
10012
|
*/
|
|
10012
10013
|
AcceptFlag: boolean;
|
|
10013
10014
|
}
|
|
@@ -140,7 +140,7 @@ export declare class Client extends AbstractClient {
|
|
|
140
140
|
/**
|
|
141
141
|
* 攻击总览
|
|
142
142
|
*/
|
|
143
|
-
DescribeAttackOverview(req
|
|
143
|
+
DescribeAttackOverview(req: DescribeAttackOverviewRequest, cb?: (error: string, rep: DescribeAttackOverviewResponse) => void): Promise<DescribeAttackOverviewResponse>;
|
|
144
144
|
/**
|
|
145
145
|
* 删除访问日志下载记录
|
|
146
146
|
*/
|
|
@@ -1380,23 +1380,23 @@ export interface DescribeAttackOverviewResponse {
|
|
|
1380
1380
|
/**
|
|
1381
1381
|
* 访问请求总数
|
|
1382
1382
|
*/
|
|
1383
|
-
AccessCount
|
|
1383
|
+
AccessCount?: number;
|
|
1384
1384
|
/**
|
|
1385
1385
|
* Web攻击总数
|
|
1386
1386
|
*/
|
|
1387
|
-
AttackCount
|
|
1387
|
+
AttackCount?: number;
|
|
1388
1388
|
/**
|
|
1389
1389
|
* 访问控制总数
|
|
1390
1390
|
*/
|
|
1391
|
-
ACLCount
|
|
1391
|
+
ACLCount?: number;
|
|
1392
1392
|
/**
|
|
1393
1393
|
* CC攻击总数
|
|
1394
1394
|
*/
|
|
1395
|
-
CCCount
|
|
1395
|
+
CCCount?: number;
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Bot攻击总数
|
|
1398
1398
|
*/
|
|
1399
|
-
BotCount
|
|
1399
|
+
BotCount?: number;
|
|
1400
1400
|
/**
|
|
1401
1401
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1402
1402
|
*/
|
|
@@ -1692,7 +1692,32 @@ export interface ModifyAccessPeriodRequest {
|
|
|
1692
1692
|
/**
|
|
1693
1693
|
* DescribeAttackOverview请求参数结构体
|
|
1694
1694
|
*/
|
|
1695
|
-
export
|
|
1695
|
+
export interface DescribeAttackOverviewRequest {
|
|
1696
|
+
/**
|
|
1697
|
+
* 查询开始时间
|
|
1698
|
+
*/
|
|
1699
|
+
FromTime: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* 查询结束时间
|
|
1702
|
+
*/
|
|
1703
|
+
ToTime: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* 客户的Appid
|
|
1706
|
+
*/
|
|
1707
|
+
Appid?: number;
|
|
1708
|
+
/**
|
|
1709
|
+
* 被查询的域名
|
|
1710
|
+
*/
|
|
1711
|
+
Domain?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
|
|
1714
|
+
*/
|
|
1715
|
+
Edition?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* WAF实例ID,不传则不过滤
|
|
1718
|
+
*/
|
|
1719
|
+
InstanceID?: string;
|
|
1720
|
+
}
|
|
1696
1721
|
/**
|
|
1697
1722
|
* bot的qps详情
|
|
1698
1723
|
*/
|
|
@@ -598,6 +598,16 @@ it("dcdb.v20180411.CloneAccount", async function () {
|
|
|
598
598
|
}
|
|
599
599
|
})
|
|
600
600
|
|
|
601
|
+
it("dcdb.v20180411.DescribeDCDBInstanceDetail", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DescribeDCDBInstanceDetail({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
601
611
|
it("dcdb.v20180411.ModifyDBInstanceName", async function () {
|
|
602
612
|
try {
|
|
603
613
|
const data = await client.ModifyDBInstanceName({})
|
|
@@ -128,6 +128,16 @@ it("ess.v20201111.CreateBatchCancelFlowUrl", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("ess.v20201111.CreatePreparedPersonalEsign", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreatePreparedPersonalEsign({})
|
|
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
|
+
|
|
131
141
|
it("ess.v20201111.CreateFlowApprovers", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.CreateFlowApprovers({})
|
|
@@ -148,6 +158,16 @@ it("ess.v20201111.DisableUserAutoSign", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
161
|
+
it("ess.v20201111.DeleteIntegrationRoleUsers", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DeleteIntegrationRoleUsers({})
|
|
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
|
+
|
|
151
171
|
it("ess.v20201111.CreateFlowSignReview", async function () {
|
|
152
172
|
try {
|
|
153
173
|
const data = await client.CreateFlowSignReview({})
|
|
@@ -248,6 +268,16 @@ it("ess.v20201111.CreateFlowByFiles", async function () {
|
|
|
248
268
|
}
|
|
249
269
|
})
|
|
250
270
|
|
|
271
|
+
it("ess.v20201111.DescribeIntegrationRoles", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeIntegrationRoles({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
251
281
|
it("ess.v20201111.CreateMultiFlowSignQRCode", async function () {
|
|
252
282
|
try {
|
|
253
283
|
const data = await client.CreateMultiFlowSignQRCode({})
|
|
@@ -318,6 +348,16 @@ it("ess.v20201111.DescribeFlowBriefs", async function () {
|
|
|
318
348
|
}
|
|
319
349
|
})
|
|
320
350
|
|
|
351
|
+
it("ess.v20201111.CreateIntegrationUserRoles", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.CreateIntegrationUserRoles({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
321
361
|
it("ess.v20201111.UploadFiles", async function () {
|
|
322
362
|
try {
|
|
323
363
|
const data = await client.UploadFiles({})
|
|
@@ -398,4 +438,14 @@ it("ess.v20201111.CreateIntegrationEmployees", async function () {
|
|
|
398
438
|
}
|
|
399
439
|
})
|
|
400
440
|
|
|
441
|
+
it("ess.v20201111.UpdateIntegrationEmployees", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.UpdateIntegrationEmployees({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
401
451
|
})
|
|
@@ -148,6 +148,26 @@ it("essbasic.v20210526.ChannelDescribeOrganizationSeals", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
+
it("essbasic.v20210526.ChannelDeleteRoleUsers", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ChannelDeleteRoleUsers({})
|
|
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("essbasic.v20210526.DescribeTemplates", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeTemplates({})
|
|
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
|
+
|
|
151
171
|
it("essbasic.v20210526.CreateSignUrls", async function () {
|
|
152
172
|
try {
|
|
153
173
|
const data = await client.CreateSignUrls({})
|
|
@@ -308,6 +328,16 @@ it("essbasic.v20210526.CreateFlowsByTemplates", async function () {
|
|
|
308
328
|
}
|
|
309
329
|
})
|
|
310
330
|
|
|
331
|
+
it("essbasic.v20210526.ChannelDescribeRoles", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.ChannelDescribeRoles({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
311
341
|
it("essbasic.v20210526.DescribeResourceUrlsByFlows", async function () {
|
|
312
342
|
try {
|
|
313
343
|
const data = await client.DescribeResourceUrlsByFlows({})
|
|
@@ -318,9 +348,9 @@ it("essbasic.v20210526.DescribeResourceUrlsByFlows", async function () {
|
|
|
318
348
|
}
|
|
319
349
|
})
|
|
320
350
|
|
|
321
|
-
it("essbasic.v20210526.
|
|
351
|
+
it("essbasic.v20210526.ChannelCreateUserRoles", async function () {
|
|
322
352
|
try {
|
|
323
|
-
const data = await client.
|
|
353
|
+
const data = await client.ChannelCreateUserRoles({})
|
|
324
354
|
expect(data).to.be.ok
|
|
325
355
|
} catch(error) {
|
|
326
356
|
expect(error.requestId).to.be.ok
|
|
@@ -668,6 +668,16 @@ it("mariadb.v20170312.UpgradeDBInstance", async function () {
|
|
|
668
668
|
}
|
|
669
669
|
})
|
|
670
670
|
|
|
671
|
+
it("mariadb.v20170312.DescribeDBInstanceDetail", async function () {
|
|
672
|
+
try {
|
|
673
|
+
const data = await client.DescribeDBInstanceDetail({})
|
|
674
|
+
expect(data).to.be.ok
|
|
675
|
+
} catch(error) {
|
|
676
|
+
expect(error.requestId).to.be.ok
|
|
677
|
+
expect(error.code).to.be.ok
|
|
678
|
+
}
|
|
679
|
+
})
|
|
680
|
+
|
|
671
681
|
it("mariadb.v20170312.DescribeLogFileRetentionPeriod", async function () {
|
|
672
682
|
try {
|
|
673
683
|
const data = await client.DescribeLogFileRetentionPeriod({})
|
|
@@ -308,6 +308,16 @@ it("redis.v20180412.AddReplicationInstance", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
+
it("redis.v20180412.CloneInstances", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CloneInstances({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
311
321
|
it("redis.v20180412.CreateParamTemplate", async function () {
|
|
312
322
|
try {
|
|
313
323
|
const data = await client.CreateParamTemplate({})
|