tencentcloud-sdk-nodejs 4.0.282 → 4.0.286
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 +261 -0
- package/SERVICE_CHANGELOG.md +228 -61
- package/package.json +1 -1
- package/products.md +15 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +15 -2
- package/src/services/ame/v20190916/ame_models.ts +92 -14
- package/src/services/antiddos/v20200309/antiddos_models.ts +4 -4
- package/src/services/cdb/v20170320/cdb_models.ts +9 -4
- package/src/services/cfs/v20190719/cfs_models.ts +5 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +30 -0
- package/src/services/clb/v20180317/clb_models.ts +4 -3
- package/src/services/facefusion/v20181201/facefusion_models.ts +2 -2
- package/src/services/index.ts +2 -0
- package/src/services/lowcode/index.ts +5 -0
- package/src/services/lowcode/v20210108/index.ts +6 -0
- package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
- package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +65 -0
- package/src/services/smh/index.ts +5 -0
- package/src/services/smh/v20210712/index.ts +6 -0
- package/src/services/smh/v20210712/smh_client.ts +155 -0
- package/src/services/smh/v20210712/smh_models.ts +655 -0
- package/src/services/ssl/v20191205/ssl_models.ts +6 -0
- package/src/services/tat/v20201028/tat_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +35 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +5 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +6 -0
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +79 -13
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -4
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +26 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +2 -2
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/lowcode/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/index.js +7 -0
- package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +55 -0
- package/tencentcloud/services/smh/index.d.ts +6 -0
- package/tencentcloud/services/smh/index.js +7 -0
- package/tencentcloud/services/smh/v20210712/index.d.ts +6 -0
- package/tencentcloud/services/smh/v20210712/index.js +9 -0
- package/tencentcloud/services/smh/v20210712/smh_client.d.ts +50 -0
- package/tencentcloud/services/smh/v20210712/smh_client.js +91 -0
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +538 -0
- package/tencentcloud/services/smh/v20210712/smh_models.js +18 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -2
- package/test/ame.v20190916.test.js +10 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/lowcode.v20210108.test.js +31 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/smh.v20210712.test.js +121 -0
|
@@ -538,6 +538,16 @@ it("mariadb.v20170312.DescribeDBSecurityGroups", async function () {
|
|
|
538
538
|
}
|
|
539
539
|
})
|
|
540
540
|
|
|
541
|
+
it("mariadb.v20170312.DescribeDatabaseTable", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.DescribeDatabaseTable({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
541
551
|
it("mariadb.v20170312.CancelDcnJob", async function () {
|
|
542
552
|
try {
|
|
543
553
|
const data = await client.CancelDcnJob({})
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.smh.v20210712.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("smh.v20210712.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("smh.v20210712.DescribeOfficialInstances", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeOfficialInstances({})
|
|
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("smh.v20210712.CreateLibrary", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateLibrary({})
|
|
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("smh.v20210712.SendSmsCode", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.SendSmsCode({})
|
|
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("smh.v20210712.VerifySmsCode", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.VerifySmsCode({})
|
|
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("smh.v20210712.DescribeLibraries", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeLibraries({})
|
|
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("smh.v20210712.ModifyLibrary", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyLibrary({})
|
|
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("smh.v20210712.DescribeOfficialOverview", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeOfficialOverview({})
|
|
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("smh.v20210712.DescribeTrafficPackages", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeTrafficPackages({})
|
|
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("smh.v20210712.DeleteLibrary", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteLibrary({})
|
|
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("smh.v20210712.DescribeLibrarySecret", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeLibrarySecret({})
|
|
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
|
+
})
|