File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,18 @@ class CamClient {
150
150
}
151
151
}
152
152
153
+ class CamV2Client {
154
+ constructor ( credentials = { } ) {
155
+ this . credentials = credentials
156
+ }
157
+ async request ( data ) {
158
+ return await new TencentCloudClient ( this . credentials , {
159
+ host : 'cam.api.qcloud.com' ,
160
+ path : '/v2/index.php'
161
+ } ) . doCloudApiRequest ( data )
162
+ }
163
+ }
164
+
153
165
class CnsClient {
154
166
constructor ( credentials = { } ) {
155
167
this . credentials = credentials
@@ -180,6 +192,7 @@ module.exports = {
180
192
ScfClient,
181
193
TagClient,
182
194
CamClient,
195
+ CamV2Client,
183
196
CnsClient,
184
197
ApigwClient,
185
198
DomainClient,
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
scf : require ( './client' ) . ScfClient ,
3
3
cam : require ( './client' ) . CamClient ,
4
+ camv2 : require ( './client' ) . CamV2Client ,
4
5
cns : require ( './client' ) . CnsClient ,
5
6
tag : require ( './client' ) . TagClient ,
6
7
apigw : require ( './client' ) . ApigwClient ,
You can’t perform that action at this time.
0 commit comments