tencentcloud-sdk-nodejs 4.0.571 → 4.0.573
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 +179 -0
- package/SERVICE_CHANGELOG.md +192 -349
- package/package.json +1 -1
- package/products.md +21 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/dcdb/v20180411/dcdb_client.ts +14 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +138 -8
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +14 -14
- package/src/services/index.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +25 -3
- package/src/services/scf/v20180416/scf_client.ts +12 -0
- package/src/services/scf/v20180416/scf_models.ts +50 -0
- package/src/services/tcss/v20201101/tcss_models.ts +27 -27
- package/src/services/teo/v20220901/teo_models.ts +4 -2
- package/src/services/tke/v20180525/tke_models.ts +6 -0
- package/src/services/trro/index.ts +5 -0
- package/src/services/trro/v20220325/index.ts +6 -0
- package/src/services/trro/v20220325/trro_client.ts +241 -0
- package/src/services/trro/v20220325/trro_models.ts +989 -0
- package/src/services/vod/v20180717/vod_client.ts +73 -9
- package/src/services/vod/v20180717/vod_models.ts +701 -213
- package/src/services/waf/v20180125/waf_client.ts +14 -1
- package/src/services/waf/v20180125/waf_models.ts +66 -24
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- 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 +115 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -12
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -3
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +5 -1
- package/tencentcloud/services/scf/v20180416/scf_client.js +6 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +42 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +27 -27
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
- package/tencentcloud/services/trro/index.d.ts +6 -0
- package/tencentcloud/services/trro/index.js +7 -0
- package/tencentcloud/services/trro/v20220325/index.d.ts +6 -0
- package/tencentcloud/services/trro/v20220325/index.js +9 -0
- package/tencentcloud/services/trro/v20220325/trro_client.d.ts +78 -0
- package/tencentcloud/services/trro/v20220325/trro_client.js +133 -0
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +819 -0
- package/tencentcloud/services/trro/v20220325/trro_models.js +18 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +21 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +30 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +602 -190
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +57 -20
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/scf.v20180416.test.js +10 -0
- package/test/trro.v20220325.test.js +191 -0
- package/test/vod.v20180717.test.js +50 -0
- package/test/waf.v20180125.test.js +10 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeCustomWhiteRuleResponse, DescribeWafAutoDenyRulesResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, AddDomainWhiteRuleResponse, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
3
|
+
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeCustomWhiteRuleResponse, DescribeWafAutoDenyRulesResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, AddDomainWhiteRuleResponse, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
4
4
|
/**
|
|
5
5
|
* waf client
|
|
6
6
|
* @class
|
|
@@ -73,6 +73,10 @@ export declare class Client extends AbstractClient {
|
|
|
73
73
|
* 获取waf流量访问趋势
|
|
74
74
|
*/
|
|
75
75
|
DescribeFlowTrend(req: DescribeFlowTrendRequest, cb?: (error: string, rep: DescribeFlowTrendResponse) => void): Promise<DescribeFlowTrendResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* 根据过滤条件查询VIP信息
|
|
78
|
+
*/
|
|
79
|
+
DescribeVipInfo(req: DescribeVipInfoRequest, cb?: (error: string, rep: DescribeVipInfoResponse) => void): Promise<DescribeVipInfoResponse>;
|
|
76
80
|
/**
|
|
77
81
|
* 在CDC场景下,负载均衡型WAF的添加、编辑域名配置的时候,需要展示CDC负载均衡型WAF(cdc-clb-waf)支持的地域列表,通过DescribeUserCdcClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
78
82
|
*/
|
|
@@ -125,6 +125,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
125
125
|
async DescribeFlowTrend(req, cb) {
|
|
126
126
|
return this.request("DescribeFlowTrend", req, cb);
|
|
127
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* 根据过滤条件查询VIP信息
|
|
130
|
+
*/
|
|
131
|
+
async DescribeVipInfo(req, cb) {
|
|
132
|
+
return this.request("DescribeVipInfo", req, cb);
|
|
133
|
+
}
|
|
128
134
|
/**
|
|
129
135
|
* 在CDC场景下,负载均衡型WAF的添加、编辑域名配置的时候,需要展示CDC负载均衡型WAF(cdc-clb-waf)支持的地域列表,通过DescribeUserCdcClbWafRegions既可以获得当前对客户已经开放的地域列表
|
|
130
136
|
*/
|
|
@@ -742,29 +742,13 @@ export interface ModifyAccessPeriodResponse {
|
|
|
742
742
|
RequestId?: string;
|
|
743
743
|
}
|
|
744
744
|
/**
|
|
745
|
-
*
|
|
745
|
+
* DescribeVipInfo请求参数结构体
|
|
746
746
|
*/
|
|
747
|
-
export interface
|
|
748
|
-
/**
|
|
749
|
-
* 资源ID
|
|
750
|
-
*/
|
|
751
|
-
ResourceIds: string;
|
|
752
|
-
/**
|
|
753
|
-
* 过期时间
|
|
754
|
-
*/
|
|
755
|
-
ValidTime: string;
|
|
756
|
-
/**
|
|
757
|
-
* 是否自动续费,1:自动续费,0:不自动续费
|
|
758
|
-
*/
|
|
759
|
-
RenewFlag: number;
|
|
760
|
-
/**
|
|
761
|
-
* 套餐购买个数
|
|
762
|
-
*/
|
|
763
|
-
Count: number;
|
|
747
|
+
export interface DescribeVipInfoRequest {
|
|
764
748
|
/**
|
|
765
|
-
*
|
|
749
|
+
* waf实例id列表
|
|
766
750
|
*/
|
|
767
|
-
|
|
751
|
+
InstanceIds: Array<string>;
|
|
768
752
|
}
|
|
769
753
|
/**
|
|
770
754
|
* 实例入参过滤器
|
|
@@ -1508,6 +1492,31 @@ export interface PostAttackDownloadTaskResponse {
|
|
|
1508
1492
|
*/
|
|
1509
1493
|
RequestId?: string;
|
|
1510
1494
|
}
|
|
1495
|
+
/**
|
|
1496
|
+
* clb-waf QPS套餐 New
|
|
1497
|
+
*/
|
|
1498
|
+
export interface QPSPackageNew {
|
|
1499
|
+
/**
|
|
1500
|
+
* 资源ID
|
|
1501
|
+
*/
|
|
1502
|
+
ResourceIds: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* 过期时间
|
|
1505
|
+
*/
|
|
1506
|
+
ValidTime: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
1509
|
+
*/
|
|
1510
|
+
RenewFlag: number;
|
|
1511
|
+
/**
|
|
1512
|
+
* 套餐购买个数
|
|
1513
|
+
*/
|
|
1514
|
+
Count: number;
|
|
1515
|
+
/**
|
|
1516
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
1517
|
+
*/
|
|
1518
|
+
Region: string;
|
|
1519
|
+
}
|
|
1511
1520
|
/**
|
|
1512
1521
|
* DescribeDomainDetailsSaas请求参数结构体
|
|
1513
1522
|
*/
|
|
@@ -2427,6 +2436,19 @@ export interface DescribeIpHitItemsRequest {
|
|
|
2427
2436
|
*/
|
|
2428
2437
|
Ip?: string;
|
|
2429
2438
|
}
|
|
2439
|
+
/**
|
|
2440
|
+
* DescribeVipInfo返回参数结构体
|
|
2441
|
+
*/
|
|
2442
|
+
export interface DescribeVipInfoResponse {
|
|
2443
|
+
/**
|
|
2444
|
+
* VIP信息
|
|
2445
|
+
*/
|
|
2446
|
+
VipInfo?: Array<VipInfo>;
|
|
2447
|
+
/**
|
|
2448
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2449
|
+
*/
|
|
2450
|
+
RequestId?: string;
|
|
2451
|
+
}
|
|
2430
2452
|
/**
|
|
2431
2453
|
* DescribeRuleLimit请求参数结构体
|
|
2432
2454
|
*/
|
|
@@ -2506,6 +2528,21 @@ export interface DescribeDomainWhiteRulesResponse {
|
|
|
2506
2528
|
*/
|
|
2507
2529
|
RequestId?: string;
|
|
2508
2530
|
}
|
|
2531
|
+
/**
|
|
2532
|
+
* Vip信息
|
|
2533
|
+
*/
|
|
2534
|
+
export interface VipInfo {
|
|
2535
|
+
/**
|
|
2536
|
+
* Virtual IP
|
|
2537
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2538
|
+
*/
|
|
2539
|
+
Vip?: string;
|
|
2540
|
+
/**
|
|
2541
|
+
* waf实例id
|
|
2542
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2543
|
+
*/
|
|
2544
|
+
InstanceId?: string;
|
|
2545
|
+
}
|
|
2509
2546
|
/**
|
|
2510
2547
|
* DeleteAttackDownloadRecord请求参数结构体
|
|
2511
2548
|
*/
|
|
@@ -438,6 +438,16 @@ it("dcdb.v20180411.CloseDBExtranetAccess", async function () {
|
|
|
438
438
|
}
|
|
439
439
|
})
|
|
440
440
|
|
|
441
|
+
it("dcdb.v20180411.DescribeBackupFiles", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DescribeBackupFiles({})
|
|
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
|
+
|
|
441
451
|
it("dcdb.v20180411.ModifyDBEncryptAttributes", async function () {
|
|
442
452
|
try {
|
|
443
453
|
const data = await client.ModifyDBEncryptAttributes({})
|
|
@@ -248,6 +248,16 @@ it("scf.v20180416.DeleteNamespace", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("scf.v20180416.UpdateTriggerStatus", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.UpdateTriggerStatus({})
|
|
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
|
+
|
|
251
261
|
it("scf.v20180416.CreateAlias", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.CreateAlias({})
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.trro.v20220325.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("trro.v20220325.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("trro.v20220325.DescribeSessionStatisticsByInterval", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeSessionStatisticsByInterval({})
|
|
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("trro.v20220325.BatchDeletePolicy", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.BatchDeletePolicy({})
|
|
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("trro.v20220325.CreateDevice", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateDevice({})
|
|
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("trro.v20220325.DescribeSessionStatistics", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeSessionStatistics({})
|
|
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("trro.v20220325.BatchDeleteDevices", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.BatchDeleteDevices({})
|
|
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("trro.v20220325.DescribeDeviceSessionList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeDeviceSessionList({})
|
|
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("trro.v20220325.ModifyPolicy", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.ModifyPolicy({})
|
|
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("trro.v20220325.DescribeProjectInfo", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeProjectInfo({})
|
|
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("trro.v20220325.CreateProject", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.CreateProject({})
|
|
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("trro.v20220325.DescribeDeviceInfo", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeDeviceInfo({})
|
|
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("trro.v20220325.DeleteProject", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DeleteProject({})
|
|
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("trro.v20220325.DescribeDeviceList", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeDeviceList({})
|
|
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("trro.v20220325.ModifyProject", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyProject({})
|
|
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("trro.v20220325.DescribeProjectList", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeProjectList({})
|
|
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("trro.v20220325.DescribePolicy", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribePolicy({})
|
|
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("trro.v20220325.ModifyDevice", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyDevice({})
|
|
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("trro.v20220325.DescribeDeviceSessionDetails", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeDeviceSessionDetails({})
|
|
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
|
+
})
|
|
@@ -138,6 +138,16 @@ it("vod.v20180717.ProcessMediaByProcedure", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("vod.v20180717.ModifyRebuildMediaTemplate", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyRebuildMediaTemplate({})
|
|
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
|
+
|
|
141
151
|
it("vod.v20180717.DeleteTranscodeTemplate", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.DeleteTranscodeTemplate({})
|
|
@@ -518,6 +528,16 @@ it("vod.v20180717.DescribeDrmKeyProviderInfo", async function () {
|
|
|
518
528
|
}
|
|
519
529
|
})
|
|
520
530
|
|
|
531
|
+
it("vod.v20180717.DeleteRebuildMediaTemplate", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.DeleteRebuildMediaTemplate({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
521
541
|
it("vod.v20180717.LiveRealTimeClip", async function () {
|
|
522
542
|
try {
|
|
523
543
|
const data = await client.LiveRealTimeClip({})
|
|
@@ -678,6 +698,16 @@ it("vod.v20180717.CreateStorageRegion", async function () {
|
|
|
678
698
|
}
|
|
679
699
|
})
|
|
680
700
|
|
|
701
|
+
it("vod.v20180717.CreateRebuildMediaTemplate", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.CreateRebuildMediaTemplate({})
|
|
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
|
+
|
|
681
711
|
it("vod.v20180717.ModifyRoundPlay", async function () {
|
|
682
712
|
try {
|
|
683
713
|
const data = await client.ModifyRoundPlay({})
|
|
@@ -1138,6 +1168,16 @@ it("vod.v20180717.SetDrmKeyProviderInfo", async function () {
|
|
|
1138
1168
|
}
|
|
1139
1169
|
})
|
|
1140
1170
|
|
|
1171
|
+
it("vod.v20180717.RebuildMediaByTemplate", async function () {
|
|
1172
|
+
try {
|
|
1173
|
+
const data = await client.RebuildMediaByTemplate({})
|
|
1174
|
+
expect(data).to.be.ok
|
|
1175
|
+
} catch(error) {
|
|
1176
|
+
expect(error.requestId).to.be.ok
|
|
1177
|
+
expect(error.code).to.be.ok
|
|
1178
|
+
}
|
|
1179
|
+
})
|
|
1180
|
+
|
|
1141
1181
|
it("vod.v20180717.CreateReviewTemplate", async function () {
|
|
1142
1182
|
try {
|
|
1143
1183
|
const data = await client.CreateReviewTemplate({})
|
|
@@ -1428,6 +1468,16 @@ it("vod.v20180717.CreateAIRecognitionTemplate", async function () {
|
|
|
1428
1468
|
}
|
|
1429
1469
|
})
|
|
1430
1470
|
|
|
1471
|
+
it("vod.v20180717.DescribeRebuildMediaTemplates", async function () {
|
|
1472
|
+
try {
|
|
1473
|
+
const data = await client.DescribeRebuildMediaTemplates({})
|
|
1474
|
+
expect(data).to.be.ok
|
|
1475
|
+
} catch(error) {
|
|
1476
|
+
expect(error.requestId).to.be.ok
|
|
1477
|
+
expect(error.code).to.be.ok
|
|
1478
|
+
}
|
|
1479
|
+
})
|
|
1480
|
+
|
|
1431
1481
|
it("vod.v20180717.DescribeDailyPlayStatFileList", async function () {
|
|
1432
1482
|
try {
|
|
1433
1483
|
const data = await client.DescribeDailyPlayStatFileList({})
|
|
@@ -178,6 +178,16 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("waf.v20180125.DescribeVipInfo", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeVipInfo({})
|
|
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
|
+
|
|
181
191
|
it("waf.v20180125.DescribeUserCdcClbWafRegions", async function () {
|
|
182
192
|
try {
|
|
183
193
|
const data = await client.DescribeUserCdcClbWafRegions({})
|