tencentcloud-sdk-nodejs 4.0.737 → 4.0.739
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 +502 -0
- package/SERVICE_CHANGELOG.md +791 -191
- package/package.json +1 -1
- package/products.md +28 -29
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +12 -8
- package/src/services/cdb/v20170320/cdb_models.ts +5 -1
- package/src/services/cloudstudio/index.ts +0 -2
- package/src/services/cvm/v20170312/cvm_client.ts +6 -6
- package/src/services/cvm/v20170312/cvm_models.ts +23 -23
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -6
- package/src/services/dsgc/v20190723/dsgc_models.ts +38 -38
- package/src/services/ess/v20201111/ess_models.ts +8 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +7 -7
- package/src/services/hai/v20230812/hai_models.ts +4 -4
- package/src/services/index.ts +0 -1
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +68 -10
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +539 -291
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +4781 -3669
- package/src/services/ssl/v20191205/ssl_client.ts +1 -1
- package/src/services/tbaas/v20180416/tbaas_client.ts +154 -105
- package/src/services/tbaas/v20180416/tbaas_models.ts +429 -173
- package/src/services/tcss/v20201101/tcss_client.ts +2 -1
- package/src/services/tcss/v20201101/tcss_models.ts +235 -83
- package/src/services/tdmq/v20200217/tdmq_models.ts +4 -4
- package/src/services/tke/v20180525/tke_client.ts +38 -1
- package/src/services/tke/v20180525/tke_models.ts +201 -10
- package/src/services/trocket/v20230308/trocket_client.ts +141 -115
- package/src/services/trocket/v20230308/trocket_models.ts +149 -8
- package/src/services/tse/v20201207/tse_models.ts +41 -31
- package/src/services/vrs/v20200824/vrs_models.ts +4 -0
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +103 -29
- package/src/services/wedata/v20210820/wedata_client.ts +128 -42
- package/src/services/wedata/v20210820/wedata_models.ts +12159 -10128
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +12 -8
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -1
- package/tencentcloud/services/cloudstudio/index.d.ts +0 -4
- package/tencentcloud/services/cloudstudio/index.js +0 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +6 -6
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -6
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +23 -23
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -6
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +38 -38
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -7
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +4 -4
- package/tencentcloud/services/index.d.ts +0 -1
- package/tencentcloud/services/index.js +0 -2
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +67 -10
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +97 -17
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +144 -24
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +4674 -3610
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +1 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +51 -35
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +75 -51
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +412 -165
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +234 -83
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -4
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +194 -10
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +55 -47
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +78 -66
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +143 -8
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +41 -31
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +103 -29
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +28 -8
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +40 -10
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +11677 -9682
- package/test/sqlserver.v20180328.test.js +216 -16
- package/test/tbaas.v20180416.test.js +74 -34
- package/test/tke.v20180525.test.js +30 -0
- package/test/trocket.v20230308.test.js +58 -38
- package/test/wedata.v20210820.test.js +56 -6
- package/src/services/casb/index.ts +0 -5
- package/src/services/casb/v20200507/casb_client.ts +0 -51
- package/src/services/casb/v20200507/casb_models.ts +0 -70
- package/src/services/casb/v20200507/index.ts +0 -6
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +0 -312
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +0 -1335
- package/src/services/cloudstudio/v20210524/index.ts +0 -6
- package/tencentcloud/services/casb/index.d.ts +0 -6
- package/tencentcloud/services/casb/index.js +0 -7
- package/tencentcloud/services/casb/v20200507/casb_client.d.ts +0 -21
- package/tencentcloud/services/casb/v20200507/casb_client.js +0 -44
- package/tencentcloud/services/casb/v20200507/casb_models.d.ts +0 -51
- package/tencentcloud/services/casb/v20200507/casb_models.js +0 -18
- package/tencentcloud/services/casb/v20200507/index.d.ts +0 -6
- package/tencentcloud/services/casb/v20200507/index.js +0 -9
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +0 -99
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +0 -164
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -1259
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +0 -18
- package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +0 -6
- package/tencentcloud/services/cloudstudio/v20210524/index.js +0 -9
- package/test/casb.v20200507.test.js +0 -31
- package/test/cloudstudio.v20210524.test.js +0 -241
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.trocket.v20230308.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("trocket.v20230308.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("trocket.v20230308.
|
|
21
|
+
it("trocket.v20230308.ModifyTopic", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.ModifyTopic({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("trocket.v20230308.DescribeTopicStatsOp", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("trocket.v20230308.
|
|
31
|
+
it("trocket.v20230308.CreateRole", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateRole({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("trocket.v20230308.DescribeConsumerGroup", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("trocket.v20230308.
|
|
41
|
+
it("trocket.v20230308.ImportSourceClusterConsumerGroups", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.ImportSourceClusterConsumerGroups({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("trocket.v20230308.CreateTopic", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("trocket.v20230308.
|
|
51
|
+
it("trocket.v20230308.DeleteInstance", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteInstance({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("trocket.v20230308.ModifyTopic", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("trocket.v20230308.
|
|
61
|
+
it("trocket.v20230308.CreateConsumerGroup", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateConsumerGroup({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("trocket.v20230308.DeleteConsumerGroup", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("trocket.v20230308.
|
|
71
|
+
it("trocket.v20230308.DescribeRoleList", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeRoleList({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("trocket.v20230308.DescribeTopicList", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("trocket.v20230308.
|
|
81
|
+
it("trocket.v20230308.DescribeTopicStatsOp", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeTopicStatsOp({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("trocket.v20230308.ModifyConsumerGroup", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("trocket.v20230308.
|
|
91
|
+
it("trocket.v20230308.DeleteConsumerGroup", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.DeleteConsumerGroup({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("trocket.v20230308.CreateInstance", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("trocket.v20230308.
|
|
101
|
+
it("trocket.v20230308.ModifyConsumerGroup", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.ModifyConsumerGroup({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("trocket.v20230308.DescribeInstanceList", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("trocket.v20230308.
|
|
111
|
+
it("trocket.v20230308.DeleteRole", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DeleteRole({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("trocket.v20230308.CreateRole", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("trocket.v20230308.
|
|
121
|
+
it("trocket.v20230308.DescribeConsumerGroup", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeConsumerGroup({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,19 @@ it("trocket.v20230308.DeleteRole", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("trocket.v20230308.
|
|
131
|
+
it("trocket.v20230308.CreateTopic", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.CreateTopic({})
|
|
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
|
+
|
|
141
|
+
it("trocket.v20230308.CreateInstance", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateInstance({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +158,9 @@ it("trocket.v20230308.DescribeInstance", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("trocket.v20230308.
|
|
161
|
+
it("trocket.v20230308.DeleteTopic", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DeleteTopic({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +168,9 @@ it("trocket.v20230308.DeleteInstance", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("trocket.v20230308.
|
|
171
|
+
it("trocket.v20230308.ImportSourceClusterTopics", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.ImportSourceClusterTopics({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +178,9 @@ it("trocket.v20230308.DescribeTopic", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("trocket.v20230308.
|
|
181
|
+
it("trocket.v20230308.DescribeInstanceList", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeInstanceList({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +188,9 @@ it("trocket.v20230308.DeleteTopic", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("trocket.v20230308.
|
|
191
|
+
it("trocket.v20230308.DescribeConsumerGroupList", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeConsumerGroupList({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +198,9 @@ it("trocket.v20230308.CreateConsumerGroup", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("trocket.v20230308.
|
|
201
|
+
it("trocket.v20230308.ModifyRole", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.ModifyRole({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,9 @@ it("trocket.v20230308.DescribeRoleList", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("trocket.v20230308.
|
|
211
|
+
it("trocket.v20230308.DescribeTopic", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeTopic({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +218,19 @@ it("trocket.v20230308.ModifyInstance", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
211
|
-
it("trocket.v20230308.
|
|
221
|
+
it("trocket.v20230308.DescribeTopicList", async function () {
|
|
212
222
|
try {
|
|
213
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeTopicList({})
|
|
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("trocket.v20230308.ModifyInstance", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyInstance({})
|
|
214
234
|
expect(data).to.be.ok
|
|
215
235
|
} catch(error) {
|
|
216
236
|
expect(error.requestId).to.be.ok
|
|
@@ -428,6 +428,16 @@ it("wedata.v20210820.DescribeInstanceLastLog", async function () {
|
|
|
428
428
|
}
|
|
429
429
|
})
|
|
430
430
|
|
|
431
|
+
it("wedata.v20210820.CreateTaskVersionDs", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.CreateTaskVersionDs({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
431
441
|
it("wedata.v20210820.BatchModifyOpsOwners", async function () {
|
|
432
442
|
try {
|
|
433
443
|
const data = await client.BatchModifyOpsOwners({})
|
|
@@ -578,9 +588,9 @@ it("wedata.v20210820.DeleteRuleTemplate", async function () {
|
|
|
578
588
|
}
|
|
579
589
|
})
|
|
580
590
|
|
|
581
|
-
it("wedata.v20210820.
|
|
591
|
+
it("wedata.v20210820.DescribeApproveList", async function () {
|
|
582
592
|
try {
|
|
583
|
-
const data = await client.
|
|
593
|
+
const data = await client.DescribeApproveList({})
|
|
584
594
|
expect(data).to.be.ok
|
|
585
595
|
} catch(error) {
|
|
586
596
|
expect(error.requestId).to.be.ok
|
|
@@ -768,6 +778,16 @@ it("wedata.v20210820.ModifyBaselineTaskAlarmStatus", async function () {
|
|
|
768
778
|
}
|
|
769
779
|
})
|
|
770
780
|
|
|
781
|
+
it("wedata.v20210820.DescribeApproveTypeList", async function () {
|
|
782
|
+
try {
|
|
783
|
+
const data = await client.DescribeApproveTypeList({})
|
|
784
|
+
expect(data).to.be.ok
|
|
785
|
+
} catch(error) {
|
|
786
|
+
expect(error.requestId).to.be.ok
|
|
787
|
+
expect(error.code).to.be.ok
|
|
788
|
+
}
|
|
789
|
+
})
|
|
790
|
+
|
|
771
791
|
it("wedata.v20210820.CommitRuleGroupExecResult", async function () {
|
|
772
792
|
try {
|
|
773
793
|
const data = await client.CommitRuleGroupExecResult({})
|
|
@@ -798,9 +818,9 @@ it("wedata.v20210820.MakeUpOpsTasks", async function () {
|
|
|
798
818
|
}
|
|
799
819
|
})
|
|
800
820
|
|
|
801
|
-
it("wedata.v20210820.
|
|
821
|
+
it("wedata.v20210820.CreateDsFolder", async function () {
|
|
802
822
|
try {
|
|
803
|
-
const data = await client.
|
|
823
|
+
const data = await client.CreateDsFolder({})
|
|
804
824
|
expect(data).to.be.ok
|
|
805
825
|
} catch(error) {
|
|
806
826
|
expect(error.requestId).to.be.ok
|
|
@@ -838,6 +858,16 @@ it("wedata.v20210820.DryRunDIOfflineTask", async function () {
|
|
|
838
858
|
}
|
|
839
859
|
})
|
|
840
860
|
|
|
861
|
+
it("wedata.v20210820.DescribeEventCases", async function () {
|
|
862
|
+
try {
|
|
863
|
+
const data = await client.DescribeEventCases({})
|
|
864
|
+
expect(data).to.be.ok
|
|
865
|
+
} catch(error) {
|
|
866
|
+
expect(error.requestId).to.be.ok
|
|
867
|
+
expect(error.code).to.be.ok
|
|
868
|
+
}
|
|
869
|
+
})
|
|
870
|
+
|
|
841
871
|
it("wedata.v20210820.DescribeDimensionScore", async function () {
|
|
842
872
|
try {
|
|
843
873
|
const data = await client.DescribeDimensionScore({})
|
|
@@ -2058,6 +2088,16 @@ it("wedata.v20210820.DescribeFolderList", async function () {
|
|
|
2058
2088
|
}
|
|
2059
2089
|
})
|
|
2060
2090
|
|
|
2091
|
+
it("wedata.v20210820.ModifyApproveStatus", async function () {
|
|
2092
|
+
try {
|
|
2093
|
+
const data = await client.ModifyApproveStatus({})
|
|
2094
|
+
expect(data).to.be.ok
|
|
2095
|
+
} catch(error) {
|
|
2096
|
+
expect(error.requestId).to.be.ok
|
|
2097
|
+
expect(error.code).to.be.ok
|
|
2098
|
+
}
|
|
2099
|
+
})
|
|
2100
|
+
|
|
2061
2101
|
it("wedata.v20210820.DescribeDataSourceWithoutInfo", async function () {
|
|
2062
2102
|
try {
|
|
2063
2103
|
const data = await client.DescribeDataSourceWithoutInfo({})
|
|
@@ -2208,9 +2248,9 @@ it("wedata.v20210820.DescribeTableLineage", async function () {
|
|
|
2208
2248
|
}
|
|
2209
2249
|
})
|
|
2210
2250
|
|
|
2211
|
-
it("wedata.v20210820.
|
|
2251
|
+
it("wedata.v20210820.BatchCreateTaskVersionDs", async function () {
|
|
2212
2252
|
try {
|
|
2213
|
-
const data = await client.
|
|
2253
|
+
const data = await client.BatchCreateTaskVersionDs({})
|
|
2214
2254
|
expect(data).to.be.ok
|
|
2215
2255
|
} catch(error) {
|
|
2216
2256
|
expect(error.requestId).to.be.ok
|
|
@@ -2508,6 +2548,16 @@ it("wedata.v20210820.ModifyDsFolder", async function () {
|
|
|
2508
2548
|
}
|
|
2509
2549
|
})
|
|
2510
2550
|
|
|
2551
|
+
it("wedata.v20210820.SubmitWorkflow", async function () {
|
|
2552
|
+
try {
|
|
2553
|
+
const data = await client.SubmitWorkflow({})
|
|
2554
|
+
expect(data).to.be.ok
|
|
2555
|
+
} catch(error) {
|
|
2556
|
+
expect(error.requestId).to.be.ok
|
|
2557
|
+
expect(error.code).to.be.ok
|
|
2558
|
+
}
|
|
2559
|
+
})
|
|
2560
|
+
|
|
2511
2561
|
it("wedata.v20210820.DeleteCustomFunction", async function () {
|
|
2512
2562
|
try {
|
|
2513
2563
|
const data = await client.DeleteCustomFunction({})
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
-
import { ClientConfig } from "../../../common/interface"
|
|
20
|
-
import {
|
|
21
|
-
CopyCryptoColumnPolicyRequest,
|
|
22
|
-
CryptoCopyColumnPolicyTableFilter,
|
|
23
|
-
CopyCryptoColumnPolicyResponse,
|
|
24
|
-
} from "./casb_models"
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* casb client
|
|
28
|
-
* @class
|
|
29
|
-
*/
|
|
30
|
-
export class Client extends AbstractClient {
|
|
31
|
-
constructor(clientConfig: ClientConfig) {
|
|
32
|
-
super("casb.tencentcloudapi.com", "2020-05-07", clientConfig)
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* 同region下 根据用户输入的CasbId,MetaDataId 复制策略到DstCasbId,MetaDataId中。
|
|
37
|
-
场景1:
|
|
38
|
-
相同CasbId,不同MetadataId 下策略复制
|
|
39
|
-
场景2:
|
|
40
|
-
不同Casbid,不同MetaDataId 下策略复制
|
|
41
|
-
场景3:
|
|
42
|
-
相同CasbId,相同MetaDataId 且 DatabaseName不同 策略复制
|
|
43
|
-
|
|
44
|
-
*/
|
|
45
|
-
async CopyCryptoColumnPolicy(
|
|
46
|
-
req: CopyCryptoColumnPolicyRequest,
|
|
47
|
-
cb?: (error: string, rep: CopyCryptoColumnPolicyResponse) => void
|
|
48
|
-
): Promise<CopyCryptoColumnPolicyResponse> {
|
|
49
|
-
return this.request("CopyCryptoColumnPolicy", req, cb)
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing,
|
|
11
|
-
* software distributed under the License is distributed on an
|
|
12
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
-
* KIND, either express or implied. See the License for the
|
|
14
|
-
* specific language governing permissions and limitations
|
|
15
|
-
* under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* CopyCryptoColumnPolicy请求参数结构体
|
|
20
|
-
*/
|
|
21
|
-
export interface CopyCryptoColumnPolicyRequest {
|
|
22
|
-
/**
|
|
23
|
-
* 实例Id
|
|
24
|
-
*/
|
|
25
|
-
CasbId: string
|
|
26
|
-
/**
|
|
27
|
-
* 元数据id
|
|
28
|
-
*/
|
|
29
|
-
MetaDataId: string
|
|
30
|
-
/**
|
|
31
|
-
* 目标实例Id 如果和实例Id相同则为同CasbId下的策略复制
|
|
32
|
-
*/
|
|
33
|
-
DstCasbId: string
|
|
34
|
-
/**
|
|
35
|
-
* 目标实例Id 如果和[元数据id]相同则为同元数据下的策略复制
|
|
36
|
-
*/
|
|
37
|
-
DstMetaDataId: string
|
|
38
|
-
/**
|
|
39
|
-
* 筛选来源数据库的表
|
|
40
|
-
*/
|
|
41
|
-
SrcTableFilter?: Array<CryptoCopyColumnPolicyTableFilter>
|
|
42
|
-
/**
|
|
43
|
-
* 复制同元数据下的策略,需要填写目标数据库名
|
|
44
|
-
*/
|
|
45
|
-
DstDatabaseName?: string
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* 策略迁移表信息筛选
|
|
50
|
-
*/
|
|
51
|
-
export interface CryptoCopyColumnPolicyTableFilter {
|
|
52
|
-
/**
|
|
53
|
-
* 数据库名称
|
|
54
|
-
*/
|
|
55
|
-
DatabaseName: string
|
|
56
|
-
/**
|
|
57
|
-
* 表名称
|
|
58
|
-
*/
|
|
59
|
-
TableNameSet?: Array<string>
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* CopyCryptoColumnPolicy返回参数结构体
|
|
64
|
-
*/
|
|
65
|
-
export interface CopyCryptoColumnPolicyResponse {
|
|
66
|
-
/**
|
|
67
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
68
|
-
*/
|
|
69
|
-
RequestId?: string
|
|
70
|
-
}
|