tencentcloud-sdk-nodejs 4.0.633 → 4.0.635
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 +392 -0
- package/SERVICE_CHANGELOG.md +547 -48
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/index.ts +2 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +2 -2
- package/src/services/asr/v20190614/asr_client.ts +168 -112
- package/src/services/asr/v20190614/asr_models.ts +176 -3
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/ciam/v20220331/ciam_client.ts +156 -56
- package/src/services/ciam/v20220331/ciam_models.ts +403 -36
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cloudstudio/index.ts +2 -2
- package/src/services/cls/v20201016/cls_client.ts +115 -39
- package/src/services/cls/v20201016/cls_models.ts +583 -58
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dlc/v20210125/dlc_client.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +19 -2
- package/src/services/dts/index.ts +2 -2
- package/src/services/eis/index.ts +2 -2
- package/src/services/emr/v20190103/emr_client.ts +60 -21
- package/src/services/emr/v20190103/emr_models.ts +652 -102
- package/src/services/ess/v20201111/ess_models.ts +44 -9
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +3 -2
- package/src/services/iai/index.ts +2 -2
- package/src/services/iotcloud/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/live/v20180801/live_models.ts +18 -0
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/nlp/v20190408/nlp_models.ts +1 -1
- package/src/services/postgres/v20170312/postgres_client.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +57 -23
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +12 -11
- package/src/services/tbp/index.ts +2 -2
- package/src/services/teo/index.ts +2 -2
- package/src/services/thpc/index.ts +4 -4
- package/src/services/trp/v20210515/trp_client.ts +13 -0
- package/src/services/trp/v20210515/trp_models.ts +98 -3
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/src/services/tsw/index.ts +2 -2
- package/src/services/vm/index.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +28 -16
- package/src/services/waf/v20180125/waf_models.ts +33 -13
- package/src/services/wedata/v20210820/wedata_client.ts +9 -3
- package/src/services/wedata/v20210820/wedata_models.ts +293 -32
- 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/ams/index.d.ts +4 -4
- package/tencentcloud/services/ams/index.js +2 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +2 -2
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +70 -48
- package/tencentcloud/services/asr/v20190614/asr_client.js +94 -64
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +166 -3
- 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 +1 -1
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +51 -19
- package/tencentcloud/services/ciam/v20220331/ciam_client.js +75 -27
- package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +383 -36
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cloudstudio/index.d.ts +4 -4
- package/tencentcloud/services/cloudstudio/index.js +2 -2
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +37 -13
- package/tencentcloud/services/cls/v20201016/cls_client.js +54 -18
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +567 -58
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +19 -2
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +17 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +24 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +649 -108
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +44 -9
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +3 -2
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/iotcloud/index.d.ts +4 -4
- package/tencentcloud/services/iotcloud/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -0
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +57 -23
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -11
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +6 -6
- package/tencentcloud/services/thpc/index.js +4 -4
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +95 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +28 -16
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +33 -13
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +1 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +287 -32
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/asr.v20190614.test.js +74 -34
- package/test/ciam.v20220331.test.js +98 -18
- package/test/cls.v20201016.test.js +72 -12
- package/test/emr.v20190103.test.js +34 -4
- package/test/trp.v20210515.test.js +10 -0
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.asr.v20190614.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("asr.v20190614.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("asr.v20190614.
|
|
21
|
+
it("asr.v20190614.UpdateAsrVocab", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.UpdateAsrVocab({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("asr.v20190614.
|
|
31
|
+
it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateAsyncRecognitionTask({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("asr.v20190614.GetAsrVocabList", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("asr.v20190614.
|
|
41
|
+
it("asr.v20190614.GetCustomizationList", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.GetCustomizationList({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("asr.v20190614.DownloadAsrVocab", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("asr.v20190614.
|
|
51
|
+
it("asr.v20190614.GetAsrVocabList", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.GetAsrVocabList({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("asr.v20190614.GetModelInfo", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("asr.v20190614.
|
|
61
|
+
it("asr.v20190614.GetAsrVocab", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.GetAsrVocab({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("asr.v20190614.CreateRecTask", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("asr.v20190614.
|
|
71
|
+
it("asr.v20190614.SetVocabState", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.SetVocabState({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("asr.v20190614.GetAsrVocab", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("asr.v20190614.
|
|
81
|
+
it("asr.v20190614.DownloadAsrVocab", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DownloadAsrVocab({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("asr.v20190614.DescribeTaskStatus", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("asr.v20190614.
|
|
91
|
+
it("asr.v20190614.CreateCustomization", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.CreateCustomization({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("asr.v20190614.ModifyCustomizationState", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("asr.v20190614.
|
|
101
|
+
it("asr.v20190614.DeleteAsrVocab", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.DeleteAsrVocab({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("asr.v20190614.UpdateAsrVocab", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("asr.v20190614.
|
|
111
|
+
it("asr.v20190614.SentenceRecognition", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.SentenceRecognition({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("asr.v20190614.SetVocabState", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("asr.v20190614.
|
|
121
|
+
it("asr.v20190614.CreateRecTask", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.CreateRecTask({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("asr.v20190614.
|
|
131
|
+
it("asr.v20190614.DescribeTaskStatus", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeTaskStatus({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("asr.v20190614.CreateAsrVocab", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("asr.v20190614.
|
|
141
|
+
it("asr.v20190614.VoicePrintEnroll", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.VoicePrintEnroll({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("asr.v20190614.DeleteCustomization", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("asr.v20190614.
|
|
151
|
+
it("asr.v20190614.VoicePrintVerify", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.VoicePrintVerify({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,9 @@ it("asr.v20190614.DescribeAsyncRecognitionTasks", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("asr.v20190614.
|
|
171
|
+
it("asr.v20190614.VoicePrintDelete", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.VoicePrintDelete({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("asr.v20190614.GetCustomizationList", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("asr.v20190614.
|
|
181
|
+
it("asr.v20190614.VoicePrintUpdate", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.VoicePrintUpdate({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,49 @@ it("asr.v20190614.ModifyCustomization", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("asr.v20190614.
|
|
201
|
+
it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.CloseAsyncRecognitionTask({})
|
|
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("asr.v20190614.GetModelInfo", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.GetModelInfo({})
|
|
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("asr.v20190614.ModifyCustomizationState", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifyCustomizationState({})
|
|
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("asr.v20190614.CreateAsrVocab", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CreateAsrVocab({})
|
|
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
|
+
|
|
241
|
+
it("asr.v20190614.DeleteCustomization", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DeleteCustomization({})
|
|
204
244
|
expect(data).to.be.ok
|
|
205
245
|
} catch(error) {
|
|
206
246
|
expect(error.requestId).to.be.ok
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.ciam.v20220331.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ciam.v20220331.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("ciam.v20220331.
|
|
21
|
+
it("ciam.v20220331.UpdateUserStatus", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.UpdateUserStatus({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -38,6 +38,66 @@ it("ciam.v20220331.ListJobs", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("ciam.v20220331.DeleteUserStore", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DeleteUserStore({})
|
|
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("ciam.v20220331.DeleteUserGroups", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DeleteUserGroups({})
|
|
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("ciam.v20220331.UpdateUserStore", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.UpdateUserStore({})
|
|
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("ciam.v20220331.CreateApiImportUserJob", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateApiImportUserJob({})
|
|
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("ciam.v20220331.LinkAccount", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.LinkAccount({})
|
|
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("ciam.v20220331.ResetPassword", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ResetPassword({})
|
|
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
|
+
|
|
41
101
|
it("ciam.v20220331.UpdateUser", async function () {
|
|
42
102
|
try {
|
|
43
103
|
const data = await client.UpdateUser({})
|
|
@@ -58,6 +118,16 @@ it("ciam.v20220331.DescribeUser", async function () {
|
|
|
58
118
|
}
|
|
59
119
|
})
|
|
60
120
|
|
|
121
|
+
it("ciam.v20220331.ListUserGroups", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ListUserGroups({})
|
|
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
|
+
|
|
61
131
|
it("ciam.v20220331.ListUser", async function () {
|
|
62
132
|
try {
|
|
63
133
|
const data = await client.ListUser({})
|
|
@@ -68,9 +138,9 @@ it("ciam.v20220331.ListUser", async function () {
|
|
|
68
138
|
}
|
|
69
139
|
})
|
|
70
140
|
|
|
71
|
-
it("ciam.v20220331.
|
|
141
|
+
it("ciam.v20220331.UpdateUserGroup", async function () {
|
|
72
142
|
try {
|
|
73
|
-
const data = await client.
|
|
143
|
+
const data = await client.UpdateUserGroup({})
|
|
74
144
|
expect(data).to.be.ok
|
|
75
145
|
} catch(error) {
|
|
76
146
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +148,9 @@ it("ciam.v20220331.UpdateUserStatus", async function () {
|
|
|
78
148
|
}
|
|
79
149
|
})
|
|
80
150
|
|
|
81
|
-
it("ciam.v20220331.
|
|
151
|
+
it("ciam.v20220331.CreateUserStore", async function () {
|
|
82
152
|
try {
|
|
83
|
-
const data = await client.
|
|
153
|
+
const data = await client.CreateUserStore({})
|
|
84
154
|
expect(data).to.be.ok
|
|
85
155
|
} catch(error) {
|
|
86
156
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +158,9 @@ it("ciam.v20220331.ListUserByProperty", async function () {
|
|
|
88
158
|
}
|
|
89
159
|
})
|
|
90
160
|
|
|
91
|
-
it("ciam.v20220331.
|
|
161
|
+
it("ciam.v20220331.DeleteUsers", async function () {
|
|
92
162
|
try {
|
|
93
|
-
const data = await client.
|
|
163
|
+
const data = await client.DeleteUsers({})
|
|
94
164
|
expect(data).to.be.ok
|
|
95
165
|
} catch(error) {
|
|
96
166
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +168,9 @@ it("ciam.v20220331.ListLogMessageByCondition", async function () {
|
|
|
98
168
|
}
|
|
99
169
|
})
|
|
100
170
|
|
|
101
|
-
it("ciam.v20220331.
|
|
171
|
+
it("ciam.v20220331.ListUserByProperty", async function () {
|
|
102
172
|
try {
|
|
103
|
-
const data = await client.
|
|
173
|
+
const data = await client.ListUserByProperty({})
|
|
104
174
|
expect(data).to.be.ok
|
|
105
175
|
} catch(error) {
|
|
106
176
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +178,9 @@ it("ciam.v20220331.DescribeUserById", async function () {
|
|
|
108
178
|
}
|
|
109
179
|
})
|
|
110
180
|
|
|
111
|
-
it("ciam.v20220331.
|
|
181
|
+
it("ciam.v20220331.DescribeUserById", async function () {
|
|
112
182
|
try {
|
|
113
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeUserById({})
|
|
114
184
|
expect(data).to.be.ok
|
|
115
185
|
} catch(error) {
|
|
116
186
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +208,9 @@ it("ciam.v20220331.CreateFileExportUserJob", async function () {
|
|
|
138
208
|
}
|
|
139
209
|
})
|
|
140
210
|
|
|
141
|
-
it("ciam.v20220331.
|
|
211
|
+
it("ciam.v20220331.ListUserStore", async function () {
|
|
142
212
|
try {
|
|
143
|
-
const data = await client.
|
|
213
|
+
const data = await client.ListUserStore({})
|
|
144
214
|
expect(data).to.be.ok
|
|
145
215
|
} catch(error) {
|
|
146
216
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +218,9 @@ it("ciam.v20220331.CreateApiImportUserJob", async function () {
|
|
|
148
218
|
}
|
|
149
219
|
})
|
|
150
220
|
|
|
151
|
-
it("ciam.v20220331.
|
|
221
|
+
it("ciam.v20220331.CreateUserGroup", async function () {
|
|
152
222
|
try {
|
|
153
|
-
const data = await client.
|
|
223
|
+
const data = await client.CreateUserGroup({})
|
|
154
224
|
expect(data).to.be.ok
|
|
155
225
|
} catch(error) {
|
|
156
226
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +228,19 @@ it("ciam.v20220331.LinkAccount", async function () {
|
|
|
158
228
|
}
|
|
159
229
|
})
|
|
160
230
|
|
|
161
|
-
it("ciam.v20220331.
|
|
231
|
+
it("ciam.v20220331.CreateUser", async function () {
|
|
162
232
|
try {
|
|
163
|
-
const data = await client.
|
|
233
|
+
const data = await client.CreateUser({})
|
|
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
|
+
|
|
241
|
+
it("ciam.v20220331.ListLogMessageByCondition", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ListLogMessageByCondition({})
|
|
164
244
|
expect(data).to.be.ok
|
|
165
245
|
} catch(error) {
|
|
166
246
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("cls.v20201016.DescribeLogsets", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("cls.v20201016.
|
|
101
|
+
it("cls.v20201016.ModifyKafkaRecharge", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.ModifyKafkaRecharge({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("cls.v20201016.ModifyIndex", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("cls.v20201016.
|
|
131
|
+
it("cls.v20201016.CreateShipper", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.CreateShipper({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("cls.v20201016.DescribeConfigExtras", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("cls.v20201016.
|
|
191
|
+
it("cls.v20201016.CheckRechargeKafkaServer", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.CheckRechargeKafkaServer({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -208,6 +208,16 @@ it("cls.v20201016.ModifyConsumer", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
+
it("cls.v20201016.CreateKafkaRecharge", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.CreateKafkaRecharge({})
|
|
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
|
+
|
|
211
221
|
it("cls.v20201016.CreateAlarmNotice", async function () {
|
|
212
222
|
try {
|
|
213
223
|
const data = await client.CreateAlarmNotice({})
|
|
@@ -248,6 +258,16 @@ it("cls.v20201016.DeleteMachineGroup", async function () {
|
|
|
248
258
|
}
|
|
249
259
|
})
|
|
250
260
|
|
|
261
|
+
it("cls.v20201016.RetryShipperTask", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.RetryShipperTask({})
|
|
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
|
+
|
|
251
271
|
it("cls.v20201016.DescribeTopics", async function () {
|
|
252
272
|
try {
|
|
253
273
|
const data = await client.DescribeTopics({})
|
|
@@ -308,6 +328,16 @@ it("cls.v20201016.DeleteConfigExtra", async function () {
|
|
|
308
328
|
}
|
|
309
329
|
})
|
|
310
330
|
|
|
331
|
+
it("cls.v20201016.DescribeKafkaRecharges", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DescribeKafkaRecharges({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
311
341
|
it("cls.v20201016.DescribeAlarms", async function () {
|
|
312
342
|
try {
|
|
313
343
|
const data = await client.DescribeAlarms({})
|
|
@@ -368,6 +398,16 @@ it("cls.v20201016.CreateLogset", async function () {
|
|
|
368
398
|
}
|
|
369
399
|
})
|
|
370
400
|
|
|
401
|
+
it("cls.v20201016.ModifyCosRecharge", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.ModifyCosRecharge({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
371
411
|
it("cls.v20201016.SplitPartition", async function () {
|
|
372
412
|
try {
|
|
373
413
|
const data = await client.SplitPartition({})
|
|
@@ -468,9 +508,9 @@ it("cls.v20201016.DescribeShipperTasks", async function () {
|
|
|
468
508
|
}
|
|
469
509
|
})
|
|
470
510
|
|
|
471
|
-
it("cls.v20201016.
|
|
511
|
+
it("cls.v20201016.DeleteKafkaRecharge", async function () {
|
|
472
512
|
try {
|
|
473
|
-
const data = await client.
|
|
513
|
+
const data = await client.DeleteKafkaRecharge({})
|
|
474
514
|
expect(data).to.be.ok
|
|
475
515
|
} catch(error) {
|
|
476
516
|
expect(error.requestId).to.be.ok
|
|
@@ -518,6 +558,16 @@ it("cls.v20201016.DeleteIndex", async function () {
|
|
|
518
558
|
}
|
|
519
559
|
})
|
|
520
560
|
|
|
561
|
+
it("cls.v20201016.ModifyShipper", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.ModifyShipper({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
521
571
|
it("cls.v20201016.DeleteAlarm", async function () {
|
|
522
572
|
try {
|
|
523
573
|
const data = await client.DeleteAlarm({})
|
|
@@ -598,9 +648,9 @@ it("cls.v20201016.CreateConfigExtra", async function () {
|
|
|
598
648
|
}
|
|
599
649
|
})
|
|
600
650
|
|
|
601
|
-
it("cls.v20201016.
|
|
651
|
+
it("cls.v20201016.PreviewKafkaRecharge", async function () {
|
|
602
652
|
try {
|
|
603
|
-
const data = await client.
|
|
653
|
+
const data = await client.PreviewKafkaRecharge({})
|
|
604
654
|
expect(data).to.be.ok
|
|
605
655
|
} catch(error) {
|
|
606
656
|
expect(error.requestId).to.be.ok
|
|
@@ -618,9 +668,19 @@ it("cls.v20201016.DescribeConfigMachineGroups", async function () {
|
|
|
618
668
|
}
|
|
619
669
|
})
|
|
620
670
|
|
|
621
|
-
it("cls.v20201016.
|
|
671
|
+
it("cls.v20201016.ModifyConfigExtra", async function () {
|
|
622
672
|
try {
|
|
623
|
-
const data = await client.
|
|
673
|
+
const data = await client.ModifyConfigExtra({})
|
|
674
|
+
expect(data).to.be.ok
|
|
675
|
+
} catch(error) {
|
|
676
|
+
expect(error.requestId).to.be.ok
|
|
677
|
+
expect(error.code).to.be.ok
|
|
678
|
+
}
|
|
679
|
+
})
|
|
680
|
+
|
|
681
|
+
it("cls.v20201016.ModifyLogset", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.ModifyLogset({})
|
|
624
684
|
expect(data).to.be.ok
|
|
625
685
|
} catch(error) {
|
|
626
686
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.emr.v20190103.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("emr.v20190103.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("emr.v20190103.DescribeYarnApplications", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeYarnApplications({})
|
|
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("emr.v20190103.TerminateInstance", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.TerminateInstance({})
|
|
@@ -58,9 +68,19 @@ it("emr.v20190103.InquiryPriceRenewInstance", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
61
|
-
it("emr.v20190103.
|
|
71
|
+
it("emr.v20190103.DescribeImpalaQueries", async function () {
|
|
62
72
|
try {
|
|
63
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeImpalaQueries({})
|
|
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("emr.v20190103.ModifyResourceScheduleConfig", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.ModifyResourceScheduleConfig({})
|
|
64
84
|
expect(data).to.be.ok
|
|
65
85
|
} catch(error) {
|
|
66
86
|
expect(error.requestId).to.be.ok
|
|
@@ -238,9 +258,19 @@ it("emr.v20190103.DescribeResourceSchedule", async function () {
|
|
|
238
258
|
}
|
|
239
259
|
})
|
|
240
260
|
|
|
241
|
-
it("emr.v20190103.
|
|
261
|
+
it("emr.v20190103.DescribeJobFlow", async function () {
|
|
242
262
|
try {
|
|
243
|
-
const data = await client.
|
|
263
|
+
const data = await client.DescribeJobFlow({})
|
|
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
|
+
|
|
271
|
+
it("emr.v20190103.DescribeHiveQueries", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeHiveQueries({})
|
|
244
274
|
expect(data).to.be.ok
|
|
245
275
|
} catch(error) {
|
|
246
276
|
expect(error.requestId).to.be.ok
|
|
@@ -108,6 +108,16 @@ it("trp.v20210515.DescribeTraceCodes", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("trp.v20210515.DescribeRawScanLogs", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeRawScanLogs({})
|
|
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
|
+
|
|
111
121
|
it("trp.v20210515.ModifyTraceDataRanks", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.ModifyTraceDataRanks({})
|