tencentcloud-sdk-nodejs 4.0.379 → 4.0.380
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 +166 -0
- package/SERVICE_CHANGELOG.md +204 -136
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_models.ts +16 -16
- 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/gaap/v20180529/gaap_client.ts +25 -1
- package/src/services/gaap/v20180529/gaap_models.ts +62 -32
- 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/rum/v20210622/rum_models.ts +1 -1
- package/src/services/ssl/v20191205/ssl_models.ts +12 -1
- package/src/services/tan/v20220420/tan_client.ts +1 -1
- package/src/services/waf/v20180125/waf_client.ts +14 -28
- package/src/services/waf/v20180125/waf_models.ts +27 -147
- 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/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/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/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/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -1
- package/tencentcloud/services/tan/v20220420/tan_client.d.ts +1 -1
- package/tencentcloud/services/tan/v20220420/tan_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -12
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +24 -124
- package/test/es.v20180416.test.js +138 -8
- package/test/gaap.v20180529.test.js +20 -0
- package/test/iotvideo.v20211125.test.js +26 -6
- package/test/waf.v20180125.test.js +4 -14
|
@@ -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
|
* 更改某一条规则
|
|
@@ -162,10 +156,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
162
156
|
return this.request("ModifyWafAutoDenyRules", req, cb);
|
|
163
157
|
}
|
|
164
158
|
/**
|
|
165
|
-
*
|
|
159
|
+
* 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
166
160
|
*/
|
|
167
|
-
async
|
|
168
|
-
return this.request("
|
|
161
|
+
async DescribeUserClbWafRegions(req, cb) {
|
|
162
|
+
return this.request("DescribeUserClbWafRegions", req, cb);
|
|
169
163
|
}
|
|
170
164
|
/**
|
|
171
165
|
* 删除攻击日志下载任务记录
|
|
@@ -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
|
*/
|
|
@@ -376,19 +314,6 @@ export interface UpsertIpAccessControlRequest {
|
|
|
376
314
|
*/
|
|
377
315
|
Edition?: string;
|
|
378
316
|
}
|
|
379
|
-
/**
|
|
380
|
-
* DescribeCustomRules接口的翻页参数
|
|
381
|
-
*/
|
|
382
|
-
export interface DescribeCustomRulesPagingInfo {
|
|
383
|
-
/**
|
|
384
|
-
* 当前页码
|
|
385
|
-
*/
|
|
386
|
-
Offset: number;
|
|
387
|
-
/**
|
|
388
|
-
* 当前页的最大数据条数
|
|
389
|
-
*/
|
|
390
|
-
Limit: number;
|
|
391
|
-
}
|
|
392
317
|
/**
|
|
393
318
|
* DeleteDownloadRecord请求参数结构体
|
|
394
319
|
*/
|
|
@@ -443,29 +368,17 @@ export interface ModifyAccessPeriodResponse {
|
|
|
443
368
|
RequestId?: string;
|
|
444
369
|
}
|
|
445
370
|
/**
|
|
446
|
-
*
|
|
371
|
+
* DescribeWafThreatenIntelligence返回参数结构体
|
|
447
372
|
*/
|
|
448
|
-
export interface
|
|
449
|
-
/**
|
|
450
|
-
* 资源ID
|
|
451
|
-
*/
|
|
452
|
-
ResourceIds: string;
|
|
453
|
-
/**
|
|
454
|
-
* 过期时间
|
|
455
|
-
*/
|
|
456
|
-
ValidTime: string;
|
|
457
|
-
/**
|
|
458
|
-
* 是否自动续费,1:自动续费,0:不自动续费
|
|
459
|
-
*/
|
|
460
|
-
RenewFlag: number;
|
|
373
|
+
export interface DescribeWafThreatenIntelligenceResponse {
|
|
461
374
|
/**
|
|
462
|
-
*
|
|
375
|
+
* WAF 威胁情报封禁信息
|
|
463
376
|
*/
|
|
464
|
-
|
|
377
|
+
WafThreatenIntelligenceDetails?: WafThreatenIntelligenceDetails;
|
|
465
378
|
/**
|
|
466
|
-
*
|
|
379
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
467
380
|
*/
|
|
468
|
-
|
|
381
|
+
RequestId?: string;
|
|
469
382
|
}
|
|
470
383
|
/**
|
|
471
384
|
* 实例入参过滤器
|
|
@@ -1422,31 +1335,6 @@ export interface FraudPkg {
|
|
|
1422
1335
|
*/
|
|
1423
1336
|
UsedNum?: number;
|
|
1424
1337
|
}
|
|
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
1338
|
/**
|
|
1451
1339
|
* ModifyDomainWhiteRule返回参数结构体
|
|
1452
1340
|
*/
|
|
@@ -1784,17 +1672,29 @@ export interface DeleteAttackDownloadRecordRequest {
|
|
|
1784
1672
|
Id: number;
|
|
1785
1673
|
}
|
|
1786
1674
|
/**
|
|
1787
|
-
*
|
|
1675
|
+
* clb-waf QPS套餐 New
|
|
1788
1676
|
*/
|
|
1789
|
-
export interface
|
|
1677
|
+
export interface QPSPackageNew {
|
|
1790
1678
|
/**
|
|
1791
|
-
*
|
|
1679
|
+
* 资源ID
|
|
1792
1680
|
*/
|
|
1793
|
-
|
|
1681
|
+
ResourceIds: string;
|
|
1794
1682
|
/**
|
|
1795
|
-
*
|
|
1683
|
+
* 过期时间
|
|
1796
1684
|
*/
|
|
1797
|
-
|
|
1685
|
+
ValidTime: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
1688
|
+
*/
|
|
1689
|
+
RenewFlag: number;
|
|
1690
|
+
/**
|
|
1691
|
+
* 套餐购买个数
|
|
1692
|
+
*/
|
|
1693
|
+
Count: number;
|
|
1694
|
+
/**
|
|
1695
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
1696
|
+
*/
|
|
1697
|
+
Region: string;
|
|
1798
1698
|
}
|
|
1799
1699
|
/**
|
|
1800
1700
|
* AddDomainWhiteRule请求参数结构体
|
|
@@ -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
|
|
@@ -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
|
|
@@ -28,16 +28,6 @@ it("waf.v20180125.DescribeAccessExports", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("waf.v20180125.DescribeCustomRules", async function () {
|
|
32
|
-
try {
|
|
33
|
-
const data = await client.DescribeCustomRules({})
|
|
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
31
|
it("waf.v20180125.ModifyCustomRuleStatus", async function () {
|
|
42
32
|
try {
|
|
43
33
|
const data = await client.ModifyCustomRuleStatus({})
|
|
@@ -148,9 +138,9 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
|
|
|
148
138
|
}
|
|
149
139
|
})
|
|
150
140
|
|
|
151
|
-
it("waf.v20180125.
|
|
141
|
+
it("waf.v20180125.CreateAttackDownloadTask", async function () {
|
|
152
142
|
try {
|
|
153
|
-
const data = await client.
|
|
143
|
+
const data = await client.CreateAttackDownloadTask({})
|
|
154
144
|
expect(data).to.be.ok
|
|
155
145
|
} catch(error) {
|
|
156
146
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +228,9 @@ it("waf.v20180125.ModifyWafAutoDenyRules", async function () {
|
|
|
238
228
|
}
|
|
239
229
|
})
|
|
240
230
|
|
|
241
|
-
it("waf.v20180125.
|
|
231
|
+
it("waf.v20180125.DescribeUserClbWafRegions", async function () {
|
|
242
232
|
try {
|
|
243
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeUserClbWafRegions({})
|
|
244
234
|
expect(data).to.be.ok
|
|
245
235
|
} catch(error) {
|
|
246
236
|
expect(error.requestId).to.be.ok
|