tencentcloud-sdk-nodejs 4.0.320 → 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 +177 -0
- package/SERVICE_CHANGELOG.md +405 -0
- package/package.json +1 -1
- package/products.md +39 -39
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +28 -21
- package/src/services/bmvpc/v20180625/bmvpc_models.ts +2 -2
- package/src/services/captcha/v20190722/captcha_client.ts +2 -2
- package/src/services/captcha/v20190722/captcha_models.ts +4 -4
- package/src/services/cdb/v20170320/cdb_models.ts +16 -1
- package/src/services/cdn/v20180606/cdn_client.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +57 -35
- 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 +469 -164
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +8 -3
- package/src/services/ecdn/v20191012/ecdn_client.ts +1 -1
- package/src/services/ecdn/v20191012/ecdn_models.ts +2 -2
- 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/lighthouse/v20200324/lighthouse_models.ts +5 -0
- package/src/services/live/v20180801/live_client.ts +3 -2
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- 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/tke/v20180525/tke_models.ts +12 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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/bmvpc/v20180625/bmvpc_models.d.ts +2 -2
- 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/cdb/v20170320/cdb_models.d.ts +13 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +54 -34
- 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 +408 -150
- 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 +7 -3
- 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/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/lighthouse/v20200324/lighthouse_models.d.ts +4 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -0
- package/tencentcloud/services/live/v20180801/live_client.js +1 -0
- 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 +1 -1
- 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/tke/v20180525/tke_models.d.ts +10 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/iecp.v20210914.test.js +122 -2
- package/test/tag.v20180813.test.js +116 -36
|
@@ -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({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.tag.v20180813.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tag.v20180813.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tag.v20180813.DeleteTags", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteTags({})
|
|
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
|
+
|
|
21
31
|
it("tag.v20180813.DescribeResourceTagsByTagKeys", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeResourceTagsByTagKeys({})
|
|
@@ -28,9 +38,9 @@ it("tag.v20180813.DescribeResourceTagsByTagKeys", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
31
|
-
it("tag.v20180813.
|
|
41
|
+
it("tag.v20180813.GetTagValues", async function () {
|
|
32
42
|
try {
|
|
33
|
-
const data = await client.
|
|
43
|
+
const data = await client.GetTagValues({})
|
|
34
44
|
expect(data).to.be.ok
|
|
35
45
|
} catch(error) {
|
|
36
46
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +48,9 @@ it("tag.v20180813.DescribeTagValuesSeq", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
41
|
-
it("tag.v20180813.
|
|
51
|
+
it("tag.v20180813.DescribeResourceTagsByResourceIds", async function () {
|
|
42
52
|
try {
|
|
43
|
-
const data = await client.
|
|
53
|
+
const data = await client.DescribeResourceTagsByResourceIds({})
|
|
44
54
|
expect(data).to.be.ok
|
|
45
55
|
} catch(error) {
|
|
46
56
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +58,9 @@ it("tag.v20180813.DetachResourcesTag", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
51
|
-
it("tag.v20180813.
|
|
61
|
+
it("tag.v20180813.UpdateResourceTagValue", async function () {
|
|
52
62
|
try {
|
|
53
|
-
const data = await client.
|
|
63
|
+
const data = await client.UpdateResourceTagValue({})
|
|
54
64
|
expect(data).to.be.ok
|
|
55
65
|
} catch(error) {
|
|
56
66
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +68,59 @@ it("tag.v20180813.DescribeTagValues", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
61
|
-
it("tag.v20180813.
|
|
71
|
+
it("tag.v20180813.DescribeResourceTagsByResourceIdsSeq", async function () {
|
|
62
72
|
try {
|
|
63
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeResourceTagsByResourceIdsSeq({})
|
|
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("tag.v20180813.GetTags", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.GetTags({})
|
|
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("tag.v20180813.ModifyResourcesTagValue", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyResourcesTagValue({})
|
|
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("tag.v20180813.DescribeResourcesByTags", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeResourcesByTags({})
|
|
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("tag.v20180813.DeleteTag", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DeleteTag({})
|
|
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("tag.v20180813.GetResources", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.GetResources({})
|
|
64
124
|
expect(data).to.be.ok
|
|
65
125
|
} catch(error) {
|
|
66
126
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +138,9 @@ it("tag.v20180813.DescribeResourceTags", async function () {
|
|
|
78
138
|
}
|
|
79
139
|
})
|
|
80
140
|
|
|
81
|
-
it("tag.v20180813.
|
|
141
|
+
it("tag.v20180813.GetTagKeys", async function () {
|
|
82
142
|
try {
|
|
83
|
-
const data = await client.
|
|
143
|
+
const data = await client.GetTagKeys({})
|
|
84
144
|
expect(data).to.be.ok
|
|
85
145
|
} catch(error) {
|
|
86
146
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +148,9 @@ it("tag.v20180813.ModifyResourceTags", async function () {
|
|
|
88
148
|
}
|
|
89
149
|
})
|
|
90
150
|
|
|
91
|
-
it("tag.v20180813.
|
|
151
|
+
it("tag.v20180813.DescribeTagsSeq", async function () {
|
|
92
152
|
try {
|
|
93
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeTagsSeq({})
|
|
94
154
|
expect(data).to.be.ok
|
|
95
155
|
} catch(error) {
|
|
96
156
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +158,9 @@ it("tag.v20180813.DescribeTagKeys", async function () {
|
|
|
98
158
|
}
|
|
99
159
|
})
|
|
100
160
|
|
|
101
|
-
it("tag.v20180813.
|
|
161
|
+
it("tag.v20180813.AddResourceTag", async function () {
|
|
102
162
|
try {
|
|
103
|
-
const data = await client.
|
|
163
|
+
const data = await client.AddResourceTag({})
|
|
104
164
|
expect(data).to.be.ok
|
|
105
165
|
} catch(error) {
|
|
106
166
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +168,9 @@ it("tag.v20180813.UpdateResourceTagValue", async function () {
|
|
|
108
168
|
}
|
|
109
169
|
})
|
|
110
170
|
|
|
111
|
-
it("tag.v20180813.
|
|
171
|
+
it("tag.v20180813.AttachResourcesTag", async function () {
|
|
112
172
|
try {
|
|
113
|
-
const data = await client.
|
|
173
|
+
const data = await client.AttachResourcesTag({})
|
|
114
174
|
expect(data).to.be.ok
|
|
115
175
|
} catch(error) {
|
|
116
176
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +178,9 @@ it("tag.v20180813.DeleteResourceTag", async function () {
|
|
|
118
178
|
}
|
|
119
179
|
})
|
|
120
180
|
|
|
121
|
-
it("tag.v20180813.
|
|
181
|
+
it("tag.v20180813.CreateTag", async function () {
|
|
122
182
|
try {
|
|
123
|
-
const data = await client.
|
|
183
|
+
const data = await client.CreateTag({})
|
|
124
184
|
expect(data).to.be.ok
|
|
125
185
|
} catch(error) {
|
|
126
186
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +188,9 @@ it("tag.v20180813.DescribeResourcesByTagsUnion", async function () {
|
|
|
128
188
|
}
|
|
129
189
|
})
|
|
130
190
|
|
|
131
|
-
it("tag.v20180813.
|
|
191
|
+
it("tag.v20180813.DetachResourcesTag", async function () {
|
|
132
192
|
try {
|
|
133
|
-
const data = await client.
|
|
193
|
+
const data = await client.DetachResourcesTag({})
|
|
134
194
|
expect(data).to.be.ok
|
|
135
195
|
} catch(error) {
|
|
136
196
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +198,9 @@ it("tag.v20180813.DescribeResourceTagsByResourceIdsSeq", async function () {
|
|
|
138
198
|
}
|
|
139
199
|
})
|
|
140
200
|
|
|
141
|
-
it("tag.v20180813.
|
|
201
|
+
it("tag.v20180813.DescribeTagValues", async function () {
|
|
142
202
|
try {
|
|
143
|
-
const data = await client.
|
|
203
|
+
const data = await client.DescribeTagValues({})
|
|
144
204
|
expect(data).to.be.ok
|
|
145
205
|
} catch(error) {
|
|
146
206
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +208,9 @@ it("tag.v20180813.DescribeTags", async function () {
|
|
|
148
208
|
}
|
|
149
209
|
})
|
|
150
210
|
|
|
151
|
-
it("tag.v20180813.
|
|
211
|
+
it("tag.v20180813.TagResources", async function () {
|
|
152
212
|
try {
|
|
153
|
-
const data = await client.
|
|
213
|
+
const data = await client.TagResources({})
|
|
154
214
|
expect(data).to.be.ok
|
|
155
215
|
} catch(error) {
|
|
156
216
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +218,9 @@ it("tag.v20180813.DescribeTagsSeq", async function () {
|
|
|
158
218
|
}
|
|
159
219
|
})
|
|
160
220
|
|
|
161
|
-
it("tag.v20180813.
|
|
221
|
+
it("tag.v20180813.DeleteResourceTag", async function () {
|
|
162
222
|
try {
|
|
163
|
-
const data = await client.
|
|
223
|
+
const data = await client.DeleteResourceTag({})
|
|
164
224
|
expect(data).to.be.ok
|
|
165
225
|
} catch(error) {
|
|
166
226
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +228,9 @@ it("tag.v20180813.DescribeResourcesByTags", async function () {
|
|
|
168
228
|
}
|
|
169
229
|
})
|
|
170
230
|
|
|
171
|
-
it("tag.v20180813.
|
|
231
|
+
it("tag.v20180813.DescribeTags", async function () {
|
|
172
232
|
try {
|
|
173
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeTags({})
|
|
174
234
|
expect(data).to.be.ok
|
|
175
235
|
} catch(error) {
|
|
176
236
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +238,9 @@ it("tag.v20180813.AddResourceTag", async function () {
|
|
|
178
238
|
}
|
|
179
239
|
})
|
|
180
240
|
|
|
181
|
-
it("tag.v20180813.
|
|
241
|
+
it("tag.v20180813.DescribeTagKeys", async function () {
|
|
182
242
|
try {
|
|
183
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeTagKeys({})
|
|
184
244
|
expect(data).to.be.ok
|
|
185
245
|
} catch(error) {
|
|
186
246
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +248,9 @@ it("tag.v20180813.DeleteTag", async function () {
|
|
|
188
248
|
}
|
|
189
249
|
})
|
|
190
250
|
|
|
191
|
-
it("tag.v20180813.
|
|
251
|
+
it("tag.v20180813.UnTagResources", async function () {
|
|
192
252
|
try {
|
|
193
|
-
const data = await client.
|
|
253
|
+
const data = await client.UnTagResources({})
|
|
194
254
|
expect(data).to.be.ok
|
|
195
255
|
} catch(error) {
|
|
196
256
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +258,9 @@ it("tag.v20180813.AttachResourcesTag", async function () {
|
|
|
198
258
|
}
|
|
199
259
|
})
|
|
200
260
|
|
|
201
|
-
it("tag.v20180813.
|
|
261
|
+
it("tag.v20180813.DescribeTagValuesSeq", async function () {
|
|
202
262
|
try {
|
|
203
|
-
const data = await client.
|
|
263
|
+
const data = await client.DescribeTagValuesSeq({})
|
|
204
264
|
expect(data).to.be.ok
|
|
205
265
|
} catch(error) {
|
|
206
266
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +268,29 @@ it("tag.v20180813.CreateTag", async function () {
|
|
|
208
268
|
}
|
|
209
269
|
})
|
|
210
270
|
|
|
211
|
-
it("tag.v20180813.
|
|
271
|
+
it("tag.v20180813.CreateTags", async function () {
|
|
212
272
|
try {
|
|
213
|
-
const data = await client.
|
|
273
|
+
const data = await client.CreateTags({})
|
|
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("tag.v20180813.DescribeResourcesByTagsUnion", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DescribeResourcesByTagsUnion({})
|
|
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("tag.v20180813.ModifyResourceTags", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ModifyResourceTags({})
|
|
214
294
|
expect(data).to.be.ok
|
|
215
295
|
} catch(error) {
|
|
216
296
|
expect(error.requestId).to.be.ok
|