tencentcloud-sdk-nodejs 4.0.913 → 4.0.915
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 +277 -0
- package/SERVICE_CHANGELOG.md +288 -104
- package/examples/hunyuan/v20230901/{chat_std.js → chat_completions.js} +5 -3
- package/examples/hunyuan/v20230901/{chat_std.ts → chat_completions.ts} +5 -3
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +10 -0
- package/src/services/cls/v20201016/cls_client.ts +61 -11
- package/src/services/cls/v20201016/cls_models.ts +328 -149
- package/src/services/cwp/v20180228/cwp_client.ts +17 -3
- package/src/services/cwp/v20180228/cwp_models.ts +89 -25
- package/src/services/emr/v20190103/emr_client.ts +55 -13
- package/src/services/emr/v20190103/emr_models.ts +614 -160
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -4
- package/src/services/ioa/v20220601/ioa_models.ts +6 -5
- package/src/services/organization/v20210331/organization_client.ts +51 -13
- package/src/services/organization/v20210331/organization_models.ts +204 -39
- package/src/services/pts/v20210728/pts_models.ts +9 -9
- package/src/services/smh/v20210712/smh_client.ts +68 -7
- package/src/services/smh/v20210712/smh_models.ts +425 -32
- package/src/services/tcss/v20201101/tcss_models.ts +99 -52
- package/src/services/trocket/v20230308/trocket_client.ts +16 -4
- package/src/services/trocket/v20230308/trocket_models.ts +94 -58
- package/src/services/trtc/v20190722/trtc_client.ts +0 -3
- package/src/services/trtc/v20190722/trtc_models.ts +3 -28
- package/src/services/vod/v20180717/vod_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +10 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +313 -144
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +8 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +9 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +87 -25
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +15 -3
- package/tencentcloud/services/emr/v20190103/emr_client.js +21 -3
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +607 -165
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -4
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +6 -5
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +17 -5
- package/tencentcloud/services/organization/v20210331/organization_client.js +24 -6
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +196 -39
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +9 -9
- package/tencentcloud/services/smh/v20210712/smh_client.d.ts +23 -3
- package/tencentcloud/services/smh/v20210712/smh_client.js +33 -3
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +414 -32
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +99 -52
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +5 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +6 -0
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +91 -57
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +0 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -28
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/cwp.v20180228.test.js +10 -0
- package/test/emr.v20190103.test.js +32 -2
- package/test/organization.v20210331.test.js +34 -4
- package/test/smh.v20210712.test.js +52 -2
- package/test/trocket.v20230308.test.js +10 -0
|
@@ -210,7 +210,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
210
210
|
"type": "subtitle",
|
|
211
211
|
"userid": "xxx",
|
|
212
212
|
"text": "xxx",
|
|
213
|
-
"translation_text": "xxx",
|
|
214
213
|
"start_time": "00:00:02",
|
|
215
214
|
"end_time": "00:00:05"
|
|
216
215
|
}`
|
|
@@ -218,7 +217,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
218
217
|
- type是subtitle,表示这是实时字幕消息。
|
|
219
218
|
- userid表示是哪个用户说的话。
|
|
220
219
|
- text是语音识别出的文本。
|
|
221
|
-
- translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
|
|
222
220
|
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
223
221
|
|
|
224
222
|
转录消息具体格式如下:
|
|
@@ -226,7 +224,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
226
224
|
"type": "transcription",
|
|
227
225
|
"userid": "xxx",
|
|
228
226
|
"text": "xxx",
|
|
229
|
-
"translation_text": "xx",
|
|
230
227
|
"start_time": "00:00:02",
|
|
231
228
|
"end_time": "00:00:05"
|
|
232
229
|
}`
|
|
@@ -278,7 +278,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
278
278
|
"type": "subtitle",
|
|
279
279
|
"userid": "xxx",
|
|
280
280
|
"text": "xxx",
|
|
281
|
-
"translation_text": "xxx",
|
|
282
281
|
"start_time": "00:00:02",
|
|
283
282
|
"end_time": "00:00:05"
|
|
284
283
|
}`
|
|
@@ -286,7 +285,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
286
285
|
- type是subtitle,表示这是实时字幕消息。
|
|
287
286
|
- userid表示是哪个用户说的话。
|
|
288
287
|
- text是语音识别出的文本。
|
|
289
|
-
- translation_text是text翻译后的文本,如果不启用翻译,则是空字符串。
|
|
290
288
|
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
291
289
|
|
|
292
290
|
转录消息具体格式如下:
|
|
@@ -294,7 +292,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
294
292
|
"type": "transcription",
|
|
295
293
|
"userid": "xxx",
|
|
296
294
|
"text": "xxx",
|
|
297
|
-
"translation_text": "xx",
|
|
298
295
|
"start_time": "00:00:02",
|
|
299
296
|
"end_time": "00:00:05"
|
|
300
297
|
}`
|
|
@@ -2558,7 +2558,6 @@ export interface RecognizeConfig {
|
|
|
2558
2558
|
|
|
2559
2559
|
注意:
|
|
2560
2560
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2561
|
-
示例值:zh
|
|
2562
2561
|
*/
|
|
2563
2562
|
Language?: string;
|
|
2564
2563
|
/**
|
|
@@ -2567,37 +2566,13 @@ export interface RecognizeConfig {
|
|
|
2567
2566
|
*/
|
|
2568
2567
|
AlternativeLanguage?: Array<string>;
|
|
2569
2568
|
/**
|
|
2570
|
-
*
|
|
2569
|
+
* 目前已不支持
|
|
2571
2570
|
* @deprecated
|
|
2572
2571
|
*/
|
|
2573
2572
|
Model?: string;
|
|
2574
2573
|
/**
|
|
2575
|
-
*
|
|
2576
|
-
|
|
2577
|
-
目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
|
|
2578
|
-
Chinese = "zh"
|
|
2579
|
-
Chinese_TW = "zh-TW"
|
|
2580
|
-
English = "en"
|
|
2581
|
-
Vietnamese = "vi"
|
|
2582
|
-
Japanese = "ja"
|
|
2583
|
-
Korean = "ko"
|
|
2584
|
-
Indonesia = "id"
|
|
2585
|
-
Thai = "th"
|
|
2586
|
-
Portuguese = "pt"
|
|
2587
|
-
Turkish = "tr"
|
|
2588
|
-
Arabic = "ar"
|
|
2589
|
-
Spanish = "es"
|
|
2590
|
-
Hindi = "hi"
|
|
2591
|
-
French = "fr"
|
|
2592
|
-
Malay = "ms"
|
|
2593
|
-
Filipino = "fil"
|
|
2594
|
-
German = "de"
|
|
2595
|
-
Italian = "it"
|
|
2596
|
-
Russian = "ru"
|
|
2597
|
-
|
|
2598
|
-
注意:
|
|
2599
|
-
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2600
|
-
示例值:en
|
|
2574
|
+
* 目前已不支持
|
|
2575
|
+
* @deprecated
|
|
2601
2576
|
*/
|
|
2602
2577
|
TranslationLanguage?: string;
|
|
2603
2578
|
}
|
|
@@ -20000,6 +20000,11 @@ export interface EditMediaTEHDConfig {
|
|
|
20000
20000
|
* 极速高清类型,可选值:<li>TEHD-100 表示极速高清-100;</li> <li>OFF 表示关闭极速高清。</li>不填表示 OFF。
|
|
20001
20001
|
*/
|
|
20002
20002
|
Type: string;
|
|
20003
|
+
/**
|
|
20004
|
+
* 视频码率上限,当 Type 指定了极速高清类型时有效。
|
|
20005
|
+
不填或填0表示不设视频码率上限。
|
|
20006
|
+
*/
|
|
20007
|
+
MaxVideoBitrate?: number;
|
|
20003
20008
|
}
|
|
20004
20009
|
/**
|
|
20005
20010
|
* 智能识别结果。
|
|
@@ -48,6 +48,16 @@ it("cls.v20201016.DescribeExports", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("cls.v20201016.GetAlarmLog", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.GetAlarmLog({})
|
|
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("cls.v20201016.CreateIndex", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.CreateIndex({})
|
|
@@ -538,9 +548,19 @@ it("cls.v20201016.DeleteMachineGroupInfo", async function () {
|
|
|
538
548
|
}
|
|
539
549
|
})
|
|
540
550
|
|
|
541
|
-
it("cls.v20201016.
|
|
551
|
+
it("cls.v20201016.DescribeConsoleSharingList", async function () {
|
|
542
552
|
try {
|
|
543
|
-
const data = await client.
|
|
553
|
+
const data = await client.DescribeConsoleSharingList({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
561
|
+
it("cls.v20201016.CreateConsoleSharing", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.CreateConsoleSharing({})
|
|
544
564
|
expect(data).to.be.ok
|
|
545
565
|
} catch(error) {
|
|
546
566
|
expect(error.requestId).to.be.ok
|
|
@@ -738,6 +758,16 @@ it("cls.v20201016.SplitPartition", async function () {
|
|
|
738
758
|
}
|
|
739
759
|
})
|
|
740
760
|
|
|
761
|
+
it("cls.v20201016.DeleteConsoleSharing", async function () {
|
|
762
|
+
try {
|
|
763
|
+
const data = await client.DeleteConsoleSharing({})
|
|
764
|
+
expect(data).to.be.ok
|
|
765
|
+
} catch(error) {
|
|
766
|
+
expect(error.requestId).to.be.ok
|
|
767
|
+
expect(error.code).to.be.ok
|
|
768
|
+
}
|
|
769
|
+
})
|
|
770
|
+
|
|
741
771
|
it("cls.v20201016.DescribeMachineGroups", async function () {
|
|
742
772
|
try {
|
|
743
773
|
const data = await client.DescribeMachineGroups({})
|
|
@@ -848,6 +878,16 @@ it("cls.v20201016.DescribeShippers", async function () {
|
|
|
848
878
|
}
|
|
849
879
|
})
|
|
850
880
|
|
|
881
|
+
it("cls.v20201016.ModifyConsoleSharing", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.ModifyConsoleSharing({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
851
891
|
it("cls.v20201016.DescribeDashboards", async function () {
|
|
852
892
|
try {
|
|
853
893
|
const data = await client.DescribeDashboards({})
|
|
@@ -698,6 +698,16 @@ it("cwp.v20180228.DescribeMachineLicenseDetail", async function () {
|
|
|
698
698
|
}
|
|
699
699
|
})
|
|
700
700
|
|
|
701
|
+
it("cwp.v20180228.ModifyReverseShellRulesAggregation", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.ModifyReverseShellRulesAggregation({})
|
|
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
|
+
|
|
701
711
|
it("cwp.v20180228.SwitchBashRules", async function () {
|
|
702
712
|
try {
|
|
703
713
|
const data = await client.SwitchBashRules({})
|
|
@@ -168,6 +168,16 @@ it("emr.v20190103.DescribeHBaseTableOverview", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("emr.v20190103.DescribeServiceNodeInfos", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeServiceNodeInfos({})
|
|
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
|
+
|
|
171
181
|
it("emr.v20190103.DescribeInstances", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeInstances({})
|
|
@@ -178,9 +188,9 @@ it("emr.v20190103.DescribeInstances", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("emr.v20190103.
|
|
191
|
+
it("emr.v20190103.ModifyYarnDeploy", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.ModifyYarnDeploy({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -328,6 +338,16 @@ it("emr.v20190103.AddMetricScaleStrategy", async function () {
|
|
|
328
338
|
}
|
|
329
339
|
})
|
|
330
340
|
|
|
341
|
+
it("emr.v20190103.DescribeYarnScheduleHistory", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeYarnScheduleHistory({})
|
|
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
|
+
|
|
331
351
|
it("emr.v20190103.DescribeJobFlow", async function () {
|
|
332
352
|
try {
|
|
333
353
|
const data = await client.DescribeJobFlow({})
|
|
@@ -468,4 +488,14 @@ it("emr.v20190103.ScaleOutCluster", async function () {
|
|
|
468
488
|
}
|
|
469
489
|
})
|
|
470
490
|
|
|
491
|
+
it("emr.v20190103.RunJobFlow", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.RunJobFlow({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
471
501
|
})
|
|
@@ -228,6 +228,16 @@ it("organization.v20210331.DeleteAccount", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("organization.v20210331.ListOrgServiceAssignMember", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ListOrgServiceAssignMember({})
|
|
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
|
+
|
|
231
241
|
it("organization.v20210331.RejectJoinShareUnitInvitation", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.RejectJoinShareUnitInvitation({})
|
|
@@ -248,6 +258,16 @@ it("organization.v20210331.DeleteOrganizationNodes", async function () {
|
|
|
248
258
|
}
|
|
249
259
|
})
|
|
250
260
|
|
|
261
|
+
it("organization.v20210331.CreateOrgServiceAssign", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.CreateOrgServiceAssign({})
|
|
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
|
+
|
|
251
271
|
it("organization.v20210331.DescribeEffectivePolicy", async function () {
|
|
252
272
|
try {
|
|
253
273
|
const data = await client.DescribeEffectivePolicy({})
|
|
@@ -418,6 +438,16 @@ it("organization.v20210331.CreateOrganizationIdentity", async function () {
|
|
|
418
438
|
}
|
|
419
439
|
})
|
|
420
440
|
|
|
441
|
+
it("organization.v20210331.DeleteOrgServiceAssign", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DeleteOrgServiceAssign({})
|
|
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
|
+
|
|
421
451
|
it("organization.v20210331.DeleteOrganizationIdentity", async function () {
|
|
422
452
|
try {
|
|
423
453
|
const data = await client.DeleteOrganizationIdentity({})
|
|
@@ -588,9 +618,9 @@ it("organization.v20210331.DeletePolicy", async function () {
|
|
|
588
618
|
}
|
|
589
619
|
})
|
|
590
620
|
|
|
591
|
-
it("organization.v20210331.
|
|
621
|
+
it("organization.v20210331.DeleteOrganizationMemberAuthIdentity", async function () {
|
|
592
622
|
try {
|
|
593
|
-
const data = await client.
|
|
623
|
+
const data = await client.DeleteOrganizationMemberAuthIdentity({})
|
|
594
624
|
expect(data).to.be.ok
|
|
595
625
|
} catch(error) {
|
|
596
626
|
expect(error.requestId).to.be.ok
|
|
@@ -638,9 +668,9 @@ it("organization.v20210331.ListTargetsForPolicy", async function () {
|
|
|
638
668
|
}
|
|
639
669
|
})
|
|
640
670
|
|
|
641
|
-
it("organization.v20210331.
|
|
671
|
+
it("organization.v20210331.CheckAccountDelete", async function () {
|
|
642
672
|
try {
|
|
643
|
-
const data = await client.
|
|
673
|
+
const data = await client.CheckAccountDelete({})
|
|
644
674
|
expect(data).to.be.ok
|
|
645
675
|
} catch(error) {
|
|
646
676
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,36 @@ const client = new tencentcloud.smh.v20210712.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("smh.v20210712.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("smh.v20210712.ModifyUser", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyUser({})
|
|
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.DeleteUser", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteUser({})
|
|
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.VerifySmsCode", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.VerifySmsCode({})
|
|
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
|
+
|
|
21
51
|
it("smh.v20210712.DescribeOfficialInstances", async function () {
|
|
22
52
|
try {
|
|
23
53
|
const data = await client.DescribeOfficialInstances({})
|
|
@@ -48,9 +78,19 @@ it("smh.v20210712.SendSmsCode", async function () {
|
|
|
48
78
|
}
|
|
49
79
|
})
|
|
50
80
|
|
|
51
|
-
it("smh.v20210712.
|
|
81
|
+
it("smh.v20210712.CreateUser", async function () {
|
|
52
82
|
try {
|
|
53
|
-
const data = await client.
|
|
83
|
+
const data = await client.CreateUser({})
|
|
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.CreateUserLifecycle", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CreateUserLifecycle({})
|
|
54
94
|
expect(data).to.be.ok
|
|
55
95
|
} catch(error) {
|
|
56
96
|
expect(error.requestId).to.be.ok
|
|
@@ -108,6 +148,16 @@ it("smh.v20210712.DeleteLibrary", async function () {
|
|
|
108
148
|
}
|
|
109
149
|
})
|
|
110
150
|
|
|
151
|
+
it("smh.v20210712.DescribeUserLifecycle", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeUserLifecycle({})
|
|
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
|
+
|
|
111
161
|
it("smh.v20210712.DescribeLibrarySecret", async function () {
|
|
112
162
|
try {
|
|
113
163
|
const data = await client.DescribeLibrarySecret({})
|
|
@@ -238,6 +238,16 @@ it("trocket.v20230308.DescribeMQTTMessage", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
+
it("trocket.v20230308.DescribeConsumerLag", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeConsumerLag({})
|
|
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
|
+
|
|
241
251
|
it("trocket.v20230308.DescribeMQTTTopic", async function () {
|
|
242
252
|
try {
|
|
243
253
|
const data = await client.DescribeMQTTTopic({})
|