tencentcloud-sdk-nodejs 4.0.573 → 4.0.574
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 +191 -0
- package/SERVICE_CHANGELOG.md +349 -48
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +13 -12
- package/src/services/billing/v20180709/billing_models.ts +4 -4
- package/src/services/cbs/v20170312/cbs_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +4 -4
- package/src/services/cfw/v20190904/cfw_client.ts +4 -3
- package/src/services/cfw/v20190904/cfw_models.ts +109 -75
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +5 -5
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +116 -104
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +32 -0
- package/src/services/cls/v20201016/cls_models.ts +17 -13
- package/src/services/essbasic/v20210526/essbasic_models.ts +26 -3
- package/src/services/lcic/v20220817/lcic_models.ts +2 -2
- package/src/services/pts/v20210728/pts_client.ts +27 -14
- package/src/services/pts/v20210728/pts_models.ts +260 -172
- package/src/services/teo/v20220901/teo_client.ts +8 -4
- package/src/services/teo/v20220901/teo_models.ts +209 -52
- package/src/services/tke/v20180525/tke_models.ts +9 -4
- package/src/services/trro/v20220325/trro_client.ts +158 -83
- package/src/services/trro/v20220325/trro_models.ts +380 -12
- package/src/services/waf/v20180125/waf_client.ts +14 -0
- package/src/services/waf/v20180125/waf_models.ts +180 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +11 -10
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -4
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +91 -61
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +5 -5
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +41 -37
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +60 -54
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +28 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +25 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -2
- package/tencentcloud/services/pts/v20210728/pts_client.d.ts +9 -5
- package/tencentcloud/services/pts/v20210728/pts_client.js +12 -6
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +221 -146
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +180 -46
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -4
- package/tencentcloud/services/trro/v20220325/trro_client.d.ts +53 -29
- package/tencentcloud/services/trro/v20220325/trro_client.js +78 -42
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +321 -10
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +149 -0
- package/test/cloudstudio.v20210524.test.js +46 -36
- package/test/pts.v20210728.test.js +14 -4
- package/test/trro.v20220325.test.js +88 -28
- package/test/waf.v20180125.test.js +10 -0
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.cloudstudio.v20210524.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cloudstudio.v20210524.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("cloudstudio.v20210524.
|
|
21
|
+
it("cloudstudio.v20210524.DescribeCustomizeTemplatesById", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeCustomizeTemplatesById({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceStatus", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("cloudstudio.v20210524.
|
|
31
|
+
it("cloudstudio.v20210524.CreateWorkspaceTemporaryToken", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateWorkspaceTemporaryToken({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("cloudstudio.v20210524.DescribeCustomizeTemplatesById", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("cloudstudio.v20210524.
|
|
41
|
+
it("cloudstudio.v20210524.ModifyCustomizeTemplatesPartById", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.ModifyCustomizeTemplatesPartById({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("cloudstudio.v20210524.CreateWorkspaceByVersionControl", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("cloudstudio.v20210524.
|
|
51
|
+
it("cloudstudio.v20210524.DescribeWorkspaceIsReady", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DescribeWorkspaceIsReady({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("cloudstudio.v20210524.CreateWorkspaceByTemplate", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("cloudstudio.v20210524.
|
|
61
|
+
it("cloudstudio.v20210524.RunWorkspace", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.RunWorkspace({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("cloudstudio.v20210524.CreateWorkspaceTemporaryToken", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("cloudstudio.v20210524.
|
|
71
|
+
it("cloudstudio.v20210524.DescribeCustomizeTemplates", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeCustomizeTemplates({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("cloudstudio.v20210524.RecoverWorkspace", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("cloudstudio.v20210524.
|
|
91
|
+
it("cloudstudio.v20210524.CreateWorkspaceByVersionControl", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.CreateWorkspaceByVersionControl({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceStatusList", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("cloudstudio.v20210524.
|
|
101
|
+
it("cloudstudio.v20210524.ModifyCustomizeTemplateVersionControl", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.ModifyCustomizeTemplateVersionControl({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("cloudstudio.v20210524.RemoveWorkspace", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("cloudstudio.v20210524.
|
|
111
|
+
it("cloudstudio.v20210524.CreateWorkspaceByAgent", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.CreateWorkspaceByAgent({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceNameExist", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("cloudstudio.v20210524.
|
|
121
|
+
it("cloudstudio.v20210524.RemoveWorkspace", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.RemoveWorkspace({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("cloudstudio.v20210524.ModifyCustomizeTemplatesFullById", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("cloudstudio.v20210524.
|
|
131
|
+
it("cloudstudio.v20210524.DescribeWorkspaceEnvList", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeWorkspaceEnvList({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("cloudstudio.v20210524.DeleteCustomizeTemplatesById", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("cloudstudio.v20210524.
|
|
151
|
+
it("cloudstudio.v20210524.StopWorkspace", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.StopWorkspace({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +158,9 @@ it("cloudstudio.v20210524.ModifyCustomizeTemplatesPartById", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("cloudstudio.v20210524.
|
|
161
|
+
it("cloudstudio.v20210524.DescribeWorkspaceStatus", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeWorkspaceStatus({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("cloudstudio.v20210524.DescribeCustomizeTemplatesPresets", async function ()
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("cloudstudio.v20210524.
|
|
181
|
+
it("cloudstudio.v20210524.CreateCustomizeTemplates", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.CreateCustomizeTemplates({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceEnvList", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("cloudstudio.v20210524.
|
|
191
|
+
it("cloudstudio.v20210524.ModifyCustomizeTemplatesFullById", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.ModifyCustomizeTemplatesFullById({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,9 @@ it("cloudstudio.v20210524.ModifyWorkspaceAttributes", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("cloudstudio.v20210524.
|
|
201
|
+
it("cloudstudio.v20210524.CreateWorkspaceByTemplate", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.CreateWorkspaceByTemplate({})
|
|
204
204
|
expect(data).to.be.ok
|
|
205
205
|
} catch(error) {
|
|
206
206
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +208,9 @@ it("cloudstudio.v20210524.CreateWorkspaceByAgent", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
-
it("cloudstudio.v20210524.
|
|
211
|
+
it("cloudstudio.v20210524.DescribeWorkspaceStatusList", async function () {
|
|
212
212
|
try {
|
|
213
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeWorkspaceStatusList({})
|
|
214
214
|
expect(data).to.be.ok
|
|
215
215
|
} catch(error) {
|
|
216
216
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +218,19 @@ it("cloudstudio.v20210524.CreateCustomizeTemplates", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("cloudstudio.v20210524.
|
|
221
|
+
it("cloudstudio.v20210524.DescribeWorkspaceNameExist", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeWorkspaceNameExist({})
|
|
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("cloudstudio.v20210524.ModifyWorkspaceAttributes", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyWorkspaceAttributes({})
|
|
224
234
|
expect(data).to.be.ok
|
|
225
235
|
} catch(error) {
|
|
226
236
|
expect(error.requestId).to.be.ok
|
|
@@ -128,6 +128,16 @@ it("pts.v20210728.DeleteFiles", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("pts.v20210728.DescribeRegions", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeRegions({})
|
|
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
|
+
|
|
131
141
|
it("pts.v20210728.DescribeCheckSummary", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DescribeCheckSummary({})
|
|
@@ -288,9 +298,9 @@ it("pts.v20210728.DeleteJobs", async function () {
|
|
|
288
298
|
}
|
|
289
299
|
})
|
|
290
300
|
|
|
291
|
-
it("pts.v20210728.
|
|
301
|
+
it("pts.v20210728.DescribeErrorSummary", async function () {
|
|
292
302
|
try {
|
|
293
|
-
const data = await client.
|
|
303
|
+
const data = await client.DescribeErrorSummary({})
|
|
294
304
|
expect(data).to.be.ok
|
|
295
305
|
} catch(error) {
|
|
296
306
|
expect(error.requestId).to.be.ok
|
|
@@ -298,9 +308,9 @@ it("pts.v20210728.DescribeNormalLogs", async function () {
|
|
|
298
308
|
}
|
|
299
309
|
})
|
|
300
310
|
|
|
301
|
-
it("pts.v20210728.
|
|
311
|
+
it("pts.v20210728.DescribeNormalLogs", async function () {
|
|
302
312
|
try {
|
|
303
|
-
const data = await client.
|
|
313
|
+
const data = await client.DescribeNormalLogs({})
|
|
304
314
|
expect(data).to.be.ok
|
|
305
315
|
} catch(error) {
|
|
306
316
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,56 @@ const client = new tencentcloud.trro.v20220325.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("trro.v20220325.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("trro.v20220325.DescribeProjectInfo", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeProjectInfo({})
|
|
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("trro.v20220325.GetDevices", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.GetDevices({})
|
|
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("trro.v20220325.ModifyDevice", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ModifyDevice({})
|
|
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("trro.v20220325.DescribePolicy", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribePolicy({})
|
|
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("trro.v20220325.GetLicenseStat", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.GetLicenseStat({})
|
|
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
|
+
|
|
21
71
|
it("trro.v20220325.DescribeSessionStatisticsByInterval", async function () {
|
|
22
72
|
try {
|
|
23
73
|
const data = await client.DescribeSessionStatisticsByInterval({})
|
|
@@ -28,6 +78,16 @@ it("trro.v20220325.DescribeSessionStatisticsByInterval", async function () {
|
|
|
28
78
|
}
|
|
29
79
|
})
|
|
30
80
|
|
|
81
|
+
it("trro.v20220325.BoundLicenses", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.BoundLicenses({})
|
|
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
|
+
|
|
31
91
|
it("trro.v20220325.BatchDeletePolicy", async function () {
|
|
32
92
|
try {
|
|
33
93
|
const data = await client.BatchDeletePolicy({})
|
|
@@ -38,9 +98,9 @@ it("trro.v20220325.BatchDeletePolicy", async function () {
|
|
|
38
98
|
}
|
|
39
99
|
})
|
|
40
100
|
|
|
41
|
-
it("trro.v20220325.
|
|
101
|
+
it("trro.v20220325.GetLicenses", async function () {
|
|
42
102
|
try {
|
|
43
|
-
const data = await client.
|
|
103
|
+
const data = await client.GetLicenses({})
|
|
44
104
|
expect(data).to.be.ok
|
|
45
105
|
} catch(error) {
|
|
46
106
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +108,9 @@ it("trro.v20220325.CreateDevice", async function () {
|
|
|
48
108
|
}
|
|
49
109
|
})
|
|
50
110
|
|
|
51
|
-
it("trro.v20220325.
|
|
111
|
+
it("trro.v20220325.DescribeDeviceList", async function () {
|
|
52
112
|
try {
|
|
53
|
-
const data = await client.
|
|
113
|
+
const data = await client.DescribeDeviceList({})
|
|
54
114
|
expect(data).to.be.ok
|
|
55
115
|
} catch(error) {
|
|
56
116
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +118,9 @@ it("trro.v20220325.DescribeSessionStatistics", async function () {
|
|
|
58
118
|
}
|
|
59
119
|
})
|
|
60
120
|
|
|
61
|
-
it("trro.v20220325.
|
|
121
|
+
it("trro.v20220325.ModifyProject", async function () {
|
|
62
122
|
try {
|
|
63
|
-
const data = await client.
|
|
123
|
+
const data = await client.ModifyProject({})
|
|
64
124
|
expect(data).to.be.ok
|
|
65
125
|
} catch(error) {
|
|
66
126
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +128,9 @@ it("trro.v20220325.BatchDeleteDevices", async function () {
|
|
|
68
128
|
}
|
|
69
129
|
})
|
|
70
130
|
|
|
71
|
-
it("trro.v20220325.
|
|
131
|
+
it("trro.v20220325.DescribeDeviceSessionDetails", async function () {
|
|
72
132
|
try {
|
|
73
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeDeviceSessionDetails({})
|
|
74
134
|
expect(data).to.be.ok
|
|
75
135
|
} catch(error) {
|
|
76
136
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +148,9 @@ it("trro.v20220325.ModifyPolicy", async function () {
|
|
|
88
148
|
}
|
|
89
149
|
})
|
|
90
150
|
|
|
91
|
-
it("trro.v20220325.
|
|
151
|
+
it("trro.v20220325.CreateDevice", async function () {
|
|
92
152
|
try {
|
|
93
|
-
const data = await client.
|
|
153
|
+
const data = await client.CreateDevice({})
|
|
94
154
|
expect(data).to.be.ok
|
|
95
155
|
} catch(error) {
|
|
96
156
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +158,9 @@ it("trro.v20220325.DescribeProjectInfo", async function () {
|
|
|
98
158
|
}
|
|
99
159
|
})
|
|
100
160
|
|
|
101
|
-
it("trro.v20220325.
|
|
161
|
+
it("trro.v20220325.BatchDeleteDevices", async function () {
|
|
102
162
|
try {
|
|
103
|
-
const data = await client.
|
|
163
|
+
const data = await client.BatchDeleteDevices({})
|
|
104
164
|
expect(data).to.be.ok
|
|
105
165
|
} catch(error) {
|
|
106
166
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +168,9 @@ it("trro.v20220325.CreateProject", async function () {
|
|
|
108
168
|
}
|
|
109
169
|
})
|
|
110
170
|
|
|
111
|
-
it("trro.v20220325.
|
|
171
|
+
it("trro.v20220325.DescribeSessionStatistics", async function () {
|
|
112
172
|
try {
|
|
113
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeSessionStatistics({})
|
|
114
174
|
expect(data).to.be.ok
|
|
115
175
|
} catch(error) {
|
|
116
176
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +178,9 @@ it("trro.v20220325.DescribeDeviceInfo", async function () {
|
|
|
118
178
|
}
|
|
119
179
|
})
|
|
120
180
|
|
|
121
|
-
it("trro.v20220325.
|
|
181
|
+
it("trro.v20220325.DescribeDeviceInfo", async function () {
|
|
122
182
|
try {
|
|
123
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeDeviceInfo({})
|
|
124
184
|
expect(data).to.be.ok
|
|
125
185
|
} catch(error) {
|
|
126
186
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +188,9 @@ it("trro.v20220325.DeleteProject", async function () {
|
|
|
128
188
|
}
|
|
129
189
|
})
|
|
130
190
|
|
|
131
|
-
it("trro.v20220325.
|
|
191
|
+
it("trro.v20220325.DescribeDeviceSessionList", async function () {
|
|
132
192
|
try {
|
|
133
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeDeviceSessionList({})
|
|
134
194
|
expect(data).to.be.ok
|
|
135
195
|
} catch(error) {
|
|
136
196
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +198,9 @@ it("trro.v20220325.DescribeDeviceList", async function () {
|
|
|
138
198
|
}
|
|
139
199
|
})
|
|
140
200
|
|
|
141
|
-
it("trro.v20220325.
|
|
201
|
+
it("trro.v20220325.CreateProject", async function () {
|
|
142
202
|
try {
|
|
143
|
-
const data = await client.
|
|
203
|
+
const data = await client.CreateProject({})
|
|
144
204
|
expect(data).to.be.ok
|
|
145
205
|
} catch(error) {
|
|
146
206
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +208,9 @@ it("trro.v20220325.ModifyProject", async function () {
|
|
|
148
208
|
}
|
|
149
209
|
})
|
|
150
210
|
|
|
151
|
-
it("trro.v20220325.
|
|
211
|
+
it("trro.v20220325.DescribeRecentSessionList", async function () {
|
|
152
212
|
try {
|
|
153
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeRecentSessionList({})
|
|
154
214
|
expect(data).to.be.ok
|
|
155
215
|
} catch(error) {
|
|
156
216
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +218,9 @@ it("trro.v20220325.DescribeProjectList", async function () {
|
|
|
158
218
|
}
|
|
159
219
|
})
|
|
160
220
|
|
|
161
|
-
it("trro.v20220325.
|
|
221
|
+
it("trro.v20220325.GetDeviceLicense", async function () {
|
|
162
222
|
try {
|
|
163
|
-
const data = await client.
|
|
223
|
+
const data = await client.GetDeviceLicense({})
|
|
164
224
|
expect(data).to.be.ok
|
|
165
225
|
} catch(error) {
|
|
166
226
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +228,9 @@ it("trro.v20220325.DescribePolicy", async function () {
|
|
|
168
228
|
}
|
|
169
229
|
})
|
|
170
230
|
|
|
171
|
-
it("trro.v20220325.
|
|
231
|
+
it("trro.v20220325.DeleteProject", async function () {
|
|
172
232
|
try {
|
|
173
|
-
const data = await client.
|
|
233
|
+
const data = await client.DeleteProject({})
|
|
174
234
|
expect(data).to.be.ok
|
|
175
235
|
} catch(error) {
|
|
176
236
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +238,9 @@ it("trro.v20220325.ModifyDevice", async function () {
|
|
|
178
238
|
}
|
|
179
239
|
})
|
|
180
240
|
|
|
181
|
-
it("trro.v20220325.
|
|
241
|
+
it("trro.v20220325.DescribeProjectList", async function () {
|
|
182
242
|
try {
|
|
183
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeProjectList({})
|
|
184
244
|
expect(data).to.be.ok
|
|
185
245
|
} catch(error) {
|
|
186
246
|
expect(error.requestId).to.be.ok
|
|
@@ -368,6 +368,16 @@ it("waf.v20180125.DeleteDownloadRecord", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
+
it("waf.v20180125.CreateHost", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.CreateHost({})
|
|
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
|
+
|
|
371
381
|
it("waf.v20180125.DeleteSession", async function () {
|
|
372
382
|
try {
|
|
373
383
|
const data = await client.DeleteSession({})
|