tencentcloud-sdk-nodejs 4.0.695 → 4.0.697
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 +587 -0
- package/SERVICE_CHANGELOG.md +650 -56
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +4 -1
- package/src/services/bi/v20220105/bi_client.ts +249 -3
- package/src/services/bi/v20220105/bi_models.ts +1981 -42
- package/src/services/billing/v20180709/billing_client.ts +57 -6
- package/src/services/billing/v20180709/billing_models.ts +646 -74
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cfw/v20190904/cfw_models.ts +48 -17
- package/src/services/cii/index.ts +2 -2
- package/src/services/clb/v20180317/clb_models.ts +4 -4
- package/src/services/cloudstudio/index.ts +2 -2
- package/src/services/cls/v20201016/cls_models.ts +6 -1
- package/src/services/csip/v20221121/csip_client.ts +1 -1
- package/src/services/csip/v20221121/csip_models.ts +16 -2
- package/src/services/cvm/v20170312/cvm_models.ts +4 -4
- package/src/services/cwp/v20180228/cwp_models.ts +7 -2
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/emr/v20190103/emr_models.ts +5 -5
- package/src/services/ess/v20201111/ess_client.ts +24 -11
- package/src/services/ess/v20201111/ess_models.ts +148 -56
- package/src/services/essbasic/v20210526/essbasic_client.ts +31 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +91 -11
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/lcic/v20220817/lcic_client.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +5 -5
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +4 -1
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/mps/v20190612/mps_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/organization/index.ts +2 -2
- package/src/services/sms/index.ts +2 -2
- package/src/services/sms/v20210111/sms_client.ts +0 -8
- package/src/services/sms/v20210111/sms_models.ts +31 -29
- package/src/services/tat/v20201028/tat_models.ts +5 -3
- package/src/services/tbp/index.ts +2 -2
- package/src/services/teo/v20220901/teo_client.ts +33 -9
- package/src/services/teo/v20220901/teo_models.ts +244 -100
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tmt/v20180321/tmt_client.ts +1 -1
- package/src/services/tmt/v20180321/tmt_models.ts +1 -1
- package/src/services/trocket/v20230308/trocket_client.ts +75 -24
- package/src/services/trocket/v20230308/trocket_models.ts +204 -25
- package/src/services/tse/v20201207/tse_models.ts +36 -6
- package/src/services/tsw/index.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +1 -0
- package/src/services/vpc/v20170312/vpc_models.ts +88 -0
- package/src/services/waf/v20180125/waf_client.ts +2 -0
- package/src/services/waf/v20180125/waf_models.ts +294 -52
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -1
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +77 -1
- package/tencentcloud/services/bi/v20220105/bi_client.js +114 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +1925 -42
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +20 -3
- package/tencentcloud/services/billing/v20180709/billing_client.js +27 -2
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +636 -74
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +48 -17
- package/tencentcloud/services/cii/index.d.ts +4 -4
- package/tencentcloud/services/cii/index.js +2 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
- package/tencentcloud/services/cloudstudio/index.d.ts +4 -4
- package/tencentcloud/services/cloudstudio/index.js +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +6 -1
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +1 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +1 -1
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +16 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +7 -2
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5 -5
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +23 -11
- package/tencentcloud/services/ess/v20201111/ess_client.js +22 -10
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +147 -56
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +28 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +27 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +89 -11
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +5 -5
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +4 -1
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +0 -8
- package/tencentcloud/services/sms/v20210111/sms_client.js +0 -8
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +31 -29
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +5 -3
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +18 -6
- package/tencentcloud/services/teo/v20220901/teo_client.js +19 -5
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +237 -99
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +1 -1
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +1 -1
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +1 -1
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +29 -11
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +39 -13
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +195 -25
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +36 -6
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +87 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +292 -52
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/bi.v20220105.test.js +190 -0
- package/test/billing.v20180709.test.js +40 -0
- package/test/teo.v20220901.test.js +10 -0
- package/test/trocket.v20230308.test.js +46 -6
|
@@ -18,6 +18,66 @@ const client = new tencentcloud.bi.v20220105.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("bi.v20220105.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("bi.v20220105.ModifyDatasource", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyDatasource({})
|
|
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("bi.v20220105.DescribeDatasourceList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeDatasourceList({})
|
|
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("bi.v20220105.CreateDatasource", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateDatasource({})
|
|
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("bi.v20220105.CreateUserRoleProject", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateUserRoleProject({})
|
|
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("bi.v20220105.ModifyDatasourceCloud", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyDatasourceCloud({})
|
|
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("bi.v20220105.ModifyUserRole", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyUserRole({})
|
|
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
|
+
|
|
21
81
|
it("bi.v20220105.CreateEmbedToken", async function () {
|
|
22
82
|
try {
|
|
23
83
|
const data = await client.CreateEmbedToken({})
|
|
@@ -28,6 +88,56 @@ it("bi.v20220105.CreateEmbedToken", async function () {
|
|
|
28
88
|
}
|
|
29
89
|
})
|
|
30
90
|
|
|
91
|
+
it("bi.v20220105.DescribeProjectInfo", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeProjectInfo({})
|
|
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("bi.v20220105.CreateProject", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.CreateProject({})
|
|
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("bi.v20220105.CreateUserRole", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.CreateUserRole({})
|
|
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("bi.v20220105.DescribeUserProjectList", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeUserProjectList({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("bi.v20220105.DeleteDatasource", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DeleteDatasource({})
|
|
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
|
+
|
|
31
141
|
it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
32
142
|
try {
|
|
33
143
|
const data = await client.ApplyEmbedInterval({})
|
|
@@ -38,4 +148,84 @@ it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
|
38
148
|
}
|
|
39
149
|
})
|
|
40
150
|
|
|
151
|
+
it("bi.v20220105.DeleteUserRole", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DeleteUserRole({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
it("bi.v20220105.ModifyUserRoleProject", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ModifyUserRoleProject({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
it("bi.v20220105.ModifyProject", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyProject({})
|
|
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("bi.v20220105.DescribeProjectList", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeProjectList({})
|
|
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("bi.v20220105.DescribeUserRoleList", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeUserRoleList({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("bi.v20220105.CreateDatasourceCloud", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.CreateDatasourceCloud({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
211
|
+
it("bi.v20220105.DeleteUserRoleProject", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DeleteUserRoleProject({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("bi.v20220105.DeleteProject", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.DeleteProject({})
|
|
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
|
+
|
|
41
231
|
})
|
|
@@ -88,6 +88,16 @@ it("billing.v20180709.DescribeVoucherInfo", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("billing.v20180709.DescribeBillResourceSummaryForOrganization", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeBillResourceSummaryForOrganization({})
|
|
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
|
+
|
|
91
101
|
it("billing.v20180709.DescribeBillDetail", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.DescribeBillDetail({})
|
|
@@ -148,6 +158,16 @@ it("billing.v20180709.DescribeDosageCosDetailByDate", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
161
|
+
it("billing.v20180709.DescribeBillDetailForOrganization", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeBillDetailForOrganization({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
151
171
|
it("billing.v20180709.DescribeAccountBalance", async function () {
|
|
152
172
|
try {
|
|
153
173
|
const data = await client.DescribeAccountBalance({})
|
|
@@ -208,6 +228,16 @@ it("billing.v20180709.DescribeBillSummaryByTag", async function () {
|
|
|
208
228
|
}
|
|
209
229
|
})
|
|
210
230
|
|
|
231
|
+
it("billing.v20180709.DescribeBillSummaryForOrganization", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeBillSummaryForOrganization({})
|
|
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
|
+
|
|
211
241
|
it("billing.v20180709.DescribeTagList", async function () {
|
|
212
242
|
try {
|
|
213
243
|
const data = await client.DescribeTagList({})
|
|
@@ -218,6 +248,16 @@ it("billing.v20180709.DescribeTagList", async function () {
|
|
|
218
248
|
}
|
|
219
249
|
})
|
|
220
250
|
|
|
251
|
+
it("billing.v20180709.DescribeBillDownloadUrl", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeBillDownloadUrl({})
|
|
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("billing.v20180709.DeleteAllocationTag", async function () {
|
|
222
262
|
try {
|
|
223
263
|
const data = await client.DeleteAllocationTag({})
|
|
@@ -258,6 +258,16 @@ it("teo.v20220901.DescribeDefaultCertificates", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("teo.v20220901.VerifyOwnership", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.VerifyOwnership({})
|
|
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
|
+
|
|
261
271
|
it("teo.v20220901.DescribeZoneSetting", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.DescribeZoneSetting({})
|
|
@@ -48,6 +48,16 @@ it("trocket.v20230308.CreateTopic", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("trocket.v20230308.ModifyTopic", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ModifyTopic({})
|
|
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("trocket.v20230308.DeleteConsumerGroup", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.DeleteConsumerGroup({})
|
|
@@ -58,6 +68,16 @@ it("trocket.v20230308.DeleteConsumerGroup", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
71
|
+
it("trocket.v20230308.DescribeTopicList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeTopicList({})
|
|
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
|
+
|
|
61
81
|
it("trocket.v20230308.ModifyConsumerGroup", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.ModifyConsumerGroup({})
|
|
@@ -88,9 +108,9 @@ it("trocket.v20230308.DescribeInstanceList", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
91
|
-
it("trocket.v20230308.
|
|
111
|
+
it("trocket.v20230308.CreateRole", async function () {
|
|
92
112
|
try {
|
|
93
|
-
const data = await client.
|
|
113
|
+
const data = await client.CreateRole({})
|
|
94
114
|
expect(data).to.be.ok
|
|
95
115
|
} catch(error) {
|
|
96
116
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +118,19 @@ it("trocket.v20230308.DescribeTopic", async function () {
|
|
|
98
118
|
}
|
|
99
119
|
})
|
|
100
120
|
|
|
101
|
-
it("trocket.v20230308.
|
|
121
|
+
it("trocket.v20230308.DeleteRole", async function () {
|
|
102
122
|
try {
|
|
103
|
-
const data = await client.
|
|
123
|
+
const data = await client.DeleteRole({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("trocket.v20230308.ModifyRole", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.ModifyRole({})
|
|
104
134
|
expect(data).to.be.ok
|
|
105
135
|
} catch(error) {
|
|
106
136
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +158,9 @@ it("trocket.v20230308.DeleteInstance", async function () {
|
|
|
128
158
|
}
|
|
129
159
|
})
|
|
130
160
|
|
|
131
|
-
it("trocket.v20230308.
|
|
161
|
+
it("trocket.v20230308.DescribeTopic", async function () {
|
|
132
162
|
try {
|
|
133
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeTopic({})
|
|
134
164
|
expect(data).to.be.ok
|
|
135
165
|
} catch(error) {
|
|
136
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +188,16 @@ it("trocket.v20230308.CreateConsumerGroup", async function () {
|
|
|
158
188
|
}
|
|
159
189
|
})
|
|
160
190
|
|
|
191
|
+
it("trocket.v20230308.DescribeRoleList", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeRoleList({})
|
|
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
|
+
|
|
161
201
|
it("trocket.v20230308.ModifyInstance", async function () {
|
|
162
202
|
try {
|
|
163
203
|
const data = await client.ModifyInstance({})
|