tencentcloud-sdk-nodejs 4.0.533 → 4.0.535
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 +529 -0
- package/SERVICE_CHANGELOG.md +573 -187
- package/package.json +1 -1
- package/products.md +31 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +14 -2
- package/src/services/cbs/v20170312/cbs_models.ts +5 -0
- package/src/services/ccc/v20200210/ccc_client.ts +46 -9
- package/src/services/ccc/v20200210/ccc_models.ts +138 -17
- package/src/services/cdb/v20170320/cdb_models.ts +60 -60
- package/src/services/cdwch/v20200915/cdwch_client.ts +19 -7
- package/src/services/cdwch/v20200915/cdwch_models.ts +100 -59
- package/src/services/clb/v20180317/clb_models.ts +6 -0
- package/src/services/cme/v20191029/cme_models.ts +6 -4
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/dlc/v20210125/dlc_client.ts +217 -51
- package/src/services/dlc/v20210125/dlc_models.ts +1200 -71
- package/src/services/ess/v20201111/ess_client.ts +36 -12
- package/src/services/ess/v20201111/ess_models.ts +180 -85
- package/src/services/essbasic/v20210526/essbasic_client.ts +36 -12
- package/src/services/essbasic/v20210526/essbasic_models.ts +108 -23
- package/src/services/index.ts +1 -0
- package/src/services/keewidb/index.ts +5 -0
- package/src/services/keewidb/v20220308/index.ts +6 -0
- package/src/services/keewidb/v20220308/keewidb_client.ts +489 -0
- package/src/services/keewidb/v20220308/keewidb_models.ts +2778 -0
- package/src/services/lcic/v20220817/lcic_client.ts +198 -72
- package/src/services/lcic/v20220817/lcic_models.ts +856 -120
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +5 -5
- package/src/services/scf/v20180416/scf_models.ts +44 -44
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +3 -2
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +105 -54
- package/src/services/tcb/v20180608/tcb_models.ts +16 -6
- package/src/services/tdmq/v20200217/tdmq_models.ts +64 -2
- package/src/services/teo/v20220901/teo_client.ts +551 -488
- package/src/services/teo/v20220901/teo_models.ts +471 -123
- package/src/services/thpc/v20220401/thpc_models.ts +9 -7
- package/src/services/vpc/v20170312/vpc_client.ts +1 -0
- package/src/services/vpc/v20170312/vpc_models.ts +23 -0
- 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 +12 -2
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -0
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +15 -3
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +21 -3
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +119 -15
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +60 -60
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +7 -3
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +9 -3
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +84 -49
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +67 -15
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +99 -21
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1016 -63
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +16 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +155 -75
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +93 -21
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/keewidb/index.d.ts +6 -0
- package/tencentcloud/services/keewidb/index.js +7 -0
- package/tencentcloud/services/keewidb/v20220308/index.d.ts +6 -0
- package/tencentcloud/services/keewidb/v20220308/index.js +9 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_client.d.ts +154 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_client.js +247 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +2319 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_models.js +18 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +65 -25
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +96 -36
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +727 -101
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +5 -5
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +44 -44
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +90 -48
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +15 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +54 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +183 -163
- package/tencentcloud/services/teo/v20220901/teo_client.js +273 -243
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +409 -109
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +7 -5
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +20 -0
- package/test/ccc.v20200210.test.js +32 -2
- package/test/cdwch.v20200915.test.js +12 -2
- package/test/dlc.v20210125.test.js +144 -14
- package/test/ess.v20201111.test.js +22 -2
- package/test/essbasic.v20210526.test.js +22 -2
- package/test/keewidb.v20220308.test.js +381 -0
- package/test/lcic.v20220817.test.js +124 -24
- package/test/teo.v20220901.test.js +212 -162
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.keewidb.v20220308.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("keewidb.v20220308.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("keewidb.v20220308.DescribeInstanceNodeInfo", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeInstanceNodeInfo({})
|
|
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("keewidb.v20220308.ModifyMaintenanceWindow", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ModifyMaintenanceWindow({})
|
|
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("keewidb.v20220308.DescribeTaskList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeTaskList({})
|
|
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("keewidb.v20220308.CleanUpInstance", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CleanUpInstance({})
|
|
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("keewidb.v20220308.DescribeMaintenanceWindow", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeMaintenanceWindow({})
|
|
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("keewidb.v20220308.DescribeInstanceBackups", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeInstanceBackups({})
|
|
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("keewidb.v20220308.ModifyNetworkConfig", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.ModifyNetworkConfig({})
|
|
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("keewidb.v20220308.ModifyAutoBackupConfig", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyAutoBackupConfig({})
|
|
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("keewidb.v20220308.ResetPassword", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ResetPassword({})
|
|
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("keewidb.v20220308.DescribeInstances", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeInstances({})
|
|
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("keewidb.v20220308.DescribeInstanceBinlogs", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeInstanceBinlogs({})
|
|
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("keewidb.v20220308.DescribeAutoBackupConfig", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeAutoBackupConfig({})
|
|
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("keewidb.v20220308.ChangeInstanceMaster", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ChangeInstanceMaster({})
|
|
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("keewidb.v20220308.CreateInstances", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CreateInstances({})
|
|
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("keewidb.v20220308.RenewInstance", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.RenewInstance({})
|
|
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("keewidb.v20220308.DescribeTaskInfo", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeTaskInfo({})
|
|
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("keewidb.v20220308.DescribeProxySlowLog", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeProxySlowLog({})
|
|
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
|
+
it("keewidb.v20220308.DescribeProjectSecurityGroups", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeProjectSecurityGroups({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("keewidb.v20220308.DescribeTendisSlowLog", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeTendisSlowLog({})
|
|
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
|
+
|
|
211
|
+
it("keewidb.v20220308.AssociateSecurityGroups", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.AssociateSecurityGroups({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("keewidb.v20220308.ModifyInstanceParams", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifyInstanceParams({})
|
|
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("keewidb.v20220308.ModifyDBInstanceSecurityGroups", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyDBInstanceSecurityGroups({})
|
|
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("keewidb.v20220308.DescribeInstanceParams", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeInstanceParams({})
|
|
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
|
+
|
|
251
|
+
it("keewidb.v20220308.DescribeInstanceReplicas", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeInstanceReplicas({})
|
|
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("keewidb.v20220308.ModifyConnectionConfig", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.ModifyConnectionConfig({})
|
|
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("keewidb.v20220308.DescribeProductInfo", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeProductInfo({})
|
|
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
|
+
|
|
281
|
+
it("keewidb.v20220308.UpgradeInstance", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.UpgradeInstance({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("keewidb.v20220308.DescribeDBSecurityGroups", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeDBSecurityGroups({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
it("keewidb.v20220308.CreateBackupManually", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.CreateBackupManually({})
|
|
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("keewidb.v20220308.DestroyPrepaidInstance", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DestroyPrepaidInstance({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("keewidb.v20220308.DescribeInstanceParamRecords", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DescribeInstanceParamRecords({})
|
|
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
|
+
|
|
331
|
+
it("keewidb.v20220308.ClearInstance", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.ClearInstance({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
341
|
+
it("keewidb.v20220308.DestroyPostpaidInstance", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DestroyPostpaidInstance({})
|
|
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("keewidb.v20220308.DisassociateSecurityGroups", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DisassociateSecurityGroups({})
|
|
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("keewidb.v20220308.ModifyInstance", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyInstance({})
|
|
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
|
+
|
|
371
|
+
it("keewidb.v20220308.StartUpInstance", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.StartUpInstance({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.lcic.v20220817.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("lcic.v20220817.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("lcic.v20220817.
|
|
21
|
+
it("lcic.v20220817.SetWatermark", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.SetWatermark({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,19 @@ it("lcic.v20220817.DescribeAppDetail", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("lcic.v20220817.
|
|
31
|
+
it("lcic.v20220817.DescribeDocumentsByRoom", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeDocumentsByRoom({})
|
|
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("lcic.v20220817.GetWatermark", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.GetWatermark({})
|
|
34
44
|
expect(data).to.be.ok
|
|
35
45
|
} catch(error) {
|
|
36
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +58,9 @@ it("lcic.v20220817.ModifyApp", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
51
|
-
it("lcic.v20220817.
|
|
61
|
+
it("lcic.v20220817.UnbindDocumentFromRoom", async function () {
|
|
52
62
|
try {
|
|
53
|
-
const data = await client.
|
|
63
|
+
const data = await client.UnbindDocumentFromRoom({})
|
|
54
64
|
expect(data).to.be.ok
|
|
55
65
|
} catch(error) {
|
|
56
66
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +68,9 @@ it("lcic.v20220817.SetAppCustomContent", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
61
|
-
it("lcic.v20220817.
|
|
71
|
+
it("lcic.v20220817.DescribeSdkAppIdUsers", async function () {
|
|
62
72
|
try {
|
|
63
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeSdkAppIdUsers({})
|
|
64
74
|
expect(data).to.be.ok
|
|
65
75
|
} catch(error) {
|
|
66
76
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +78,9 @@ it("lcic.v20220817.DescribeRoomStatistics", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
71
|
-
it("lcic.v20220817.
|
|
81
|
+
it("lcic.v20220817.CreateDocument", async function () {
|
|
72
82
|
try {
|
|
73
|
-
const data = await client.
|
|
83
|
+
const data = await client.CreateDocument({})
|
|
74
84
|
expect(data).to.be.ok
|
|
75
85
|
} catch(error) {
|
|
76
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +98,9 @@ it("lcic.v20220817.ModifyRoom", async function () {
|
|
|
88
98
|
}
|
|
89
99
|
})
|
|
90
100
|
|
|
91
|
-
it("lcic.v20220817.
|
|
101
|
+
it("lcic.v20220817.DescribeUser", async function () {
|
|
92
102
|
try {
|
|
93
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribeUser({})
|
|
94
104
|
expect(data).to.be.ok
|
|
95
105
|
} catch(error) {
|
|
96
106
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +108,9 @@ it("lcic.v20220817.UnbindDocumentFromRoom", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
101
|
-
it("lcic.v20220817.
|
|
111
|
+
it("lcic.v20220817.BatchRegister", async function () {
|
|
102
112
|
try {
|
|
103
|
-
const data = await client.
|
|
113
|
+
const data = await client.BatchRegister({})
|
|
104
114
|
expect(data).to.be.ok
|
|
105
115
|
} catch(error) {
|
|
106
116
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +118,9 @@ it("lcic.v20220817.BindDocumentToRoom", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
111
|
-
it("lcic.v20220817.
|
|
121
|
+
it("lcic.v20220817.ModifyUserProfile", async function () {
|
|
112
122
|
try {
|
|
113
|
-
const data = await client.
|
|
123
|
+
const data = await client.ModifyUserProfile({})
|
|
114
124
|
expect(data).to.be.ok
|
|
115
125
|
} catch(error) {
|
|
116
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +128,9 @@ it("lcic.v20220817.LoginOriginId", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("lcic.v20220817.
|
|
131
|
+
it("lcic.v20220817.DescribeRoom", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeRoom({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +138,59 @@ it("lcic.v20220817.DescribeUser", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("lcic.v20220817.
|
|
141
|
+
it("lcic.v20220817.DeleteRecord", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DeleteRecord({})
|
|
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("lcic.v20220817.BatchCreateRoom", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.BatchCreateRoom({})
|
|
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("lcic.v20220817.RegisterUser", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.RegisterUser({})
|
|
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("lcic.v20220817.DescribeRoomStatistics", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeRoomStatistics({})
|
|
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("lcic.v20220817.BindDocumentToRoom", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.BindDocumentToRoom({})
|
|
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
|
+
it("lcic.v20220817.LoginOriginId", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.LoginOriginId({})
|
|
134
194
|
expect(data).to.be.ok
|
|
135
195
|
} catch(error) {
|
|
136
196
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +218,9 @@ it("lcic.v20220817.CreateSupervisor", async function () {
|
|
|
158
218
|
}
|
|
159
219
|
})
|
|
160
220
|
|
|
161
|
-
it("lcic.v20220817.
|
|
221
|
+
it("lcic.v20220817.SetAppCustomContent", async function () {
|
|
162
222
|
try {
|
|
163
|
-
const data = await client.
|
|
223
|
+
const data = await client.SetAppCustomContent({})
|
|
164
224
|
expect(data).to.be.ok
|
|
165
225
|
} catch(error) {
|
|
166
226
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +228,49 @@ it("lcic.v20220817.RegisterUser", async function () {
|
|
|
168
228
|
}
|
|
169
229
|
})
|
|
170
230
|
|
|
171
|
-
it("lcic.v20220817.
|
|
231
|
+
it("lcic.v20220817.DescribeAppDetail", async function () {
|
|
172
232
|
try {
|
|
173
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeAppDetail({})
|
|
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("lcic.v20220817.DeleteDocument", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DeleteDocument({})
|
|
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
|
+
|
|
251
|
+
it("lcic.v20220817.BatchDeleteRecord", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.BatchDeleteRecord({})
|
|
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("lcic.v20220817.DeleteRoom", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DeleteRoom({})
|
|
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("lcic.v20220817.DescribeDocument", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeDocument({})
|
|
174
274
|
expect(data).to.be.ok
|
|
175
275
|
} catch(error) {
|
|
176
276
|
expect(error.requestId).to.be.ok
|