tencentcloud-sdk-nodejs 4.0.355 → 4.0.358
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 +927 -0
- package/SERVICE_CHANGELOG.md +893 -130
- package/package.json +1 -1
- package/products.md +34 -31
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/index.ts +5 -0
- package/src/services/acp/v20220105/acp_client.ts +106 -0
- package/src/services/acp/v20220105/acp_models.ts +605 -0
- package/src/services/acp/v20220105/index.ts +6 -0
- package/src/services/advisor/v20200721/advisor_models.ts +16 -0
- package/src/services/ams/v20201229/ams_client.ts +2 -0
- package/src/services/ams/v20201229/ams_models.ts +54 -0
- package/src/services/asr/v20190614/asr_models.ts +2 -2
- package/src/services/billing/v20180709/billing_models.ts +70 -8
- package/src/services/bsca/v20210811/bsca_client.ts +12 -0
- package/src/services/bsca/v20210811/bsca_models.ts +25 -0
- package/src/services/cdb/v20170320/cdb_models.ts +6 -0
- package/src/services/cls/v20201016/cls_models.ts +7 -1
- package/src/services/cme/v20191029/cme_client.ts +2 -0
- package/src/services/cme/v20191029/cme_models.ts +47 -1
- package/src/services/cwp/v20180228/cwp_models.ts +51 -1
- package/src/services/ecm/v20190719/ecm_models.ts +10 -2
- package/src/services/emr/v20190103/emr_client.ts +8 -4
- package/src/services/emr/v20190103/emr_models.ts +96 -0
- package/src/services/index.ts +3 -0
- package/src/services/live/v20180801/live_client.ts +9 -9
- package/src/services/live/v20180801/live_models.ts +40 -6
- package/src/services/mmps/index.ts +5 -0
- package/src/services/mmps/v20200710/index.ts +6 -0
- package/src/services/mmps/v20200710/mmps_client.ts +167 -0
- package/src/services/mmps/v20200710/mmps_models.ts +846 -0
- package/src/services/mrs/v20200910/mrs_models.ts +6 -0
- package/src/services/oceanus/v20190422/oceanus_client.ts +12 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +53 -0
- package/src/services/ocr/v20181119/ocr_client.ts +39 -2
- package/src/services/ocr/v20181119/ocr_models.ts +339 -10
- package/src/services/organization/v20210331/organization_models.ts +21 -0
- package/src/services/tcm/v20210413/tcm_client.ts +1 -0
- package/src/services/tcm/v20210413/tcm_models.ts +56 -0
- package/src/services/tcss/v20201101/tcss_models.ts +16 -1
- package/src/services/tem/v20210701/tem_models.ts +22 -12
- package/src/services/teo/v20220106/teo_client.ts +288 -51
- package/src/services/teo/v20220106/teo_models.ts +2232 -362
- package/src/services/tiia/v20190529/tiia_client.ts +17 -2
- package/src/services/tiia/v20190529/tiia_models.ts +74 -35
- package/src/services/tione/index.ts +2 -0
- package/src/services/tione/v20211111/index.ts +6 -0
- package/src/services/tione/v20211111/tione_client.ts +388 -0
- package/src/services/tione/v20211111/tione_models.ts +3004 -0
- package/src/services/tke/v20180525/tke_client.ts +1 -0
- package/src/services/tke/v20180525/tke_models.ts +20 -0
- package/src/services/trp/index.ts +5 -0
- package/src/services/trp/v20210515/index.ts +6 -0
- package/src/services/trp/v20210515/trp_client.ts +377 -0
- package/src/services/trp/v20210515/trp_models.ts +1708 -0
- package/src/services/tse/v20201207/tse_client.ts +31 -4
- package/src/services/tse/v20201207/tse_models.ts +310 -74
- package/src/services/vm/v20201229/vm_client.ts +2 -0
- package/src/services/vm/v20201229/vm_models.ts +54 -0
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vod/v20180717/vod_models.ts +6 -6
- package/src/services/vpc/v20170312/vpc_models.ts +16 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/index.d.ts +6 -0
- package/tencentcloud/services/acp/index.js +7 -0
- package/tencentcloud/services/acp/v20220105/acp_client.d.ts +34 -0
- package/tencentcloud/services/acp/v20220105/acp_client.js +67 -0
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +491 -0
- package/tencentcloud/services/acp/v20220105/acp_models.js +18 -0
- package/tencentcloud/services/acp/v20220105/index.d.ts +6 -0
- package/tencentcloud/services/acp/v20220105/index.js +9 -0
- package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +13 -0
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +47 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +2 -2
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +59 -8
- package/tencentcloud/services/bsca/v20210811/bsca_client.d.ts +5 -1
- package/tencentcloud/services/bsca/v20210811/bsca_client.js +6 -0
- package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +22 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +6 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +41 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +41 -1
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +9 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +4 -2
- package/tencentcloud/services/emr/v20190103/emr_client.js +4 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +80 -0
- package/tencentcloud/services/index.d.ts +3 -0
- package/tencentcloud/services/index.js +6 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +8 -9
- package/tencentcloud/services/live/v20180801/live_client.js +7 -8
- package/tencentcloud/services/live/v20180801/live_models.d.ts +35 -6
- package/tencentcloud/services/mmps/index.d.ts +6 -0
- package/tencentcloud/services/mmps/index.js +7 -0
- package/tencentcloud/services/mmps/v20200710/index.d.ts +6 -0
- package/tencentcloud/services/mmps/v20200710/index.js +9 -0
- package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +54 -0
- package/tencentcloud/services/mmps/v20200710/mmps_client.js +97 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +695 -0
- package/tencentcloud/services/mmps/v20200710/mmps_models.js +18 -0
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +5 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +45 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +14 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +19 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +284 -8
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +46 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +14 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +20 -12
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +79 -11
- package/tencentcloud/services/teo/v20220106/teo_client.js +117 -15
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +1890 -309
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +8 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +64 -29
- package/tencentcloud/services/tione/index.d.ts +4 -0
- package/tencentcloud/services/tione/index.js +2 -0
- package/tencentcloud/services/tione/v20211111/index.d.ts +6 -0
- package/tencentcloud/services/tione/v20211111/index.js +9 -0
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +114 -0
- package/tencentcloud/services/tione/v20211111/tione_client.js +187 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +2545 -0
- package/tencentcloud/services/tione/v20211111/tione_models.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +17 -0
- package/tencentcloud/services/trp/index.d.ts +6 -0
- package/tencentcloud/services/trp/index.js +7 -0
- package/tencentcloud/services/trp/v20210515/index.d.ts +6 -0
- package/tencentcloud/services/trp/v20210515/index.js +9 -0
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +122 -0
- package/tencentcloud/services/trp/v20210515/trp_client.js +199 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +1431 -0
- package/tencentcloud/services/trp/v20210515/trp_models.js +18 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +9 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +12 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +273 -67
- package/tencentcloud/services/vm/v20201229/vm_models.d.ts +47 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -5
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +13 -0
- package/test/acp.v20220105.test.js +81 -0
- package/test/bsca.v20210811.test.js +10 -0
- package/test/mmps.v20200710.test.js +131 -0
- package/test/oceanus.v20190422.test.js +10 -0
- package/test/ocr.v20181119.test.js +30 -0
- package/test/teo.v20220106.test.js +180 -10
- package/test/tiia.v20190529.test.js +10 -0
- package/test/tione.v20211111.test.js +281 -0
- package/test/trp.v20210515.test.js +301 -0
- package/test/tse.v20201207.test.js +20 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.acp.v20220105.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("acp.v20220105.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("acp.v20220105.CreateAppScanTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateAppScanTask({})
|
|
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("acp.v20220105.CreateAppScanTaskRepeat", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateAppScanTaskRepeat({})
|
|
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("acp.v20220105.DescribeFileTicket", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFileTicket({})
|
|
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("acp.v20220105.DescribeScanTaskReportUrl", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeScanTaskReportUrl({})
|
|
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("acp.v20220105.DescribeScanTaskStatus", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeScanTaskStatus({})
|
|
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("acp.v20220105.DescribeScanTaskList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeScanTaskList({})
|
|
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
|
+
})
|
|
@@ -58,4 +58,14 @@ it("bsca.v20210811.DescribeKBVulnerability", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("bsca.v20210811.MatchKBPURLList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.MatchKBPURLList({})
|
|
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
|
+
|
|
61
71
|
})
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.mmps.v20200710.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("mmps.v20200710.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("mmps.v20200710.CreateAppScanTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateAppScanTask({})
|
|
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("mmps.v20200710.DescribeScanTaskList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeScanTaskList({})
|
|
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("mmps.v20200710.DescribeFlySecMiniAppReportUrl", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFlySecMiniAppReportUrl({})
|
|
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("mmps.v20200710.DescribeFlySecMiniAppScanTaskStatus", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeFlySecMiniAppScanTaskStatus({})
|
|
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("mmps.v20200710.CreateFlySecMiniAppScanTask", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateFlySecMiniAppScanTask({})
|
|
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("mmps.v20200710.CreateFlySecMiniAppScanTaskRepeat", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateFlySecMiniAppScanTaskRepeat({})
|
|
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("mmps.v20200710.DescribeScanTaskReportUrl", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeScanTaskReportUrl({})
|
|
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("mmps.v20200710.DescribeFlySecMiniAppScanTaskList", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeFlySecMiniAppScanTaskList({})
|
|
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("mmps.v20200710.DescribeScanTaskStatus", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeScanTaskStatus({})
|
|
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("mmps.v20200710.CreateAppScanTaskRepeat", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateAppScanTaskRepeat({})
|
|
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("mmps.v20200710.DescribeFlySecMiniAppScanTaskParam", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeFlySecMiniAppScanTaskParam({})
|
|
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
|
+
})
|
|
@@ -28,6 +28,16 @@ it("oceanus.v20190422.StopJobs", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("oceanus.v20190422.TriggerJobSavepoint", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.TriggerJobSavepoint({})
|
|
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
|
+
|
|
31
41
|
it("oceanus.v20190422.DescribeResources", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeResources({})
|
|
@@ -508,6 +508,16 @@ it("ocr.v20181119.SealOCR", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
+
it("ocr.v20181119.RecognizePhilippinesVoteIDOCR", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.RecognizePhilippinesVoteIDOCR({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
511
521
|
it("ocr.v20181119.TrainTicketOCR", async function () {
|
|
512
522
|
try {
|
|
513
523
|
const data = await client.TrainTicketOCR({})
|
|
@@ -668,6 +678,16 @@ it("ocr.v20181119.FinanBillOCR", async function () {
|
|
|
668
678
|
}
|
|
669
679
|
})
|
|
670
680
|
|
|
681
|
+
it("ocr.v20181119.RecognizePhilippinesDrivingLicenseOCR", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.RecognizePhilippinesDrivingLicenseOCR({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
671
691
|
it("ocr.v20181119.VerifyOfdVatInvoiceOCR", async function () {
|
|
672
692
|
try {
|
|
673
693
|
const data = await client.VerifyOfdVatInvoiceOCR({})
|
|
@@ -688,6 +708,16 @@ it("ocr.v20181119.MixedInvoiceOCR", async function () {
|
|
|
688
708
|
}
|
|
689
709
|
})
|
|
690
710
|
|
|
711
|
+
it("ocr.v20181119.RecognizeIndonesiaIDCardOCR", async function () {
|
|
712
|
+
try {
|
|
713
|
+
const data = await client.RecognizeIndonesiaIDCardOCR({})
|
|
714
|
+
expect(data).to.be.ok
|
|
715
|
+
} catch(error) {
|
|
716
|
+
expect(error.requestId).to.be.ok
|
|
717
|
+
expect(error.code).to.be.ok
|
|
718
|
+
}
|
|
719
|
+
})
|
|
720
|
+
|
|
691
721
|
it("ocr.v20181119.RecognizeHealthCodeOCR", async function () {
|
|
692
722
|
try {
|
|
693
723
|
const data = await client.RecognizeHealthCodeOCR({})
|
|
@@ -48,6 +48,16 @@ it("teo.v20220106.ModifyApplicationProxyRule", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("teo.v20220106.DeleteOriginGroup", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DeleteOriginGroup({})
|
|
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
|
+
|
|
51
61
|
it("teo.v20220106.DeleteApplicationProxy", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.DeleteApplicationProxy({})
|
|
@@ -78,6 +88,16 @@ it("teo.v20220106.CreatePurgeTask", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
91
|
+
it("teo.v20220106.CreateOriginGroup", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CreateOriginGroup({})
|
|
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
|
+
|
|
81
101
|
it("teo.v20220106.DescribePurgeTasks", async function () {
|
|
82
102
|
try {
|
|
83
103
|
const data = await client.DescribePurgeTasks({})
|
|
@@ -88,6 +108,16 @@ it("teo.v20220106.DescribePurgeTasks", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
111
|
+
it("teo.v20220106.DescribeSecurityPolicyManagedRules", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeSecurityPolicyManagedRules({})
|
|
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
|
+
|
|
91
121
|
it("teo.v20220106.ModifyHostsCertificate", async function () {
|
|
92
122
|
try {
|
|
93
123
|
const data = await client.ModifyHostsCertificate({})
|
|
@@ -148,6 +178,16 @@ it("teo.v20220106.CreateZone", async function () {
|
|
|
148
178
|
}
|
|
149
179
|
})
|
|
150
180
|
|
|
181
|
+
it("teo.v20220106.ModifyZone", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ModifyZone({})
|
|
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
|
+
|
|
151
191
|
it("teo.v20220106.DescribeHostsSetting", async function () {
|
|
152
192
|
try {
|
|
153
193
|
const data = await client.DescribeHostsSetting({})
|
|
@@ -158,6 +198,16 @@ it("teo.v20220106.DescribeHostsSetting", async function () {
|
|
|
158
198
|
}
|
|
159
199
|
})
|
|
160
200
|
|
|
201
|
+
it("teo.v20220106.DescribeZoneDDoSPolicy", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeZoneDDoSPolicy({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
161
211
|
it("teo.v20220106.ModifyLoadBalancing", async function () {
|
|
162
212
|
try {
|
|
163
213
|
const data = await client.ModifyLoadBalancing({})
|
|
@@ -178,6 +228,26 @@ it("teo.v20220106.CreateLoadBalancing", async function () {
|
|
|
178
228
|
}
|
|
179
229
|
})
|
|
180
230
|
|
|
231
|
+
it("teo.v20220106.ModifyDDoSPolicyHost", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyDDoSPolicyHost({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
241
|
+
it("teo.v20220106.CreateCustomErrorPage", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.CreateCustomErrorPage({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
181
251
|
it("teo.v20220106.IdentifyZone", async function () {
|
|
182
252
|
try {
|
|
183
253
|
const data = await client.IdentifyZone({})
|
|
@@ -198,6 +268,16 @@ it("teo.v20220106.DescribeDefaultCertificates", async function () {
|
|
|
198
268
|
}
|
|
199
269
|
})
|
|
200
270
|
|
|
271
|
+
it("teo.v20220106.ModifyDDoSPolicy", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.ModifyDDoSPolicy({})
|
|
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
|
+
|
|
201
281
|
it("teo.v20220106.DescribeDnsData", async function () {
|
|
202
282
|
try {
|
|
203
283
|
const data = await client.DescribeDnsData({})
|
|
@@ -238,6 +318,16 @@ it("teo.v20220106.DescribeHostsCertificate", async function () {
|
|
|
238
318
|
}
|
|
239
319
|
})
|
|
240
320
|
|
|
321
|
+
it("teo.v20220106.DescribeOriginGroupDetail", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DescribeOriginGroupDetail({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
241
331
|
it("teo.v20220106.CreateApplicationProxyRule", async function () {
|
|
242
332
|
try {
|
|
243
333
|
const data = await client.CreateApplicationProxyRule({})
|
|
@@ -268,6 +358,16 @@ it("teo.v20220106.DeleteLoadBalancing", async function () {
|
|
|
268
358
|
}
|
|
269
359
|
})
|
|
270
360
|
|
|
361
|
+
it("teo.v20220106.ModifyZoneSetting", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyZoneSetting({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
271
371
|
it("teo.v20220106.ReclaimZone", async function () {
|
|
272
372
|
try {
|
|
273
373
|
const data = await client.ReclaimZone({})
|
|
@@ -308,9 +408,9 @@ it("teo.v20220106.DownloadL7Logs", async function () {
|
|
|
308
408
|
}
|
|
309
409
|
})
|
|
310
410
|
|
|
311
|
-
it("teo.v20220106.
|
|
411
|
+
it("teo.v20220106.DescribeZones", async function () {
|
|
312
412
|
try {
|
|
313
|
-
const data = await client.
|
|
413
|
+
const data = await client.DescribeZones({})
|
|
314
414
|
expect(data).to.be.ok
|
|
315
415
|
} catch(error) {
|
|
316
416
|
expect(error.requestId).to.be.ok
|
|
@@ -348,9 +448,29 @@ it("teo.v20220106.ScanDnsRecords", async function () {
|
|
|
348
448
|
}
|
|
349
449
|
})
|
|
350
450
|
|
|
351
|
-
it("teo.v20220106.
|
|
451
|
+
it("teo.v20220106.ModifyOriginGroup", async function () {
|
|
352
452
|
try {
|
|
353
|
-
const data = await client.
|
|
453
|
+
const data = await client.ModifyOriginGroup({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
461
|
+
it("teo.v20220106.DescribeDDoSPolicy", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.DescribeDDoSPolicy({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
471
|
+
it("teo.v20220106.ModifyLoadBalancingStatus", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.ModifyLoadBalancingStatus({})
|
|
354
474
|
expect(data).to.be.ok
|
|
355
475
|
} catch(error) {
|
|
356
476
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +488,9 @@ it("teo.v20220106.DeleteDnsRecords", async function () {
|
|
|
368
488
|
}
|
|
369
489
|
})
|
|
370
490
|
|
|
371
|
-
it("teo.v20220106.
|
|
491
|
+
it("teo.v20220106.ModifySecurityPolicy", async function () {
|
|
372
492
|
try {
|
|
373
|
-
const data = await client.
|
|
493
|
+
const data = await client.ModifySecurityPolicy({})
|
|
374
494
|
expect(data).to.be.ok
|
|
375
495
|
} catch(error) {
|
|
376
496
|
expect(error.requestId).to.be.ok
|
|
@@ -398,6 +518,16 @@ it("teo.v20220106.ModifyDefaultCertificate", async function () {
|
|
|
398
518
|
}
|
|
399
519
|
})
|
|
400
520
|
|
|
521
|
+
it("teo.v20220106.DescribeSecurityPolicy", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.DescribeSecurityPolicy({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
401
531
|
it("teo.v20220106.ImportDnsRecords", async function () {
|
|
402
532
|
try {
|
|
403
533
|
const data = await client.ImportDnsRecords({})
|
|
@@ -428,6 +558,26 @@ it("teo.v20220106.CheckCertificate", async function () {
|
|
|
428
558
|
}
|
|
429
559
|
})
|
|
430
560
|
|
|
561
|
+
it("teo.v20220106.DescribeSecurityPolicyManagedRulesId", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeSecurityPolicyManagedRulesId({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
571
|
+
it("teo.v20220106.DescribeBotManagedRules", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.DescribeBotManagedRules({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
431
581
|
it("teo.v20220106.DescribeCnameStatus", async function () {
|
|
432
582
|
try {
|
|
433
583
|
const data = await client.DescribeCnameStatus({})
|
|
@@ -438,9 +588,9 @@ it("teo.v20220106.DescribeCnameStatus", async function () {
|
|
|
438
588
|
}
|
|
439
589
|
})
|
|
440
590
|
|
|
441
|
-
it("teo.v20220106.
|
|
591
|
+
it("teo.v20220106.DescribeSecurityPolicyRegions", async function () {
|
|
442
592
|
try {
|
|
443
|
-
const data = await client.
|
|
593
|
+
const data = await client.DescribeSecurityPolicyRegions({})
|
|
444
594
|
expect(data).to.be.ok
|
|
445
595
|
} catch(error) {
|
|
446
596
|
expect(error.requestId).to.be.ok
|
|
@@ -478,9 +628,9 @@ it("teo.v20220106.CreateApplicationProxy", async function () {
|
|
|
478
628
|
}
|
|
479
629
|
})
|
|
480
630
|
|
|
481
|
-
it("teo.v20220106.
|
|
631
|
+
it("teo.v20220106.DescribeOriginGroup", async function () {
|
|
482
632
|
try {
|
|
483
|
-
const data = await client.
|
|
633
|
+
const data = await client.DescribeOriginGroup({})
|
|
484
634
|
expect(data).to.be.ok
|
|
485
635
|
} catch(error) {
|
|
486
636
|
expect(error.requestId).to.be.ok
|
|
@@ -508,6 +658,16 @@ it("teo.v20220106.ModifyApplicationProxyRuleStatus", async function () {
|
|
|
508
658
|
}
|
|
509
659
|
})
|
|
510
660
|
|
|
661
|
+
it("teo.v20220106.DescribeSecurityPolicyList", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DescribeSecurityPolicyList({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
511
671
|
it("teo.v20220106.ModifyDnssec", async function () {
|
|
512
672
|
try {
|
|
513
673
|
const data = await client.ModifyDnssec({})
|
|
@@ -518,4 +678,14 @@ it("teo.v20220106.ModifyDnssec", async function () {
|
|
|
518
678
|
}
|
|
519
679
|
})
|
|
520
680
|
|
|
681
|
+
it("teo.v20220106.DescribeApplicationProxy", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.DescribeApplicationProxy({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
521
691
|
})
|
|
@@ -38,6 +38,16 @@ it("tiia.v20190529.DetectProductBeta", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("tiia.v20190529.DetectLabelPro", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DetectLabelPro({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("tiia.v20190529.RecognizeCar", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.RecognizeCar({})
|