tencentcloud-sdk-nodejs 4.0.379 → 4.0.382
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 +545 -0
- package/SERVICE_CHANGELOG.md +566 -104
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_models.ts +16 -16
- package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
- package/src/services/cls/v20201016/cls_models.ts +13 -1
- package/src/services/cwp/v20180228/cwp_models.ts +12 -0
- package/src/services/emr/v20190103/emr_models.ts +5 -0
- package/src/services/es/v20180416/es_client.ts +248 -81
- package/src/services/es/v20180416/es_models.ts +2027 -1170
- package/src/services/faceid/v20180301/faceid_client.ts +3 -16
- package/src/services/faceid/v20180301/faceid_models.ts +59 -103
- package/src/services/gaap/v20180529/gaap_client.ts +25 -1
- package/src/services/gaap/v20180529/gaap_models.ts +62 -32
- package/src/services/ims/v20201229/ims_models.ts +1 -1
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +38 -12
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +206 -20
- package/src/services/mmps/v20200710/mmps_models.ts +6 -6
- package/src/services/monitor/v20180724/monitor_models.ts +27 -12
- package/src/services/mps/v20190612/mps_client.ts +20 -1
- package/src/services/mps/v20190612/mps_models.ts +643 -29
- package/src/services/ocr/v20181119/ocr_client.ts +10 -6
- package/src/services/ocr/v20181119/ocr_models.ts +36 -6
- package/src/services/redis/v20180412/redis_models.ts +15 -0
- package/src/services/rum/v20210622/rum_models.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +5 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +102 -27
- package/src/services/ssl/v20191205/ssl_models.ts +12 -1
- package/src/services/ssm/v20190923/ssm_models.ts +5 -0
- package/src/services/tan/v20220420/tan_client.ts +1 -1
- package/src/services/tcm/v20210413/tcm_client.ts +3 -0
- package/src/services/tcm/v20210413/tcm_models.ts +106 -2
- package/src/services/tione/v20211111/tione_models.ts +10 -0
- package/src/services/trtc/v20190722/trtc_client.ts +130 -142
- package/src/services/trtc/v20190722/trtc_models.ts +0 -63
- package/src/services/vod/v20180717/vod_client.ts +12 -7
- package/src/services/waf/v20180125/waf_client.ts +24 -26
- package/src/services/waf/v20180125/waf_models.ts +15 -120
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +16 -16
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +11 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +10 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/es/v20180416/es_client.d.ts +66 -9
- package/tencentcloud/services/es/v20180416/es_client.js +95 -12
- package/tencentcloud/services/es/v20180416/es_models.d.ts +2000 -1278
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -6
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +50 -87
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +9 -1
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +12 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +53 -27
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +1 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +13 -5
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +18 -6
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +172 -17
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +6 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +22 -10
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +565 -28
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +5 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +4 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +31 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +12 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +88 -26
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -1
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +4 -0
- package/tencentcloud/services/tan/v20220420/tan_client.d.ts +1 -1
- package/tencentcloud/services/tan/v20220420/tan_client.js +1 -1
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +91 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +8 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +55 -59
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +75 -81
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -54
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +12 -7
- package/tencentcloud/services/vod/v20180717/vod_client.js +10 -5
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -12
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +13 -100
- package/test/es.v20180416.test.js +138 -8
- package/test/faceid.v20180301.test.js +0 -10
- package/test/gaap.v20180529.test.js +20 -0
- package/test/iotvideo.v20211125.test.js +26 -6
- package/test/trtc.v20190722.test.js +38 -48
- package/test/waf.v20180125.test.js +14 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest,
|
|
3
|
+
import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeAutoDenyIPResponse, SearchAccessLogResponse, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, AddSpartaProtectionRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, CreateAttackDownloadTaskRequest, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, CreateAttackDownloadTaskResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, ModifyWafAutoDenyRulesResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, AddCustomRuleRequest, ModifyDomainWhiteRuleResponse, ModifyDomainWhiteRuleRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, ModifyWafAutoDenyStatusResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
4
4
|
/**
|
|
5
5
|
* waf client
|
|
6
6
|
* @class
|
|
@@ -11,10 +11,6 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 本接口用于获取访问日志导出列表
|
|
12
12
|
*/
|
|
13
13
|
DescribeAccessExports(req: DescribeAccessExportsRequest, cb?: (error: string, rep: DescribeAccessExportsResponse) => void): Promise<DescribeAccessExportsResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 获取防护配置中的自定义策略列表
|
|
16
|
-
*/
|
|
17
|
-
DescribeCustomRules(req: DescribeCustomRulesRequest, cb?: (error: string, rep: DescribeCustomRulesResponse) => void): Promise<DescribeCustomRulesResponse>;
|
|
18
14
|
/**
|
|
19
15
|
* 开启或禁用自定义策略
|
|
20
16
|
*/
|
|
@@ -62,9 +58,9 @@ export declare class Client extends AbstractClient {
|
|
|
62
58
|
*/
|
|
63
59
|
DescribeFlowTrend(req: DescribeFlowTrendRequest, cb?: (error: string, rep: DescribeFlowTrendResponse) => void): Promise<DescribeFlowTrendResponse>;
|
|
64
60
|
/**
|
|
65
|
-
*
|
|
61
|
+
* 创建攻击日志下载任务
|
|
66
62
|
*/
|
|
67
|
-
|
|
63
|
+
CreateAttackDownloadTask(req: CreateAttackDownloadTaskRequest, cb?: (error: string, rep: CreateAttackDownloadTaskResponse) => void): Promise<CreateAttackDownloadTaskResponse>;
|
|
68
64
|
/**
|
|
69
65
|
* 更改某一条规则
|
|
70
66
|
*/
|
|
@@ -81,6 +77,10 @@ export declare class Client extends AbstractClient {
|
|
|
81
77
|
* 描述WAF自动封禁模块详情
|
|
82
78
|
*/
|
|
83
79
|
DescribeWafAutoDenyStatus(req?: DescribeWafAutoDenyStatusRequest, cb?: (error: string, rep: DescribeWafAutoDenyStatusResponse) => void): Promise<DescribeWafAutoDenyStatusResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* 查询下载攻击日志任务记录列表
|
|
82
|
+
*/
|
|
83
|
+
GetAttackDownloadRecords(req?: GetAttackDownloadRecordsRequest, cb?: (error: string, rep: GetAttackDownloadRecordsResponse) => void): Promise<GetAttackDownloadRecordsResponse>;
|
|
84
84
|
/**
|
|
85
85
|
* 增加自定义策略
|
|
86
86
|
*/
|
|
@@ -98,9 +98,9 @@ export declare class Client extends AbstractClient {
|
|
|
98
98
|
*/
|
|
99
99
|
ModifyWafAutoDenyRules(req: ModifyWafAutoDenyRulesRequest, cb?: (error: string, rep: ModifyWafAutoDenyRulesResponse) => void): Promise<ModifyWafAutoDenyRulesResponse>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
DescribeUserClbWafRegions(req?: DescribeUserClbWafRegionsRequest, cb?: (error: string, rep: DescribeUserClbWafRegionsResponse) => void): Promise<DescribeUserClbWafRegionsResponse>;
|
|
104
104
|
/**
|
|
105
105
|
* 删除攻击日志下载任务记录
|
|
106
106
|
*/
|
|
@@ -33,12 +33,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async DescribeAccessExports(req, cb) {
|
|
34
34
|
return this.request("DescribeAccessExports", req, cb);
|
|
35
35
|
}
|
|
36
|
-
/**
|
|
37
|
-
* 获取防护配置中的自定义策略列表
|
|
38
|
-
*/
|
|
39
|
-
async DescribeCustomRules(req, cb) {
|
|
40
|
-
return this.request("DescribeCustomRules", req, cb);
|
|
41
|
-
}
|
|
42
36
|
/**
|
|
43
37
|
* 开启或禁用自定义策略
|
|
44
38
|
*/
|
|
@@ -108,10 +102,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
108
102
|
return this.request("DescribeFlowTrend", req, cb);
|
|
109
103
|
}
|
|
110
104
|
/**
|
|
111
|
-
*
|
|
105
|
+
* 创建攻击日志下载任务
|
|
112
106
|
*/
|
|
113
|
-
async
|
|
114
|
-
return this.request("
|
|
107
|
+
async CreateAttackDownloadTask(req, cb) {
|
|
108
|
+
return this.request("CreateAttackDownloadTask", req, cb);
|
|
115
109
|
}
|
|
116
110
|
/**
|
|
117
111
|
* 更改某一条规则
|
|
@@ -137,6 +131,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
137
131
|
async DescribeWafAutoDenyStatus(req, cb) {
|
|
138
132
|
return this.request("DescribeWafAutoDenyStatus", req, cb);
|
|
139
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* 查询下载攻击日志任务记录列表
|
|
136
|
+
*/
|
|
137
|
+
async GetAttackDownloadRecords(req, cb) {
|
|
138
|
+
return this.request("GetAttackDownloadRecords", req, cb);
|
|
139
|
+
}
|
|
140
140
|
/**
|
|
141
141
|
* 增加自定义策略
|
|
142
142
|
*/
|
|
@@ -162,10 +162,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
162
162
|
return this.request("ModifyWafAutoDenyRules", req, cb);
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
|
-
*
|
|
165
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
166
166
|
*/
|
|
167
|
-
async
|
|
168
|
-
return this.request("
|
|
167
|
+
async DescribeUserClbWafRegions(req, cb) {
|
|
168
|
+
return this.request("DescribeUserClbWafRegions", req, cb);
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
171
|
* 删除攻击日志下载任务记录
|
|
@@ -70,51 +70,6 @@ export interface DescribeIpHitItemsResponse {
|
|
|
70
70
|
*/
|
|
71
71
|
RequestId?: string;
|
|
72
72
|
}
|
|
73
|
-
/**
|
|
74
|
-
* DescribeCustomRules接口回包中的复杂类型
|
|
75
|
-
*/
|
|
76
|
-
export interface DescribeCustomRulesRspRuleListItem {
|
|
77
|
-
/**
|
|
78
|
-
* 动作类型
|
|
79
|
-
*/
|
|
80
|
-
ActionType: string;
|
|
81
|
-
/**
|
|
82
|
-
* 跳过的策略
|
|
83
|
-
*/
|
|
84
|
-
Bypass: string;
|
|
85
|
-
/**
|
|
86
|
-
* 创建时间
|
|
87
|
-
*/
|
|
88
|
-
CreateTime: string;
|
|
89
|
-
/**
|
|
90
|
-
* 过期时间
|
|
91
|
-
*/
|
|
92
|
-
ExpireTime: string;
|
|
93
|
-
/**
|
|
94
|
-
* 策略名称
|
|
95
|
-
*/
|
|
96
|
-
Name: string;
|
|
97
|
-
/**
|
|
98
|
-
* 重定向地址
|
|
99
|
-
*/
|
|
100
|
-
Redirect: string;
|
|
101
|
-
/**
|
|
102
|
-
* 策略ID
|
|
103
|
-
*/
|
|
104
|
-
RuleId: string;
|
|
105
|
-
/**
|
|
106
|
-
* 优先级
|
|
107
|
-
*/
|
|
108
|
-
SortId: string;
|
|
109
|
-
/**
|
|
110
|
-
* 状态
|
|
111
|
-
*/
|
|
112
|
-
Status: string;
|
|
113
|
-
/**
|
|
114
|
-
* 策略详情
|
|
115
|
-
*/
|
|
116
|
-
Strategies: Array<Strategy>;
|
|
117
|
-
}
|
|
118
73
|
/**
|
|
119
74
|
* DescribeUserClbWafRegions返回参数结构体
|
|
120
75
|
*/
|
|
@@ -289,23 +244,6 @@ export interface AccessLogItem {
|
|
|
289
244
|
*/
|
|
290
245
|
Value: string;
|
|
291
246
|
}
|
|
292
|
-
/**
|
|
293
|
-
* DescribeCustomRules返回参数结构体
|
|
294
|
-
*/
|
|
295
|
-
export interface DescribeCustomRulesResponse {
|
|
296
|
-
/**
|
|
297
|
-
* 规则详情
|
|
298
|
-
*/
|
|
299
|
-
RuleList: Array<DescribeCustomRulesRspRuleListItem>;
|
|
300
|
-
/**
|
|
301
|
-
* 规则条数
|
|
302
|
-
*/
|
|
303
|
-
TotalCount: string;
|
|
304
|
-
/**
|
|
305
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
306
|
-
*/
|
|
307
|
-
RequestId?: string;
|
|
308
|
-
}
|
|
309
247
|
/**
|
|
310
248
|
* DeleteSession请求参数结构体
|
|
311
249
|
*/
|
|
@@ -359,6 +297,10 @@ export interface DescribeFlowTrendResponse {
|
|
|
359
297
|
*/
|
|
360
298
|
RequestId?: string;
|
|
361
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* GetAttackDownloadRecords请求参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export declare type GetAttackDownloadRecordsRequest = null;
|
|
362
304
|
/**
|
|
363
305
|
* UpsertIpAccessControl请求参数结构体
|
|
364
306
|
*/
|
|
@@ -376,19 +318,6 @@ export interface UpsertIpAccessControlRequest {
|
|
|
376
318
|
*/
|
|
377
319
|
Edition?: string;
|
|
378
320
|
}
|
|
379
|
-
/**
|
|
380
|
-
* DescribeCustomRules接口的翻页参数
|
|
381
|
-
*/
|
|
382
|
-
export interface DescribeCustomRulesPagingInfo {
|
|
383
|
-
/**
|
|
384
|
-
* 当前页码
|
|
385
|
-
*/
|
|
386
|
-
Offset: number;
|
|
387
|
-
/**
|
|
388
|
-
* 当前页的最大数据条数
|
|
389
|
-
*/
|
|
390
|
-
Limit: number;
|
|
391
|
-
}
|
|
392
321
|
/**
|
|
393
322
|
* DeleteDownloadRecord请求参数结构体
|
|
394
323
|
*/
|
|
@@ -1422,31 +1351,6 @@ export interface FraudPkg {
|
|
|
1422
1351
|
*/
|
|
1423
1352
|
UsedNum?: number;
|
|
1424
1353
|
}
|
|
1425
|
-
/**
|
|
1426
|
-
* DescribeCustomRules请求参数结构体
|
|
1427
|
-
*/
|
|
1428
|
-
export interface DescribeCustomRulesRequest {
|
|
1429
|
-
/**
|
|
1430
|
-
* 域名
|
|
1431
|
-
*/
|
|
1432
|
-
Domain: string;
|
|
1433
|
-
/**
|
|
1434
|
-
* 分页参数
|
|
1435
|
-
*/
|
|
1436
|
-
Paging: DescribeCustomRulesPagingInfo;
|
|
1437
|
-
/**
|
|
1438
|
-
* clb-waf或者sparta-waf
|
|
1439
|
-
*/
|
|
1440
|
-
Edition?: string;
|
|
1441
|
-
/**
|
|
1442
|
-
* 过滤参数:动作类型:0放行,1阻断,2人机识别,3观察,4重定向
|
|
1443
|
-
*/
|
|
1444
|
-
ActionType?: string;
|
|
1445
|
-
/**
|
|
1446
|
-
* 过滤参数:规则名称过滤条件
|
|
1447
|
-
*/
|
|
1448
|
-
Search?: string;
|
|
1449
|
-
}
|
|
1450
1354
|
/**
|
|
1451
1355
|
* ModifyDomainWhiteRule返回参数结构体
|
|
1452
1356
|
*/
|
|
@@ -1740,6 +1644,15 @@ export interface AccessRuleInfo {
|
|
|
1740
1644
|
*/
|
|
1741
1645
|
Tag: AccessRuleTagInfo;
|
|
1742
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* GetAttackDownloadRecords返回参数结构体
|
|
1649
|
+
*/
|
|
1650
|
+
export interface GetAttackDownloadRecordsResponse {
|
|
1651
|
+
/**
|
|
1652
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1653
|
+
*/
|
|
1654
|
+
RequestId?: string;
|
|
1655
|
+
}
|
|
1743
1656
|
/**
|
|
1744
1657
|
* DeleteAccessExport请求参数结构体
|
|
1745
1658
|
*/
|
|
@@ -28,6 +28,26 @@ it("es.v20180416.DiagnoseInstance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("es.v20180416.DeleteLogstashInstance", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteLogstashInstance({})
|
|
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("es.v20180416.UpdateIndex", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.UpdateIndex({})
|
|
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
|
+
|
|
31
51
|
it("es.v20180416.GetRequestTargetNodeTypes", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.GetRequestTargetNodeTypes({})
|
|
@@ -38,6 +58,16 @@ it("es.v20180416.GetRequestTargetNodeTypes", async function () {
|
|
|
38
58
|
}
|
|
39
59
|
})
|
|
40
60
|
|
|
61
|
+
it("es.v20180416.StopLogstashPipelines", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.StopLogstashPipelines({})
|
|
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
|
+
|
|
41
71
|
it("es.v20180416.DescribeIndexList", async function () {
|
|
42
72
|
try {
|
|
43
73
|
const data = await client.DescribeIndexList({})
|
|
@@ -68,6 +98,16 @@ it("es.v20180416.CreateIndex", async function () {
|
|
|
68
98
|
}
|
|
69
99
|
})
|
|
70
100
|
|
|
101
|
+
it("es.v20180416.UpdateRequestTargetNodeTypes", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.UpdateRequestTargetNodeTypes({})
|
|
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
|
+
|
|
71
111
|
it("es.v20180416.UpdateDiagnoseSettings", async function () {
|
|
72
112
|
try {
|
|
73
113
|
const data = await client.UpdateDiagnoseSettings({})
|
|
@@ -98,6 +138,16 @@ it("es.v20180416.UpdatePlugins", async function () {
|
|
|
98
138
|
}
|
|
99
139
|
})
|
|
100
140
|
|
|
141
|
+
it("es.v20180416.UpdateLogstashInstance", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateLogstashInstance({})
|
|
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
|
+
|
|
101
151
|
it("es.v20180416.UpdateJdk", async function () {
|
|
102
152
|
try {
|
|
103
153
|
const data = await client.UpdateJdk({})
|
|
@@ -118,6 +168,16 @@ it("es.v20180416.UpdateInstance", async function () {
|
|
|
118
168
|
}
|
|
119
169
|
})
|
|
120
170
|
|
|
171
|
+
it("es.v20180416.CreateLogstashInstance", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.CreateLogstashInstance({})
|
|
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
|
+
|
|
121
181
|
it("es.v20180416.RestartInstance", async function () {
|
|
122
182
|
try {
|
|
123
183
|
const data = await client.RestartInstance({})
|
|
@@ -148,9 +208,9 @@ it("es.v20180416.RestartKibana", async function () {
|
|
|
148
208
|
}
|
|
149
209
|
})
|
|
150
210
|
|
|
151
|
-
it("es.v20180416.
|
|
211
|
+
it("es.v20180416.SaveAndDeployLogstashPipeline", async function () {
|
|
152
212
|
try {
|
|
153
|
-
const data = await client.
|
|
213
|
+
const data = await client.SaveAndDeployLogstashPipeline({})
|
|
154
214
|
expect(data).to.be.ok
|
|
155
215
|
} catch(error) {
|
|
156
216
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +218,19 @@ it("es.v20180416.UpdateDictionaries", async function () {
|
|
|
158
218
|
}
|
|
159
219
|
})
|
|
160
220
|
|
|
161
|
-
it("es.v20180416.
|
|
221
|
+
it("es.v20180416.DescribeLogstashInstanceOperations", async function () {
|
|
162
222
|
try {
|
|
163
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeLogstashInstanceOperations({})
|
|
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("es.v20180416.StartLogstashPipelines", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.StartLogstashPipelines({})
|
|
164
234
|
expect(data).to.be.ok
|
|
165
235
|
} catch(error) {
|
|
166
236
|
expect(error.requestId).to.be.ok
|
|
@@ -178,6 +248,36 @@ it("es.v20180416.DescribeInstanceOperations", async function () {
|
|
|
178
248
|
}
|
|
179
249
|
})
|
|
180
250
|
|
|
251
|
+
it("es.v20180416.DescribeLogstashPipelines", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeLogstashPipelines({})
|
|
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("es.v20180416.DescribeLogstashInstances", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeLogstashInstances({})
|
|
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
|
+
it("es.v20180416.UpdateLogstashPipelineDesc", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.UpdateLogstashPipelineDesc({})
|
|
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
|
+
|
|
181
281
|
it("es.v20180416.DescribeViews", async function () {
|
|
182
282
|
try {
|
|
183
283
|
const data = await client.DescribeViews({})
|
|
@@ -198,9 +298,19 @@ it("es.v20180416.CreateInstance", async function () {
|
|
|
198
298
|
}
|
|
199
299
|
})
|
|
200
300
|
|
|
201
|
-
it("es.v20180416.
|
|
301
|
+
it("es.v20180416.UpgradeInstance", async function () {
|
|
202
302
|
try {
|
|
203
|
-
const data = await client.
|
|
303
|
+
const data = await client.UpgradeInstance({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("es.v20180416.DeleteLogstashPipelines", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DeleteLogstashPipelines({})
|
|
204
314
|
expect(data).to.be.ok
|
|
205
315
|
} catch(error) {
|
|
206
316
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +338,29 @@ it("es.v20180416.DeleteIndex", async function () {
|
|
|
228
338
|
}
|
|
229
339
|
})
|
|
230
340
|
|
|
231
|
-
it("es.v20180416.
|
|
341
|
+
it("es.v20180416.RestartLogstashInstance", async function () {
|
|
232
342
|
try {
|
|
233
|
-
const data = await client.
|
|
343
|
+
const data = await client.RestartLogstashInstance({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
351
|
+
it("es.v20180416.DescribeLogstashInstanceLogs", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DescribeLogstashInstanceLogs({})
|
|
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
|
+
|
|
361
|
+
it("es.v20180416.UpdateDictionaries", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.UpdateDictionaries({})
|
|
234
364
|
expect(data).to.be.ok
|
|
235
365
|
} catch(error) {
|
|
236
366
|
expect(error.requestId).to.be.ok
|
|
@@ -228,16 +228,6 @@ it("faceid.v20180301.MinorsVerification", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
-
it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
|
|
232
|
-
try {
|
|
233
|
-
const data = await client.DetectReflectLivenessAndCompare({})
|
|
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
231
|
it("faceid.v20180301.CheckIdNameDate", async function () {
|
|
242
232
|
try {
|
|
243
233
|
const data = await client.CheckIdNameDate({})
|
|
@@ -108,6 +108,16 @@ it("gaap.v20180529.CreateCustomHeader", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("gaap.v20180529.DescribeCrossBorderProxies", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeCrossBorderProxies({})
|
|
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
|
+
|
|
111
121
|
it("gaap.v20180529.DescribeGroupAndStatisticsProxy", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.DescribeGroupAndStatisticsProxy({})
|
|
@@ -828,6 +838,16 @@ it("gaap.v20180529.DescribeDomainErrorPageInfo", async function () {
|
|
|
828
838
|
}
|
|
829
839
|
})
|
|
830
840
|
|
|
841
|
+
it("gaap.v20180529.BanAndRecoverProxy", async function () {
|
|
842
|
+
try {
|
|
843
|
+
const data = await client.BanAndRecoverProxy({})
|
|
844
|
+
expect(data).to.be.ok
|
|
845
|
+
} catch(error) {
|
|
846
|
+
expect(error.requestId).to.be.ok
|
|
847
|
+
expect(error.code).to.be.ok
|
|
848
|
+
}
|
|
849
|
+
})
|
|
850
|
+
|
|
831
851
|
it("gaap.v20180529.ModifyProxyGroupAttribute", async function () {
|
|
832
852
|
try {
|
|
833
853
|
const data = await client.ModifyProxyGroupAttribute({})
|
|
@@ -28,9 +28,9 @@ it("iotvideo.v20211125.DescribeMessageDataStats", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("iotvideo.v20211125.
|
|
31
|
+
it("iotvideo.v20211125.CreateProduct", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateProduct({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("iotvideo.v20211125.CallDeviceActionAsync", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("iotvideo.v20211125.
|
|
41
|
+
it("iotvideo.v20211125.DescribeDeviceDataStats", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeDeviceDataStats({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,29 @@ it("iotvideo.v20211125.CallDeviceActionSync", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("iotvideo.v20211125.
|
|
51
|
+
it("iotvideo.v20211125.GenSingleDeviceSignatureOfPublic", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.GenSingleDeviceSignatureOfPublic({})
|
|
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("iotvideo.v20211125.CallDeviceActionAsync", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CallDeviceActionAsync({})
|
|
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("iotvideo.v20211125.CallDeviceActionSync", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CallDeviceActionSync({})
|
|
54
74
|
expect(data).to.be.ok
|
|
55
75
|
} catch(error) {
|
|
56
76
|
expect(error.requestId).to.be.ok
|