tencentcloud-sdk-nodejs-tokenhub 4.1.297 → 4.1.298

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tokenhub",
3
- "version": "4.1.297",
3
+ "version": "4.1.298",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -70,7 +70,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
70
70
  /**
71
71
  * 查询指定模型的 TPM 和 QPM 配额上限。
72
72
  */
73
- DescribeModelQuota(req?: DescribeModelQuotaRequest, cb?: (error: string, rep: DescribeModelQuotaResponse) => void): Promise<DescribeModelQuotaResponse>;
73
+ DescribeModelQuota(req: DescribeModelQuotaRequest, cb?: (error: string, rep: DescribeModelQuotaResponse) => void): Promise<DescribeModelQuotaResponse>;
74
74
  /**
75
75
  * 更新 API 密钥信息。
76
76
 
@@ -1283,6 +1283,34 @@ export interface DescribeUsageRankListResponse {
1283
1283
  * DescribeModelQuota返回参数结构体
1284
1284
  */
1285
1285
  export interface DescribeModelQuotaResponse {
1286
+ /**
1287
+ * <p>模型 ID。</p>
1288
+ */
1289
+ ModelId?: string;
1290
+ /**
1291
+ * <p>TPM 限制(Tokens Per Minute)。模型无配额配置时不返回此字段。</p>
1292
+ */
1293
+ TPMLimit?: number;
1294
+ /**
1295
+ * <p>RPM 限制(Request Per Minute)。模型无配额配置时不返回此字段。</p>
1296
+ */
1297
+ RPMLimit?: number;
1298
+ /**
1299
+ * <p>TPM 保障包 input 配额</p>
1300
+ */
1301
+ TPMInputQuotaLimit?: number;
1302
+ /**
1303
+ * <p>TPM 保障包 output 配额</p>
1304
+ */
1305
+ TPMOutputQuotaLimit?: number;
1306
+ /**
1307
+ * <p>TPM 预留 input 配额</p>
1308
+ */
1309
+ TPMInputReserveLimit?: number;
1310
+ /**
1311
+ * <p>TPM 预留 output 配额</p>
1312
+ */
1313
+ TPMOutputReserveLimit?: number;
1286
1314
  /**
1287
1315
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1288
1316
  */
@@ -1300,7 +1328,12 @@ export interface DescribeTokenPlanApiKeySecretRequest {
1300
1328
  /**
1301
1329
  * DescribeModelQuota请求参数结构体
1302
1330
  */
1303
- export type DescribeModelQuotaRequest = null;
1331
+ export interface DescribeModelQuotaRequest {
1332
+ /**
1333
+ * <p>模型 ID。可通过 DescribeModelList 获取。</p>
1334
+ */
1335
+ ModelId: string;
1336
+ }
1304
1337
  /**
1305
1338
  * 模型计费信息
1306
1339
  */