tencentcloud-sdk-nodejs 4.1.119 → 4.1.121
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/es/common/credential.js +209 -0
- package/es/common/index.js +1 -0
- package/es/common/sdk_version.js +1 -1
- package/es/services/apm/v20210622/apm_client.js +3 -0
- package/es/services/billing/v20180709/billing_client.js +22 -4
- package/es/services/ccc/v20200210/ccc_client.js +5 -2
- package/es/services/cvm/v20170312/cvm_client.js +0 -12
- package/es/services/gs/v20191118/gs_client.js +12 -0
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +5 -2
- package/es/services/wedata/index.js +2 -0
- package/es/services/wedata/v20250806/index.js +6 -0
- package/es/services/wedata/v20250806/wedata_client.js +237 -0
- package/es/services/wedata/v20250806/wedata_models.js +1 -0
- package/package.json +3 -1
- package/tencentcloud/common/credential.d.ts +101 -0
- package/tencentcloud/common/credential.js +267 -0
- package/tencentcloud/common/cvm_role_credential.d.ts +2 -7
- package/tencentcloud/common/index.d.ts +1 -0
- package/tencentcloud/common/index.js +1 -0
- package/tencentcloud/common/interface.d.ts +7 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.d.ts +4 -4
- package/tencentcloud/services/ai3d/v20250513/ai3d_client.js +4 -4
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +163 -0
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +29 -5
- package/tencentcloud/services/billing/v20180709/billing_client.js +42 -6
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +1245 -338
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +7 -3
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +9 -3
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +89 -2
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +45 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +17 -0
- package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +116 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -17
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +0 -24
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +49 -455
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +14 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +17 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +24 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +171 -71
- package/tencentcloud/services/iai/v20180301/iai_client.d.ts +0 -1
- package/tencentcloud/services/iai/v20180301/iai_client.js +0 -1
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +12 -13
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +7 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +9 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +35 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +75 -6
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +14 -1
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +6 -4
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +6 -4
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +4 -0
- 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/v20210331/organization_models.d.ts +3 -3
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.js +2 -2
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +10 -7
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +0 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +0 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +0 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +0 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
- package/tencentcloud/services/wedata/index.d.ts +4 -0
- package/tencentcloud/services/wedata/index.js +2 -0
- package/tencentcloud/services/wedata/v20250806/index.d.ts +6 -0
- package/tencentcloud/services/wedata/v20250806/index.js +10 -0
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +318 -0
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +493 -0
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +7466 -0
- package/tencentcloud/services/wedata/v20250806/wedata_models.js +18 -0
@@ -0,0 +1,209 @@
|
|
1
|
+
import fs from "fs";
|
2
|
+
import path from "path";
|
3
|
+
import { homedir } from "os";
|
4
|
+
import { parse } from 'ini';
|
5
|
+
import { CommonClient } from "./common_client";
|
6
|
+
import CvmRoleCredential from "./cvm_role_credential";
|
7
|
+
const EXPIRE_BUFFER = 30 * 1000;
|
8
|
+
export class BasicCredential {
|
9
|
+
constructor(secretId, secretKey, token) {
|
10
|
+
this.secretId = secretId;
|
11
|
+
this.secretKey = secretKey;
|
12
|
+
this.token = token;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
export class EnvironmentVariableCredential {
|
16
|
+
async getCredential() {
|
17
|
+
const secretId = process.env.TENCENTCLOUD_SECRET_ID;
|
18
|
+
const secretKey = process.env.TENCENTCLOUD_SECRET_KEY;
|
19
|
+
const token = process.env.TENCENTCLOUD_SESSION_TOKEN;
|
20
|
+
return new BasicCredential(secretId, secretKey, token);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export class ProfileCredential {
|
24
|
+
async getCredential() {
|
25
|
+
let filePath = '';
|
26
|
+
const userHome = homedir();
|
27
|
+
const userCredentialsPath = path.join(userHome, ".tencentcloud", "credentials");
|
28
|
+
if (fs.existsSync(userCredentialsPath)) {
|
29
|
+
filePath = userCredentialsPath;
|
30
|
+
}
|
31
|
+
else {
|
32
|
+
filePath = '/etc/tencentcloud/credentials';
|
33
|
+
}
|
34
|
+
if (filePath) {
|
35
|
+
try {
|
36
|
+
const content = fs.readFileSync(filePath, "utf8");
|
37
|
+
const { default: { secret_id, secret_key, token } } = parse(content);
|
38
|
+
if (secret_id && secret_key) {
|
39
|
+
return new BasicCredential(secret_id, secret_key, token);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
catch (error) {
|
43
|
+
}
|
44
|
+
}
|
45
|
+
return new BasicCredential('', '');
|
46
|
+
}
|
47
|
+
}
|
48
|
+
export class STSCredential {
|
49
|
+
constructor(clientConfig, assumeRoleParams) {
|
50
|
+
this.clientConfig = clientConfig;
|
51
|
+
this.assumeRoleParams = assumeRoleParams;
|
52
|
+
this.endpoint = 'sts.tencentcloudapi.com';
|
53
|
+
this.version = '2018-08-13';
|
54
|
+
this.action = 'AssumeRole';
|
55
|
+
this.region = 'ap-guangzhou';
|
56
|
+
}
|
57
|
+
async getCredentialWithStsAssumeRole() {
|
58
|
+
const { endpoint, version, action, region, clientConfig, assumeRoleParams } = this;
|
59
|
+
try {
|
60
|
+
const client = new CommonClient(endpoint, version, {
|
61
|
+
region,
|
62
|
+
...clientConfig
|
63
|
+
});
|
64
|
+
const result = await client.request(action, assumeRoleParams);
|
65
|
+
return {
|
66
|
+
TmpSecretId: result.Credentials.TmpSecretId,
|
67
|
+
TmpSecretKey: result.Credentials.TmpSecretKey,
|
68
|
+
Token: result.Credentials.Token,
|
69
|
+
ExpiredTime: result.ExpiredTime,
|
70
|
+
Expiration: result.Expiration,
|
71
|
+
};
|
72
|
+
}
|
73
|
+
catch (error) {
|
74
|
+
throw new Error(`Get STS AssumeRole failed: ${error.message}`);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
async getCredential() {
|
78
|
+
if (!this.credentialTask) {
|
79
|
+
this.credentialTask = this.getCredentialWithStsAssumeRole();
|
80
|
+
}
|
81
|
+
const credential = await this.credentialTask;
|
82
|
+
if (credential.ExpiredTime * 1000 - EXPIRE_BUFFER <= Date.now()) {
|
83
|
+
this.credentialTask = null;
|
84
|
+
return this.getCredential();
|
85
|
+
}
|
86
|
+
return {
|
87
|
+
secretId: credential.TmpSecretId,
|
88
|
+
secretKey: credential.TmpSecretKey,
|
89
|
+
token: credential.Token,
|
90
|
+
};
|
91
|
+
}
|
92
|
+
}
|
93
|
+
export { default as CvmRoleCredential } from "./cvm_role_credential";
|
94
|
+
export class OIDCRoleArnCredential {
|
95
|
+
constructor(clientConfig, assumeRoleWithWebIdentityParams) {
|
96
|
+
this.endpoint = 'sts.tencentcloudapi.com';
|
97
|
+
this.version = '2018-08-13';
|
98
|
+
this.action = 'AssumeRoleWithWebIdentity';
|
99
|
+
this.defaultSessionName = 'tencentcloud-node-sdk-';
|
100
|
+
this.isTke = false;
|
101
|
+
this.expirationReservationTime = 600;
|
102
|
+
if (clientConfig && assumeRoleWithWebIdentityParams) {
|
103
|
+
this.clientConfig = clientConfig;
|
104
|
+
this.assumeRoleWithWebIdentityParams = assumeRoleWithWebIdentityParams;
|
105
|
+
}
|
106
|
+
else {
|
107
|
+
this.isTke = true;
|
108
|
+
this.clientConfig = {
|
109
|
+
credential: new BasicCredential('', ''),
|
110
|
+
...clientConfig,
|
111
|
+
};
|
112
|
+
}
|
113
|
+
}
|
114
|
+
initFromTke() {
|
115
|
+
const region = process.env.TKE_REGION;
|
116
|
+
if (!region) {
|
117
|
+
throw new Error('env TKE_REGION not exist');
|
118
|
+
}
|
119
|
+
const providerId = process.env.TKE_PROVIDER_ID;
|
120
|
+
if (!providerId) {
|
121
|
+
throw new Error('env TKE_PROVIDER_ID not exist');
|
122
|
+
}
|
123
|
+
const tokenFile = process.env.TKE_WEB_IDENTITY_TOKEN_FILE;
|
124
|
+
if (!tokenFile) {
|
125
|
+
throw new Error('env TKE_WEB_IDENTITY_TOKEN_FILE not exist');
|
126
|
+
}
|
127
|
+
let wbIdentityToken;
|
128
|
+
try {
|
129
|
+
wbIdentityToken = fs.readFileSync(tokenFile).toString();
|
130
|
+
}
|
131
|
+
catch (error) {
|
132
|
+
throw new Error(`failed to read token file: ${error.message}`);
|
133
|
+
}
|
134
|
+
const roleArn = process.env.TKE_ROLE_ARN;
|
135
|
+
if (!roleArn) {
|
136
|
+
throw new Error('env TKE_ROLE_ARN not exist');
|
137
|
+
}
|
138
|
+
this.clientConfig.region = region;
|
139
|
+
this.assumeRoleWithWebIdentityParams = {
|
140
|
+
RoleArn: roleArn,
|
141
|
+
RoleSessionName: `${this.defaultSessionName}${Date.now() * 1000}`,
|
142
|
+
WebIdentityToken: wbIdentityToken,
|
143
|
+
ProviderId: providerId,
|
144
|
+
};
|
145
|
+
}
|
146
|
+
async getCredentialWithStsAssumeRoleWithWebIdentity() {
|
147
|
+
try {
|
148
|
+
if (this.isTke) {
|
149
|
+
this.initFromTke();
|
150
|
+
}
|
151
|
+
const { endpoint, version, action, region, clientConfig, assumeRoleWithWebIdentityParams } = this;
|
152
|
+
const client = new CommonClient(endpoint, version, {
|
153
|
+
region: region,
|
154
|
+
...clientConfig,
|
155
|
+
});
|
156
|
+
const result = await client.request(action, assumeRoleWithWebIdentityParams);
|
157
|
+
return {
|
158
|
+
TmpSecretId: result.Credentials.TmpSecretId,
|
159
|
+
TmpSecretKey: result.Credentials.TmpSecretKey,
|
160
|
+
Token: result.Credentials.Token,
|
161
|
+
ExpiredTime: result.ExpiredTime,
|
162
|
+
Expiration: result.Expiration,
|
163
|
+
};
|
164
|
+
}
|
165
|
+
catch (error) {
|
166
|
+
throw new Error(`Get STS AssumeRoleWithWebIdentity failed: ${error.message}`);
|
167
|
+
}
|
168
|
+
}
|
169
|
+
async getCredential() {
|
170
|
+
if (!this.credentialTask) {
|
171
|
+
this.credentialTask = this.getCredentialWithStsAssumeRoleWithWebIdentity();
|
172
|
+
}
|
173
|
+
const credential = await this.credentialTask;
|
174
|
+
if (credential.ExpiredTime * 1000 - this.expirationReservationTime <= Date.now()) {
|
175
|
+
this.credentialTask = null;
|
176
|
+
return this.getCredential();
|
177
|
+
}
|
178
|
+
return {
|
179
|
+
secretId: credential.TmpSecretId,
|
180
|
+
secretKey: credential.TmpSecretKey,
|
181
|
+
token: credential.Token,
|
182
|
+
};
|
183
|
+
}
|
184
|
+
}
|
185
|
+
export class DefaultCredentialProvider {
|
186
|
+
constructor() {
|
187
|
+
this.providers = [
|
188
|
+
new EnvironmentVariableCredential(),
|
189
|
+
new ProfileCredential(),
|
190
|
+
new CvmRoleCredential(),
|
191
|
+
new OIDCRoleArnCredential()
|
192
|
+
];
|
193
|
+
}
|
194
|
+
async getCredential() {
|
195
|
+
for (const provider of this.providers) {
|
196
|
+
try {
|
197
|
+
const credential = await provider.getCredential();
|
198
|
+
if (credential.secretId && credential.secretKey) {
|
199
|
+
return credential;
|
200
|
+
}
|
201
|
+
}
|
202
|
+
catch (error) {
|
203
|
+
console.error(error);
|
204
|
+
continue;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
return new BasicCredential('', '');
|
208
|
+
}
|
209
|
+
}
|
package/es/common/index.js
CHANGED
package/es/common/sdk_version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const sdkVersion = "4.1.
|
1
|
+
export const sdkVersion = "4.1.121";
|
@@ -42,6 +42,9 @@ export class Client extends AbstractClient {
|
|
42
42
|
async CreateApmInstance(req, cb) {
|
43
43
|
return this.request("CreateApmInstance", req, cb);
|
44
44
|
}
|
45
|
+
async DescribeApmServiceMetric(req, cb) {
|
46
|
+
return this.request("DescribeApmServiceMetric", req, cb);
|
47
|
+
}
|
45
48
|
async DescribeServiceOverview(req, cb) {
|
46
49
|
return this.request("DescribeServiceOverview", req, cb);
|
47
50
|
}
|
@@ -30,6 +30,12 @@ export class Client extends AbstractClient {
|
|
30
30
|
async DescribeAllocateConditions(req, cb) {
|
31
31
|
return this.request("DescribeAllocateConditions", req, cb);
|
32
32
|
}
|
33
|
+
async CreateBudget(req, cb) {
|
34
|
+
return this.request("CreateBudget", req, cb);
|
35
|
+
}
|
36
|
+
async DescribeBudgetRemindRecordList(req, cb) {
|
37
|
+
return this.request("DescribeBudgetRemindRecordList", req, cb);
|
38
|
+
}
|
33
39
|
async DescribeAllocationOverview(req, cb) {
|
34
40
|
return this.request("DescribeAllocationOverview", req, cb);
|
35
41
|
}
|
@@ -42,6 +48,9 @@ export class Client extends AbstractClient {
|
|
42
48
|
async CreateAllocationTag(req, cb) {
|
43
49
|
return this.request("CreateAllocationTag", req, cb);
|
44
50
|
}
|
51
|
+
async DeleteBudget(req, cb) {
|
52
|
+
return this.request("DeleteBudget", req, cb);
|
53
|
+
}
|
45
54
|
async DescribeVoucherInfo(req, cb) {
|
46
55
|
return this.request("DescribeVoucherInfo", req, cb);
|
47
56
|
}
|
@@ -93,6 +102,9 @@ export class Client extends AbstractClient {
|
|
93
102
|
async DescribeAllocationBillConditions(req, cb) {
|
94
103
|
return this.request("DescribeAllocationBillConditions", req, cb);
|
95
104
|
}
|
105
|
+
async ModifyBudget(req, cb) {
|
106
|
+
return this.request("ModifyBudget", req, cb);
|
107
|
+
}
|
96
108
|
async DescribeAccountBalance(req, cb) {
|
97
109
|
return this.request("DescribeAccountBalance", req, cb);
|
98
110
|
}
|
@@ -108,6 +120,9 @@ export class Client extends AbstractClient {
|
|
108
120
|
async DescribeAllocationUnitDetail(req, cb) {
|
109
121
|
return this.request("DescribeAllocationUnitDetail", req, cb);
|
110
122
|
}
|
123
|
+
async DescribeTagList(req, cb) {
|
124
|
+
return this.request("DescribeTagList", req, cb);
|
125
|
+
}
|
111
126
|
async DescribeBillAdjustInfo(req, cb) {
|
112
127
|
return this.request("DescribeBillAdjustInfo", req, cb);
|
113
128
|
}
|
@@ -138,8 +153,8 @@ export class Client extends AbstractClient {
|
|
138
153
|
async DescribeSavingPlanResourceInfo(req, cb) {
|
139
154
|
return this.request("DescribeSavingPlanResourceInfo", req, cb);
|
140
155
|
}
|
141
|
-
async
|
142
|
-
return this.request("
|
156
|
+
async DescribeBudget(req, cb) {
|
157
|
+
return this.request("DescribeBudget", req, cb);
|
143
158
|
}
|
144
159
|
async ModifyAllocationUnit(req, cb) {
|
145
160
|
return this.request("ModifyAllocationUnit", req, cb);
|
@@ -150,8 +165,8 @@ export class Client extends AbstractClient {
|
|
150
165
|
async PayDeals(req, cb) {
|
151
166
|
return this.request("PayDeals", req, cb);
|
152
167
|
}
|
153
|
-
async
|
154
|
-
return this.request("
|
168
|
+
async DescribeBudgetOperationLog(req, cb) {
|
169
|
+
return this.request("DescribeBudgetOperationLog", req, cb);
|
155
170
|
}
|
156
171
|
async DeleteAllocationTag(req, cb) {
|
157
172
|
return this.request("DeleteAllocationTag", req, cb);
|
@@ -159,6 +174,9 @@ export class Client extends AbstractClient {
|
|
159
174
|
async DescribeDealsByCond(req, cb) {
|
160
175
|
return this.request("DescribeDealsByCond", req, cb);
|
161
176
|
}
|
177
|
+
async DescribeCostSummaryByProduct(req, cb) {
|
178
|
+
return this.request("DescribeCostSummaryByProduct", req, cb);
|
179
|
+
}
|
162
180
|
async DescribeAllocationSummaryByItem(req, cb) {
|
163
181
|
return this.request("DescribeAllocationSummaryByItem", req, cb);
|
164
182
|
}
|
@@ -9,8 +9,8 @@ export class Client extends AbstractClient {
|
|
9
9
|
async ModifyCompanyApply(req, cb) {
|
10
10
|
return this.request("ModifyCompanyApply", req, cb);
|
11
11
|
}
|
12
|
-
async
|
13
|
-
return this.request("
|
12
|
+
async DescribeAIAnalysisResult(req, cb) {
|
13
|
+
return this.request("DescribeAIAnalysisResult", req, cb);
|
14
14
|
}
|
15
15
|
async DescribeExtensions(req, cb) {
|
16
16
|
return this.request("DescribeExtensions", req, cb);
|
@@ -84,6 +84,9 @@ export class Client extends AbstractClient {
|
|
84
84
|
async UploadIvrAudio(req, cb) {
|
85
85
|
return this.request("UploadIvrAudio", req, cb);
|
86
86
|
}
|
87
|
+
async ModifyStaff(req, cb) {
|
88
|
+
return this.request("ModifyStaff", req, cb);
|
89
|
+
}
|
87
90
|
async DescribeExtension(req, cb) {
|
88
91
|
return this.request("DescribeExtension", req, cb);
|
89
92
|
}
|
@@ -42,15 +42,9 @@ export class Client extends AbstractClient {
|
|
42
42
|
async ResetInstancesType(req, cb) {
|
43
43
|
return this.request("ResetInstancesType", req, cb);
|
44
44
|
}
|
45
|
-
async DescribeReservedInstancesConfigInfos(req, cb) {
|
46
|
-
return this.request("DescribeReservedInstancesConfigInfos", req, cb);
|
47
|
-
}
|
48
45
|
async DescribeInstanceFamilyConfigs(req, cb) {
|
49
46
|
return this.request("DescribeInstanceFamilyConfigs", req, cb);
|
50
47
|
}
|
51
|
-
async InquirePricePurchaseReservedInstancesOffering(req, cb) {
|
52
|
-
return this.request("InquirePricePurchaseReservedInstancesOffering", req, cb);
|
53
|
-
}
|
54
48
|
async SyncImages(req, cb) {
|
55
49
|
return this.request("SyncImages", req, cb);
|
56
50
|
}
|
@@ -165,9 +159,6 @@ export class Client extends AbstractClient {
|
|
165
159
|
async InquiryPriceResetInstance(req, cb) {
|
166
160
|
return this.request("InquiryPriceResetInstance", req, cb);
|
167
161
|
}
|
168
|
-
async PurchaseReservedInstancesOffering(req, cb) {
|
169
|
-
return this.request("PurchaseReservedInstancesOffering", req, cb);
|
170
|
-
}
|
171
162
|
async ModifyInstancesRenewFlag(req, cb) {
|
172
163
|
return this.request("ModifyInstancesRenewFlag", req, cb);
|
173
164
|
}
|
@@ -207,9 +198,6 @@ export class Client extends AbstractClient {
|
|
207
198
|
async DescribeKeyPairs(req, cb) {
|
208
199
|
return this.request("DescribeKeyPairs", req, cb);
|
209
200
|
}
|
210
|
-
async DescribeReservedInstancesOfferings(req, cb) {
|
211
|
-
return this.request("DescribeReservedInstancesOfferings", req, cb);
|
212
|
-
}
|
213
201
|
async InquiryPriceModifyInstancesChargeType(req, cb) {
|
214
202
|
return this.request("InquiryPriceModifyInstancesChargeType", req, cb);
|
215
203
|
}
|
@@ -51,6 +51,9 @@ export class Client extends AbstractClient {
|
|
51
51
|
async StartPublishStreamToCSS(req, cb) {
|
52
52
|
return this.request("StartPublishStreamToCSS", req, cb);
|
53
53
|
}
|
54
|
+
async DeleteAndroidInstanceBackups(req, cb) {
|
55
|
+
return this.request("DeleteAndroidInstanceBackups", req, cb);
|
56
|
+
}
|
54
57
|
async ModifyAndroidInstanceInformation(req, cb) {
|
55
58
|
return this.request("ModifyAndroidInstanceInformation", req, cb);
|
56
59
|
}
|
@@ -66,6 +69,9 @@ export class Client extends AbstractClient {
|
|
66
69
|
async InstallAndroidInstancesAppWithURL(req, cb) {
|
67
70
|
return this.request("InstallAndroidInstancesAppWithURL", req, cb);
|
68
71
|
}
|
72
|
+
async RestoreAndroidInstance(req, cb) {
|
73
|
+
return this.request("RestoreAndroidInstance", req, cb);
|
74
|
+
}
|
69
75
|
async DescribeAndroidInstanceLabels(req, cb) {
|
70
76
|
return this.request("DescribeAndroidInstanceLabels", req, cb);
|
71
77
|
}
|
@@ -81,6 +87,9 @@ export class Client extends AbstractClient {
|
|
81
87
|
async ModifyAndroidInstancesResolution(req, cb) {
|
82
88
|
return this.request("ModifyAndroidInstancesResolution", req, cb);
|
83
89
|
}
|
90
|
+
async DescribeAndroidInstanceBackups(req, cb) {
|
91
|
+
return this.request("DescribeAndroidInstanceBackups", req, cb);
|
92
|
+
}
|
84
93
|
async DeleteAndroidInstanceLabel(req, cb) {
|
85
94
|
return this.request("DeleteAndroidInstanceLabel", req, cb);
|
86
95
|
}
|
@@ -135,6 +144,9 @@ export class Client extends AbstractClient {
|
|
135
144
|
async CreateCosCredential(req, cb) {
|
136
145
|
return this.request("CreateCosCredential", req, cb);
|
137
146
|
}
|
147
|
+
async BackUpAndroidInstance(req, cb) {
|
148
|
+
return this.request("BackUpAndroidInstance", req, cb);
|
149
|
+
}
|
138
150
|
async ModifyAndroidApp(req, cb) {
|
139
151
|
return this.request("ModifyAndroidApp", req, cb);
|
140
152
|
}
|
@@ -336,8 +336,8 @@ export class Client extends AbstractClient {
|
|
336
336
|
async BindProducts(req, cb) {
|
337
337
|
return this.request("BindProducts", req, cb);
|
338
338
|
}
|
339
|
-
async
|
340
|
-
return this.request("
|
339
|
+
async DescribeSubscribedTopicPolicy(req, cb) {
|
340
|
+
return this.request("DescribeSubscribedTopicPolicy", req, cb);
|
341
341
|
}
|
342
342
|
async SearchPositionSpace(req, cb) {
|
343
343
|
return this.request("SearchPositionSpace", req, cb);
|
@@ -372,6 +372,9 @@ export class Client extends AbstractClient {
|
|
372
372
|
async DescribeDeviceFirmwares(req, cb) {
|
373
373
|
return this.request("DescribeDeviceFirmwares", req, cb);
|
374
374
|
}
|
375
|
+
async RemoveUserByRoomIdFromTRTC(req, cb) {
|
376
|
+
return this.request("RemoveUserByRoomIdFromTRTC", req, cb);
|
377
|
+
}
|
375
378
|
async BindDevices(req, cb) {
|
376
379
|
return this.request("BindDevices", req, cb);
|
377
380
|
}
|
@@ -0,0 +1,237 @@
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
2
|
+
export class Client extends AbstractClient {
|
3
|
+
constructor(clientConfig) {
|
4
|
+
super("wedata.tencentcloudapi.com", "2025-08-06", clientConfig);
|
5
|
+
}
|
6
|
+
async CreateResourceFolder(req, cb) {
|
7
|
+
return this.request("CreateResourceFolder", req, cb);
|
8
|
+
}
|
9
|
+
async CreateTask(req, cb) {
|
10
|
+
return this.request("CreateTask", req, cb);
|
11
|
+
}
|
12
|
+
async ListOpsWorkflows(req, cb) {
|
13
|
+
return this.request("ListOpsWorkflows", req, cb);
|
14
|
+
}
|
15
|
+
async CreateSQLFolder(req, cb) {
|
16
|
+
return this.request("CreateSQLFolder", req, cb);
|
17
|
+
}
|
18
|
+
async UpdateCodeFolder(req, cb) {
|
19
|
+
return this.request("UpdateCodeFolder", req, cb);
|
20
|
+
}
|
21
|
+
async ListAlarmMessages(req, cb) {
|
22
|
+
return this.request("ListAlarmMessages", req, cb);
|
23
|
+
}
|
24
|
+
async GetWorkflow(req, cb) {
|
25
|
+
return this.request("GetWorkflow", req, cb);
|
26
|
+
}
|
27
|
+
async ListDownstreamTaskInstances(req, cb) {
|
28
|
+
return this.request("ListDownstreamTaskInstances", req, cb);
|
29
|
+
}
|
30
|
+
async UpdateWorkflow(req, cb) {
|
31
|
+
return this.request("UpdateWorkflow", req, cb);
|
32
|
+
}
|
33
|
+
async ListUpstreamTasks(req, cb) {
|
34
|
+
return this.request("ListUpstreamTasks", req, cb);
|
35
|
+
}
|
36
|
+
async GetTaskVersion(req, cb) {
|
37
|
+
return this.request("GetTaskVersion", req, cb);
|
38
|
+
}
|
39
|
+
async CreateDataBackfillPlan(req, cb) {
|
40
|
+
return this.request("CreateDataBackfillPlan", req, cb);
|
41
|
+
}
|
42
|
+
async ListSQLFolderContents(req, cb) {
|
43
|
+
return this.request("ListSQLFolderContents", req, cb);
|
44
|
+
}
|
45
|
+
async RunSQLScript(req, cb) {
|
46
|
+
return this.request("RunSQLScript", req, cb);
|
47
|
+
}
|
48
|
+
async CreateCodeFolder(req, cb) {
|
49
|
+
return this.request("CreateCodeFolder", req, cb);
|
50
|
+
}
|
51
|
+
async ListUpstreamOpsTasks(req, cb) {
|
52
|
+
return this.request("ListUpstreamOpsTasks", req, cb);
|
53
|
+
}
|
54
|
+
async CreateSQLScript(req, cb) {
|
55
|
+
return this.request("CreateSQLScript", req, cb);
|
56
|
+
}
|
57
|
+
async PauseOpsTasksAsync(req, cb) {
|
58
|
+
return this.request("PauseOpsTasksAsync", req, cb);
|
59
|
+
}
|
60
|
+
async GetOpsAsyncJob(req, cb) {
|
61
|
+
return this.request("GetOpsAsyncJob", req, cb);
|
62
|
+
}
|
63
|
+
async UpdateCodeFile(req, cb) {
|
64
|
+
return this.request("UpdateCodeFile", req, cb);
|
65
|
+
}
|
66
|
+
async UpdateOpsTasksOwner(req, cb) {
|
67
|
+
return this.request("UpdateOpsTasksOwner", req, cb);
|
68
|
+
}
|
69
|
+
async DeleteOpsAlarmRule(req, cb) {
|
70
|
+
return this.request("DeleteOpsAlarmRule", req, cb);
|
71
|
+
}
|
72
|
+
async GetAlarmMessage(req, cb) {
|
73
|
+
return this.request("GetAlarmMessage", req, cb);
|
74
|
+
}
|
75
|
+
async ListDownstreamOpsTasks(req, cb) {
|
76
|
+
return this.request("ListDownstreamOpsTasks", req, cb);
|
77
|
+
}
|
78
|
+
async ListTaskVersions(req, cb) {
|
79
|
+
return this.request("ListTaskVersions", req, cb);
|
80
|
+
}
|
81
|
+
async RerunTaskInstancesAsync(req, cb) {
|
82
|
+
return this.request("RerunTaskInstancesAsync", req, cb);
|
83
|
+
}
|
84
|
+
async StopOpsTasksAsync(req, cb) {
|
85
|
+
return this.request("StopOpsTasksAsync", req, cb);
|
86
|
+
}
|
87
|
+
async DeleteCodeFile(req, cb) {
|
88
|
+
return this.request("DeleteCodeFile", req, cb);
|
89
|
+
}
|
90
|
+
async DeleteTask(req, cb) {
|
91
|
+
return this.request("DeleteTask", req, cb);
|
92
|
+
}
|
93
|
+
async GetSQLScript(req, cb) {
|
94
|
+
return this.request("GetSQLScript", req, cb);
|
95
|
+
}
|
96
|
+
async GetTaskCode(req, cb) {
|
97
|
+
return this.request("GetTaskCode", req, cb);
|
98
|
+
}
|
99
|
+
async ListCodeFolderContents(req, cb) {
|
100
|
+
return this.request("ListCodeFolderContents", req, cb);
|
101
|
+
}
|
102
|
+
async CreateResourceFile(req, cb) {
|
103
|
+
return this.request("CreateResourceFile", req, cb);
|
104
|
+
}
|
105
|
+
async UpdateSQLFolder(req, cb) {
|
106
|
+
return this.request("UpdateSQLFolder", req, cb);
|
107
|
+
}
|
108
|
+
async ListSQLScriptRuns(req, cb) {
|
109
|
+
return this.request("ListSQLScriptRuns", req, cb);
|
110
|
+
}
|
111
|
+
async UpdateOpsAlarmRule(req, cb) {
|
112
|
+
return this.request("UpdateOpsAlarmRule", req, cb);
|
113
|
+
}
|
114
|
+
async ListOpsAlarmRules(req, cb) {
|
115
|
+
return this.request("ListOpsAlarmRules", req, cb);
|
116
|
+
}
|
117
|
+
async GetOpsAlarmRule(req, cb) {
|
118
|
+
return this.request("GetOpsAlarmRule", req, cb);
|
119
|
+
}
|
120
|
+
async ListResourceFolders(req, cb) {
|
121
|
+
return this.request("ListResourceFolders", req, cb);
|
122
|
+
}
|
123
|
+
async ListWorkflows(req, cb) {
|
124
|
+
return this.request("ListWorkflows", req, cb);
|
125
|
+
}
|
126
|
+
async GetOpsTask(req, cb) {
|
127
|
+
return this.request("GetOpsTask", req, cb);
|
128
|
+
}
|
129
|
+
async SetSuccessTaskInstancesAsync(req, cb) {
|
130
|
+
return this.request("SetSuccessTaskInstancesAsync", req, cb);
|
131
|
+
}
|
132
|
+
async UpdateResourceFile(req, cb) {
|
133
|
+
return this.request("UpdateResourceFile", req, cb);
|
134
|
+
}
|
135
|
+
async ListTaskInstances(req, cb) {
|
136
|
+
return this.request("ListTaskInstances", req, cb);
|
137
|
+
}
|
138
|
+
async GetOpsWorkflow(req, cb) {
|
139
|
+
return this.request("GetOpsWorkflow", req, cb);
|
140
|
+
}
|
141
|
+
async GetOpsTaskCode(req, cb) {
|
142
|
+
return this.request("GetOpsTaskCode", req, cb);
|
143
|
+
}
|
144
|
+
async CreateOpsAlarmRule(req, cb) {
|
145
|
+
return this.request("CreateOpsAlarmRule", req, cb);
|
146
|
+
}
|
147
|
+
async ListDataBackfillInstances(req, cb) {
|
148
|
+
return this.request("ListDataBackfillInstances", req, cb);
|
149
|
+
}
|
150
|
+
async ListUpstreamTaskInstances(req, cb) {
|
151
|
+
return this.request("ListUpstreamTaskInstances", req, cb);
|
152
|
+
}
|
153
|
+
async ListWorkflowFolders(req, cb) {
|
154
|
+
return this.request("ListWorkflowFolders", req, cb);
|
155
|
+
}
|
156
|
+
async DeleteResourceFile(req, cb) {
|
157
|
+
return this.request("DeleteResourceFile", req, cb);
|
158
|
+
}
|
159
|
+
async CreateCodeFile(req, cb) {
|
160
|
+
return this.request("CreateCodeFile", req, cb);
|
161
|
+
}
|
162
|
+
async GetTask(req, cb) {
|
163
|
+
return this.request("GetTask", req, cb);
|
164
|
+
}
|
165
|
+
async SubmitTask(req, cb) {
|
166
|
+
return this.request("SubmitTask", req, cb);
|
167
|
+
}
|
168
|
+
async GetTaskInstanceLog(req, cb) {
|
169
|
+
return this.request("GetTaskInstanceLog", req, cb);
|
170
|
+
}
|
171
|
+
async ListResourceFiles(req, cb) {
|
172
|
+
return this.request("ListResourceFiles", req, cb);
|
173
|
+
}
|
174
|
+
async UpdateTask(req, cb) {
|
175
|
+
return this.request("UpdateTask", req, cb);
|
176
|
+
}
|
177
|
+
async DeleteWorkflow(req, cb) {
|
178
|
+
return this.request("DeleteWorkflow", req, cb);
|
179
|
+
}
|
180
|
+
async GetResourceFile(req, cb) {
|
181
|
+
return this.request("GetResourceFile", req, cb);
|
182
|
+
}
|
183
|
+
async DeleteCodeFolder(req, cb) {
|
184
|
+
return this.request("DeleteCodeFolder", req, cb);
|
185
|
+
}
|
186
|
+
async DeleteResourceFolder(req, cb) {
|
187
|
+
return this.request("DeleteResourceFolder", req, cb);
|
188
|
+
}
|
189
|
+
async CreateWorkflow(req, cb) {
|
190
|
+
return this.request("CreateWorkflow", req, cb);
|
191
|
+
}
|
192
|
+
async KillTaskInstancesAsync(req, cb) {
|
193
|
+
return this.request("KillTaskInstancesAsync", req, cb);
|
194
|
+
}
|
195
|
+
async DeleteWorkflowFolder(req, cb) {
|
196
|
+
return this.request("DeleteWorkflowFolder", req, cb);
|
197
|
+
}
|
198
|
+
async ListTasks(req, cb) {
|
199
|
+
return this.request("ListTasks", req, cb);
|
200
|
+
}
|
201
|
+
async ListTaskInstanceExecutions(req, cb) {
|
202
|
+
return this.request("ListTaskInstanceExecutions", req, cb);
|
203
|
+
}
|
204
|
+
async GetCodeFile(req, cb) {
|
205
|
+
return this.request("GetCodeFile", req, cb);
|
206
|
+
}
|
207
|
+
async CreateWorkflowFolder(req, cb) {
|
208
|
+
return this.request("CreateWorkflowFolder", req, cb);
|
209
|
+
}
|
210
|
+
async DeleteSQLFolder(req, cb) {
|
211
|
+
return this.request("DeleteSQLFolder", req, cb);
|
212
|
+
}
|
213
|
+
async DeleteSQLScript(req, cb) {
|
214
|
+
return this.request("DeleteSQLScript", req, cb);
|
215
|
+
}
|
216
|
+
async UpdateWorkflowFolder(req, cb) {
|
217
|
+
return this.request("UpdateWorkflowFolder", req, cb);
|
218
|
+
}
|
219
|
+
async ListOpsTasks(req, cb) {
|
220
|
+
return this.request("ListOpsTasks", req, cb);
|
221
|
+
}
|
222
|
+
async StopSQLScriptRun(req, cb) {
|
223
|
+
return this.request("StopSQLScriptRun", req, cb);
|
224
|
+
}
|
225
|
+
async ListDownstreamTasks(req, cb) {
|
226
|
+
return this.request("ListDownstreamTasks", req, cb);
|
227
|
+
}
|
228
|
+
async UpdateResourceFolder(req, cb) {
|
229
|
+
return this.request("UpdateResourceFolder", req, cb);
|
230
|
+
}
|
231
|
+
async UpdateSQLScript(req, cb) {
|
232
|
+
return this.request("UpdateSQLScript", req, cb);
|
233
|
+
}
|
234
|
+
async GetTaskInstance(req, cb) {
|
235
|
+
return this.request("GetTaskInstance", req, cb);
|
236
|
+
}
|
237
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|