tencentcloud-sdk-nodejs-intl-en 3.0.1429 → 3.0.1431

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-intl-en",
3
- "version": "3.0.1429",
3
+ "version": "3.0.1431",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1429";
1
+ const sdkVersion = "3.0.1431";
2
2
  module.exports = sdkVersion
@@ -21,7 +21,7 @@ const DescribeInstanceTypesResponse = models.DescribeInstanceTypesResponse;
21
21
  const DescribePrivateNetworkInstancesRequest = models.DescribePrivateNetworkInstancesRequest;
22
22
  const DescribePublicNetworkInstancesResponse = models.DescribePublicNetworkInstancesResponse;
23
23
  const DeletePublicNetworkInstanceRequest = models.DeletePublicNetworkInstanceRequest;
24
- const TerminateInstancesResponse = models.TerminateInstancesResponse;
24
+ const CreateEdgeNodeServiceResponse = models.CreateEdgeNodeServiceResponse;
25
25
  const CreateInstancesRequest = models.CreateInstancesRequest;
26
26
  const DescribeInstanceTypesRequest = models.DescribeInstanceTypesRequest;
27
27
  const PrivateNetworkInstanceInfo = models.PrivateNetworkInstanceInfo;
@@ -36,6 +36,7 @@ const InstanceTypeQuota = models.InstanceTypeQuota;
36
36
  const ModifyPublicNetworkInstanceRequest = models.ModifyPublicNetworkInstanceRequest;
37
37
  const ReleasePublicIpRequest = models.ReleasePublicIpRequest;
38
38
  const DescribeInstancesResponse = models.DescribeInstancesResponse;
39
+ const CreateEdgeNodeServiceRequest = models.CreateEdgeNodeServiceRequest;
39
40
  const DescribeInstancesRequest = models.DescribeInstancesRequest;
40
41
  const PublicNetworkSegment = models.PublicNetworkSegment;
41
42
  const ReleasePublicIpResponse = models.ReleasePublicIpResponse;
@@ -43,6 +44,7 @@ const DescribeZoneDataResponse = models.DescribeZoneDataResponse;
43
44
  const DeletePrivateNetworkInstanceRequest = models.DeletePrivateNetworkInstanceRequest;
44
45
  const DescribePrivateNetworkInstancesResponse = models.DescribePrivateNetworkInstancesResponse;
45
46
  const CreatePrivateNetworkInstanceResponse = models.CreatePrivateNetworkInstanceResponse;
47
+ const TerminateInstancesResponse = models.TerminateInstancesResponse;
46
48
  const ModifyInstanceAttributeRequest = models.ModifyInstanceAttributeRequest;
47
49
  const ApplyPublicIpsRequest = models.ApplyPublicIpsRequest;
48
50
  const DescribePublicIpsResponse = models.DescribePublicIpsResponse;
@@ -95,6 +97,17 @@ class EdgezoneClient extends AbstractClient {
95
97
  this.request("DescribeInstances", req, resp, cb);
96
98
  }
97
99
 
100
+ /**
101
+ * Enable the billing service for edge nodes.
102
+ * @param {CreateEdgeNodeServiceRequest} req
103
+ * @param {function(string, CreateEdgeNodeServiceResponse):void} cb
104
+ * @public
105
+ */
106
+ CreateEdgeNodeService(req, cb) {
107
+ let resp = new CreateEdgeNodeServiceResponse();
108
+ this.request("CreateEdgeNodeService", req, resp, cb);
109
+ }
110
+
98
111
  /**
99
112
  * Query the public network Ip information of the user. For public network instances with routing mode set to Static, return all applied public network Ip information. For public network instances with routing mode set to Ospf and Bgp, return Ip range information directly.
100
113
  * @param {DescribePublicIpsRequest} req
@@ -229,26 +229,13 @@ class DeletePublicNetworkInstanceRequest extends AbstractModel {
229
229
  }
230
230
 
231
231
  /**
232
- * TerminateInstances response structure.
232
+ * CreateEdgeNodeService response structure.
233
233
  * @class
234
234
  */
235
- class TerminateInstancesResponse extends AbstractModel {
235
+ class CreateEdgeNodeServiceResponse extends AbstractModel {
236
236
  constructor(){
237
237
  super();
238
238
 
239
- /**
240
- * List of instance IDs successfully terminated.
241
- * @type {Array.<string> || null}
242
- */
243
- this.InstanceIdSet = null;
244
-
245
- /**
246
- * List of instances with termination failed (returned when partially successful).
247
- Note: This field may return null, indicating that no valid values can be obtained.
248
- * @type {Array.<FailedInstance> || null}
249
- */
250
- this.FailedInstanceSet = null;
251
-
252
239
  /**
253
240
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
254
241
  * @type {string || null}
@@ -264,16 +251,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
264
251
  if (!params) {
265
252
  return;
266
253
  }
267
- this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
268
-
269
- if (params.FailedInstanceSet) {
270
- this.FailedInstanceSet = new Array();
271
- for (let z in params.FailedInstanceSet) {
272
- let obj = new FailedInstance();
273
- obj.deserialize(params.FailedInstanceSet[z]);
274
- this.FailedInstanceSet.push(obj);
275
- }
276
- }
277
254
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
278
255
 
279
256
  }
@@ -1022,6 +999,34 @@ class DescribeInstancesResponse extends AbstractModel {
1022
999
  }
1023
1000
  }
1024
1001
 
1002
+ /**
1003
+ * CreateEdgeNodeService request structure.
1004
+ * @class
1005
+ */
1006
+ class CreateEdgeNodeServiceRequest extends AbstractModel {
1007
+ constructor(){
1008
+ super();
1009
+
1010
+ /**
1011
+ * Availability zone code, such as ap-guangzhou-1.
1012
+ * @type {string || null}
1013
+ */
1014
+ this.Zone = null;
1015
+
1016
+ }
1017
+
1018
+ /**
1019
+ * @private
1020
+ */
1021
+ deserialize(params) {
1022
+ if (!params) {
1023
+ return;
1024
+ }
1025
+ this.Zone = 'Zone' in params ? params.Zone : null;
1026
+
1027
+ }
1028
+ }
1029
+
1025
1030
  /**
1026
1031
  * DescribeInstances request structure.
1027
1032
  * @class
@@ -1311,6 +1316,57 @@ class CreatePrivateNetworkInstanceResponse extends AbstractModel {
1311
1316
  }
1312
1317
  }
1313
1318
 
1319
+ /**
1320
+ * TerminateInstances response structure.
1321
+ * @class
1322
+ */
1323
+ class TerminateInstancesResponse extends AbstractModel {
1324
+ constructor(){
1325
+ super();
1326
+
1327
+ /**
1328
+ * List of instance IDs successfully terminated.
1329
+ * @type {Array.<string> || null}
1330
+ */
1331
+ this.InstanceIdSet = null;
1332
+
1333
+ /**
1334
+ * List of instances with termination failed (returned when partially successful).
1335
+ Note: This field may return null, indicating that no valid values can be obtained.
1336
+ * @type {Array.<FailedInstance> || null}
1337
+ */
1338
+ this.FailedInstanceSet = null;
1339
+
1340
+ /**
1341
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1342
+ * @type {string || null}
1343
+ */
1344
+ this.RequestId = null;
1345
+
1346
+ }
1347
+
1348
+ /**
1349
+ * @private
1350
+ */
1351
+ deserialize(params) {
1352
+ if (!params) {
1353
+ return;
1354
+ }
1355
+ this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
1356
+
1357
+ if (params.FailedInstanceSet) {
1358
+ this.FailedInstanceSet = new Array();
1359
+ for (let z in params.FailedInstanceSet) {
1360
+ let obj = new FailedInstance();
1361
+ obj.deserialize(params.FailedInstanceSet[z]);
1362
+ this.FailedInstanceSet.push(obj);
1363
+ }
1364
+ }
1365
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1366
+
1367
+ }
1368
+ }
1369
+
1314
1370
  /**
1315
1371
  * ModifyInstanceAttribute request structure.
1316
1372
  * @class
@@ -2305,7 +2361,7 @@ module.exports = {
2305
2361
  DescribePrivateNetworkInstancesRequest: DescribePrivateNetworkInstancesRequest,
2306
2362
  DescribePublicNetworkInstancesResponse: DescribePublicNetworkInstancesResponse,
2307
2363
  DeletePublicNetworkInstanceRequest: DeletePublicNetworkInstanceRequest,
2308
- TerminateInstancesResponse: TerminateInstancesResponse,
2364
+ CreateEdgeNodeServiceResponse: CreateEdgeNodeServiceResponse,
2309
2365
  CreateInstancesRequest: CreateInstancesRequest,
2310
2366
  DescribeInstanceTypesRequest: DescribeInstanceTypesRequest,
2311
2367
  PrivateNetworkInstanceInfo: PrivateNetworkInstanceInfo,
@@ -2320,6 +2376,7 @@ module.exports = {
2320
2376
  ModifyPublicNetworkInstanceRequest: ModifyPublicNetworkInstanceRequest,
2321
2377
  ReleasePublicIpRequest: ReleasePublicIpRequest,
2322
2378
  DescribeInstancesResponse: DescribeInstancesResponse,
2379
+ CreateEdgeNodeServiceRequest: CreateEdgeNodeServiceRequest,
2323
2380
  DescribeInstancesRequest: DescribeInstancesRequest,
2324
2381
  PublicNetworkSegment: PublicNetworkSegment,
2325
2382
  ReleasePublicIpResponse: ReleasePublicIpResponse,
@@ -2327,6 +2384,7 @@ module.exports = {
2327
2384
  DeletePrivateNetworkInstanceRequest: DeletePrivateNetworkInstanceRequest,
2328
2385
  DescribePrivateNetworkInstancesResponse: DescribePrivateNetworkInstancesResponse,
2329
2386
  CreatePrivateNetworkInstanceResponse: CreatePrivateNetworkInstanceResponse,
2387
+ TerminateInstancesResponse: TerminateInstancesResponse,
2330
2388
  ModifyInstanceAttributeRequest: ModifyInstanceAttributeRequest,
2331
2389
  ApplyPublicIpsRequest: ApplyPublicIpsRequest,
2332
2390
  DescribePublicIpsResponse: DescribePublicIpsResponse,
@@ -4488,43 +4488,43 @@ class MLIDPassportOCRResponse extends AbstractModel {
4488
4488
  super();
4489
4489
 
4490
4490
  /**
4491
- * Passport ID
4491
+ * Parsed passport ID extracted from the MRZ (Machine-Readable Zone) of passport
4492
4492
  * @type {string || null}
4493
4493
  */
4494
4494
  this.ID = null;
4495
4495
 
4496
4496
  /**
4497
- * Name
4497
+ * Parsed full name extracted from the MRZ (Machine-Readable Zone) of passport
4498
4498
  * @type {string || null}
4499
4499
  */
4500
4500
  this.Name = null;
4501
4501
 
4502
4502
  /**
4503
- * Date of birth
4503
+ * Parsed date of birth extracted from the MRZ (Machine-Readable Zone) of passport
4504
4504
  * @type {string || null}
4505
4505
  */
4506
4506
  this.DateOfBirth = null;
4507
4507
 
4508
4508
  /**
4509
- * Gender (F: female, M: male)
4509
+ * Parsed gender extracted from the MRZ (Machine-Readable Zone) of passport
4510
4510
  * @type {string || null}
4511
4511
  */
4512
4512
  this.Sex = null;
4513
4513
 
4514
4514
  /**
4515
- * Expiration date
4515
+ * Parsed expiry date extracted from the MRZ (Machine-Readable Zone) of passport
4516
4516
  * @type {string || null}
4517
4517
  */
4518
4518
  this.DateOfExpiration = null;
4519
4519
 
4520
4520
  /**
4521
- * Issuing country
4521
+ * Parsed issuing country extracted from the MRZ (Machine-Readable Zone) of passport
4522
4522
  * @type {string || null}
4523
4523
  */
4524
4524
  this.IssuingCountry = null;
4525
4525
 
4526
4526
  /**
4527
- * Nationality code (MRZ field)
4527
+ * Parsed country-region code extracted from the MRZ (Machine-Readable Zone) of passport
4528
4528
  * @type {string || null}
4529
4529
  */
4530
4530
  this.Nationality = null;
@@ -4548,33 +4548,31 @@ class MLIDPassportOCRResponse extends AbstractModel {
4548
4548
  this.AdvancedInfo = null;
4549
4549
 
4550
4550
  /**
4551
- * The first row of the machine-readable zone (MRZ) at the bottom
4551
+ * Parsed MRZ line 1 raw sequence extracted from the MRZ (Machine-Readable Zone) of passport
4552
4552
  * @type {string || null}
4553
4553
  */
4554
4554
  this.CodeSet = null;
4555
4555
 
4556
4556
  /**
4557
- * The second row of the MRZ at the bottom
4557
+ * Parsed MRZ line 2 raw sequence extracted from the MRZ (Machine-Readable Zone) of passport
4558
4558
  * @type {string || null}
4559
4559
  */
4560
4560
  this.CodeCrc = null;
4561
4561
 
4562
4562
  /**
4563
- * The surname.
4564
- Note: This field may return null, indicating that no valid values can be obtained.
4563
+ * Parsed surname extracted from the MRZ (Machine-Readable Zone) of passport
4565
4564
  * @type {string || null}
4566
4565
  */
4567
4566
  this.Surname = null;
4568
4567
 
4569
4568
  /**
4570
- * The given name.
4571
- Note: This field may return null, indicating that no valid values can be obtained.
4569
+ * Parsed given name extracted from the MRZ (Machine-Readable Zone) of passport
4572
4570
  * @type {string || null}
4573
4571
  */
4574
4572
  this.GivenName = null;
4575
4573
 
4576
4574
  /**
4577
- * Type (in Machine Readable Zone)
4575
+ * Parsed document type extracted from the MRZ (Machine-Readable Zone) of passport
4578
4576
  * @type {string || null}
4579
4577
  */
4580
4578
  this.Type = null;
@@ -4591,7 +4589,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
4591
4589
  -9101 Alarm for covered certificate
4592
4590
  -9102 Alarm for photocopied certificate
4593
4591
  -9103 Alarm for photographed certificate
4594
- -9104 Alarm for tamper certificate
4592
+ -9104 Alarm for PS certificate
4595
4593
  -9107 Alarm for reflective certificate
4596
4594
  -9108 Alarm for blurry certificate
4597
4595
  -9109 This capability is not enabled. Please contact customer support to activate the alert service.
@@ -6833,7 +6833,7 @@ class DeleteTriggerResponse extends AbstractModel {
6833
6833
  super();
6834
6834
 
6835
6835
  /**
6836
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6836
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6837
6837
  * @type {string || null}
6838
6838
  */
6839
6839
  this.RequestId = null;
@@ -6926,7 +6926,7 @@ class DeleteTriggerRequest extends AbstractModel {
6926
6926
  this.TriggerDesc = null;
6927
6927
 
6928
6928
  /**
6929
- * Function version. It defaults to `$LATEST`. It’s recommended to use `[$DEFAULT](https://intl.cloud.tencent.com/document/product/583/36149?from_cn_redirect=1#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)` for canary release.
6929
+ * Function version. It defaults to `$LATEST`. It's recommended to use `[$DEFAULT](https://www.tencentcloud.com/document/product/583/37458#glossary)` for canary release.
6930
6930
  * @type {string || null}
6931
6931
  */
6932
6932
  this.Qualifier = null;
@@ -9436,6 +9436,56 @@ Note: This field may return null, which indicates a failure to obtain a valid va
9436
9436
  }
9437
9437
  }
9438
9438
 
9439
+ /**
9440
+ * DescribeIPGroupReferences response structure.
9441
+ * @class
9442
+ */
9443
+ class DescribeIPGroupReferencesResponse extends AbstractModel {
9444
+ constructor(){
9445
+ super();
9446
+
9447
+ /**
9448
+ * <p>Details of policy configurations that reference the specified IP group.</p>
9449
+ * @type {Array.<IPGroupReference> || null}
9450
+ */
9451
+ this.References = null;
9452
+
9453
+ /**
9454
+ * <p>Total number of query results.</p>
9455
+ * @type {number || null}
9456
+ */
9457
+ this.TotalCount = null;
9458
+
9459
+ /**
9460
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
9461
+ * @type {string || null}
9462
+ */
9463
+ this.RequestId = null;
9464
+
9465
+ }
9466
+
9467
+ /**
9468
+ * @private
9469
+ */
9470
+ deserialize(params) {
9471
+ if (!params) {
9472
+ return;
9473
+ }
9474
+
9475
+ if (params.References) {
9476
+ this.References = new Array();
9477
+ for (let z in params.References) {
9478
+ let obj = new IPGroupReference();
9479
+ obj.deserialize(params.References[z]);
9480
+ this.References.push(obj);
9481
+ }
9482
+ }
9483
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
9484
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
9485
+
9486
+ }
9487
+ }
9488
+
9439
9489
  /**
9440
9490
  * CreateEdgeKVNamespace request structure.
9441
9491
  * @class
@@ -17094,39 +17144,41 @@ class IPGroup extends AbstractModel {
17094
17144
  super();
17095
17145
 
17096
17146
  /**
17097
- * Group ID. Enter `0`.
17147
+ * <p>IP group Id. Enter 0 when created.</p>
17098
17148
  * @type {number || null}
17099
17149
  */
17100
17150
  this.GroupId = null;
17101
17151
 
17102
17152
  /**
17103
- * Group name.
17153
+ * <p>IP group name.</p>
17104
17154
  * @type {string || null}
17105
17155
  */
17106
17156
  this.Name = null;
17107
17157
 
17108
17158
  /**
17109
- * IP group content, supports ip and ip range.
17159
+ * <p>IP group content supports only IP and IP range.</p>
17110
17160
  * @type {Array.<string> || null}
17111
17161
  */
17112
17162
  this.Content = null;
17113
17163
 
17114
17164
  /**
17115
- * Number of ips or ranges in effect in the IP group. valid as an output parameter, no need to specify this field as an input parameter.
17165
+ * <p>Number of IPs or IP ranges that are effective in the IP group. Valid as an output parameter. Not required as an input parameter.</p>
17116
17166
  * @type {number || null}
17117
17167
  */
17118
17168
  this.IPTotalCount = null;
17119
17169
 
17120
17170
  /**
17121
- * Specifies the scheduled expiration information of the IP.
17122
- Specifies the IP address or IP range configuration with scheduled expiration time as an input parameter.
17123
- As an output parameter, contains the following two categories of information.
17124
- <Li>Currently not expired scheduled expiration information: expiration configuration not triggered.</li>.
17125
- <Li>Scheduled expiration information expired within a week: cache expiration configuration has been triggered.</li>.
17171
+ * <p>Scheduled expiration information for IP.<br>As an input parameter, it is used to specify a scheduled expiration time for a given IP address or IP range.<br>As an output parameter, it contains the following two categories of information:</p><li>Current scheduled expiration information that has not expired: expiration configuration not triggered.</li><li>Scheduled expiration information that has expired within a week: expiration configuration that has been triggered.</li>
17126
17172
  * @type {Array.<IPExpireInfo> || null}
17127
17173
  */
17128
17174
  this.IPExpireInfo = null;
17129
17175
 
17176
+ /**
17177
+ * <p>The number of IP groups referenced.</p>
17178
+ * @type {number || null}
17179
+ */
17180
+ this.RefCount = null;
17181
+
17130
17182
  }
17131
17183
 
17132
17184
  /**
@@ -17149,6 +17201,7 @@ As an output parameter, contains the following two categories of information.
17149
17201
  this.IPExpireInfo.push(obj);
17150
17202
  }
17151
17203
  }
17204
+ this.RefCount = 'RefCount' in params ? params.RefCount : null;
17152
17205
 
17153
17206
  }
17154
17207
  }
@@ -28367,19 +28420,37 @@ class DescribeApplicationProxiesRequest extends AbstractModel {
28367
28420
  }
28368
28421
 
28369
28422
  /**
28370
- * DescribeContentQuota request structure.
28423
+ * DescribeIPGroupReferences request structure.
28371
28424
  * @class
28372
28425
  */
28373
- class DescribeContentQuotaRequest extends AbstractModel {
28426
+ class DescribeIPGroupReferencesRequest extends AbstractModel {
28374
28427
  constructor(){
28375
28428
  super();
28376
28429
 
28377
28430
  /**
28378
- * ID of the site.
28431
+ * <p>Site ID.</p>
28379
28432
  * @type {string || null}
28380
28433
  */
28381
28434
  this.ZoneId = null;
28382
28435
 
28436
+ /**
28437
+ * <p>IP group ID.</p>
28438
+ * @type {number || null}
28439
+ */
28440
+ this.GroupId = null;
28441
+
28442
+ /**
28443
+ * <p>Paging offset.</p><p>Default value: 0.</p>
28444
+ * @type {number || null}
28445
+ */
28446
+ this.Offset = null;
28447
+
28448
+ /**
28449
+ * <p>Paging query to refer to the number of entries of IP group configuration.</p><p>Value ranges from 1 to 200.</p><p>Default value: 20.</p>
28450
+ * @type {number || null}
28451
+ */
28452
+ this.Limit = null;
28453
+
28383
28454
  }
28384
28455
 
28385
28456
  /**
@@ -28390,6 +28461,9 @@ class DescribeContentQuotaRequest extends AbstractModel {
28390
28461
  return;
28391
28462
  }
28392
28463
  this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
28464
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
28465
+ this.Offset = 'Offset' in params ? params.Offset : null;
28466
+ this.Limit = 'Limit' in params ? params.Limit : null;
28393
28467
 
28394
28468
  }
28395
28469
  }
@@ -34235,7 +34309,15 @@ class ExportZoneConfigRequest extends AbstractModel {
34235
34309
  this.ZoneId = null;
34236
34310
 
34237
34311
  /**
34238
- * Export the type list of configuration items. Leave it blank to export all types of configurations. Currently supported values include: <li>L7AccelerationConfig: Exporting the Layer-7 acceleration configuration, corresponding to the console "Site Acceleration - Global Acceleration Configuration" and "Site Acceleration - Rule Engine".</li><li>WebSecurity: Exporting the web protection configuration.</li><li>AccelerationDomain: Exporting the acceleration domain configuration, corresponding to the console "DNS - Domain Name Management" and "DNS - Shared CNAME Management".</li><li>Origin: Exporting the origin configuration, corresponding to the console "Origin Configuration - Origin Group" and "Origin Configuration - Load Balancing".</li> Note: Types supported for future export will increase with iterations. When exporting all types, pay attention to export file size. It is recommended to specify the configuration types to be exported to control the request and response packet payload size.
34312
+ * Export the type list of configuration items. Leave it blank to export all types of configurations. Currently supported values include:
34313
+ <ul>
34314
+ <li>L7AccelerationConfig: Exporting the Layer-7 acceleration configuration, corresponding to the console "Site Acceleration - Global Acceleration Configuration" and "Site Acceleration - Rule Engine".</li>
34315
+ <li>WebSecurity: Exporting the web protection configuration.</li>
34316
+ <li>AccelerationDomain: Exporting the acceleration domain configuration, corresponding to the console "DNS - Domain Name Management" and "DNS - Shared CNAME Management".</li>
34317
+ <li>Origin: Exporting the origin configuration, corresponding to the console "Origin Configuration - Origin Group" and "Origin Configuration - Load Balancing".</li>
34318
+ </ul>
34319
+ Note: Types supported for future export will increase with iterations. When exporting all types, pay attention to export file size. It is recommended to specify the configuration types to be exported to control the request and response packet payload size.
34320
+
34239
34321
  * @type {Array.<string> || null}
34240
34322
  */
34241
34323
  this.Types = null;
@@ -38110,6 +38192,34 @@ class IPSSLSetting extends AbstractModel {
38110
38192
  }
38111
38193
  }
38112
38194
 
38195
+ /**
38196
+ * DescribeContentQuota request structure.
38197
+ * @class
38198
+ */
38199
+ class DescribeContentQuotaRequest extends AbstractModel {
38200
+ constructor(){
38201
+ super();
38202
+
38203
+ /**
38204
+ * ID of the site.
38205
+ * @type {string || null}
38206
+ */
38207
+ this.ZoneId = null;
38208
+
38209
+ }
38210
+
38211
+ /**
38212
+ * @private
38213
+ */
38214
+ deserialize(params) {
38215
+ if (!params) {
38216
+ return;
38217
+ }
38218
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
38219
+
38220
+ }
38221
+ }
38222
+
38113
38223
  /**
38114
38224
  * ModifyFunctionReplica request structure.
38115
38225
  * @class
@@ -41296,6 +41406,76 @@ class CreateMultiPathGatewayLineRequest extends AbstractModel {
41296
41406
  }
41297
41407
  }
41298
41408
 
41409
+ /**
41410
+ * Refer to the security module of the IP group.
41411
+ * @class
41412
+ */
41413
+ class IPGroupReference extends AbstractModel {
41414
+ constructor(){
41415
+ super();
41416
+
41417
+ /**
41418
+ * <p>Site ID.</p>
41419
+ * @type {string || null}
41420
+ */
41421
+ this.ZoneId = null;
41422
+
41423
+ /**
41424
+ * <p>Entity type.</p><p>Enumeration value:</p><ul><li>WebSec.ZonePolicy: Site-level protection strategy</li><li>WebSec.HostPolicy: Domain-level security policy</li><li>WebSec.Template: Policy template</li><li>DDoS.L4Proxy: Layer 4 proxy DDoS protection</li><li>DDoS.L3Transit: Layer-3 transit DDoS protection</li></ul>
41425
+ * @type {string || null}
41426
+ */
41427
+ this.EntityType = null;
41428
+
41429
+ /**
41430
+ * <p>The physical identification represents different meanings based on EntityType:</p><ul><li>WebSec.ZonePolicy: site ID;</li><li>WebSec.HostPolicy: domain name;</li><li>WebSec.Template: template ID;</li><li>DDoS.L4Proxy: instance ID;</li><li>DDoS.L3Transit: instance ID.</li></ul>
41431
+ * @type {string || null}
41432
+ */
41433
+ this.EntityId = null;
41434
+
41435
+ /**
41436
+ * <p>Entity identification represents different meanings based on EntityType:</p><ul><li>WebSec.ZonePolicy: empty;</li><li>WebSec.HostPolicy: empty;</li><li>WebSec.Template: template name;</li><li>DDoS.L4Proxy: empty;</li><li>DDoS.L3Transit: empty.</li></ul>
41437
+ * @type {string || null}
41438
+ */
41439
+ this.EntityName = null;
41440
+
41441
+ /**
41442
+ * <p>Sub-entity type.</p><p>Enumeration value:</p><ul><li>WebSec.ExceptionRule: Protection exception rule</li><li>WebSec.BasicAccessRule: Basic access control</li><li>WebSec.PreciseMatchRule: Precise matching rule</li><li>WebSec.RateLimitRule: Precision rate limiting</li><li>WebSec.BotCustomRule: Advanced bot management - custom rule</li><li>DDoS.L4Proxy.IpAccessControl: Layer 4 proxy ddos protection - IP blocklist and allowlist</li><li>DDoS.L3Transit.IpAccessControl: Layer-3 transit ddos protection - IP blocklist and allowlist</li></ul>
41443
+ * @type {string || null}
41444
+ */
41445
+ this.SubEntityType = null;
41446
+
41447
+ /**
41448
+ * <p>Sub-entity ID, which represents different meanings according to SubEntityType:</p><ul><li>WebSec.ExceptionRule: rule ID;</li><li>WebSec.BasicAccessRule: rule ID;</li><li>WebSec.PreciseMatchRule: rule ID;</li><li>WebSec.RateLimitRule: rule ID;</li><li>WebSec.BotCustomRule: rule ID;</li><li>DDoS.L4Proxy.IpAccessControl: null;</li><li>DDoS.L3Transit.IpAccessControl: null. </li></ul><p>EntityType and SubEntityType are correspondences, and different EntityTypes support different SubEntityTypes. <br>WebSec.ZonePolicy, WebSec.HostPolicy, and WebSec.Template support the following SubEntityTypes:</p><ul><li>WebSec.ExceptionRule;</li><li>WebSec.BasicAccessRule;</li><li>WebSec.PreciseMatchRule;</li><li>WebSec.RateLimitRule;</li><li>WebSec.BotCustomRule. </li></ul>DDoS.L4Proxy supports the following SubEntityTypes: <ul><li>DDoS.L4Proxy.IpAccessControl;</li></ul> DDoS.L3Transit supports the following SubEntityTypes: <ul><li>DDoS.L3Transit.IpAccessControl. </li></ul>
41449
+ * @type {string || null}
41450
+ */
41451
+ this.SubEntityId = null;
41452
+
41453
+ /**
41454
+ * <p>Sub-entity name. It represents different meanings based on SubEntityType:</p><ul><li>WebSec.ExceptionRule: rule name;</li><li>WebSec.BasicAccessRule: rule name;</li><li>WebSec.PreciseMatchRule: rule name;</li><li>WebSec.RateLimitRule: rule name;</li><li>WebSec.BotCustomRule: rule name;</li><li>DDoS.L4Proxy.IpAccessControl: rule name, block indicates blocklist, allow indicates allowlist;</li><li>DDoS.L3Transit.IpAccessControl: rule name, block indicates blocklist, allow indicates allowlist.</li></ul>
41455
+ * @type {string || null}
41456
+ */
41457
+ this.SubEntityName = null;
41458
+
41459
+ }
41460
+
41461
+ /**
41462
+ * @private
41463
+ */
41464
+ deserialize(params) {
41465
+ if (!params) {
41466
+ return;
41467
+ }
41468
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
41469
+ this.EntityType = 'EntityType' in params ? params.EntityType : null;
41470
+ this.EntityId = 'EntityId' in params ? params.EntityId : null;
41471
+ this.EntityName = 'EntityName' in params ? params.EntityName : null;
41472
+ this.SubEntityType = 'SubEntityType' in params ? params.SubEntityType : null;
41473
+ this.SubEntityId = 'SubEntityId' in params ? params.SubEntityId : null;
41474
+ this.SubEntityName = 'SubEntityName' in params ? params.SubEntityName : null;
41475
+
41476
+ }
41477
+ }
41478
+
41299
41479
  /**
41300
41480
  * CreateContentIdentifier response structure.
41301
41481
  * @class
@@ -44388,6 +44568,7 @@ module.exports = {
44388
44568
  RangeOriginPullParameters: RangeOriginPullParameters,
44389
44569
  ApplyFreeCertificateResponse: ApplyFreeCertificateResponse,
44390
44570
  CurrentOriginACL: CurrentOriginACL,
44571
+ DescribeIPGroupReferencesResponse: DescribeIPGroupReferencesResponse,
44391
44572
  CreateEdgeKVNamespaceRequest: CreateEdgeKVNamespaceRequest,
44392
44573
  SecurityConfig: SecurityConfig,
44393
44574
  CreateSecurityIPGroupRequest: CreateSecurityIPGroupRequest,
@@ -44755,7 +44936,7 @@ module.exports = {
44755
44936
  InferenceEnvironmentVariable: InferenceEnvironmentVariable,
44756
44937
  CreatePlanResponse: CreatePlanResponse,
44757
44938
  DescribeApplicationProxiesRequest: DescribeApplicationProxiesRequest,
44758
- DescribeContentQuotaRequest: DescribeContentQuotaRequest,
44939
+ DescribeIPGroupReferencesRequest: DescribeIPGroupReferencesRequest,
44759
44940
  AllowActionParameters: AllowActionParameters,
44760
44941
  InferenceResourceConfigForModify: InferenceResourceConfigForModify,
44761
44942
  Hsts: Hsts,
@@ -44928,6 +45109,7 @@ module.exports = {
44928
45109
  DescribeMultiPathGatewaySecretKeyRequest: DescribeMultiPathGatewaySecretKeyRequest,
44929
45110
  DDoSBlockData: DDoSBlockData,
44930
45111
  IPSSLSetting: IPSSLSetting,
45112
+ DescribeContentQuotaRequest: DescribeContentQuotaRequest,
44931
45113
  ModifyFunctionReplicaRequest: ModifyFunctionReplicaRequest,
44932
45114
  DescribeMultiPathGatewaysRequest: DescribeMultiPathGatewaysRequest,
44933
45115
  BotPortraitRule: BotPortraitRule,
@@ -44998,6 +45180,7 @@ module.exports = {
44998
45180
  DescribeDefaultCertificatesResponse: DescribeDefaultCertificatesResponse,
44999
45181
  CreateOriginGroupResponse: CreateOriginGroupResponse,
45000
45182
  CreateMultiPathGatewayLineRequest: CreateMultiPathGatewayLineRequest,
45183
+ IPGroupReference: IPGroupReference,
45001
45184
  CreateContentIdentifierResponse: CreateContentIdentifierResponse,
45002
45185
  HostHeaderParameters: HostHeaderParameters,
45003
45186
  DescribeConfigGroupVersionsRequest: DescribeConfigGroupVersionsRequest,
@@ -191,6 +191,7 @@ const DeleteZoneRequest = models.DeleteZoneRequest;
191
191
  const RangeOriginPullParameters = models.RangeOriginPullParameters;
192
192
  const ApplyFreeCertificateResponse = models.ApplyFreeCertificateResponse;
193
193
  const CurrentOriginACL = models.CurrentOriginACL;
194
+ const DescribeIPGroupReferencesResponse = models.DescribeIPGroupReferencesResponse;
194
195
  const CreateEdgeKVNamespaceRequest = models.CreateEdgeKVNamespaceRequest;
195
196
  const SecurityConfig = models.SecurityConfig;
196
197
  const CreateSecurityIPGroupRequest = models.CreateSecurityIPGroupRequest;
@@ -558,7 +559,7 @@ const CreateL4ProxyRequest = models.CreateL4ProxyRequest;
558
559
  const InferenceEnvironmentVariable = models.InferenceEnvironmentVariable;
559
560
  const CreatePlanResponse = models.CreatePlanResponse;
560
561
  const DescribeApplicationProxiesRequest = models.DescribeApplicationProxiesRequest;
561
- const DescribeContentQuotaRequest = models.DescribeContentQuotaRequest;
562
+ const DescribeIPGroupReferencesRequest = models.DescribeIPGroupReferencesRequest;
562
563
  const AllowActionParameters = models.AllowActionParameters;
563
564
  const InferenceResourceConfigForModify = models.InferenceResourceConfigForModify;
564
565
  const Hsts = models.Hsts;
@@ -731,6 +732,7 @@ const ModifyMultiPathGatewaySecretKeyResponse = models.ModifyMultiPathGatewaySec
731
732
  const DescribeMultiPathGatewaySecretKeyRequest = models.DescribeMultiPathGatewaySecretKeyRequest;
732
733
  const DDoSBlockData = models.DDoSBlockData;
733
734
  const IPSSLSetting = models.IPSSLSetting;
735
+ const DescribeContentQuotaRequest = models.DescribeContentQuotaRequest;
734
736
  const ModifyFunctionReplicaRequest = models.ModifyFunctionReplicaRequest;
735
737
  const DescribeMultiPathGatewaysRequest = models.DescribeMultiPathGatewaysRequest;
736
738
  const BotPortraitRule = models.BotPortraitRule;
@@ -801,6 +803,7 @@ const ModifyMultiPathGatewayLineResponse = models.ModifyMultiPathGatewayLineResp
801
803
  const DescribeDefaultCertificatesResponse = models.DescribeDefaultCertificatesResponse;
802
804
  const CreateOriginGroupResponse = models.CreateOriginGroupResponse;
803
805
  const CreateMultiPathGatewayLineRequest = models.CreateMultiPathGatewayLineRequest;
806
+ const IPGroupReference = models.IPGroupReference;
804
807
  const CreateContentIdentifierResponse = models.CreateContentIdentifierResponse;
805
808
  const HostHeaderParameters = models.HostHeaderParameters;
806
809
  const DescribeConfigGroupVersionsRequest = models.DescribeConfigGroupVersionsRequest;
@@ -1278,6 +1281,17 @@ You can obtain the designated CNAME domain name assigned by EdgeOne for the inte
1278
1281
  this.request("CheckCnameStatus", req, resp, cb);
1279
1282
  }
1280
1283
 
1284
+ /**
1285
+ * This API is used to query policy configurations that reference a specified IP group.
1286
+ * @param {DescribeIPGroupReferencesRequest} req
1287
+ * @param {function(string, DescribeIPGroupReferencesResponse):void} cb
1288
+ * @public
1289
+ */
1290
+ DescribeIPGroupReferences(req, cb) {
1291
+ let resp = new DescribeIPGroupReferencesResponse();
1292
+ this.request("DescribeIPGroupReferences", req, resp, cb);
1293
+ }
1294
+
1281
1295
  /**
1282
1296
  * This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [ModifyL7AccSetting](https://intl.cloud.tencent.com/document/product/1552/115817?from_cn_redirect=1).
1283
1297
  * @param {ModifyZoneSettingRequest} req
@@ -928,6 +928,73 @@ class RenewTokenPlanTeamOrderResponse extends AbstractModel {
928
928
  }
929
929
  }
930
930
 
931
+ /**
932
+ * Usage item of an individual object in the ranking list, including the object identifier, statistical values within a time period (Stats), and a list of time series points within a time period (Series, returned only when ShowAll=false).
933
+ * @class
934
+ */
935
+ class UsageRankItem extends AbstractModel {
936
+ constructor(){
937
+ super();
938
+
939
+ /**
940
+ * Global ranking (starting from 1). In pagination scenarios, this is still the position in the full sorting order, not the serial number within the page.
941
+ * @type {number || null}
942
+ */
943
+ this.Rank = null;
944
+
945
+ /**
946
+ * Object identifier. The apikey dimension is the APIKey ID; the endpoint dimension is the access point; the model dimension is the model name.
947
+ * @type {string || null}
948
+ */
949
+ this.Key = null;
950
+
951
+ /**
952
+ * Display name of the object. In the apikey dimension, return the APIKey name (deleted APIKeys retain their original names);
953
+ Key whose endpoint and model dimensions are equal.
954
+ * @type {string || null}
955
+ */
956
+ this.Name = null;
957
+
958
+ /**
959
+ * Statistical value within a time period
960
+ * @type {UsageStats || null}
961
+ */
962
+ this.Stats = null;
963
+
964
+ /**
965
+ * List of time series points within a time period
966
+ * @type {UsageSeries || null}
967
+ */
968
+ this.Series = null;
969
+
970
+ }
971
+
972
+ /**
973
+ * @private
974
+ */
975
+ deserialize(params) {
976
+ if (!params) {
977
+ return;
978
+ }
979
+ this.Rank = 'Rank' in params ? params.Rank : null;
980
+ this.Key = 'Key' in params ? params.Key : null;
981
+ this.Name = 'Name' in params ? params.Name : null;
982
+
983
+ if (params.Stats) {
984
+ let obj = new UsageStats();
985
+ obj.deserialize(params.Stats)
986
+ this.Stats = obj;
987
+ }
988
+
989
+ if (params.Series) {
990
+ let obj = new UsageSeries();
991
+ obj.deserialize(params.Series)
992
+ this.Series = obj;
993
+ }
994
+
995
+ }
996
+ }
997
+
931
998
  /**
932
999
  * Token Plan API Key details
933
1000
  * @class
@@ -1196,6 +1263,69 @@ class DescribeApiKeyListRequest extends AbstractModel {
1196
1263
  }
1197
1264
  }
1198
1265
 
1266
+ /**
1267
+ * List of time series points within the usage time period (indexed by metric key). It is a JSON array in string form. The array length matches the response Timestamps, and null is used where there is no data point. The specific keys included are determined by the response MetricKeys.
1268
+ * @class
1269
+ */
1270
+ class UsageSeries extends AbstractModel {
1271
+ constructor(){
1272
+ super();
1273
+
1274
+ /**
1275
+ * <p>Amount of total tokens used within a time period in JSON string form, for example, <code>&quot;[12,null,15]&quot;</code>.</p>
1276
+ * @type {string || null}
1277
+ */
1278
+ this.TotalToken = null;
1279
+
1280
+ /**
1281
+ * <p>Amount of input tokens used within a time period in JSON string form, for example, <code>&quot;[7,null,9]&quot;</code>.</p>
1282
+ * @type {string || null}
1283
+ */
1284
+ this.InputTotalToken = null;
1285
+
1286
+ /**
1287
+ * <p>Amount of output tokens used within a time period in JSON string form, for example, <code>&quot;[5,null,6]&quot;</code>.</p>
1288
+ * @type {string || null}
1289
+ */
1290
+ this.OutputTotalToken = null;
1291
+
1292
+ /**
1293
+ * <p>Read cache token count usage of the tokens family in JSON string form within a time period, for example, <code>&quot;[5,null,6]&quot;</code>.</p>
1294
+ * @type {string || null}
1295
+ */
1296
+ this.CacheTotalToken = null;
1297
+
1298
+ /**
1299
+ * <p>Usage of search requests in JSON string form within a time period, for example, <code>&quot;[5,null,6]&quot;</code>.</p>
1300
+ * @type {string || null}
1301
+ */
1302
+ this.SearchRequestCount = null;
1303
+
1304
+ /**
1305
+ * <p>Usage of search engine call count in JSON string form within a time period, for example, <code>&quot;[5,null,6]&quot;</code>.</p>
1306
+ * @type {string || null}
1307
+ */
1308
+ this.SearchCount = null;
1309
+
1310
+ }
1311
+
1312
+ /**
1313
+ * @private
1314
+ */
1315
+ deserialize(params) {
1316
+ if (!params) {
1317
+ return;
1318
+ }
1319
+ this.TotalToken = 'TotalToken' in params ? params.TotalToken : null;
1320
+ this.InputTotalToken = 'InputTotalToken' in params ? params.InputTotalToken : null;
1321
+ this.OutputTotalToken = 'OutputTotalToken' in params ? params.OutputTotalToken : null;
1322
+ this.CacheTotalToken = 'CacheTotalToken' in params ? params.CacheTotalToken : null;
1323
+ this.SearchRequestCount = 'SearchRequestCount' in params ? params.SearchRequestCount : null;
1324
+ this.SearchCount = 'SearchCount' in params ? params.SearchCount : null;
1325
+
1326
+ }
1327
+ }
1328
+
1199
1329
  /**
1200
1330
  * CreateGlossary request structure.
1201
1331
  * @class
@@ -1738,25 +1868,13 @@ class ModifyTokenPlanApiKeyRequest extends AbstractModel {
1738
1868
  }
1739
1869
 
1740
1870
  /**
1741
- * Billing item for Token aggregation
1871
+ * ModifyApiKeyStatus request structure.
1742
1872
  * @class
1743
1873
  */
1744
- class TokenSummaryBillingItem extends AbstractModel {
1874
+ class ModifyApiKeyStatusRequest extends AbstractModel {
1745
1875
  constructor(){
1746
1876
  super();
1747
1877
 
1748
- /**
1749
- * Billing item. Values: input (input Token), output (output Token), cache (cache Token), call_count (call count).
1750
- * @type {string || null}
1751
- */
1752
- this.BillingItem = null;
1753
-
1754
- /**
1755
- * Aggregated raw usage of this billing item during a period. Unit: tokens.
1756
- * @type {number || null}
1757
- */
1758
- this.TotalQty = null;
1759
-
1760
1878
  }
1761
1879
 
1762
1880
  /**
@@ -1766,8 +1884,6 @@ class TokenSummaryBillingItem extends AbstractModel {
1766
1884
  if (!params) {
1767
1885
  return;
1768
1886
  }
1769
- this.BillingItem = 'BillingItem' in params ? params.BillingItem : null;
1770
- this.TotalQty = 'TotalQty' in params ? params.TotalQty : null;
1771
1887
 
1772
1888
  }
1773
1889
  }
@@ -2291,6 +2407,41 @@ class DescribeTokenPlanApiKeyUsageDetailRequest extends AbstractModel {
2291
2407
  }
2292
2408
  }
2293
2409
 
2410
+ /**
2411
+ * Billing item for Token aggregation
2412
+ * @class
2413
+ */
2414
+ class TokenSummaryBillingItem extends AbstractModel {
2415
+ constructor(){
2416
+ super();
2417
+
2418
+ /**
2419
+ * Billing item. Values: input (input Token), output (output Token), cache (cache Token), call_count (call count).
2420
+ * @type {string || null}
2421
+ */
2422
+ this.BillingItem = null;
2423
+
2424
+ /**
2425
+ * Aggregated raw usage of this billing item during a period. Unit: tokens.
2426
+ * @type {number || null}
2427
+ */
2428
+ this.TotalQty = null;
2429
+
2430
+ }
2431
+
2432
+ /**
2433
+ * @private
2434
+ */
2435
+ deserialize(params) {
2436
+ if (!params) {
2437
+ return;
2438
+ }
2439
+ this.BillingItem = 'BillingItem' in params ? params.BillingItem : null;
2440
+ this.TotalQty = 'TotalQty' in params ? params.TotalQty : null;
2441
+
2442
+ }
2443
+ }
2444
+
2294
2445
  /**
2295
2446
  * UpgradeTokenPlanTeamOrder request structure.
2296
2447
  * @class
@@ -2327,13 +2478,61 @@ class UpgradeTokenPlanTeamOrderRequest extends AbstractModel {
2327
2478
  }
2328
2479
 
2329
2480
  /**
2330
- * ModifyApiKeyStatus request structure.
2481
+ * DescribeUsageRankList request structure.
2331
2482
  * @class
2332
2483
  */
2333
- class ModifyApiKeyStatusRequest extends AbstractModel {
2484
+ class DescribeUsageRankListRequest extends AbstractModel {
2334
2485
  constructor(){
2335
2486
  super();
2336
2487
 
2488
+ /**
2489
+ * <p>Statistical dimension. Values: apikey (statistics by APIKey), endpoint (statistics by access point), model (statistics by model).</p>
2490
+ * @type {string || null}
2491
+ */
2492
+ this.Dimension = null;
2493
+
2494
+ /**
2495
+ * <p>Start time (inclusive interval), in RFC3339 format.</p>
2496
+ * @type {string || null}
2497
+ */
2498
+ this.StartTime = null;
2499
+
2500
+ /**
2501
+ * <p>End time (open interval) in RFC3339 format. The maximum span from StartTime is 90 days.</p>
2502
+ * @type {string || null}
2503
+ */
2504
+ this.EndTime = null;
2505
+
2506
+ /**
2507
+ * <p>Metric family switch field.</p><ul><li>tokens (default): Token consumption chart (statistics=sum), supports Dimension = apikey/endpoint/model</li><li>search [to be launched]: Online search call count (statistics=sum), only supports Dimension = model</li><li>Other values return InvalidParameter.</li></ul><p>Enum values:</p><ul><li>tokens: tokens</li></ul>
2508
+ * @type {string || null}
2509
+ */
2510
+ this.MetricType = null;
2511
+
2512
+ /**
2513
+ * <p>Dimension filtering value. An empty string indicates querying all objects; a non-empty string indicates querying only the specified single object (for example, a designated APIKey ID). Maximum 256 characters.</p>
2514
+ * @type {string || null}
2515
+ */
2516
+ this.Target = null;
2517
+
2518
+ /**
2519
+ * <p>Statistical granularity (seconds). Value: 60, 300, 3600, 86400. Must not be less than the lower limit corresponding to the span: span ≤ 1 day → 60; 1–5 days → 300; 5–10 days → 3600; &gt; 10 days → 86400. Used only when ShowAll=false.</p>
2520
+ * @type {number || null}
2521
+ */
2522
+ this.Period = null;
2523
+
2524
+ /**
2525
+ * <p>Pagination starting point, starting from 0, default 0. Ignore timing when ShowAll=true. Page size fixed as 10.</p>
2526
+ * @type {number || null}
2527
+ */
2528
+ this.Offset = null;
2529
+
2530
+ /**
2531
+ * <p>Whether to return full result.</p><ul><li>false (default): Return TopList in pages by Offset (10 items per page). Each object contains <br>Series time series points for drawing curves.</li><li>true: Ignore Offset and return the full object list without Series (CSV export scenario).</li></ul>
2532
+ * @type {boolean || null}
2533
+ */
2534
+ this.ShowAll = null;
2535
+
2337
2536
  }
2338
2537
 
2339
2538
  /**
@@ -2343,6 +2542,14 @@ class ModifyApiKeyStatusRequest extends AbstractModel {
2343
2542
  if (!params) {
2344
2543
  return;
2345
2544
  }
2545
+ this.Dimension = 'Dimension' in params ? params.Dimension : null;
2546
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
2547
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
2548
+ this.MetricType = 'MetricType' in params ? params.MetricType : null;
2549
+ this.Target = 'Target' in params ? params.Target : null;
2550
+ this.Period = 'Period' in params ? params.Period : null;
2551
+ this.Offset = 'Offset' in params ? params.Offset : null;
2552
+ this.ShowAll = 'ShowAll' in params ? params.ShowAll : null;
2346
2553
 
2347
2554
  }
2348
2555
  }
@@ -3419,6 +3626,213 @@ class CreateTokenPlanApiKeysRequest extends AbstractModel {
3419
3626
  }
3420
3627
  }
3421
3628
 
3629
+ /**
3630
+ * Statistical aggregate values within a time period (indexed by metric key). Declares that both the tokens and search field families are in this schema, with values obtained based on the actual MetricKeys returned. See the top-level `MetricKeys` field in the response.
3631
+ * @class
3632
+ */
3633
+ class UsageStats extends AbstractModel {
3634
+ constructor(){
3635
+ super();
3636
+
3637
+ /**
3638
+ * <p>Total tokens accumulated within a time period.</p>
3639
+ * @type {number || null}
3640
+ */
3641
+ this.TotalToken = null;
3642
+
3643
+ /**
3644
+ * <p>[tokens family] Total input tokens within a time period.</p>
3645
+ * @type {number || null}
3646
+ */
3647
+ this.InputTotalToken = null;
3648
+
3649
+ /**
3650
+ * <p>[tokens family] Total output tokens within a time period.</p>
3651
+ * @type {number || null}
3652
+ */
3653
+ this.OutputTotalToken = null;
3654
+
3655
+ /**
3656
+ * <p>[token family] Cumulative number of tokens read from the cache within a time period (cache hit part)</p>
3657
+ * @type {number || null}
3658
+ */
3659
+ this.CacheTotalToken = null;
3660
+
3661
+ /**
3662
+ * <p>Total online search requests in the [search group]</p>
3663
+ * @type {number || null}
3664
+ */
3665
+ this.SearchRequestCount = null;
3666
+
3667
+ /**
3668
+ * <p>[search family] Total search engine calls</p>
3669
+ * @type {number || null}
3670
+ */
3671
+ this.SearchCount = null;
3672
+
3673
+ }
3674
+
3675
+ /**
3676
+ * @private
3677
+ */
3678
+ deserialize(params) {
3679
+ if (!params) {
3680
+ return;
3681
+ }
3682
+ this.TotalToken = 'TotalToken' in params ? params.TotalToken : null;
3683
+ this.InputTotalToken = 'InputTotalToken' in params ? params.InputTotalToken : null;
3684
+ this.OutputTotalToken = 'OutputTotalToken' in params ? params.OutputTotalToken : null;
3685
+ this.CacheTotalToken = 'CacheTotalToken' in params ? params.CacheTotalToken : null;
3686
+ this.SearchRequestCount = 'SearchRequestCount' in params ? params.SearchRequestCount : null;
3687
+ this.SearchCount = 'SearchCount' in params ? params.SearchCount : null;
3688
+
3689
+ }
3690
+ }
3691
+
3692
+ /**
3693
+ * DescribeUsageRankList response structure.
3694
+ * @class
3695
+ */
3696
+ class DescribeUsageRankListResponse extends AbstractModel {
3697
+ constructor(){
3698
+ super();
3699
+
3700
+ /**
3701
+ * <p>Statistical dimension of the backfill request.</p>
3702
+ * @type {string || null}
3703
+ */
3704
+ this.Dimension = null;
3705
+
3706
+ /**
3707
+ * <p>Metrics family of the backfill request: tokens / search.</p>
3708
+ * @type {string || null}
3709
+ */
3710
+ this.MetricType = null;
3711
+
3712
+ /**
3713
+ * <p>List of metric keys actually included in Stats / Series / PageStats / TotalStats in this response, case-sensitive by MetricType: tokens=[Total,Input,Output,Cache], search=[SearchRequestCount,SearchCount]</p>
3714
+ * @type {Array.<string> || null}
3715
+ */
3716
+ this.MetricKeys = null;
3717
+
3718
+ /**
3719
+ * <p>View (data source)</p>
3720
+ * @type {string || null}
3721
+ */
3722
+ this.ViewName = null;
3723
+
3724
+ /**
3725
+ * <p>Statistical granularity (in seconds) of the backfill request. It is 0 when ShowAll=true.</p>
3726
+ * @type {number || null}
3727
+ */
3728
+ this.Period = null;
3729
+
3730
+ /**
3731
+ * <p>Backfill the start time of the request.</p>
3732
+ * @type {string || null}
3733
+ */
3734
+ this.StartTime = null;
3735
+
3736
+ /**
3737
+ * <p>End time of the backfill request.</p>
3738
+ * @type {string || null}
3739
+ */
3740
+ this.EndTime = null;
3741
+
3742
+ /**
3743
+ * <p>Total number of objects.</p>
3744
+ * @type {number || null}
3745
+ */
3746
+ this.Total = null;
3747
+
3748
+ /**
3749
+ * <p>Backfill the pagination starting point of the request. It is 0 when ShowAll=true.</p>
3750
+ * @type {number || null}
3751
+ */
3752
+ this.Offset = null;
3753
+
3754
+ /**
3755
+ * <p>Page size. It is always 10. When ShowAll=true, it is Total.</p>
3756
+ * @type {number || null}
3757
+ */
3758
+ this.Limit = null;
3759
+
3760
+ /**
3761
+ * <p>Timestamp sequence corresponding to the Series array (Unix seconds). Empty array when ShowAll=true.</p>
3762
+ * @type {Array.<number> || null}
3763
+ */
3764
+ this.Timestamps = null;
3765
+
3766
+ /**
3767
+ * <p>Object ranking list, sorted by <code>MetricKeys[0]</code> in descending order. When ShowAll=false, it is the 10 objects on the current page (including Series); when ShowAll=true, it is all objects (excluding Series, used for CSV export).</p>
3768
+ * @type {Array.<UsageRankItem> || null}
3769
+ */
3770
+ this.TopList = null;
3771
+
3772
+ /**
3773
+ * <p>Pagination statistics result</p>
3774
+ * @type {UsageStats || null}
3775
+ */
3776
+ this.PageStats = null;
3777
+
3778
+ /**
3779
+ * <p>Total statistics result</p>
3780
+ * @type {UsageStats || null}
3781
+ */
3782
+ this.TotalStats = null;
3783
+
3784
+ /**
3785
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3786
+ * @type {string || null}
3787
+ */
3788
+ this.RequestId = null;
3789
+
3790
+ }
3791
+
3792
+ /**
3793
+ * @private
3794
+ */
3795
+ deserialize(params) {
3796
+ if (!params) {
3797
+ return;
3798
+ }
3799
+ this.Dimension = 'Dimension' in params ? params.Dimension : null;
3800
+ this.MetricType = 'MetricType' in params ? params.MetricType : null;
3801
+ this.MetricKeys = 'MetricKeys' in params ? params.MetricKeys : null;
3802
+ this.ViewName = 'ViewName' in params ? params.ViewName : null;
3803
+ this.Period = 'Period' in params ? params.Period : null;
3804
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
3805
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
3806
+ this.Total = 'Total' in params ? params.Total : null;
3807
+ this.Offset = 'Offset' in params ? params.Offset : null;
3808
+ this.Limit = 'Limit' in params ? params.Limit : null;
3809
+ this.Timestamps = 'Timestamps' in params ? params.Timestamps : null;
3810
+
3811
+ if (params.TopList) {
3812
+ this.TopList = new Array();
3813
+ for (let z in params.TopList) {
3814
+ let obj = new UsageRankItem();
3815
+ obj.deserialize(params.TopList[z]);
3816
+ this.TopList.push(obj);
3817
+ }
3818
+ }
3819
+
3820
+ if (params.PageStats) {
3821
+ let obj = new UsageStats();
3822
+ obj.deserialize(params.PageStats)
3823
+ this.PageStats = obj;
3824
+ }
3825
+
3826
+ if (params.TotalStats) {
3827
+ let obj = new UsageStats();
3828
+ obj.deserialize(params.TotalStats)
3829
+ this.TotalStats = obj;
3830
+ }
3831
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3832
+
3833
+ }
3834
+ }
3835
+
3422
3836
  /**
3423
3837
  * DeleteTokenPlanApiKey request structure.
3424
3838
  * @class
@@ -3758,10 +4172,12 @@ module.exports = {
3758
4172
  DeleteGlossaryEntriesResponse: DeleteGlossaryEntriesResponse,
3759
4173
  DescribeApiKeyListResponse: DescribeApiKeyListResponse,
3760
4174
  RenewTokenPlanTeamOrderResponse: RenewTokenPlanTeamOrderResponse,
4175
+ UsageRankItem: UsageRankItem,
3761
4176
  TokenPlanApiKeyInfo: TokenPlanApiKeyInfo,
3762
4177
  ModifyApiKeyInfoResponse: ModifyApiKeyInfoResponse,
3763
4178
  ModifyTokenPlanApiKeyResponse: ModifyTokenPlanApiKeyResponse,
3764
4179
  DescribeApiKeyListRequest: DescribeApiKeyListRequest,
4180
+ UsageSeries: UsageSeries,
3765
4181
  CreateGlossaryRequest: CreateGlossaryRequest,
3766
4182
  DescribeGlossaryEntriesResponse: DescribeGlossaryEntriesResponse,
3767
4183
  DeleteGlossaryRequest: DeleteGlossaryRequest,
@@ -3774,7 +4190,7 @@ module.exports = {
3774
4190
  DeleteApiKeyResponse: DeleteApiKeyResponse,
3775
4191
  ModifyGlossaryEntryInput: ModifyGlossaryEntryInput,
3776
4192
  ModifyTokenPlanApiKeyRequest: ModifyTokenPlanApiKeyRequest,
3777
- TokenSummaryBillingItem: TokenSummaryBillingItem,
4193
+ ModifyApiKeyStatusRequest: ModifyApiKeyStatusRequest,
3778
4194
  DescribeTokenPlanApiKeyUsageDetailResponse: DescribeTokenPlanApiKeyUsageDetailResponse,
3779
4195
  RequestSort: RequestSort,
3780
4196
  ModifyApiKeyInfoRequest: ModifyApiKeyInfoRequest,
@@ -3786,8 +4202,9 @@ module.exports = {
3786
4202
  DescribeGlossariesRequest: DescribeGlossariesRequest,
3787
4203
  DeleteTokenPlanApiKeyResponse: DeleteTokenPlanApiKeyResponse,
3788
4204
  DescribeTokenPlanApiKeyUsageDetailRequest: DescribeTokenPlanApiKeyUsageDetailRequest,
4205
+ TokenSummaryBillingItem: TokenSummaryBillingItem,
3789
4206
  UpgradeTokenPlanTeamOrderRequest: UpgradeTokenPlanTeamOrderRequest,
3790
- ModifyApiKeyStatusRequest: ModifyApiKeyStatusRequest,
4207
+ DescribeUsageRankListRequest: DescribeUsageRankListRequest,
3791
4208
  QuotaInfo: QuotaInfo,
3792
4209
  CreateGlossaryEntriesRequest: CreateGlossaryEntriesRequest,
3793
4210
  ApiKeyDetail: ApiKeyDetail,
@@ -3805,6 +4222,8 @@ module.exports = {
3805
4222
  ModifyGlossaryEntriesResponse: ModifyGlossaryEntriesResponse,
3806
4223
  DescribeTokenPlanResponse: DescribeTokenPlanResponse,
3807
4224
  CreateTokenPlanApiKeysRequest: CreateTokenPlanApiKeysRequest,
4225
+ UsageStats: UsageStats,
4226
+ DescribeUsageRankListResponse: DescribeUsageRankListResponse,
3808
4227
  DeleteTokenPlanApiKeyRequest: DeleteTokenPlanApiKeyRequest,
3809
4228
  DescribeApiKeyResponse: DescribeApiKeyResponse,
3810
4229
  DescribeTokenPlanApiKeyListRequest: DescribeTokenPlanApiKeyListRequest,
@@ -35,10 +35,12 @@ const SubPackageBalance = models.SubPackageBalance;
35
35
  const DeleteGlossaryEntriesResponse = models.DeleteGlossaryEntriesResponse;
36
36
  const DescribeApiKeyListResponse = models.DescribeApiKeyListResponse;
37
37
  const RenewTokenPlanTeamOrderResponse = models.RenewTokenPlanTeamOrderResponse;
38
+ const UsageRankItem = models.UsageRankItem;
38
39
  const TokenPlanApiKeyInfo = models.TokenPlanApiKeyInfo;
39
40
  const ModifyApiKeyInfoResponse = models.ModifyApiKeyInfoResponse;
40
41
  const ModifyTokenPlanApiKeyResponse = models.ModifyTokenPlanApiKeyResponse;
41
42
  const DescribeApiKeyListRequest = models.DescribeApiKeyListRequest;
43
+ const UsageSeries = models.UsageSeries;
42
44
  const CreateGlossaryRequest = models.CreateGlossaryRequest;
43
45
  const DescribeGlossaryEntriesResponse = models.DescribeGlossaryEntriesResponse;
44
46
  const DeleteGlossaryRequest = models.DeleteGlossaryRequest;
@@ -51,7 +53,7 @@ const DescribeApiKeyRequest = models.DescribeApiKeyRequest;
51
53
  const DeleteApiKeyResponse = models.DeleteApiKeyResponse;
52
54
  const ModifyGlossaryEntryInput = models.ModifyGlossaryEntryInput;
53
55
  const ModifyTokenPlanApiKeyRequest = models.ModifyTokenPlanApiKeyRequest;
54
- const TokenSummaryBillingItem = models.TokenSummaryBillingItem;
56
+ const ModifyApiKeyStatusRequest = models.ModifyApiKeyStatusRequest;
55
57
  const DescribeTokenPlanApiKeyUsageDetailResponse = models.DescribeTokenPlanApiKeyUsageDetailResponse;
56
58
  const RequestSort = models.RequestSort;
57
59
  const ModifyApiKeyInfoRequest = models.ModifyApiKeyInfoRequest;
@@ -63,8 +65,9 @@ const RenewTokenPlanTeamOrderRequest = models.RenewTokenPlanTeamOrderRequest;
63
65
  const DescribeGlossariesRequest = models.DescribeGlossariesRequest;
64
66
  const DeleteTokenPlanApiKeyResponse = models.DeleteTokenPlanApiKeyResponse;
65
67
  const DescribeTokenPlanApiKeyUsageDetailRequest = models.DescribeTokenPlanApiKeyUsageDetailRequest;
68
+ const TokenSummaryBillingItem = models.TokenSummaryBillingItem;
66
69
  const UpgradeTokenPlanTeamOrderRequest = models.UpgradeTokenPlanTeamOrderRequest;
67
- const ModifyApiKeyStatusRequest = models.ModifyApiKeyStatusRequest;
70
+ const DescribeUsageRankListRequest = models.DescribeUsageRankListRequest;
68
71
  const QuotaInfo = models.QuotaInfo;
69
72
  const CreateGlossaryEntriesRequest = models.CreateGlossaryEntriesRequest;
70
73
  const ApiKeyDetail = models.ApiKeyDetail;
@@ -82,6 +85,8 @@ const UpgradeTokenPlanTeamOrderResponse = models.UpgradeTokenPlanTeamOrderRespon
82
85
  const ModifyGlossaryEntriesResponse = models.ModifyGlossaryEntriesResponse;
83
86
  const DescribeTokenPlanResponse = models.DescribeTokenPlanResponse;
84
87
  const CreateTokenPlanApiKeysRequest = models.CreateTokenPlanApiKeysRequest;
88
+ const UsageStats = models.UsageStats;
89
+ const DescribeUsageRankListResponse = models.DescribeUsageRankListResponse;
85
90
  const DeleteTokenPlanApiKeyRequest = models.DeleteTokenPlanApiKeyRequest;
86
91
  const DescribeApiKeyResponse = models.DescribeApiKeyResponse;
87
92
  const DescribeTokenPlanApiKeyListRequest = models.DescribeTokenPlanApiKeyListRequest;
@@ -242,6 +247,29 @@ Query specified entries in a Termbase. Support pagination.
242
247
  this.request("DescribeGlossaryEntries", req, resp, cb);
243
248
  }
244
249
 
250
+ /**
251
+ * Query the usage ranking list.
252
+
253
+ Metric family (MetricType)
254
+ - `tokens` (default): Token usage statistics. Supports Dimension = apikey / endpoint / model.
255
+ Metrics returned: TotalToken (total) / InputTotalToken (input) / OutputTotalToken (output) / CacheTotalToken (read cache).
256
+ - `search`: [To be launched] Online search usage statistics. Supports Dimension = apikey / endpoint / model.
257
+ Returns metrics: SearchRequestCount (search request count)/SearchCount (search engine call count).
258
+
259
+ content
260
+ -The MetricType field is used to switch metric families. The response echoes back MetricType and MetricKeys.
261
+ -TotalStats: The aggregated value of all objects over the entire time window.
262
+ -PageStats: The aggregated value of objects on the current page.
263
+ - TopList: A list of objects sorted by MetricKeys[0] in descending order, including the aggregated value over the entire period and point-in-time curves.
264
+ * @param {DescribeUsageRankListRequest} req
265
+ * @param {function(string, DescribeUsageRankListResponse):void} cb
266
+ * @public
267
+ */
268
+ DescribeUsageRankList(req, cb) {
269
+ let resp = new DescribeUsageRankListResponse();
270
+ this.request("DescribeUsageRankList", req, resp, cb);
271
+ }
272
+
245
273
  /**
246
274
  * Delete terminology entries in batches.
247
275