tencentcloud-sdk-nodejs 4.0.941 → 4.0.942
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 +358 -0
- package/SERVICE_CHANGELOG.md +637 -12
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +8 -0
- package/src/services/asr/v20190614/asr_client.ts +71 -57
- package/src/services/asr/v20190614/asr_models.ts +967 -895
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cwp/v20180228/cwp_client.ts +5 -3
- package/src/services/cwp/v20180228/cwp_models.ts +131 -48
- package/src/services/dlc/v20210125/dlc_models.ts +4 -0
- package/src/services/dsgc/v20190723/dsgc_models.ts +1 -1
- package/src/services/ims/v20201229/ims_client.ts +1 -1
- package/src/services/ims/v20201229/ims_models.ts +3 -3
- package/src/services/lke/v20231130/lke_client.ts +576 -478
- package/src/services/lke/v20231130/lke_models.ts +516 -98
- package/src/services/mps/v20190612/mps_models.ts +8 -3
- package/src/services/mqtt/v20240516/mqtt_client.ts +215 -4
- package/src/services/mqtt/v20240516/mqtt_models.ts +894 -97
- package/src/services/tcss/v20201101/tcss_client.ts +4 -2
- package/src/services/tke/v20180525/tke_client.ts +40 -16
- package/src/services/tke/v20180525/tke_models.ts +154 -70
- package/src/services/vdb/v20230616/vdb_models.ts +5 -0
- package/src/services/vod/v20180717/vod_client.ts +2 -1
- package/src/services/vod/v20180717/vod_models.ts +34 -1
- package/src/services/vpc/v20170312/vpc_models.ts +17 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +8 -0
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +5 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +6 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +998 -930
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +128 -47
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +3 -3
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +195 -163
- package/tencentcloud/services/lke/v20231130/lke_client.js +288 -240
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +497 -97
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +7 -2
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +72 -1
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +105 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +856 -97
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +3 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +3 -1
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +150 -70
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +5 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +33 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17 -1
- package/test/asr.v20190614.test.js +10 -0
- package/test/lke.v20231130.test.js +238 -158
- package/test/mqtt.v20240516.test.js +170 -0
- package/test/tke.v20180525.test.js +24 -4
|
@@ -28,6 +28,56 @@ it("mqtt.v20240516.DescribeInstance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("mqtt.v20240516.CreateTopic", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateTopic({})
|
|
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("mqtt.v20240516.RegisterDeviceCertificate", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.RegisterDeviceCertificate({})
|
|
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("mqtt.v20240516.DescribeAuthorizationPolicies", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeAuthorizationPolicies({})
|
|
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("mqtt.v20240516.ModifyTopic", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyTopic({})
|
|
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("mqtt.v20240516.ModifyAuthorizationPolicy", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyAuthorizationPolicy({})
|
|
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
|
+
|
|
31
81
|
it("mqtt.v20240516.DescribeInstanceList", async function () {
|
|
32
82
|
try {
|
|
33
83
|
const data = await client.DescribeInstanceList({})
|
|
@@ -38,4 +88,124 @@ it("mqtt.v20240516.DescribeInstanceList", async function () {
|
|
|
38
88
|
}
|
|
39
89
|
})
|
|
40
90
|
|
|
91
|
+
it("mqtt.v20240516.DeleteAuthorizationPolicy", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteAuthorizationPolicy({})
|
|
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("mqtt.v20240516.DeleteAuthenticator", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DeleteAuthenticator({})
|
|
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("mqtt.v20240516.DescribeTopic", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeTopic({})
|
|
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("mqtt.v20240516.DescribeAuthenticator", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeAuthenticator({})
|
|
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("mqtt.v20240516.CreateJWTAuthenticator", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreateJWTAuthenticator({})
|
|
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("mqtt.v20240516.UpdateAuthorizationPolicyPriority", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateAuthorizationPolicyPriority({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("mqtt.v20240516.ModifyJWTAuthenticator", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyJWTAuthenticator({})
|
|
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("mqtt.v20240516.DescribeTopicList", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeTopicList({})
|
|
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("mqtt.v20240516.DeleteTopic", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DeleteTopic({})
|
|
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("mqtt.v20240516.CreateAuthorizationPolicy", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.CreateAuthorizationPolicy({})
|
|
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("mqtt.v20240516.ModifyJWKSAuthenticator", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.ModifyJWKSAuthenticator({})
|
|
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("mqtt.v20240516.CreateJWKSAuthenticator", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.CreateJWKSAuthenticator({})
|
|
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
|
+
|
|
41
211
|
})
|
|
@@ -608,6 +608,16 @@ it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
|
|
|
608
608
|
}
|
|
609
609
|
})
|
|
610
610
|
|
|
611
|
+
it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
|
|
612
|
+
try {
|
|
613
|
+
const data = await client.ModifyClusterAsGroupAttribute({})
|
|
614
|
+
expect(data).to.be.ok
|
|
615
|
+
} catch(error) {
|
|
616
|
+
expect(error.requestId).to.be.ok
|
|
617
|
+
expect(error.code).to.be.ok
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
|
|
611
621
|
it("tke.v20180525.InstallAddon", async function () {
|
|
612
622
|
try {
|
|
613
623
|
const data = await client.InstallAddon({})
|
|
@@ -1138,9 +1148,9 @@ it("tke.v20180525.ModifyNodePoolInstanceTypes", async function () {
|
|
|
1138
1148
|
}
|
|
1139
1149
|
})
|
|
1140
1150
|
|
|
1141
|
-
it("tke.v20180525.
|
|
1151
|
+
it("tke.v20180525.DescribeLogConfigs", async function () {
|
|
1142
1152
|
try {
|
|
1143
|
-
const data = await client.
|
|
1153
|
+
const data = await client.DescribeLogConfigs({})
|
|
1144
1154
|
expect(data).to.be.ok
|
|
1145
1155
|
} catch(error) {
|
|
1146
1156
|
expect(error.requestId).to.be.ok
|
|
@@ -1288,6 +1298,16 @@ it("tke.v20180525.DescribeClusterReleaseHistory", async function () {
|
|
|
1288
1298
|
}
|
|
1289
1299
|
})
|
|
1290
1300
|
|
|
1301
|
+
it("tke.v20180525.RollbackClusterRelease", async function () {
|
|
1302
|
+
try {
|
|
1303
|
+
const data = await client.RollbackClusterRelease({})
|
|
1304
|
+
expect(data).to.be.ok
|
|
1305
|
+
} catch(error) {
|
|
1306
|
+
expect(error.requestId).to.be.ok
|
|
1307
|
+
expect(error.code).to.be.ok
|
|
1308
|
+
}
|
|
1309
|
+
})
|
|
1310
|
+
|
|
1291
1311
|
it("tke.v20180525.ModifyClusterNodePool", async function () {
|
|
1292
1312
|
try {
|
|
1293
1313
|
const data = await client.ModifyClusterNodePool({})
|
|
@@ -1898,9 +1918,9 @@ it("tke.v20180525.DescribeEdgeClusterUpgradeInfo", async function () {
|
|
|
1898
1918
|
}
|
|
1899
1919
|
})
|
|
1900
1920
|
|
|
1901
|
-
it("tke.v20180525.
|
|
1921
|
+
it("tke.v20180525.DeleteLogConfigs", async function () {
|
|
1902
1922
|
try {
|
|
1903
|
-
const data = await client.
|
|
1923
|
+
const data = await client.DeleteLogConfigs({})
|
|
1904
1924
|
expect(data).to.be.ok
|
|
1905
1925
|
} catch(error) {
|
|
1906
1926
|
expect(error.requestId).to.be.ok
|