tencentcloud-sdk-nodejs 4.0.318 → 4.0.321
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 +322 -0
- package/SERVICE_CHANGELOG.md +832 -93
- package/package.json +1 -1
- package/products.md +170 -168
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +14 -4
- package/src/services/ams/v20201229/ams_models.ts +14 -0
- package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +28 -21
- package/src/services/as/v20180419/as_client.ts +2 -18
- package/src/services/as/v20180419/as_models.ts +32 -97
- package/src/services/batch/v20170312/batch_models.ts +96 -71
- package/src/services/bmvpc/v20180625/bmvpc_models.ts +2 -2
- package/src/services/bsca/index.ts +5 -0
- package/src/services/bsca/v20210811/bsca_client.ts +93 -0
- package/src/services/bsca/v20210811/bsca_models.ts +636 -0
- package/src/services/bsca/v20210811/index.ts +6 -0
- package/src/services/cam/v20190116/cam_client.ts +59 -11
- package/src/services/cam/v20190116/cam_models.ts +275 -68
- package/src/services/captcha/v20190722/captcha_client.ts +2 -2
- package/src/services/captcha/v20190722/captcha_models.ts +4 -4
- package/src/services/cat/v20180409/cat_client.ts +12 -0
- package/src/services/cat/v20180409/cat_models.ts +50 -0
- package/src/services/cdb/v20170320/cdb_models.ts +23 -3
- package/src/services/cdn/v20180606/cdn_client.ts +3 -3
- package/src/services/cdn/v20180606/cdn_models.ts +77 -49
- package/src/services/cfg/index.ts +5 -0
- package/src/services/cfg/v20210820/cfg_client.ts +169 -0
- package/src/services/cfg/v20210820/cfg_models.ts +1227 -0
- package/src/services/cfg/v20210820/index.ts +6 -0
- package/src/services/cfw/v20190904/cfw_models.ts +22 -6
- package/src/services/cls/v20201016/cls_client.ts +64 -13
- package/src/services/cls/v20201016/cls_models.ts +472 -167
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +11 -5
- package/src/services/cwp/v20180228/cwp_models.ts +17 -9
- package/src/services/ecdn/v20191012/ecdn_client.ts +1 -1
- package/src/services/ecdn/v20191012/ecdn_models.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +7 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +7 -1
- package/src/services/gs/v20191118/gs_models.ts +7 -0
- package/src/services/iecp/v20210914/iecp_client.ts +167 -20
- package/src/services/iecp/v20210914/iecp_models.ts +892 -217
- package/src/services/index.ts +2 -0
- package/src/services/iotcloud/v20180614/iotcloud_client.ts +24 -0
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +85 -0
- package/src/services/iotcloud/v20210408/iotcloud_client.ts +175 -64
- package/src/services/iotcloud/v20210408/iotcloud_models.ts +579 -82
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +18 -7
- package/src/services/live/v20180801/live_client.ts +4 -3
- package/src/services/mongodb/v20190725/mongodb_client.ts +13 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +55 -0
- package/src/services/nlp/v20190408/nlp_client.ts +6 -46
- package/src/services/nlp/v20190408/nlp_models.ts +37 -212
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +6 -8
- package/src/services/partners/v20180321/partners_client.ts +4 -5
- package/src/services/partners/v20180321/partners_models.ts +18 -3
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/ses/v20201002/ses_client.ts +3 -2
- package/src/services/ssa/v20180608/ssa_models.ts +70 -23
- package/src/services/ssl/v20191205/ssl_models.ts +2 -2
- package/src/services/tag/v20180813/tag_client.ts +203 -105
- package/src/services/tag/v20180813/tag_models.ts +377 -47
- package/src/services/tcm/v20210413/tcm_models.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +30 -0
- package/src/services/thpc/index.ts +2 -0
- package/src/services/thpc/v20211109/thpc_client.ts +3 -1
- package/src/services/thpc/v20211109/thpc_models.ts +93 -14
- package/src/services/thpc/v20220401/index.ts +6 -0
- package/src/services/thpc/v20220401/thpc_client.ts +121 -0
- package/src/services/thpc/v20220401/thpc_models.ts +805 -0
- package/src/services/tke/v20180525/tke_client.ts +63 -11
- package/src/services/tke/v20180525/tke_models.ts +411 -118
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +8 -8
- package/src/services/wav/v20210129/wav_client.ts +154 -76
- package/src/services/wav/v20210129/wav_models.ts +541 -25
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +9 -0
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +12 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +28 -21
- package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -8
- package/tencentcloud/services/as/v20180419/as_client.js +0 -9
- package/tencentcloud/services/as/v20180419/as_models.d.ts +28 -83
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +91 -69
- package/tencentcloud/services/bmvpc/v20180625/bmvpc_models.d.ts +2 -2
- package/tencentcloud/services/bsca/index.d.ts +6 -0
- package/tencentcloud/services/bsca/index.js +7 -0
- package/tencentcloud/services/bsca/v20210811/bsca_client.d.ts +26 -0
- package/tencentcloud/services/bsca/v20210811/bsca_client.js +55 -0
- package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +533 -0
- package/tencentcloud/services/bsca/v20210811/bsca_models.js +18 -0
- package/tencentcloud/services/bsca/v20210811/index.d.ts +6 -0
- package/tencentcloud/services/bsca/v20210811/index.js +9 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +19 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +27 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +232 -60
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +4 -4
- package/tencentcloud/services/cat/v20180409/cat_client.d.ts +5 -1
- package/tencentcloud/services/cat/v20180409/cat_client.js +6 -0
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +42 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +19 -3
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -3
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +3 -3
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +72 -47
- package/tencentcloud/services/cfg/index.d.ts +6 -0
- package/tencentcloud/services/cfg/index.js +7 -0
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +50 -0
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +91 -0
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +1015 -0
- package/tencentcloud/services/cfg/v20210820/cfg_models.js +18 -0
- package/tencentcloud/services/cfg/v20210820/index.d.ts +6 -0
- package/tencentcloud/services/cfg/v20210820/index.js +9 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +19 -6
- 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 +410 -152
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -3
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +16 -9
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +1 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +1 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +6 -1
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +6 -0
- package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +51 -3
- package/tencentcloud/services/iecp/v20210914/iecp_client.js +75 -3
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +756 -189
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +9 -1
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +12 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +72 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +57 -21
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +84 -30
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +497 -77
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -7
- package/tencentcloud/services/live/v20180801/live_client.d.ts +2 -1
- package/tencentcloud/services/live/v20180801/live_client.js +2 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +47 -0
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +1 -13
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +0 -18
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +35 -187
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -8
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +3 -4
- package/tencentcloud/services/partners/v20180321/partners_client.js +3 -4
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +15 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -0
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +62 -23
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +2 -2
- package/tencentcloud/services/tag/v20180813/tag_client.d.ts +68 -36
- package/tencentcloud/services/tag/v20180813/tag_client.js +101 -53
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +329 -40
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +25 -0
- package/tencentcloud/services/thpc/index.d.ts +4 -0
- package/tencentcloud/services/thpc/index.js +2 -0
- package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +1 -1
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +79 -12
- package/tencentcloud/services/thpc/v20220401/index.d.ts +6 -0
- package/tencentcloud/services/thpc/v20220401/index.js +9 -0
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +34 -0
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +67 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +671 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +19 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +27 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +348 -101
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -8
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +51 -27
- package/tencentcloud/services/wav/v20210129/wav_client.js +75 -39
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +459 -24
- package/test/as.v20180419.test.js +0 -10
- package/test/bsca.v20210811.test.js +61 -0
- package/test/cam.v20190116.test.js +42 -2
- package/test/cat.v20180409.test.js +10 -0
- package/test/cfg.v20210820.test.js +121 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/iecp.v20210914.test.js +122 -2
- package/test/iotcloud.v20180614.test.js +20 -0
- package/test/iotcloud.v20210408.test.js +110 -20
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/nlp.v20190408.test.js +0 -30
- package/test/tag.v20180813.test.js +116 -36
- package/test/thpc.v20220401.test.js +81 -0
- package/test/tke.v20180525.test.js +42 -2
- package/test/wav.v20210129.test.js +86 -26
|
@@ -118,6 +118,16 @@ it("cam.v20190116.CreateRole", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("cam.v20190116.UpdateUserOIDCConfig", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.UpdateUserOIDCConfig({})
|
|
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
|
+
|
|
121
131
|
it("cam.v20190116.PutRolePermissionsBoundary", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.PutRolePermissionsBoundary({})
|
|
@@ -348,6 +358,16 @@ it("cam.v20190116.GetServiceLinkedRoleDeletionStatus", async function () {
|
|
|
348
358
|
}
|
|
349
359
|
})
|
|
350
360
|
|
|
361
|
+
it("cam.v20190116.DescribeUserOIDCConfig", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeUserOIDCConfig({})
|
|
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
|
+
|
|
351
371
|
it("cam.v20190116.ListPoliciesGrantingServiceAccess", async function () {
|
|
352
372
|
try {
|
|
353
373
|
const data = await client.ListPoliciesGrantingServiceAccess({})
|
|
@@ -508,6 +528,16 @@ it("cam.v20190116.DescribeSafeAuthFlagIntl", async function () {
|
|
|
508
528
|
}
|
|
509
529
|
})
|
|
510
530
|
|
|
531
|
+
it("cam.v20190116.UpdateGroup", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.UpdateGroup({})
|
|
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
|
+
|
|
511
541
|
it("cam.v20190116.GetRole", async function () {
|
|
512
542
|
try {
|
|
513
543
|
const data = await client.GetRole({})
|
|
@@ -648,6 +678,16 @@ it("cam.v20190116.ListEntitiesForPolicy", async function () {
|
|
|
648
678
|
}
|
|
649
679
|
})
|
|
650
680
|
|
|
681
|
+
it("cam.v20190116.CreateUserOIDCConfig", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.CreateUserOIDCConfig({})
|
|
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
|
+
|
|
651
691
|
it("cam.v20190116.ListWeChatWorkSubAccounts", async function () {
|
|
652
692
|
try {
|
|
653
693
|
const data = await client.ListWeChatWorkSubAccounts({})
|
|
@@ -678,9 +718,9 @@ it("cam.v20190116.AttachGroupPolicy", async function () {
|
|
|
678
718
|
}
|
|
679
719
|
})
|
|
680
720
|
|
|
681
|
-
it("cam.v20190116.
|
|
721
|
+
it("cam.v20190116.DisableUserSSO", async function () {
|
|
682
722
|
try {
|
|
683
|
-
const data = await client.
|
|
723
|
+
const data = await client.DisableUserSSO({})
|
|
684
724
|
expect(data).to.be.ok
|
|
685
725
|
} catch(error) {
|
|
686
726
|
expect(error.requestId).to.be.ok
|
|
@@ -188,6 +188,16 @@ it("cat.v20180409.GetDailyAvailRatio", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("cat.v20180409.DescribeProbeMetricData", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeProbeMetricData({})
|
|
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
|
+
|
|
191
201
|
it("cat.v20180409.ResumeProbeTask", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.ResumeProbeTask({})
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.cfg.v20210820.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("cfg.v20210820.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("cfg.v20210820.CreateTaskFromTemplate", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateTaskFromTemplate({})
|
|
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("cfg.v20210820.DescribeTemplate", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeTemplate({})
|
|
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("cfg.v20210820.ExecuteTaskInstance", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ExecuteTaskInstance({})
|
|
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("cfg.v20210820.DescribeTemplateList", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeTemplateList({})
|
|
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("cfg.v20210820.ModifyTaskRunStatus", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyTaskRunStatus({})
|
|
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("cfg.v20210820.DescribeTaskList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeTaskList({})
|
|
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("cfg.v20210820.DescribeTaskExecuteLogs", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeTaskExecuteLogs({})
|
|
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("cfg.v20210820.DescribeTask", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeTask({})
|
|
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("cfg.v20210820.ExecuteTask", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ExecuteTask({})
|
|
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("cfg.v20210820.DeleteTask", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DeleteTask({})
|
|
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
|
+
})
|
|
@@ -288,6 +288,16 @@ it("cls.v20201016.DeleteConfigFromMachineGroup", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("cls.v20201016.DeleteDataTransform", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DeleteDataTransform({})
|
|
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
|
+
|
|
291
301
|
it("cls.v20201016.DeleteConfigExtra", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.DeleteConfigExtra({})
|
|
@@ -298,9 +308,19 @@ it("cls.v20201016.DeleteConfigExtra", async function () {
|
|
|
298
308
|
}
|
|
299
309
|
})
|
|
300
310
|
|
|
301
|
-
it("cls.v20201016.
|
|
311
|
+
it("cls.v20201016.CreateDataTransform", async function () {
|
|
302
312
|
try {
|
|
303
|
-
const data = await client.
|
|
313
|
+
const data = await client.CreateDataTransform({})
|
|
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("cls.v20201016.DescribeDataTransformInfo", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DescribeDataTransformInfo({})
|
|
304
324
|
expect(data).to.be.ok
|
|
305
325
|
} catch(error) {
|
|
306
326
|
expect(error.requestId).to.be.ok
|
|
@@ -468,6 +488,16 @@ it("cls.v20201016.DeleteIndex", async function () {
|
|
|
468
488
|
}
|
|
469
489
|
})
|
|
470
490
|
|
|
491
|
+
it("cls.v20201016.ModifyDataTransform", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.ModifyDataTransform({})
|
|
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
|
it("cls.v20201016.DeleteAlarm", async function () {
|
|
472
502
|
try {
|
|
473
503
|
const data = await client.DeleteAlarm({})
|
|
@@ -598,4 +628,14 @@ it("cls.v20201016.SplitPartition", async function () {
|
|
|
598
628
|
}
|
|
599
629
|
})
|
|
600
630
|
|
|
631
|
+
it("cls.v20201016.DescribeAlarms", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.DescribeAlarms({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
601
641
|
})
|
|
@@ -168,6 +168,36 @@ it("iecp.v20210914.CreateEdgeNodeUnitTemplate", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("iecp.v20210914.DeleteEdgeUnitDevices", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteEdgeUnitDevices({})
|
|
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("iecp.v20210914.CreateEdgeUnitDevices", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CreateEdgeUnitDevices({})
|
|
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("iecp.v20210914.DescribeIotDevices", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeIotDevices({})
|
|
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
|
+
|
|
171
201
|
it("iecp.v20210914.DescribeNodeUnitTemplateOnNodeGroup", async function () {
|
|
172
202
|
try {
|
|
173
203
|
const data = await client.DescribeNodeUnitTemplateOnNodeGroup({})
|
|
@@ -218,6 +248,16 @@ it("iecp.v20210914.DescribeApplications", async function () {
|
|
|
218
248
|
}
|
|
219
249
|
})
|
|
220
250
|
|
|
251
|
+
it("iecp.v20210914.DescribeIotDevice", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeIotDevice({})
|
|
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
|
+
|
|
221
261
|
it("iecp.v20210914.DeleteEdgeUnitPod", async function () {
|
|
222
262
|
try {
|
|
223
263
|
const data = await client.DeleteEdgeUnitPod({})
|
|
@@ -258,6 +298,16 @@ it("iecp.v20210914.DeleteEdgeNodeGroup", async function () {
|
|
|
258
298
|
}
|
|
259
299
|
})
|
|
260
300
|
|
|
301
|
+
it("iecp.v20210914.CreateIotDevice", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.CreateIotDevice({})
|
|
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
|
+
|
|
261
311
|
it("iecp.v20210914.DescribeEdgeAgentNodeInstaller", async function () {
|
|
262
312
|
try {
|
|
263
313
|
const data = await client.DescribeEdgeAgentNodeInstaller({})
|
|
@@ -458,6 +508,16 @@ it("iecp.v20210914.DescribeNamespaceResources", async function () {
|
|
|
458
508
|
}
|
|
459
509
|
})
|
|
460
510
|
|
|
511
|
+
it("iecp.v20210914.ModifyIotDevice", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.ModifyIotDevice({})
|
|
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
|
+
|
|
461
521
|
it("iecp.v20210914.DescribeConfigMapYamlError", async function () {
|
|
462
522
|
try {
|
|
463
523
|
const data = await client.DescribeConfigMapYamlError({})
|
|
@@ -508,6 +568,16 @@ it("iecp.v20210914.DescribeEdgeNode", async function () {
|
|
|
508
568
|
}
|
|
509
569
|
})
|
|
510
570
|
|
|
571
|
+
it("iecp.v20210914.DeleteIotDevice", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.DeleteIotDevice({})
|
|
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
|
+
|
|
511
581
|
it("iecp.v20210914.DescribeApplicationYamlError", async function () {
|
|
512
582
|
try {
|
|
513
583
|
const data = await client.DescribeApplicationYamlError({})
|
|
@@ -548,6 +618,16 @@ it("iecp.v20210914.CreateEdgeUnitCloud", async function () {
|
|
|
548
618
|
}
|
|
549
619
|
})
|
|
550
620
|
|
|
621
|
+
it("iecp.v20210914.DeleteSecret", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.DeleteSecret({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
551
631
|
it("iecp.v20210914.CreateEdgeUnitApplicationVisualization", async function () {
|
|
552
632
|
try {
|
|
553
633
|
const data = await client.CreateEdgeUnitApplicationVisualization({})
|
|
@@ -558,6 +638,16 @@ it("iecp.v20210914.CreateEdgeUnitApplicationVisualization", async function () {
|
|
|
558
638
|
}
|
|
559
639
|
})
|
|
560
640
|
|
|
641
|
+
it("iecp.v20210914.SetRouteOnOff", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.SetRouteOnOff({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
561
651
|
it("iecp.v20210914.DescribeEdgeUnitNodeGroup", async function () {
|
|
562
652
|
try {
|
|
563
653
|
const data = await client.DescribeEdgeUnitNodeGroup({})
|
|
@@ -568,6 +658,16 @@ it("iecp.v20210914.DescribeEdgeUnitNodeGroup", async function () {
|
|
|
568
658
|
}
|
|
569
659
|
})
|
|
570
660
|
|
|
661
|
+
it("iecp.v20210914.DeleteMessageRoute", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DeleteMessageRoute({})
|
|
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
|
+
|
|
571
671
|
it("iecp.v20210914.ApplyMarketComponent", async function () {
|
|
572
672
|
try {
|
|
573
673
|
const data = await client.ApplyMarketComponent({})
|
|
@@ -678,9 +778,9 @@ it("iecp.v20210914.DescribeEdgeUnitDeployGrid", async function () {
|
|
|
678
778
|
}
|
|
679
779
|
})
|
|
680
780
|
|
|
681
|
-
it("iecp.v20210914.
|
|
781
|
+
it("iecp.v20210914.BuildMessageRoute", async function () {
|
|
682
782
|
try {
|
|
683
|
-
const data = await client.
|
|
783
|
+
const data = await client.BuildMessageRoute({})
|
|
684
784
|
expect(data).to.be.ok
|
|
685
785
|
} catch(error) {
|
|
686
786
|
expect(error.requestId).to.be.ok
|
|
@@ -738,6 +838,16 @@ it("iecp.v20210914.DeleteNamespace", async function () {
|
|
|
738
838
|
}
|
|
739
839
|
})
|
|
740
840
|
|
|
841
|
+
it("iecp.v20210914.DescribeMessageRouteList", async function () {
|
|
842
|
+
try {
|
|
843
|
+
const data = await client.DescribeMessageRouteList({})
|
|
844
|
+
expect(data).to.be.ok
|
|
845
|
+
} catch(error) {
|
|
846
|
+
expect(error.requestId).to.be.ok
|
|
847
|
+
expect(error.code).to.be.ok
|
|
848
|
+
}
|
|
849
|
+
})
|
|
850
|
+
|
|
741
851
|
it("iecp.v20210914.ModifyEdgeNodeLabels", async function () {
|
|
742
852
|
try {
|
|
743
853
|
const data = await client.ModifyEdgeNodeLabels({})
|
|
@@ -878,6 +988,16 @@ it("iecp.v20210914.CreateEdgeNodeBatch", async function () {
|
|
|
878
988
|
}
|
|
879
989
|
})
|
|
880
990
|
|
|
991
|
+
it("iecp.v20210914.CreateMessageRoute", async function () {
|
|
992
|
+
try {
|
|
993
|
+
const data = await client.CreateMessageRoute({})
|
|
994
|
+
expect(data).to.be.ok
|
|
995
|
+
} catch(error) {
|
|
996
|
+
expect(error.requestId).to.be.ok
|
|
997
|
+
expect(error.code).to.be.ok
|
|
998
|
+
}
|
|
999
|
+
})
|
|
1000
|
+
|
|
881
1001
|
it("iecp.v20210914.DescribeYeheResourceLimit", async function () {
|
|
882
1002
|
try {
|
|
883
1003
|
const data = await client.DescribeYeheResourceLimit({})
|
|
@@ -138,6 +138,16 @@ it("iotcloud.v20180614.UpdateDeviceAvailableState", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("iotcloud.v20180614.DescribeProduct", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeProduct({})
|
|
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("iotcloud.v20180614.CreateTopicRule", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.CreateTopicRule({})
|
|
@@ -478,6 +488,16 @@ it("iotcloud.v20180614.DescribeDeviceResources", async function () {
|
|
|
478
488
|
}
|
|
479
489
|
})
|
|
480
490
|
|
|
491
|
+
it("iotcloud.v20180614.UpdateProductDynamicRegister", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.UpdateProductDynamicRegister({})
|
|
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
|
+
|
|
481
501
|
it("iotcloud.v20180614.ListLog", async function () {
|
|
482
502
|
try {
|
|
483
503
|
const data = await client.ListLog({})
|