tencentcloud-sdk-nodejs-intl-en 3.0.1471 → 3.0.1473
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 +1 -1
- package/tencentcloud/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/cls/v20201016/models.js +73 -42
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/csip/v20221121/csip_client.js +19 -12
- package/tencentcloud/csip/v20221121/models.js +722 -179
- package/tencentcloud/dts/v20211206/dts_client.js +7 -3
- package/tencentcloud/dts/v20211206/models.js +446 -208
- package/tencentcloud/faceid/v20180301/faceid_client.js +5 -1
- package/tencentcloud/faceid/v20180301/models.js +251 -21
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +5 -4
- package/tencentcloud/lighthouse/v20200324/models.js +127 -14
- package/tencentcloud/ocr/v20181119/models.js +694 -405
- package/tencentcloud/ocr/v20181119/ocr_client.js +23 -7
- package/tencentcloud/teo/v20220901/models.js +316 -50
- package/tencentcloud/teo/v20220901/teo_client.js +27 -1
- package/tencentcloud/tke/v20180525/models.js +86 -0
- package/tencentcloud/tke/v20180525/tke_client.js +13 -0
- package/tencentcloud/vod/v20180717/models.js +407 -162
- package/tencentcloud/vod/v20180717/vod_client.js +42 -15
- package/tencentcloud/waf/v20180125/models.js +12871 -9082
- package/tencentcloud/waf/v20180125/waf_client.js +583 -257
|
@@ -26,19 +26,21 @@ const WordItem = models.WordItem;
|
|
|
26
26
|
const MLIDPassportOCRRequest = models.MLIDPassportOCRRequest;
|
|
27
27
|
const ItemInfo = models.ItemInfo;
|
|
28
28
|
const SmartStructuralOCRV2Request = models.SmartStructuralOCRV2Request;
|
|
29
|
+
const RecognizeThaiIDCardOCRResponse = models.RecognizeThaiIDCardOCRResponse;
|
|
29
30
|
const RecognizeBrazilCommonOCRResponse = models.RecognizeBrazilCommonOCRResponse;
|
|
30
31
|
const RecognizeMacaoIDCardOCRResponse = models.RecognizeMacaoIDCardOCRResponse;
|
|
31
32
|
const GetCardVerificationExternalResultResponse = models.GetCardVerificationExternalResultResponse;
|
|
32
33
|
const PermitOCRResponse = models.PermitOCRResponse;
|
|
33
34
|
const RecognizeBrazilDriverLicenseOCRRequest = models.RecognizeBrazilDriverLicenseOCRRequest;
|
|
34
35
|
const RecognizeMainlandIDCardOCRRequest = models.RecognizeMainlandIDCardOCRRequest;
|
|
35
|
-
const
|
|
36
|
+
const HmtResidentPermitOCRResponse = models.HmtResidentPermitOCRResponse;
|
|
36
37
|
const WordPolygon = models.WordPolygon;
|
|
37
38
|
const Value = models.Value;
|
|
38
39
|
const RecognizeDetectCardCoordsResponse = models.RecognizeDetectCardCoordsResponse;
|
|
39
40
|
const RecognizePhilippinesVoteIDOCRRequest = models.RecognizePhilippinesVoteIDOCRRequest;
|
|
40
41
|
const BrazilRNMInfo = models.BrazilRNMInfo;
|
|
41
42
|
const TextDetection = models.TextDetection;
|
|
43
|
+
const SkippedCheck = models.SkippedCheck;
|
|
42
44
|
const RecognizeDetectCardCoordsRequest = models.RecognizeDetectCardCoordsRequest;
|
|
43
45
|
const GeneralCard = models.GeneralCard;
|
|
44
46
|
const MainlandPermitOCRRequest = models.MainlandPermitOCRRequest;
|
|
@@ -50,24 +52,27 @@ const BrazilDriverLicenseInfo = models.BrazilDriverLicenseInfo;
|
|
|
50
52
|
const GeneralAccurateOCRResponse = models.GeneralAccurateOCRResponse;
|
|
51
53
|
const HmtResidentPermitOCRRequest = models.HmtResidentPermitOCRRequest;
|
|
52
54
|
const PortraitImageInfo = models.PortraitImageInfo;
|
|
55
|
+
const RecognizeGeneralCardVerificationResponse = models.RecognizeGeneralCardVerificationResponse;
|
|
53
56
|
const ApplyOcrTokenResponse = models.ApplyOcrTokenResponse;
|
|
54
57
|
const GeneralBasicOCRResponse = models.GeneralBasicOCRResponse;
|
|
55
|
-
const
|
|
58
|
+
const ItemNames = models.ItemNames;
|
|
56
59
|
const RecognizePhilippinesUMIDOCRRequest = models.RecognizePhilippinesUMIDOCRRequest;
|
|
57
60
|
const RecognizePhilippinesSssIDOCRRequest = models.RecognizePhilippinesSssIDOCRRequest;
|
|
58
61
|
const Key = models.Key;
|
|
59
62
|
const BrazilIDCardInfo = models.BrazilIDCardInfo;
|
|
60
63
|
const HKIDCardOCRResponse = models.HKIDCardOCRResponse;
|
|
61
64
|
const GroupInfo = models.GroupInfo;
|
|
62
|
-
const
|
|
65
|
+
const PermitOCRRequest = models.PermitOCRRequest;
|
|
66
|
+
const CardVerificationConfig = models.CardVerificationConfig;
|
|
63
67
|
const ExtractDocMultiResponse = models.ExtractDocMultiResponse;
|
|
64
68
|
const RecognizePhilippinesSssIDOCRResponse = models.RecognizePhilippinesSssIDOCRResponse;
|
|
65
69
|
const ApplyOcrTokenRequest = models.ApplyOcrTokenRequest;
|
|
66
70
|
const RecognizePhilippinesUMIDOCRResponse = models.RecognizePhilippinesUMIDOCRResponse;
|
|
67
|
-
const
|
|
71
|
+
const ApplyCardVerificationExternalRequest = models.ApplyCardVerificationExternalRequest;
|
|
68
72
|
const PassportRecognizeInfos = models.PassportRecognizeInfos;
|
|
69
73
|
const RecognizeSingaporeIDCardOCRRequest = models.RecognizeSingaporeIDCardOCRRequest;
|
|
70
74
|
const RecognizeBrazilRNMOCRResponse = models.RecognizeBrazilRNMOCRResponse;
|
|
75
|
+
const RecognizeGeneralCardVerificationRequest = models.RecognizeGeneralCardVerificationRequest;
|
|
71
76
|
const GeneralBasicOCRRequest = models.GeneralBasicOCRRequest;
|
|
72
77
|
const RecognizeBrazilRNMOCRRequest = models.RecognizeBrazilRNMOCRRequest;
|
|
73
78
|
const RecognizeBrazilIDCardOCRResponse = models.RecognizeBrazilIDCardOCRResponse;
|
|
@@ -76,12 +81,11 @@ const GeneralAccurateOCRRequest = models.GeneralAccurateOCRRequest;
|
|
|
76
81
|
const RecognizeMacaoIDCardOCRRequest = models.RecognizeMacaoIDCardOCRRequest;
|
|
77
82
|
const CoordsItem = models.CoordsItem;
|
|
78
83
|
const MLIDPassportOCRResponse = models.MLIDPassportOCRResponse;
|
|
79
|
-
const
|
|
84
|
+
const RecognizeThaiIDCardOCRRequest = models.RecognizeThaiIDCardOCRRequest;
|
|
80
85
|
const GetCardVerificationExternalResultRequest = models.GetCardVerificationExternalResultRequest;
|
|
81
86
|
const Coord = models.Coord;
|
|
82
87
|
const RecognizeBrazilRNEOCRResponse = models.RecognizeBrazilRNEOCRResponse;
|
|
83
88
|
const RecognizeIndonesiaIDCardOCRResponse = models.RecognizeIndonesiaIDCardOCRResponse;
|
|
84
|
-
const ItemNames = models.ItemNames;
|
|
85
89
|
const VinOCRResponse = models.VinOCRResponse;
|
|
86
90
|
const ConfigAdvanced = models.ConfigAdvanced;
|
|
87
91
|
const RecognizePhilippinesVoteIDOCRResponse = models.RecognizePhilippinesVoteIDOCRResponse;
|
|
@@ -93,7 +97,7 @@ const RecognizeSingaporeIDCardOCRResponse = models.RecognizeSingaporeIDCardOCRRe
|
|
|
93
97
|
const SmartStructuralOCRV2Response = models.SmartStructuralOCRV2Response;
|
|
94
98
|
const RecognizeMainlandIDCardOCRResponse = models.RecognizeMainlandIDCardOCRResponse;
|
|
95
99
|
const MainlandPermitOCRResponse = models.MainlandPermitOCRResponse;
|
|
96
|
-
const
|
|
100
|
+
const MLIDCardOCRRequest = models.MLIDCardOCRRequest;
|
|
97
101
|
const ImageCoordinates = models.ImageCoordinates;
|
|
98
102
|
const RecognizeMexicoVTIDRequest = models.RecognizeMexicoVTIDRequest;
|
|
99
103
|
const PODAuditAIResponse = models.PODAuditAIResponse;
|
|
@@ -493,6 +497,18 @@ A maximum of 20 requests can be initiated per second for this API.
|
|
|
493
497
|
this.request("RecognizePhilippinesDrivingLicenseOCR", req, resp, cb);
|
|
494
498
|
}
|
|
495
499
|
|
|
500
|
+
/**
|
|
501
|
+
* This API performs unified verification on images of various card types worldwide. It supports automatic card type classification, field recognition, quality check, tampering (PS) detection, copy detection, recapture detection, format validation, and information consistency check. Candidate card types and check items can be flexibly combined.
|
|
502
|
+
The following 20 document types are currently supported: Mainland China ID Card, Passport, Thai ID Card, Malaysian ID Card, Indonesian ID Card, Singapore ID Card, Philippine Driver's License, Philippine SSS ID, Philippine PRC ID, Philippine Postal ID Card, Philippine UMID, Philippine Voter ID, Philippine TIN Card, Philippine National ID, Philippine Health Card, Taiwan (China) ID Card, Vietnamese ID Card, Myanmar Driver's License, Brazilian ID Card, and Brazilian Driver's License.
|
|
503
|
+
* @param {RecognizeGeneralCardVerificationRequest} req
|
|
504
|
+
* @param {function(string, RecognizeGeneralCardVerificationResponse):void} cb
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
RecognizeGeneralCardVerification(req, cb) {
|
|
508
|
+
let resp = new RecognizeGeneralCardVerificationResponse();
|
|
509
|
+
this.request("RecognizeGeneralCardVerification", req, resp, cb);
|
|
510
|
+
}
|
|
511
|
+
|
|
496
512
|
/**
|
|
497
513
|
* Indonesian identity card recognition
|
|
498
514
|
|
|
@@ -1530,6 +1530,56 @@ class MultiPathGatewayOriginACLInfo extends AbstractModel {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
|
|
1533
|
+
/**
|
|
1534
|
+
* DescribeTimingFunctionAnalysisData response structure.
|
|
1535
|
+
* @class
|
|
1536
|
+
*/
|
|
1537
|
+
class DescribeTimingFunctionAnalysisDataResponse extends AbstractModel {
|
|
1538
|
+
constructor(){
|
|
1539
|
+
super();
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* <p>Total number of query results.</p>
|
|
1543
|
+
* @type {number || null}
|
|
1544
|
+
*/
|
|
1545
|
+
this.TotalCount = null;
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>List of time series data.</p>
|
|
1549
|
+
* @type {Array.<TimingDataRecord> || null}
|
|
1550
|
+
*/
|
|
1551
|
+
this.Data = null;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* 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.
|
|
1555
|
+
* @type {string || null}
|
|
1556
|
+
*/
|
|
1557
|
+
this.RequestId = null;
|
|
1558
|
+
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* @private
|
|
1563
|
+
*/
|
|
1564
|
+
deserialize(params) {
|
|
1565
|
+
if (!params) {
|
|
1566
|
+
return;
|
|
1567
|
+
}
|
|
1568
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1569
|
+
|
|
1570
|
+
if (params.Data) {
|
|
1571
|
+
this.Data = new Array();
|
|
1572
|
+
for (let z in params.Data) {
|
|
1573
|
+
let obj = new TimingDataRecord();
|
|
1574
|
+
obj.deserialize(params.Data[z]);
|
|
1575
|
+
this.Data.push(obj);
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1579
|
+
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1533
1583
|
/**
|
|
1534
1584
|
* HTTP header setting rules.
|
|
1535
1585
|
* @class
|
|
@@ -2280,7 +2330,7 @@ class DescribeRulesResponse extends AbstractModel {
|
|
|
2280
2330
|
}
|
|
2281
2331
|
|
|
2282
2332
|
/**
|
|
2283
|
-
*
|
|
2333
|
+
* Data information of time series
|
|
2284
2334
|
* @class
|
|
2285
2335
|
*/
|
|
2286
2336
|
class TimingDataRecord extends AbstractModel {
|
|
@@ -2288,19 +2338,19 @@ class TimingDataRecord extends AbstractModel {
|
|
|
2288
2338
|
super();
|
|
2289
2339
|
|
|
2290
2340
|
/**
|
|
2291
|
-
*
|
|
2341
|
+
* Query the dimension value.
|
|
2292
2342
|
* @type {string || null}
|
|
2293
2343
|
*/
|
|
2294
2344
|
this.TypeKey = null;
|
|
2295
2345
|
|
|
2296
2346
|
/**
|
|
2297
|
-
* Detailed time series data of the <code>Integer</code> type.
|
|
2347
|
+
* Detailed time series data of the <code>Integer</code> type. If the value type of the query metric is <code>Integer</code>, the corresponding time series data will be returned in this field.<br> **Note**: If the value type of the query metric is unclear, data will be returned in this field by default.
|
|
2298
2348
|
* @type {Array.<TimingTypeValue> || null}
|
|
2299
2349
|
*/
|
|
2300
2350
|
this.TypeValue = null;
|
|
2301
2351
|
|
|
2302
2352
|
/**
|
|
2303
|
-
* Detailed time series data of <code>Float</code> type.
|
|
2353
|
+
* Detailed time series data of <code>Float</code> type. For metrics whose query metric value type is <code>Float</code>, the corresponding time series data is returned in this field.
|
|
2304
2354
|
* @type {Array.<FloatTimingTypeValue> || null}
|
|
2305
2355
|
*/
|
|
2306
2356
|
this.FloatTypeValue = null;
|
|
@@ -4605,7 +4655,7 @@ class UpstreamRequestQueryString extends AbstractModel {
|
|
|
4605
4655
|
}
|
|
4606
4656
|
|
|
4607
4657
|
/**
|
|
4608
|
-
*
|
|
4658
|
+
* Statistics curve data item
|
|
4609
4659
|
* @class
|
|
4610
4660
|
*/
|
|
4611
4661
|
class FloatTimingDataItem extends AbstractModel {
|
|
@@ -9261,7 +9311,7 @@ class ApplyFreeCertificateResponse extends AbstractModel {
|
|
|
9261
9311
|
}
|
|
9262
9312
|
|
|
9263
9313
|
/**
|
|
9264
|
-
*
|
|
9314
|
+
* Detailed data of time series type
|
|
9265
9315
|
* @class
|
|
9266
9316
|
*/
|
|
9267
9317
|
class FloatTimingTypeValue extends AbstractModel {
|
|
@@ -9281,7 +9331,7 @@ class FloatTimingTypeValue extends AbstractModel {
|
|
|
9281
9331
|
this.Max = null;
|
|
9282
9332
|
|
|
9283
9333
|
/**
|
|
9284
|
-
*
|
|
9334
|
+
* Mean.
|
|
9285
9335
|
* @type {number || null}
|
|
9286
9336
|
*/
|
|
9287
9337
|
this.Avg = null;
|
|
@@ -14934,6 +14984,91 @@ class DeleteApplicationProxyRuleResponse extends AbstractModel {
|
|
|
14934
14984
|
}
|
|
14935
14985
|
}
|
|
14936
14986
|
|
|
14987
|
+
/**
|
|
14988
|
+
* DescribeTopFunctionAnalysisData request structure.
|
|
14989
|
+
* @class
|
|
14990
|
+
*/
|
|
14991
|
+
class DescribeTopFunctionAnalysisDataRequest extends AbstractModel {
|
|
14992
|
+
constructor(){
|
|
14993
|
+
super();
|
|
14994
|
+
|
|
14995
|
+
/**
|
|
14996
|
+
* <p>Set of site IDs. Enter at least one site ID.</p>
|
|
14997
|
+
* @type {Array.<string> || null}
|
|
14998
|
+
*/
|
|
14999
|
+
this.ZoneIds = null;
|
|
15000
|
+
|
|
15001
|
+
/**
|
|
15002
|
+
* <p>Start time.</p>
|
|
15003
|
+
* @type {string || null}
|
|
15004
|
+
*/
|
|
15005
|
+
this.StartTime = null;
|
|
15006
|
+
|
|
15007
|
+
/**
|
|
15008
|
+
* End time. The query time range (`EndTime` - `StartTime`) must be no longer than 7 days.
|
|
15009
|
+
* @type {string || null}
|
|
15010
|
+
*/
|
|
15011
|
+
this.EndTime = null;
|
|
15012
|
+
|
|
15013
|
+
/**
|
|
15014
|
+
* The metric to query. Valid values:<ul><li>`function_requestCount_functionResult`: counts Edge Function requests by the dimension of execution result.</li><li>`function_requestCount_functionName`: counts Edge Function requests by the dimension of function name.</li><li>`function_requestCount_domain`: counts Edge Function requests by the dimension of domain name.</li></ul>
|
|
15015
|
+
* @type {string || null}
|
|
15016
|
+
*/
|
|
15017
|
+
this.MetricName = null;
|
|
15018
|
+
|
|
15019
|
+
/**
|
|
15020
|
+
* <p>Number of top data entries to query. The maximum value is 1000. If not specified, the default value is 10, indicating that the top 10 data entries are queried.</p>
|
|
15021
|
+
* @type {number || null}
|
|
15022
|
+
*/
|
|
15023
|
+
this.Limit = null;
|
|
15024
|
+
|
|
15025
|
+
/**
|
|
15026
|
+
* Filter conditions. The maximum number of values in `Filters.Value` is 20. The detailed filter condition keys are as follows:<ul><li>`domain`: filters by subdomain name. Example value: `www.example.com`.</li><li>`function-name`: filters by Edge Function name. Example value: `test051301-zone-2r2fdoxxxx-130000000`.</li><li>`function-result`: filters by Edge Function execution result. Valid values for the corresponding `Value`:<ul><li>`success`: success.</li><li>`fail`: failure.</li></ul></li></ul>
|
|
15027
|
+
* @type {Array.<QueryCondition> || null}
|
|
15028
|
+
*/
|
|
15029
|
+
this.Filters = null;
|
|
15030
|
+
|
|
15031
|
+
/**
|
|
15032
|
+
* Query time granularity. Valid values:<ul><li>`min`: 1 minute.</li><li>`5min`: 5 minutes.</li><li>`hour`: 1 hour.</li><li>`day`: 1 day.</li></ul>If this parameter is not specified, the granularity is automatically inferred based on the interval between the start time and the end time. The specific rules are as follows: within 2 hours, the granularity is `min`; within 2 days, the granularity is `5min`; within 7 days, the granularity is `hour`; longer than 7 days, the granularity is `day`.
|
|
15033
|
+
* @type {string || null}
|
|
15034
|
+
*/
|
|
15035
|
+
this.Interval = null;
|
|
15036
|
+
|
|
15037
|
+
/**
|
|
15038
|
+
* The region the data belongs to. Valid values:<ul><li>`overseas`: data from the global area (excluding the Chinese mainland).</li><li>`mainland`: data from the Chinese mainland.</li><li>`global`: global data.</li></ul>If this parameter is not specified, the default value is `global`.
|
|
15039
|
+
* @type {string || null}
|
|
15040
|
+
*/
|
|
15041
|
+
this.Area = null;
|
|
15042
|
+
|
|
15043
|
+
}
|
|
15044
|
+
|
|
15045
|
+
/**
|
|
15046
|
+
* @private
|
|
15047
|
+
*/
|
|
15048
|
+
deserialize(params) {
|
|
15049
|
+
if (!params) {
|
|
15050
|
+
return;
|
|
15051
|
+
}
|
|
15052
|
+
this.ZoneIds = 'ZoneIds' in params ? params.ZoneIds : null;
|
|
15053
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
15054
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
15055
|
+
this.MetricName = 'MetricName' in params ? params.MetricName : null;
|
|
15056
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
15057
|
+
|
|
15058
|
+
if (params.Filters) {
|
|
15059
|
+
this.Filters = new Array();
|
|
15060
|
+
for (let z in params.Filters) {
|
|
15061
|
+
let obj = new QueryCondition();
|
|
15062
|
+
obj.deserialize(params.Filters[z]);
|
|
15063
|
+
this.Filters.push(obj);
|
|
15064
|
+
}
|
|
15065
|
+
}
|
|
15066
|
+
this.Interval = 'Interval' in params ? params.Interval : null;
|
|
15067
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
15068
|
+
|
|
15069
|
+
}
|
|
15070
|
+
}
|
|
15071
|
+
|
|
14937
15072
|
/**
|
|
14938
15073
|
* Access URL redirect path configuration parameters.
|
|
14939
15074
|
* @class
|
|
@@ -17375,7 +17510,7 @@ Default value: 0.
|
|
|
17375
17510
|
}
|
|
17376
17511
|
|
|
17377
17512
|
/**
|
|
17378
|
-
*
|
|
17513
|
+
* Top data record
|
|
17379
17514
|
* @class
|
|
17380
17515
|
*/
|
|
17381
17516
|
class TopDataRecord extends AbstractModel {
|
|
@@ -17383,13 +17518,13 @@ class TopDataRecord extends AbstractModel {
|
|
|
17383
17518
|
super();
|
|
17384
17519
|
|
|
17385
17520
|
/**
|
|
17386
|
-
*
|
|
17521
|
+
* Dimension value to query.
|
|
17387
17522
|
* @type {string || null}
|
|
17388
17523
|
*/
|
|
17389
17524
|
this.TypeKey = null;
|
|
17390
17525
|
|
|
17391
17526
|
/**
|
|
17392
|
-
*
|
|
17527
|
+
* top data ranking.
|
|
17393
17528
|
* @type {Array.<TopDetailData> || null}
|
|
17394
17529
|
*/
|
|
17395
17530
|
this.DetailData = null;
|
|
@@ -19777,6 +19912,84 @@ class DescribeSecurityPolicyRequest extends AbstractModel {
|
|
|
19777
19912
|
}
|
|
19778
19913
|
}
|
|
19779
19914
|
|
|
19915
|
+
/**
|
|
19916
|
+
* DescribeTimingFunctionAnalysisData request structure.
|
|
19917
|
+
* @class
|
|
19918
|
+
*/
|
|
19919
|
+
class DescribeTimingFunctionAnalysisDataRequest extends AbstractModel {
|
|
19920
|
+
constructor(){
|
|
19921
|
+
super();
|
|
19922
|
+
|
|
19923
|
+
/**
|
|
19924
|
+
* <p>Set of site IDs. Enter at least one site ID.</p>
|
|
19925
|
+
* @type {Array.<string> || null}
|
|
19926
|
+
*/
|
|
19927
|
+
this.ZoneIds = null;
|
|
19928
|
+
|
|
19929
|
+
/**
|
|
19930
|
+
* <p>Start time.</p>
|
|
19931
|
+
* @type {string || null}
|
|
19932
|
+
*/
|
|
19933
|
+
this.StartTime = null;
|
|
19934
|
+
|
|
19935
|
+
/**
|
|
19936
|
+
* End time. The query time range (`EndTime` - `StartTime`) must be no longer than 7 days.
|
|
19937
|
+
* @type {string || null}
|
|
19938
|
+
*/
|
|
19939
|
+
this.EndTime = null;
|
|
19940
|
+
|
|
19941
|
+
/**
|
|
19942
|
+
* List of metrics. Valid values:<ul><li>`function_requestCount`: the number of Edge Function requests. This is a cumulative value.</li><li>`function_cpuCostTime`: the average CPU time consumed by Edge Function execution, in microseconds.</li><li>`function_wallClockTime`: the average wall clock time consumed by Edge Function execution, in microseconds.</li></ul>
|
|
19943
|
+
* @type {Array.<string> || null}
|
|
19944
|
+
*/
|
|
19945
|
+
this.MetricNames = null;
|
|
19946
|
+
|
|
19947
|
+
/**
|
|
19948
|
+
* Query time granularity. Valid values:<ul><li>`min`: 1 minute.</li><li>`5min`: 5 minutes.</li><li>`hour`: 1 hour.</li><li>`day`: 1 day.</li></ul>If this parameter is not specified, the granularity is automatically inferred based on the interval between the start time and the end time. The specific rules are as follows: within 2 hours, the granularity is `min`; within 2 days, the granularity is `5min`; within 7 days, the granularity is `hour`; longer than 7 days, the granularity is `day`.
|
|
19949
|
+
* @type {string || null}
|
|
19950
|
+
*/
|
|
19951
|
+
this.Interval = null;
|
|
19952
|
+
|
|
19953
|
+
/**
|
|
19954
|
+
* Filter conditions. The maximum number of values in `Filters.Value` is 20. The detailed filter condition keys are as follows:<ul><li>`domain`: filters by subdomain name. Example value: `www.example.com`.</li><li>`function-name`: filters by Edge Function name. Example value: `test051301-zone-2r2fdoxxxx-130000000`.</li><li>`function-result`: filters by Edge Function execution result. Valid values for the corresponding `Value`:<ul><li>`success`: success.</li><li>`fail`: failure.</li></ul></li></ul>
|
|
19955
|
+
* @type {Array.<QueryCondition> || null}
|
|
19956
|
+
*/
|
|
19957
|
+
this.Filters = null;
|
|
19958
|
+
|
|
19959
|
+
/**
|
|
19960
|
+
* The region the data belongs to. Valid values:<ul><li>`overseas`: data from the global area (excluding the Chinese mainland).</li><li>`mainland`: data from the Chinese mainland.</li><li>`global`: global data.</li></ul>If this parameter is not specified, the default value is `global`.
|
|
19961
|
+
* @type {string || null}
|
|
19962
|
+
*/
|
|
19963
|
+
this.Area = null;
|
|
19964
|
+
|
|
19965
|
+
}
|
|
19966
|
+
|
|
19967
|
+
/**
|
|
19968
|
+
* @private
|
|
19969
|
+
*/
|
|
19970
|
+
deserialize(params) {
|
|
19971
|
+
if (!params) {
|
|
19972
|
+
return;
|
|
19973
|
+
}
|
|
19974
|
+
this.ZoneIds = 'ZoneIds' in params ? params.ZoneIds : null;
|
|
19975
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
19976
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
19977
|
+
this.MetricNames = 'MetricNames' in params ? params.MetricNames : null;
|
|
19978
|
+
this.Interval = 'Interval' in params ? params.Interval : null;
|
|
19979
|
+
|
|
19980
|
+
if (params.Filters) {
|
|
19981
|
+
this.Filters = new Array();
|
|
19982
|
+
for (let z in params.Filters) {
|
|
19983
|
+
let obj = new QueryCondition();
|
|
19984
|
+
obj.deserialize(params.Filters[z]);
|
|
19985
|
+
this.Filters.push(obj);
|
|
19986
|
+
}
|
|
19987
|
+
}
|
|
19988
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
19989
|
+
|
|
19990
|
+
}
|
|
19991
|
+
}
|
|
19992
|
+
|
|
19780
19993
|
/**
|
|
19781
19994
|
* DescribeEnvironments response structure.
|
|
19782
19995
|
* @class
|
|
@@ -20481,7 +20694,7 @@ class FunctionReplica extends AbstractModel {
|
|
|
20481
20694
|
}
|
|
20482
20695
|
|
|
20483
20696
|
/**
|
|
20484
|
-
*
|
|
20697
|
+
* Statistical curve data item
|
|
20485
20698
|
* @class
|
|
20486
20699
|
*/
|
|
20487
20700
|
class TimingDataItem extends AbstractModel {
|
|
@@ -20495,7 +20708,7 @@ class TimingDataItem extends AbstractModel {
|
|
|
20495
20708
|
this.Timestamp = null;
|
|
20496
20709
|
|
|
20497
20710
|
/**
|
|
20498
|
-
*
|
|
20711
|
+
* Specific values.
|
|
20499
20712
|
* @type {number || null}
|
|
20500
20713
|
*/
|
|
20501
20714
|
this.Value = null;
|
|
@@ -21810,7 +22023,7 @@ Note: This option cannot intersect with BlockIp or ReturnCustomPage.
|
|
|
21810
22023
|
}
|
|
21811
22024
|
|
|
21812
22025
|
/**
|
|
21813
|
-
*
|
|
22026
|
+
* Detailed information of Top data
|
|
21814
22027
|
* @class
|
|
21815
22028
|
*/
|
|
21816
22029
|
class TopDetailData extends AbstractModel {
|
|
@@ -21818,13 +22031,13 @@ class TopDetailData extends AbstractModel {
|
|
|
21818
22031
|
super();
|
|
21819
22032
|
|
|
21820
22033
|
/**
|
|
21821
|
-
*
|
|
22034
|
+
* Field name.
|
|
21822
22035
|
* @type {string || null}
|
|
21823
22036
|
*/
|
|
21824
22037
|
this.Key = null;
|
|
21825
22038
|
|
|
21826
22039
|
/**
|
|
21827
|
-
*
|
|
22040
|
+
* Field value.
|
|
21828
22041
|
* @type {number || null}
|
|
21829
22042
|
*/
|
|
21830
22043
|
this.Value = null;
|
|
@@ -23642,19 +23855,19 @@ class TimingTypeValue extends AbstractModel {
|
|
|
23642
23855
|
super();
|
|
23643
23856
|
|
|
23644
23857
|
/**
|
|
23645
|
-
*
|
|
23858
|
+
* Data and.
|
|
23646
23859
|
* @type {number || null}
|
|
23647
23860
|
*/
|
|
23648
23861
|
this.Sum = null;
|
|
23649
23862
|
|
|
23650
23863
|
/**
|
|
23651
|
-
*
|
|
23864
|
+
* Maximum value.
|
|
23652
23865
|
* @type {number || null}
|
|
23653
23866
|
*/
|
|
23654
23867
|
this.Max = null;
|
|
23655
23868
|
|
|
23656
23869
|
/**
|
|
23657
|
-
*
|
|
23870
|
+
* Mean.
|
|
23658
23871
|
* @type {number || null}
|
|
23659
23872
|
*/
|
|
23660
23873
|
this.Avg = null;
|
|
@@ -23667,7 +23880,6 @@ class TimingTypeValue extends AbstractModel {
|
|
|
23667
23880
|
|
|
23668
23881
|
/**
|
|
23669
23882
|
* Details.
|
|
23670
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
23671
23883
|
* @type {Array.<TimingDataItem> || null}
|
|
23672
23884
|
*/
|
|
23673
23885
|
this.Detail = null;
|
|
@@ -34909,41 +35121,30 @@ class BotConfig extends AbstractModel {
|
|
|
34909
35121
|
}
|
|
34910
35122
|
|
|
34911
35123
|
/**
|
|
34912
|
-
*
|
|
35124
|
+
* DescribeTopFunctionAnalysisData response structure.
|
|
34913
35125
|
* @class
|
|
34914
35126
|
*/
|
|
34915
|
-
class
|
|
35127
|
+
class DescribeTopFunctionAnalysisDataResponse extends AbstractModel {
|
|
34916
35128
|
constructor(){
|
|
34917
35129
|
super();
|
|
34918
35130
|
|
|
34919
35131
|
/**
|
|
34920
|
-
*
|
|
34921
|
-
* @type {
|
|
35132
|
+
* <p>Total number of query results.</p>
|
|
35133
|
+
* @type {number || null}
|
|
34922
35134
|
*/
|
|
34923
|
-
this.
|
|
35135
|
+
this.TotalCount = null;
|
|
34924
35136
|
|
|
34925
35137
|
/**
|
|
34926
|
-
*
|
|
34927
|
-
* @type {
|
|
35138
|
+
* <p>List of topN data by the statistical dimension specified by MetricName.</p>
|
|
35139
|
+
* @type {Array.<TopDataRecord> || null}
|
|
34928
35140
|
*/
|
|
34929
|
-
this.
|
|
35141
|
+
this.Data = null;
|
|
34930
35142
|
|
|
34931
35143
|
/**
|
|
34932
|
-
*
|
|
34933
|
-
<li>bind: bind component;</li>
|
|
34934
|
-
<li>bind-override: Bind a component. If the binding already exists, it is a rebind action; otherwise, it is a bind action.</li>
|
|
34935
|
-
<li>unbind: Unbind a component;</li>
|
|
34936
|
-
<li>rebind: Reset the binding relationship. Clear all existing bindings and set to the passed in bound list. If an empty list is passed in, clear all bindings.</li>
|
|
34937
|
-
|
|
35144
|
+
* 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.
|
|
34938
35145
|
* @type {string || null}
|
|
34939
35146
|
*/
|
|
34940
|
-
this.
|
|
34941
|
-
|
|
34942
|
-
/**
|
|
34943
|
-
* Bound list of function components to operate. When Operation is rebind and an empty list is input, it means to clear ALL bindings.
|
|
34944
|
-
* @type {Array.<FunctionComponentBinding> || null}
|
|
34945
|
-
*/
|
|
34946
|
-
this.FunctionComponentBindings = null;
|
|
35147
|
+
this.RequestId = null;
|
|
34947
35148
|
|
|
34948
35149
|
}
|
|
34949
35150
|
|
|
@@ -34954,18 +35155,17 @@ class ModifyFunctionComponentBindingsRequest extends AbstractModel {
|
|
|
34954
35155
|
if (!params) {
|
|
34955
35156
|
return;
|
|
34956
35157
|
}
|
|
34957
|
-
this.
|
|
34958
|
-
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
34959
|
-
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
35158
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
34960
35159
|
|
|
34961
|
-
if (params.
|
|
34962
|
-
this.
|
|
34963
|
-
for (let z in params.
|
|
34964
|
-
let obj = new
|
|
34965
|
-
obj.deserialize(params.
|
|
34966
|
-
this.
|
|
35160
|
+
if (params.Data) {
|
|
35161
|
+
this.Data = new Array();
|
|
35162
|
+
for (let z in params.Data) {
|
|
35163
|
+
let obj = new TopDataRecord();
|
|
35164
|
+
obj.deserialize(params.Data[z]);
|
|
35165
|
+
this.Data.push(obj);
|
|
34967
35166
|
}
|
|
34968
35167
|
}
|
|
35168
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
34969
35169
|
|
|
34970
35170
|
}
|
|
34971
35171
|
}
|
|
@@ -39750,6 +39950,68 @@ class IPSSLSetting extends AbstractModel {
|
|
|
39750
39950
|
}
|
|
39751
39951
|
}
|
|
39752
39952
|
|
|
39953
|
+
/**
|
|
39954
|
+
* ModifyFunctionComponentBindings request structure.
|
|
39955
|
+
* @class
|
|
39956
|
+
*/
|
|
39957
|
+
class ModifyFunctionComponentBindingsRequest extends AbstractModel {
|
|
39958
|
+
constructor(){
|
|
39959
|
+
super();
|
|
39960
|
+
|
|
39961
|
+
/**
|
|
39962
|
+
* Zone ID.
|
|
39963
|
+
* @type {string || null}
|
|
39964
|
+
*/
|
|
39965
|
+
this.ZoneId = null;
|
|
39966
|
+
|
|
39967
|
+
/**
|
|
39968
|
+
* Function ID.
|
|
39969
|
+
* @type {string || null}
|
|
39970
|
+
*/
|
|
39971
|
+
this.FunctionId = null;
|
|
39972
|
+
|
|
39973
|
+
/**
|
|
39974
|
+
* Operation type. Valid values:
|
|
39975
|
+
<li>bind: bind component;</li>
|
|
39976
|
+
<li>bind-override: Bind a component. If the binding already exists, it is a rebind action; otherwise, it is a bind action.</li>
|
|
39977
|
+
<li>unbind: Unbind a component;</li>
|
|
39978
|
+
<li>rebind: Reset the binding relationship. Clear all existing bindings and set to the passed in bound list. If an empty list is passed in, clear all bindings.</li>
|
|
39979
|
+
|
|
39980
|
+
* @type {string || null}
|
|
39981
|
+
*/
|
|
39982
|
+
this.Operation = null;
|
|
39983
|
+
|
|
39984
|
+
/**
|
|
39985
|
+
* Bound list of function components to operate. When Operation is rebind and an empty list is input, it means to clear ALL bindings.
|
|
39986
|
+
* @type {Array.<FunctionComponentBinding> || null}
|
|
39987
|
+
*/
|
|
39988
|
+
this.FunctionComponentBindings = null;
|
|
39989
|
+
|
|
39990
|
+
}
|
|
39991
|
+
|
|
39992
|
+
/**
|
|
39993
|
+
* @private
|
|
39994
|
+
*/
|
|
39995
|
+
deserialize(params) {
|
|
39996
|
+
if (!params) {
|
|
39997
|
+
return;
|
|
39998
|
+
}
|
|
39999
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
40000
|
+
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
40001
|
+
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
40002
|
+
|
|
40003
|
+
if (params.FunctionComponentBindings) {
|
|
40004
|
+
this.FunctionComponentBindings = new Array();
|
|
40005
|
+
for (let z in params.FunctionComponentBindings) {
|
|
40006
|
+
let obj = new FunctionComponentBinding();
|
|
40007
|
+
obj.deserialize(params.FunctionComponentBindings[z]);
|
|
40008
|
+
this.FunctionComponentBindings.push(obj);
|
|
40009
|
+
}
|
|
40010
|
+
}
|
|
40011
|
+
|
|
40012
|
+
}
|
|
40013
|
+
}
|
|
40014
|
+
|
|
39753
40015
|
/**
|
|
39754
40016
|
* ModifyZoneCustomVariables request structure.
|
|
39755
40017
|
* @class
|
|
@@ -46301,6 +46563,7 @@ module.exports = {
|
|
|
46301
46563
|
DescribeSecurityClientAttesterResponse: DescribeSecurityClientAttesterResponse,
|
|
46302
46564
|
CustomVariable: CustomVariable,
|
|
46303
46565
|
MultiPathGatewayOriginACLInfo: MultiPathGatewayOriginACLInfo,
|
|
46566
|
+
DescribeTimingFunctionAnalysisDataResponse: DescribeTimingFunctionAnalysisDataResponse,
|
|
46304
46567
|
HeaderAction: HeaderAction,
|
|
46305
46568
|
ModifyEdgeKVNamespaceRequest: ModifyEdgeKVNamespaceRequest,
|
|
46306
46569
|
PrepaidPlanParam: PrepaidPlanParam,
|
|
@@ -46550,6 +46813,7 @@ module.exports = {
|
|
|
46550
46813
|
CustomAction: CustomAction,
|
|
46551
46814
|
CreatePurgeTaskResponse: CreatePurgeTaskResponse,
|
|
46552
46815
|
DeleteApplicationProxyRuleResponse: DeleteApplicationProxyRuleResponse,
|
|
46816
|
+
DescribeTopFunctionAnalysisDataRequest: DescribeTopFunctionAnalysisDataRequest,
|
|
46553
46817
|
URLPath: URLPath,
|
|
46554
46818
|
DeleteAccelerationDomainsResponse: DeleteAccelerationDomainsResponse,
|
|
46555
46819
|
ExceptionRules: ExceptionRules,
|
|
@@ -46637,6 +46901,7 @@ module.exports = {
|
|
|
46637
46901
|
RuleCondition: RuleCondition,
|
|
46638
46902
|
DescribeOverviewL7DataResponse: DescribeOverviewL7DataResponse,
|
|
46639
46903
|
DescribeSecurityPolicyRequest: DescribeSecurityPolicyRequest,
|
|
46904
|
+
DescribeTimingFunctionAnalysisDataRequest: DescribeTimingFunctionAnalysisDataRequest,
|
|
46640
46905
|
DescribeEnvironmentsResponse: DescribeEnvironmentsResponse,
|
|
46641
46906
|
CacheParameters: CacheParameters,
|
|
46642
46907
|
OriginAuthenticationRequestProperties: OriginAuthenticationRequestProperties,
|
|
@@ -46923,7 +47188,7 @@ module.exports = {
|
|
|
46923
47188
|
DeleteAliasDomainResponse: DeleteAliasDomainResponse,
|
|
46924
47189
|
DeleteSecurityJSInjectionRuleRequest: DeleteSecurityJSInjectionRuleRequest,
|
|
46925
47190
|
BotConfig: BotConfig,
|
|
46926
|
-
|
|
47191
|
+
DescribeTopFunctionAnalysisDataResponse: DescribeTopFunctionAnalysisDataResponse,
|
|
46927
47192
|
NSDetail: NSDetail,
|
|
46928
47193
|
EnableOriginACLRequest: EnableOriginACLRequest,
|
|
46929
47194
|
CreateEdgeKVNamespaceResponse: CreateEdgeKVNamespaceResponse,
|
|
@@ -47015,6 +47280,7 @@ module.exports = {
|
|
|
47015
47280
|
DescribeMultiPathGatewaySecretKeyRequest: DescribeMultiPathGatewaySecretKeyRequest,
|
|
47016
47281
|
DDoSBlockData: DDoSBlockData,
|
|
47017
47282
|
IPSSLSetting: IPSSLSetting,
|
|
47283
|
+
ModifyFunctionComponentBindingsRequest: ModifyFunctionComponentBindingsRequest,
|
|
47018
47284
|
ModifyZoneCustomVariablesRequest: ModifyZoneCustomVariablesRequest,
|
|
47019
47285
|
DescribeContentQuotaRequest: DescribeContentQuotaRequest,
|
|
47020
47286
|
DescribeAvailableOriginACLFamilyRequest: DescribeAvailableOriginACLFamilyRequest,
|