tencentcloud-sdk-nodejs-intl-en 3.0.523 → 3.0.524
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/antiddos/v20200309/antiddos_client.js +2 -2
- package/tencentcloud/antiddos/v20200309/models.js +126 -39
- package/tencentcloud/ckafka/v20190819/models.js +7 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +4 -2
- package/tencentcloud/monitor/v20180724/models.js +69 -19
- package/tencentcloud/ocr/v20181119/models.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +304 -2
- package/tencentcloud/vod/v20180717/vod_client.js +3 -0
package/package.json
CHANGED
|
@@ -330,7 +330,7 @@ class AntiddosClient extends AbstractClient {
|
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
|
-
* This API is used to obtain
|
|
333
|
+
* This API is used to obtain the list of CC precise protection policies.
|
|
334
334
|
* @param {DescribeCCPrecisionPlyListRequest} req
|
|
335
335
|
* @param {function(string, DescribeCCPrecisionPlyListResponse):void} cb
|
|
336
336
|
* @public
|
|
@@ -441,7 +441,7 @@ class AntiddosClient extends AbstractClient {
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
/**
|
|
444
|
-
* This API is used to obtain
|
|
444
|
+
* This API is used to obtain the layer-4 access control list.
|
|
445
445
|
* @param {DescribeCcBlackWhiteIpListRequest} req
|
|
446
446
|
* @param {function(string, DescribeCcBlackWhiteIpListResponse):void} cb
|
|
447
447
|
* @public
|
|
@@ -919,7 +919,7 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
919
919
|
this.Limit = null;
|
|
920
920
|
|
|
921
921
|
/**
|
|
922
|
-
* IP
|
|
922
|
+
* Filters by IP.
|
|
923
923
|
* @type {string || null}
|
|
924
924
|
*/
|
|
925
925
|
this.FilterIp = null;
|
|
@@ -931,13 +931,13 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
931
931
|
this.FilterInstanceId = null;
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
|
-
*
|
|
934
|
+
* Filters by region. For example, `ap-guangzhou`.
|
|
935
935
|
* @type {string || null}
|
|
936
936
|
*/
|
|
937
937
|
this.FilterRegion = null;
|
|
938
938
|
|
|
939
939
|
/**
|
|
940
|
-
*
|
|
940
|
+
* Filters by name.
|
|
941
941
|
* @type {string || null}
|
|
942
942
|
*/
|
|
943
943
|
this.FilterName = null;
|
|
@@ -955,11 +955,29 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
955
955
|
this.FilterStatus = null;
|
|
956
956
|
|
|
957
957
|
/**
|
|
958
|
-
* Filters by binding status. `bounding`:
|
|
958
|
+
* Filters by binding status. `bounding`: The instance is bound; `failed`: The binding failed.
|
|
959
959
|
* @type {string || null}
|
|
960
960
|
*/
|
|
961
961
|
this.FilterBoundStatus = null;
|
|
962
962
|
|
|
963
|
+
/**
|
|
964
|
+
* Array of instance IDs
|
|
965
|
+
* @type {Array.<string> || null}
|
|
966
|
+
*/
|
|
967
|
+
this.FilterInstanceIdList = null;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Filters by Enterprise edition
|
|
971
|
+
* @type {number || null}
|
|
972
|
+
*/
|
|
973
|
+
this.FilterEnterpriseFlag = null;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Filters by tag
|
|
977
|
+
* @type {TagFilter || null}
|
|
978
|
+
*/
|
|
979
|
+
this.FilterTag = null;
|
|
980
|
+
|
|
963
981
|
}
|
|
964
982
|
|
|
965
983
|
/**
|
|
@@ -978,6 +996,14 @@ class DescribeListBGPInstancesRequest extends AbstractModel {
|
|
|
978
996
|
this.FilterLine = 'FilterLine' in params ? params.FilterLine : null;
|
|
979
997
|
this.FilterStatus = 'FilterStatus' in params ? params.FilterStatus : null;
|
|
980
998
|
this.FilterBoundStatus = 'FilterBoundStatus' in params ? params.FilterBoundStatus : null;
|
|
999
|
+
this.FilterInstanceIdList = 'FilterInstanceIdList' in params ? params.FilterInstanceIdList : null;
|
|
1000
|
+
this.FilterEnterpriseFlag = 'FilterEnterpriseFlag' in params ? params.FilterEnterpriseFlag : null;
|
|
1001
|
+
|
|
1002
|
+
if (params.FilterTag) {
|
|
1003
|
+
let obj = new TagFilter();
|
|
1004
|
+
obj.deserialize(params.FilterTag)
|
|
1005
|
+
this.FilterTag = obj;
|
|
1006
|
+
}
|
|
981
1007
|
|
|
982
1008
|
}
|
|
983
1009
|
}
|
|
@@ -1895,7 +1921,7 @@ class DescribeListBGPIPInstancesRequest extends AbstractModel {
|
|
|
1895
1921
|
this.FilterTag = null;
|
|
1896
1922
|
|
|
1897
1923
|
/**
|
|
1898
|
-
*
|
|
1924
|
+
* Filters by package type.
|
|
1899
1925
|
* @type {Array.<string> || null}
|
|
1900
1926
|
*/
|
|
1901
1927
|
this.FilterPackType = null;
|
|
@@ -2186,7 +2212,7 @@ class BoundIpInfo extends AbstractModel {
|
|
|
2186
2212
|
this.InstanceId = null;
|
|
2187
2213
|
|
|
2188
2214
|
/**
|
|
2189
|
-
* Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (
|
|
2215
|
+
* Sub-product category. Valid values: `cvm` (CVM), `lb` (Load balancer), `eni` (ENI), `vpngw` (VPN gateway), `natgw` (NAT gateway), `waf` (WAF), `fpc` (financial products), `gaap` (GAAP), `eip` (BM EIP) and `other` (managed IP). This field is required when you perform binding.
|
|
2190
2216
|
* @type {string || null}
|
|
2191
2217
|
*/
|
|
2192
2218
|
this.DeviceType = null;
|
|
@@ -3997,7 +4023,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3997
4023
|
this.TagInfoList = null;
|
|
3998
4024
|
|
|
3999
4025
|
/**
|
|
4000
|
-
*
|
|
4026
|
+
* All-out package details of the instance
|
|
4027
|
+
When an all-out package is not used by the instance, this field is `null`.
|
|
4028
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4001
4029
|
* @type {AnycastOutPackRelation || null}
|
|
4002
4030
|
*/
|
|
4003
4031
|
this.AnycastOutPackRelation = null;
|
|
@@ -5510,7 +5538,7 @@ Note: For custom protocol ranges, only protocol number is supported. Multiple ra
|
|
|
5510
5538
|
}
|
|
5511
5539
|
|
|
5512
5540
|
/**
|
|
5513
|
-
*
|
|
5541
|
+
* Details of the Anycast package
|
|
5514
5542
|
* @class
|
|
5515
5543
|
*/
|
|
5516
5544
|
class AnycastOutPackRelation extends AbstractModel {
|
|
@@ -5518,25 +5546,29 @@ class AnycastOutPackRelation extends AbstractModel {
|
|
|
5518
5546
|
super();
|
|
5519
5547
|
|
|
5520
5548
|
/**
|
|
5521
|
-
*
|
|
5549
|
+
* Application bandwidth (in Mbps).
|
|
5550
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5522
5551
|
* @type {number || null}
|
|
5523
5552
|
*/
|
|
5524
5553
|
this.NormalBandwidth = null;
|
|
5525
5554
|
|
|
5526
5555
|
/**
|
|
5527
|
-
*
|
|
5556
|
+
* Number of forwarding rules
|
|
5557
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5528
5558
|
* @type {number || null}
|
|
5529
5559
|
*/
|
|
5530
5560
|
this.ForwardRulesLimit = null;
|
|
5531
5561
|
|
|
5532
5562
|
/**
|
|
5533
|
-
*
|
|
5563
|
+
* Auto-renewal flag
|
|
5564
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5534
5565
|
* @type {number || null}
|
|
5535
5566
|
*/
|
|
5536
5567
|
this.AutoRenewFlag = null;
|
|
5537
5568
|
|
|
5538
5569
|
/**
|
|
5539
|
-
*
|
|
5570
|
+
* Expiration date
|
|
5571
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5540
5572
|
* @type {string || null}
|
|
5541
5573
|
*/
|
|
5542
5574
|
this.CurDeadline = null;
|
|
@@ -6552,15 +6584,15 @@ class BGPInstanceSpecification extends AbstractModel {
|
|
|
6552
6584
|
this.ProtectCountLimit = null;
|
|
6553
6585
|
|
|
6554
6586
|
/**
|
|
6555
|
-
* Number of
|
|
6587
|
+
* Number of protected IPs
|
|
6556
6588
|
* @type {number || null}
|
|
6557
6589
|
*/
|
|
6558
6590
|
this.ProtectIPNumberLimit = null;
|
|
6559
6591
|
|
|
6560
6592
|
/**
|
|
6561
|
-
* Auto-renewal status.
|
|
6562
|
-
`0`:
|
|
6563
|
-
`1`:
|
|
6593
|
+
* Auto-renewal status. Values:
|
|
6594
|
+
`0`: Disabled
|
|
6595
|
+
`1`: Enabled
|
|
6564
6596
|
]
|
|
6565
6597
|
* @type {number || null}
|
|
6566
6598
|
*/
|
|
@@ -6568,17 +6600,46 @@ class BGPInstanceSpecification extends AbstractModel {
|
|
|
6568
6600
|
|
|
6569
6601
|
/**
|
|
6570
6602
|
* Protection type of Anti-DDoS Pro. Valid values: `0` (general protection) and `1` (Lighthouse-based protection).
|
|
6571
|
-
Note: This field may return
|
|
6603
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6572
6604
|
* @type {number || null}
|
|
6573
6605
|
*/
|
|
6574
6606
|
this.UnionPackFlag = null;
|
|
6575
6607
|
|
|
6576
6608
|
/**
|
|
6577
|
-
*
|
|
6609
|
+
* Application bandwidth
|
|
6610
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6578
6611
|
* @type {number || null}
|
|
6579
6612
|
*/
|
|
6580
6613
|
this.ServiceBandWidth = null;
|
|
6581
6614
|
|
|
6615
|
+
/**
|
|
6616
|
+
* Whether it’s an Anti-DDoS Pro Premium edition. Values: `0` (General edition); `1` (Premium edition).
|
|
6617
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6618
|
+
* @type {number || null}
|
|
6619
|
+
*/
|
|
6620
|
+
this.BattleEditionFlag = null;
|
|
6621
|
+
|
|
6622
|
+
/**
|
|
6623
|
+
* Whether it’s an Anti-DDoS Pro Standard edition. Values: `0` (General edition); `1` (Standard edition).
|
|
6624
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6625
|
+
* @type {number || null}
|
|
6626
|
+
*/
|
|
6627
|
+
this.ChannelEditionFlag = null;
|
|
6628
|
+
|
|
6629
|
+
/**
|
|
6630
|
+
* Whether it’s an Anti-DDoS Pro Enterprise edition. Values: `0` (General edition); `1` (Enterprise edition).
|
|
6631
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6632
|
+
* @type {number || null}
|
|
6633
|
+
*/
|
|
6634
|
+
this.EnterpriseFlag = null;
|
|
6635
|
+
|
|
6636
|
+
/**
|
|
6637
|
+
* Elastic bandwidth threshold of the Anti-DDoS Pro Enterprise edition.
|
|
6638
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6639
|
+
* @type {number || null}
|
|
6640
|
+
*/
|
|
6641
|
+
this.ElasticLimit = null;
|
|
6642
|
+
|
|
6582
6643
|
}
|
|
6583
6644
|
|
|
6584
6645
|
/**
|
|
@@ -6594,6 +6655,10 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
6594
6655
|
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
6595
6656
|
this.UnionPackFlag = 'UnionPackFlag' in params ? params.UnionPackFlag : null;
|
|
6596
6657
|
this.ServiceBandWidth = 'ServiceBandWidth' in params ? params.ServiceBandWidth : null;
|
|
6658
|
+
this.BattleEditionFlag = 'BattleEditionFlag' in params ? params.BattleEditionFlag : null;
|
|
6659
|
+
this.ChannelEditionFlag = 'ChannelEditionFlag' in params ? params.ChannelEditionFlag : null;
|
|
6660
|
+
this.EnterpriseFlag = 'EnterpriseFlag' in params ? params.EnterpriseFlag : null;
|
|
6661
|
+
this.ElasticLimit = 'ElasticLimit' in params ? params.ElasticLimit : null;
|
|
6597
6662
|
|
|
6598
6663
|
}
|
|
6599
6664
|
}
|
|
@@ -8090,7 +8155,7 @@ class DescribeListBGPInstancesResponse extends AbstractModel {
|
|
|
8090
8155
|
super();
|
|
8091
8156
|
|
|
8092
8157
|
/**
|
|
8093
|
-
* Total number of
|
|
8158
|
+
* Total number of Anti-DDoS Pro instances
|
|
8094
8159
|
* @type {number || null}
|
|
8095
8160
|
*/
|
|
8096
8161
|
this.Total = null;
|
|
@@ -8336,7 +8401,7 @@ class CreateCcBlackWhiteIpListRequest extends AbstractModel {
|
|
|
8336
8401
|
}
|
|
8337
8402
|
|
|
8338
8403
|
/**
|
|
8339
|
-
* Anti-DDoS Pro instance
|
|
8404
|
+
* Details of the Anti-DDoS Pro instance
|
|
8340
8405
|
* @class
|
|
8341
8406
|
*/
|
|
8342
8407
|
class BGPInstance extends AbstractModel {
|
|
@@ -8344,43 +8409,43 @@ class BGPInstance extends AbstractModel {
|
|
|
8344
8409
|
super();
|
|
8345
8410
|
|
|
8346
8411
|
/**
|
|
8347
|
-
* Anti-DDoS instance
|
|
8412
|
+
* Details of the Anti-DDoS Pro instance
|
|
8348
8413
|
* @type {InstanceRelation || null}
|
|
8349
8414
|
*/
|
|
8350
8415
|
this.InstanceDetail = null;
|
|
8351
8416
|
|
|
8352
8417
|
/**
|
|
8353
|
-
* Anti-DDoS instance
|
|
8418
|
+
* Specifications of the Anti-DDoS Pro instance
|
|
8354
8419
|
* @type {BGPInstanceSpecification || null}
|
|
8355
8420
|
*/
|
|
8356
8421
|
this.SpecificationLimit = null;
|
|
8357
8422
|
|
|
8358
8423
|
/**
|
|
8359
|
-
* Anti-DDoS instance
|
|
8424
|
+
* Usage statistics of the Anti-DDoS Pro instance
|
|
8360
8425
|
* @type {BGPInstanceUsages || null}
|
|
8361
8426
|
*/
|
|
8362
8427
|
this.Usage = null;
|
|
8363
8428
|
|
|
8364
8429
|
/**
|
|
8365
|
-
* Region of the Anti-DDoS instance
|
|
8430
|
+
* Region of the Anti-DDoS Pro instance
|
|
8366
8431
|
* @type {RegionInfo || null}
|
|
8367
8432
|
*/
|
|
8368
8433
|
this.Region = null;
|
|
8369
8434
|
|
|
8370
8435
|
/**
|
|
8371
|
-
* Status of the Anti-DDoS instance. Valid values:
|
|
8372
|
-
`idle`: running
|
|
8373
|
-
`attacking`: under
|
|
8374
|
-
`blocking`: blocked
|
|
8375
|
-
`creating`:
|
|
8376
|
-
`deblocking`:
|
|
8377
|
-
`isolate`: isolated
|
|
8436
|
+
* Status of the Anti-DDoS Pro instance. Valid values:
|
|
8437
|
+
`idle`: The instance is running normally.
|
|
8438
|
+
`attacking`: The instance is under attack.
|
|
8439
|
+
`blocking`: The instance is blocked.
|
|
8440
|
+
`creating`: The instance is being created.
|
|
8441
|
+
`deblocking`: Unblocking the instance
|
|
8442
|
+
`isolate`: The instance is being isolated.
|
|
8378
8443
|
* @type {string || null}
|
|
8379
8444
|
*/
|
|
8380
8445
|
this.Status = null;
|
|
8381
8446
|
|
|
8382
8447
|
/**
|
|
8383
|
-
* Purchase
|
|
8448
|
+
* Purchase time
|
|
8384
8449
|
* @type {string || null}
|
|
8385
8450
|
*/
|
|
8386
8451
|
this.CreatedTime = null;
|
|
@@ -8392,14 +8457,14 @@ class BGPInstance extends AbstractModel {
|
|
|
8392
8457
|
this.ExpiredTime = null;
|
|
8393
8458
|
|
|
8394
8459
|
/**
|
|
8395
|
-
* Name of the Anti-DDoS instance
|
|
8460
|
+
* Name of the Anti-DDoS Pro instance
|
|
8396
8461
|
* @type {string || null}
|
|
8397
8462
|
*/
|
|
8398
8463
|
this.Name = null;
|
|
8399
8464
|
|
|
8400
8465
|
/**
|
|
8401
|
-
*
|
|
8402
|
-
|
|
8466
|
+
* Details of the package to which the Anti-DDoS Pro instance belongs.
|
|
8467
|
+
When the package provided is not used by the instance, this field is `null`.
|
|
8403
8468
|
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8404
8469
|
* @type {PackInfo || null}
|
|
8405
8470
|
*/
|
|
@@ -8413,9 +8478,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8413
8478
|
|
|
8414
8479
|
/**
|
|
8415
8480
|
* Binding status of the Anti-DDoS Pro instance
|
|
8416
|
-
`idle`:
|
|
8417
|
-
`bounding`: the instance
|
|
8418
|
-
`failed`:
|
|
8481
|
+
`idle`: The instance is bound.
|
|
8482
|
+
`bounding`: Binding the instance.
|
|
8483
|
+
`failed`: Failed to bind
|
|
8419
8484
|
]
|
|
8420
8485
|
* @type {string || null}
|
|
8421
8486
|
*/
|
|
@@ -8428,11 +8493,23 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8428
8493
|
this.DDoSLevel = null;
|
|
8429
8494
|
|
|
8430
8495
|
/**
|
|
8431
|
-
* CC protection
|
|
8496
|
+
* Status of CC protection
|
|
8432
8497
|
* @type {number || null}
|
|
8433
8498
|
*/
|
|
8434
8499
|
this.CCEnable = null;
|
|
8435
8500
|
|
|
8501
|
+
/**
|
|
8502
|
+
* Tags associated with the resource
|
|
8503
|
+
* @type {Array.<TagInfo> || null}
|
|
8504
|
+
*/
|
|
8505
|
+
this.TagInfoList = null;
|
|
8506
|
+
|
|
8507
|
+
/**
|
|
8508
|
+
* New edition of Anti-DDoS Pro
|
|
8509
|
+
* @type {number || null}
|
|
8510
|
+
*/
|
|
8511
|
+
this.IpCountNewFlag = null;
|
|
8512
|
+
|
|
8436
8513
|
}
|
|
8437
8514
|
|
|
8438
8515
|
/**
|
|
@@ -8489,6 +8566,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
8489
8566
|
this.DDoSLevel = 'DDoSLevel' in params ? params.DDoSLevel : null;
|
|
8490
8567
|
this.CCEnable = 'CCEnable' in params ? params.CCEnable : null;
|
|
8491
8568
|
|
|
8569
|
+
if (params.TagInfoList) {
|
|
8570
|
+
this.TagInfoList = new Array();
|
|
8571
|
+
for (let z in params.TagInfoList) {
|
|
8572
|
+
let obj = new TagInfo();
|
|
8573
|
+
obj.deserialize(params.TagInfoList[z]);
|
|
8574
|
+
this.TagInfoList.push(obj);
|
|
8575
|
+
}
|
|
8576
|
+
}
|
|
8577
|
+
this.IpCountNewFlag = 'IpCountNewFlag' in params ? params.IpCountNewFlag : null;
|
|
8578
|
+
|
|
8492
8579
|
}
|
|
8493
8580
|
}
|
|
8494
8581
|
|
|
@@ -4675,6 +4675,12 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
|
|
|
4675
4675
|
*/
|
|
4676
4676
|
this.DynamicDiskConfig = null;
|
|
4677
4677
|
|
|
4678
|
+
/**
|
|
4679
|
+
* The size of a single message in bytes at the instance level.
|
|
4680
|
+
* @type {number || null}
|
|
4681
|
+
*/
|
|
4682
|
+
this.MaxMessageByte = null;
|
|
4683
|
+
|
|
4678
4684
|
}
|
|
4679
4685
|
|
|
4680
4686
|
/**
|
|
@@ -4707,6 +4713,7 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
|
|
|
4707
4713
|
obj.deserialize(params.DynamicDiskConfig)
|
|
4708
4714
|
this.DynamicDiskConfig = obj;
|
|
4709
4715
|
}
|
|
4716
|
+
this.MaxMessageByte = 'MaxMessageByte' in params ? params.MaxMessageByte : null;
|
|
4710
4717
|
|
|
4711
4718
|
}
|
|
4712
4719
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.524";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1160,13 +1160,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1160
1160
|
this.VerificationDetailList = null;
|
|
1161
1161
|
|
|
1162
1162
|
/**
|
|
1163
|
-
*
|
|
1163
|
+
* The temporary URL of the video collected from the video stream. It is valid for 10 minutes. Download the video if needed.
|
|
1164
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1164
1165
|
* @type {string || null}
|
|
1165
1166
|
*/
|
|
1166
1167
|
this.VideoUrl = null;
|
|
1167
1168
|
|
|
1168
1169
|
/**
|
|
1169
|
-
*
|
|
1170
|
+
* The MD5 hash value of the video collected from the video stream. It can be used to check whether the video content is consistent with the file content.
|
|
1171
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1170
1172
|
* @type {string || null}
|
|
1171
1173
|
*/
|
|
1172
1174
|
this.VideoMd5 = null;
|
|
@@ -3289,6 +3289,12 @@ class CreateSSOAccountResponse extends AbstractModel {
|
|
|
3289
3289
|
constructor(){
|
|
3290
3290
|
super();
|
|
3291
3291
|
|
|
3292
|
+
/**
|
|
3293
|
+
*
|
|
3294
|
+
* @type {string || null}
|
|
3295
|
+
*/
|
|
3296
|
+
this.UserId = null;
|
|
3297
|
+
|
|
3292
3298
|
/**
|
|
3293
3299
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3294
3300
|
* @type {string || null}
|
|
@@ -3304,6 +3310,7 @@ class CreateSSOAccountResponse extends AbstractModel {
|
|
|
3304
3310
|
if (!params) {
|
|
3305
3311
|
return;
|
|
3306
3312
|
}
|
|
3313
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
3307
3314
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3308
3315
|
|
|
3309
3316
|
}
|
|
@@ -4552,7 +4559,7 @@ class UpdateGrafanaNotificationChannelRequest extends AbstractModel {
|
|
|
4552
4559
|
this.ChannelId = null;
|
|
4553
4560
|
|
|
4554
4561
|
/**
|
|
4555
|
-
* Instance
|
|
4562
|
+
* Instance ID.
|
|
4556
4563
|
* @type {string || null}
|
|
4557
4564
|
*/
|
|
4558
4565
|
this.InstanceId = null;
|
|
@@ -4575,6 +4582,12 @@ class UpdateGrafanaNotificationChannelRequest extends AbstractModel {
|
|
|
4575
4582
|
*/
|
|
4576
4583
|
this.ExtraOrgIds = null;
|
|
4577
4584
|
|
|
4585
|
+
/**
|
|
4586
|
+
*
|
|
4587
|
+
* @type {Array.<string> || null}
|
|
4588
|
+
*/
|
|
4589
|
+
this.OrganizationIds = null;
|
|
4590
|
+
|
|
4578
4591
|
}
|
|
4579
4592
|
|
|
4580
4593
|
/**
|
|
@@ -4589,6 +4602,7 @@ class UpdateGrafanaNotificationChannelRequest extends AbstractModel {
|
|
|
4589
4602
|
this.ChannelName = 'ChannelName' in params ? params.ChannelName : null;
|
|
4590
4603
|
this.Receivers = 'Receivers' in params ? params.Receivers : null;
|
|
4591
4604
|
this.ExtraOrgIds = 'ExtraOrgIds' in params ? params.ExtraOrgIds : null;
|
|
4605
|
+
this.OrganizationIds = 'OrganizationIds' in params ? params.OrganizationIds : null;
|
|
4592
4606
|
|
|
4593
4607
|
}
|
|
4594
4608
|
}
|
|
@@ -5010,7 +5024,7 @@ class DescribeGrafanaEnvironmentsRequest extends AbstractModel {
|
|
|
5010
5024
|
super();
|
|
5011
5025
|
|
|
5012
5026
|
/**
|
|
5013
|
-
* Instance
|
|
5027
|
+
* Instance ID.
|
|
5014
5028
|
* @type {string || null}
|
|
5015
5029
|
*/
|
|
5016
5030
|
this.InstanceId = null;
|
|
@@ -5985,7 +5999,7 @@ class DescribeGrafanaNotificationChannelsRequest extends AbstractModel {
|
|
|
5985
5999
|
super();
|
|
5986
6000
|
|
|
5987
6001
|
/**
|
|
5988
|
-
* Instance
|
|
6002
|
+
* Instance ID.
|
|
5989
6003
|
* @type {string || null}
|
|
5990
6004
|
*/
|
|
5991
6005
|
this.InstanceId = null;
|
|
@@ -6163,6 +6177,12 @@ class InstallPluginsResponse extends AbstractModel {
|
|
|
6163
6177
|
constructor(){
|
|
6164
6178
|
super();
|
|
6165
6179
|
|
|
6180
|
+
/**
|
|
6181
|
+
*
|
|
6182
|
+
* @type {Array.<string> || null}
|
|
6183
|
+
*/
|
|
6184
|
+
this.PluginIds = null;
|
|
6185
|
+
|
|
6166
6186
|
/**
|
|
6167
6187
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6168
6188
|
* @type {string || null}
|
|
@@ -6178,6 +6198,7 @@ class InstallPluginsResponse extends AbstractModel {
|
|
|
6178
6198
|
if (!params) {
|
|
6179
6199
|
return;
|
|
6180
6200
|
}
|
|
6201
|
+
this.PluginIds = 'PluginIds' in params ? params.PluginIds : null;
|
|
6181
6202
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6182
6203
|
|
|
6183
6204
|
}
|
|
@@ -6475,7 +6496,7 @@ class CreateGrafanaIntegrationRequest extends AbstractModel {
|
|
|
6475
6496
|
super();
|
|
6476
6497
|
|
|
6477
6498
|
/**
|
|
6478
|
-
* Instance
|
|
6499
|
+
* Instance ID.
|
|
6479
6500
|
* @type {string || null}
|
|
6480
6501
|
*/
|
|
6481
6502
|
this.InstanceId = null;
|
|
@@ -7104,7 +7125,7 @@ class CreateGrafanaNotificationChannelRequest extends AbstractModel {
|
|
|
7104
7125
|
super();
|
|
7105
7126
|
|
|
7106
7127
|
/**
|
|
7107
|
-
* Instance
|
|
7128
|
+
* Instance ID.
|
|
7108
7129
|
* @type {string || null}
|
|
7109
7130
|
*/
|
|
7110
7131
|
this.InstanceId = null;
|
|
@@ -7133,6 +7154,12 @@ class CreateGrafanaNotificationChannelRequest extends AbstractModel {
|
|
|
7133
7154
|
*/
|
|
7134
7155
|
this.ExtraOrgIds = null;
|
|
7135
7156
|
|
|
7157
|
+
/**
|
|
7158
|
+
*
|
|
7159
|
+
* @type {Array.<string> || null}
|
|
7160
|
+
*/
|
|
7161
|
+
this.OrganizationIds = null;
|
|
7162
|
+
|
|
7136
7163
|
}
|
|
7137
7164
|
|
|
7138
7165
|
/**
|
|
@@ -7147,6 +7174,7 @@ class CreateGrafanaNotificationChannelRequest extends AbstractModel {
|
|
|
7147
7174
|
this.OrgId = 'OrgId' in params ? params.OrgId : null;
|
|
7148
7175
|
this.Receivers = 'Receivers' in params ? params.Receivers : null;
|
|
7149
7176
|
this.ExtraOrgIds = 'ExtraOrgIds' in params ? params.ExtraOrgIds : null;
|
|
7177
|
+
this.OrganizationIds = 'OrganizationIds' in params ? params.OrganizationIds : null;
|
|
7150
7178
|
|
|
7151
7179
|
}
|
|
7152
7180
|
}
|
|
@@ -7711,7 +7739,7 @@ class UpgradeGrafanaInstanceRequest extends AbstractModel {
|
|
|
7711
7739
|
super();
|
|
7712
7740
|
|
|
7713
7741
|
/**
|
|
7714
|
-
* Instance
|
|
7742
|
+
* Instance ID.
|
|
7715
7743
|
* @type {string || null}
|
|
7716
7744
|
*/
|
|
7717
7745
|
this.InstanceId = null;
|
|
@@ -8016,6 +8044,12 @@ class CreateGrafanaIntegrationResponse extends AbstractModel {
|
|
|
8016
8044
|
constructor(){
|
|
8017
8045
|
super();
|
|
8018
8046
|
|
|
8047
|
+
/**
|
|
8048
|
+
*
|
|
8049
|
+
* @type {string || null}
|
|
8050
|
+
*/
|
|
8051
|
+
this.IntegrationId = null;
|
|
8052
|
+
|
|
8019
8053
|
/**
|
|
8020
8054
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8021
8055
|
* @type {string || null}
|
|
@@ -8031,6 +8065,7 @@ class CreateGrafanaIntegrationResponse extends AbstractModel {
|
|
|
8031
8065
|
if (!params) {
|
|
8032
8066
|
return;
|
|
8033
8067
|
}
|
|
8068
|
+
this.IntegrationId = 'IntegrationId' in params ? params.IntegrationId : null;
|
|
8034
8069
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8035
8070
|
|
|
8036
8071
|
}
|
|
@@ -9578,7 +9613,7 @@ class DescribeGrafanaWhiteListRequest extends AbstractModel {
|
|
|
9578
9613
|
super();
|
|
9579
9614
|
|
|
9580
9615
|
/**
|
|
9581
|
-
* Instance
|
|
9616
|
+
* Instance ID.
|
|
9582
9617
|
* @type {string || null}
|
|
9583
9618
|
*/
|
|
9584
9619
|
this.InstanceId = null;
|
|
@@ -11740,6 +11775,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
11740
11775
|
*/
|
|
11741
11776
|
this.PolicyIds = null;
|
|
11742
11777
|
|
|
11778
|
+
/**
|
|
11779
|
+
* Backend AMP consumer ID.
|
|
11780
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11781
|
+
* @type {string || null}
|
|
11782
|
+
*/
|
|
11783
|
+
this.AMPConsumerId = null;
|
|
11784
|
+
|
|
11743
11785
|
/**
|
|
11744
11786
|
* Channel to push alarm notifications to CLS.
|
|
11745
11787
|
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
@@ -11782,6 +11824,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
11782
11824
|
this.IsPreset = 'IsPreset' in params ? params.IsPreset : null;
|
|
11783
11825
|
this.NoticeLanguage = 'NoticeLanguage' in params ? params.NoticeLanguage : null;
|
|
11784
11826
|
this.PolicyIds = 'PolicyIds' in params ? params.PolicyIds : null;
|
|
11827
|
+
this.AMPConsumerId = 'AMPConsumerId' in params ? params.AMPConsumerId : null;
|
|
11785
11828
|
|
|
11786
11829
|
if (params.CLSNotices) {
|
|
11787
11830
|
this.CLSNotices = new Array();
|
|
@@ -12367,7 +12410,7 @@ class UpdateDNSConfigRequest extends AbstractModel {
|
|
|
12367
12410
|
super();
|
|
12368
12411
|
|
|
12369
12412
|
/**
|
|
12370
|
-
* Instance
|
|
12413
|
+
* Instance ID.
|
|
12371
12414
|
* @type {string || null}
|
|
12372
12415
|
*/
|
|
12373
12416
|
this.InstanceId = null;
|
|
@@ -12541,7 +12584,7 @@ class UpdateGrafanaConfigRequest extends AbstractModel {
|
|
|
12541
12584
|
super();
|
|
12542
12585
|
|
|
12543
12586
|
/**
|
|
12544
|
-
*
|
|
12587
|
+
* Instance ID.
|
|
12545
12588
|
* @type {string || null}
|
|
12546
12589
|
*/
|
|
12547
12590
|
this.InstanceId = null;
|
|
@@ -12576,7 +12619,7 @@ class UpdateGrafanaEnvironmentsRequest extends AbstractModel {
|
|
|
12576
12619
|
super();
|
|
12577
12620
|
|
|
12578
12621
|
/**
|
|
12579
|
-
* Instance
|
|
12622
|
+
* Instance ID.
|
|
12580
12623
|
* @type {string || null}
|
|
12581
12624
|
*/
|
|
12582
12625
|
this.InstanceId = null;
|
|
@@ -12611,7 +12654,7 @@ class DescribeGrafanaIntegrationsRequest extends AbstractModel {
|
|
|
12611
12654
|
super();
|
|
12612
12655
|
|
|
12613
12656
|
/**
|
|
12614
|
-
* Instance
|
|
12657
|
+
* Instance ID.
|
|
12615
12658
|
* @type {string || null}
|
|
12616
12659
|
*/
|
|
12617
12660
|
this.InstanceId = null;
|
|
@@ -13211,7 +13254,7 @@ class DescribePolicyGroupInfoReceiverInfo extends AbstractModel {
|
|
|
13211
13254
|
this.ReceiverUserList = null;
|
|
13212
13255
|
|
|
13213
13256
|
/**
|
|
13214
|
-
* Start time of the alarm period. Value range: [0,86400). Convert the Unix timestamp to Beijing time and then remove the date. For example, 7200 indicates
|
|
13257
|
+
* Start time of the alarm period. Value range: [0,86400). Convert the Unix timestamp to Beijing time and then remove the date. For example, 7200 indicates “10:0:0”.
|
|
13215
13258
|
* @type {number || null}
|
|
13216
13259
|
*/
|
|
13217
13260
|
this.StartTime = null;
|
|
@@ -14013,7 +14056,7 @@ class DescribeGrafanaConfigRequest extends AbstractModel {
|
|
|
14013
14056
|
super();
|
|
14014
14057
|
|
|
14015
14058
|
/**
|
|
14016
|
-
*
|
|
14059
|
+
* Instance ID.
|
|
14017
14060
|
* @type {string || null}
|
|
14018
14061
|
*/
|
|
14019
14062
|
this.InstanceId = null;
|
|
@@ -14547,6 +14590,12 @@ class CreateGrafanaNotificationChannelResponse extends AbstractModel {
|
|
|
14547
14590
|
constructor(){
|
|
14548
14591
|
super();
|
|
14549
14592
|
|
|
14593
|
+
/**
|
|
14594
|
+
*
|
|
14595
|
+
* @type {string || null}
|
|
14596
|
+
*/
|
|
14597
|
+
this.ChannelId = null;
|
|
14598
|
+
|
|
14550
14599
|
/**
|
|
14551
14600
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
14552
14601
|
* @type {string || null}
|
|
@@ -14562,6 +14611,7 @@ class CreateGrafanaNotificationChannelResponse extends AbstractModel {
|
|
|
14562
14611
|
if (!params) {
|
|
14563
14612
|
return;
|
|
14564
14613
|
}
|
|
14614
|
+
this.ChannelId = 'ChannelId' in params ? params.ChannelId : null;
|
|
14565
14615
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
14566
14616
|
|
|
14567
14617
|
}
|
|
@@ -14766,7 +14816,7 @@ class CleanGrafanaInstanceRequest extends AbstractModel {
|
|
|
14766
14816
|
super();
|
|
14767
14817
|
|
|
14768
14818
|
/**
|
|
14769
|
-
* Instance
|
|
14819
|
+
* Instance ID.
|
|
14770
14820
|
* @type {string || null}
|
|
14771
14821
|
*/
|
|
14772
14822
|
this.InstanceId = null;
|
|
@@ -15312,7 +15362,7 @@ class ReceiverInfo extends AbstractModel {
|
|
|
15312
15362
|
super();
|
|
15313
15363
|
|
|
15314
15364
|
/**
|
|
15315
|
-
* Start time of the alarm period. Value range: [0,86400). Convert the Unix timestamp to Beijing time and then remove the date. For example, 7200 indicates
|
|
15365
|
+
* Start time of the alarm period. Value range: [0,86400). Convert the Unix timestamp to Beijing time and then remove the date. For example, 7200 indicates “10:0:0”.
|
|
15316
15366
|
* @type {number || null}
|
|
15317
15367
|
*/
|
|
15318
15368
|
this.StartTime = null;
|
|
@@ -15348,7 +15398,7 @@ class ReceiverInfo extends AbstractModel {
|
|
|
15348
15398
|
this.SendFor = null;
|
|
15349
15399
|
|
|
15350
15400
|
/**
|
|
15351
|
-
*
|
|
15401
|
+
* UID of the phone call alarm.
|
|
15352
15402
|
* @type {Array.<number> || null}
|
|
15353
15403
|
*/
|
|
15354
15404
|
this.UidList = null;
|
|
@@ -15384,13 +15434,13 @@ class ReceiverInfo extends AbstractModel {
|
|
|
15384
15434
|
this.NeedSendNotice = null;
|
|
15385
15435
|
|
|
15386
15436
|
/**
|
|
15387
|
-
* Recipient group list. The list of recipient group IDs that is queried by
|
|
15437
|
+
* Recipient group list. The list of recipient group IDs that is queried by API.
|
|
15388
15438
|
* @type {Array.<number> || null}
|
|
15389
15439
|
*/
|
|
15390
15440
|
this.ReceiverGroupList = null;
|
|
15391
15441
|
|
|
15392
15442
|
/**
|
|
15393
|
-
* Recipient list. The list of recipient IDs that is queried by
|
|
15443
|
+
* Recipient list. The list of recipient IDs that is queried by API.
|
|
15394
15444
|
* @type {Array.<number> || null}
|
|
15395
15445
|
*/
|
|
15396
15446
|
this.ReceiverUserList = null;
|
|
@@ -15976,7 +16026,7 @@ class DescribeDNSConfigRequest extends AbstractModel {
|
|
|
15976
16026
|
super();
|
|
15977
16027
|
|
|
15978
16028
|
/**
|
|
15979
|
-
* Instance
|
|
16029
|
+
* Instance ID.
|
|
15980
16030
|
* @type {string || null}
|
|
15981
16031
|
*/
|
|
15982
16032
|
this.InstanceId = null;
|
|
@@ -6663,6 +6663,118 @@ class PornAsrReviewTemplateInfoForUpdate extends AbstractModel {
|
|
|
6663
6663
|
}
|
|
6664
6664
|
}
|
|
6665
6665
|
|
|
6666
|
+
/**
|
|
6667
|
+
* The suspicious segment detected.
|
|
6668
|
+
* @class
|
|
6669
|
+
*/
|
|
6670
|
+
class ReviewAudioVideoSegmentItem extends AbstractModel {
|
|
6671
|
+
constructor(){
|
|
6672
|
+
super();
|
|
6673
|
+
|
|
6674
|
+
/**
|
|
6675
|
+
* The start time offset (seconds) of the segment.
|
|
6676
|
+
* @type {number || null}
|
|
6677
|
+
*/
|
|
6678
|
+
this.StartTimeOffset = null;
|
|
6679
|
+
|
|
6680
|
+
/**
|
|
6681
|
+
* The end time offset (seconds) of the segment.
|
|
6682
|
+
* @type {number || null}
|
|
6683
|
+
*/
|
|
6684
|
+
this.EndTimeOffset = null;
|
|
6685
|
+
|
|
6686
|
+
/**
|
|
6687
|
+
* The confidence score of the segment.
|
|
6688
|
+
* @type {number || null}
|
|
6689
|
+
*/
|
|
6690
|
+
this.Confidence = null;
|
|
6691
|
+
|
|
6692
|
+
/**
|
|
6693
|
+
* The processing suggestion for the segment. Valid values:
|
|
6694
|
+
<li>review: The content may be non-compliant. Please review it.</li>
|
|
6695
|
+
<li>block: The content is non-compliant. We recommend you block it.</li>
|
|
6696
|
+
* @type {string || null}
|
|
6697
|
+
*/
|
|
6698
|
+
this.Suggestion = null;
|
|
6699
|
+
|
|
6700
|
+
/**
|
|
6701
|
+
* The most likely label for the segment. Valid values:
|
|
6702
|
+
<li>Porn</li>
|
|
6703
|
+
<li>Terrorism</li>
|
|
6704
|
+
* @type {string || null}
|
|
6705
|
+
*/
|
|
6706
|
+
this.Label = null;
|
|
6707
|
+
|
|
6708
|
+
/**
|
|
6709
|
+
* The sublabel for the segment. This parameter is valid only if `Form` is `Image` or `Voice`.
|
|
6710
|
+
Valid values when `Form` is `Image` and `Label` is `Porn`:
|
|
6711
|
+
<li>porn</li>
|
|
6712
|
+
<li>vulgar</li>
|
|
6713
|
+
|
|
6714
|
+
Valid values when `Form` is `Image` and `Label` is `Terrorism`:
|
|
6715
|
+
<li>guns</li>
|
|
6716
|
+
<li>bloody</li>
|
|
6717
|
+
<li>banners</li>
|
|
6718
|
+
<li>scenario (terrorist scenes)</li>
|
|
6719
|
+
<li>explosion</li>
|
|
6720
|
+
|
|
6721
|
+
Valid values when `Form` is `Voice` and `Label` is `Porn`:
|
|
6722
|
+
<li>moan</li>
|
|
6723
|
+
* @type {string || null}
|
|
6724
|
+
*/
|
|
6725
|
+
this.SubLabel = null;
|
|
6726
|
+
|
|
6727
|
+
/**
|
|
6728
|
+
* The format of the suspicious segment detected. Valid values:
|
|
6729
|
+
<li>Image</li>
|
|
6730
|
+
<li>OCR</li>
|
|
6731
|
+
<li>ASR</li>
|
|
6732
|
+
<li>Voice</li>
|
|
6733
|
+
* @type {string || null}
|
|
6734
|
+
*/
|
|
6735
|
+
this.Form = null;
|
|
6736
|
+
|
|
6737
|
+
/**
|
|
6738
|
+
* The pixel coordinates ([x1, y1, x2, y2]) of the top-left corner and bottom-right corner of the suspicious text. This parameter is valid only if `Form` is `OCR`.
|
|
6739
|
+
* @type {Array.<number> || null}
|
|
6740
|
+
*/
|
|
6741
|
+
this.AreaCoordSet = null;
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* The content of the suspicious text detected. This parameter is valid only if `Form` is `OCR` or `ASR`.
|
|
6745
|
+
* @type {string || null}
|
|
6746
|
+
*/
|
|
6747
|
+
this.Text = null;
|
|
6748
|
+
|
|
6749
|
+
/**
|
|
6750
|
+
* The keywords that match the suspicious text. This parameter is valid only if `Form` is `OCR` or `ASR`.
|
|
6751
|
+
* @type {Array.<string> || null}
|
|
6752
|
+
*/
|
|
6753
|
+
this.KeywordSet = null;
|
|
6754
|
+
|
|
6755
|
+
}
|
|
6756
|
+
|
|
6757
|
+
/**
|
|
6758
|
+
* @private
|
|
6759
|
+
*/
|
|
6760
|
+
deserialize(params) {
|
|
6761
|
+
if (!params) {
|
|
6762
|
+
return;
|
|
6763
|
+
}
|
|
6764
|
+
this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
|
|
6765
|
+
this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
|
|
6766
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
6767
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
6768
|
+
this.Label = 'Label' in params ? params.Label : null;
|
|
6769
|
+
this.SubLabel = 'SubLabel' in params ? params.SubLabel : null;
|
|
6770
|
+
this.Form = 'Form' in params ? params.Form : null;
|
|
6771
|
+
this.AreaCoordSet = 'AreaCoordSet' in params ? params.AreaCoordSet : null;
|
|
6772
|
+
this.Text = 'Text' in params ? params.Text : null;
|
|
6773
|
+
this.KeywordSet = 'KeywordSet' in params ? params.KeywordSet : null;
|
|
6774
|
+
|
|
6775
|
+
}
|
|
6776
|
+
}
|
|
6777
|
+
|
|
6666
6778
|
/**
|
|
6667
6779
|
* Result information of animated image generating in VOD file
|
|
6668
6780
|
* @class
|
|
@@ -11516,6 +11628,87 @@ class SearchMediaResponse extends AbstractModel {
|
|
|
11516
11628
|
}
|
|
11517
11629
|
}
|
|
11518
11630
|
|
|
11631
|
+
/**
|
|
11632
|
+
* The output of a moderation task.
|
|
11633
|
+
* @class
|
|
11634
|
+
*/
|
|
11635
|
+
class ReviewAudioVideoTaskOutput extends AbstractModel {
|
|
11636
|
+
constructor(){
|
|
11637
|
+
super();
|
|
11638
|
+
|
|
11639
|
+
/**
|
|
11640
|
+
* The handling suggestion. Valid values:
|
|
11641
|
+
<li>pass</li>
|
|
11642
|
+
<li>review</li>
|
|
11643
|
+
<li>block</li>
|
|
11644
|
+
* @type {string || null}
|
|
11645
|
+
*/
|
|
11646
|
+
this.Suggestion = null;
|
|
11647
|
+
|
|
11648
|
+
/**
|
|
11649
|
+
* The most likely label for the suspicious content. This parameter is valid only if `Suggestion` is `review` or `block`.
|
|
11650
|
+
<li>Porn</li>
|
|
11651
|
+
<li>Terrorism</li>
|
|
11652
|
+
* @type {string || null}
|
|
11653
|
+
*/
|
|
11654
|
+
this.Label = null;
|
|
11655
|
+
|
|
11656
|
+
/**
|
|
11657
|
+
* The most likely format of the suspicious content. This parameter is valid only if `Suggestion` is `review` or `block`.
|
|
11658
|
+
<li>Image</li>
|
|
11659
|
+
<li>OCR</li>
|
|
11660
|
+
<li>ASR</li>
|
|
11661
|
+
<li>Voice</li>
|
|
11662
|
+
* @type {string || null}
|
|
11663
|
+
*/
|
|
11664
|
+
this.Form = null;
|
|
11665
|
+
|
|
11666
|
+
/**
|
|
11667
|
+
* A list of the suspicious segments detected.
|
|
11668
|
+
<font color=red>Note</font>: Only the first 10 results will be returned at most. You can get all the results from the file specified by `SegmentSetFileUrl`.
|
|
11669
|
+
* @type {Array.<ReviewAudioVideoSegmentItem> || null}
|
|
11670
|
+
*/
|
|
11671
|
+
this.SegmentSet = null;
|
|
11672
|
+
|
|
11673
|
+
/**
|
|
11674
|
+
* The URL of the file that contains suspicious segments. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time (`SegmentSetFileUrlExpireTime`).
|
|
11675
|
+
* @type {string || null}
|
|
11676
|
+
*/
|
|
11677
|
+
this.SegmentSetFileUrl = null;
|
|
11678
|
+
|
|
11679
|
+
/**
|
|
11680
|
+
* The expiration time of the file that contains suspicious segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format).
|
|
11681
|
+
* @type {string || null}
|
|
11682
|
+
*/
|
|
11683
|
+
this.SegmentSetFileUrlExpireTime = null;
|
|
11684
|
+
|
|
11685
|
+
}
|
|
11686
|
+
|
|
11687
|
+
/**
|
|
11688
|
+
* @private
|
|
11689
|
+
*/
|
|
11690
|
+
deserialize(params) {
|
|
11691
|
+
if (!params) {
|
|
11692
|
+
return;
|
|
11693
|
+
}
|
|
11694
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
11695
|
+
this.Label = 'Label' in params ? params.Label : null;
|
|
11696
|
+
this.Form = 'Form' in params ? params.Form : null;
|
|
11697
|
+
|
|
11698
|
+
if (params.SegmentSet) {
|
|
11699
|
+
this.SegmentSet = new Array();
|
|
11700
|
+
for (let z in params.SegmentSet) {
|
|
11701
|
+
let obj = new ReviewAudioVideoSegmentItem();
|
|
11702
|
+
obj.deserialize(params.SegmentSet[z]);
|
|
11703
|
+
this.SegmentSet.push(obj);
|
|
11704
|
+
}
|
|
11705
|
+
}
|
|
11706
|
+
this.SegmentSetFileUrl = 'SegmentSetFileUrl' in params ? params.SegmentSetFileUrl : null;
|
|
11707
|
+
this.SegmentSetFileUrlExpireTime = 'SegmentSetFileUrlExpireTime' in params ? params.SegmentSetFileUrlExpireTime : null;
|
|
11708
|
+
|
|
11709
|
+
}
|
|
11710
|
+
}
|
|
11711
|
+
|
|
11519
11712
|
/**
|
|
11520
11713
|
* The output of a watermark removal task.
|
|
11521
11714
|
* @class
|
|
@@ -20752,8 +20945,9 @@ class EventContent extends AbstractModel {
|
|
|
20752
20945
|
<li>EditMediaComplete: Finished video editing.</li>
|
|
20753
20946
|
<li>SplitMediaComplete: Finished video splitting.</li>
|
|
20754
20947
|
<li>WechatPublishComplete: Published to WeChat.</li>
|
|
20755
|
-
<li>ComposeMediaComplete: Finished
|
|
20948
|
+
<li>ComposeMediaComplete: Finished producing the media file.</li>
|
|
20756
20949
|
<li>FastClipMediaComplete: Finished quick clipping.</li>
|
|
20950
|
+
<li>ReviewAudioVideoComplete: Finished moderation</li>
|
|
20757
20951
|
<b>v2017 task types:</b>
|
|
20758
20952
|
<li>TranscodeComplete: Finished video transcoding.</li>
|
|
20759
20953
|
<li>ConcatComplete: Finished video splicing.</li>
|
|
@@ -20876,6 +21070,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
20876
21070
|
*/
|
|
20877
21071
|
this.RestoreMediaCompleteEvent = null;
|
|
20878
21072
|
|
|
21073
|
+
/**
|
|
21074
|
+
* The callback for the completion of the moderation task. This parameter is valid only if `EventType` is `ReviewAudioVideoComplete`.
|
|
21075
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
21076
|
+
* @type {ReviewAudioVideoTask || null}
|
|
21077
|
+
*/
|
|
21078
|
+
this.ReviewAudioVideoCompleteEvent = null;
|
|
21079
|
+
|
|
20879
21080
|
}
|
|
20880
21081
|
|
|
20881
21082
|
/**
|
|
@@ -20984,6 +21185,12 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
20984
21185
|
this.RestoreMediaCompleteEvent = obj;
|
|
20985
21186
|
}
|
|
20986
21187
|
|
|
21188
|
+
if (params.ReviewAudioVideoCompleteEvent) {
|
|
21189
|
+
let obj = new ReviewAudioVideoTask();
|
|
21190
|
+
obj.deserialize(params.ReviewAudioVideoCompleteEvent)
|
|
21191
|
+
this.ReviewAudioVideoCompleteEvent = obj;
|
|
21192
|
+
}
|
|
21193
|
+
|
|
20987
21194
|
}
|
|
20988
21195
|
}
|
|
20989
21196
|
|
|
@@ -23846,11 +24053,12 @@ class DescribeTaskDetailResponse extends AbstractModel {
|
|
|
23846
24053
|
<li>Procedure: Video processing</li>
|
|
23847
24054
|
<li>EditMedia: Video editing</li>
|
|
23848
24055
|
<li>SplitMedia: Video splitting</li>
|
|
23849
|
-
<li>ComposeMedia: Media file
|
|
24056
|
+
<li>ComposeMedia: Media file production</li>
|
|
23850
24057
|
<li>WechatPublish: WeChat publishing</li>
|
|
23851
24058
|
<li>PullUpload: Pulling media files for upload</li>
|
|
23852
24059
|
<li>FastClipMedia: Quick clipping</li>
|
|
23853
24060
|
<li>RemoveWatermarkTask: Watermark removal</li>
|
|
24061
|
+
<li> ReviewAudioVideo: Moderation</li>
|
|
23854
24062
|
* @type {string || null}
|
|
23855
24063
|
*/
|
|
23856
24064
|
this.TaskType = null;
|
|
@@ -23973,6 +24181,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
23973
24181
|
*/
|
|
23974
24182
|
this.RemoveWatermarkTask = null;
|
|
23975
24183
|
|
|
24184
|
+
/**
|
|
24185
|
+
* The information of a moderation task. This parameter is valid only if `TaskType` is `ReviewAudioVideo`.
|
|
24186
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
24187
|
+
* @type {ReviewAudioVideoTask || null}
|
|
24188
|
+
*/
|
|
24189
|
+
this.ReviewAudioVideoTask = null;
|
|
24190
|
+
|
|
23976
24191
|
/**
|
|
23977
24192
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
23978
24193
|
* @type {string || null}
|
|
@@ -24071,6 +24286,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
24071
24286
|
obj.deserialize(params.RemoveWatermarkTask)
|
|
24072
24287
|
this.RemoveWatermarkTask = obj;
|
|
24073
24288
|
}
|
|
24289
|
+
|
|
24290
|
+
if (params.ReviewAudioVideoTask) {
|
|
24291
|
+
let obj = new ReviewAudioVideoTask();
|
|
24292
|
+
obj.deserialize(params.ReviewAudioVideoTask)
|
|
24293
|
+
this.ReviewAudioVideoTask = obj;
|
|
24294
|
+
}
|
|
24074
24295
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
24075
24296
|
|
|
24076
24297
|
}
|
|
@@ -25451,6 +25672,84 @@ Task types compatible with v2017:
|
|
|
25451
25672
|
}
|
|
25452
25673
|
}
|
|
25453
25674
|
|
|
25675
|
+
/**
|
|
25676
|
+
* The information of a moderation task.
|
|
25677
|
+
* @class
|
|
25678
|
+
*/
|
|
25679
|
+
class ReviewAudioVideoTask extends AbstractModel {
|
|
25680
|
+
constructor(){
|
|
25681
|
+
super();
|
|
25682
|
+
|
|
25683
|
+
/**
|
|
25684
|
+
* The task ID.
|
|
25685
|
+
* @type {string || null}
|
|
25686
|
+
*/
|
|
25687
|
+
this.TaskId = null;
|
|
25688
|
+
|
|
25689
|
+
/**
|
|
25690
|
+
* The task status. Valid values:
|
|
25691
|
+
<li>PROCESSING</li>
|
|
25692
|
+
<li>FINISH</li>
|
|
25693
|
+
* @type {string || null}
|
|
25694
|
+
*/
|
|
25695
|
+
this.Status = null;
|
|
25696
|
+
|
|
25697
|
+
/**
|
|
25698
|
+
* The error code. An empty string indicates the task is successful; other values indicate that the task failed. For details, see [Video processing error codes](https://intl.cloud.tencent.com/document/product/266/39145?lang=en&pg=#video-processing).
|
|
25699
|
+
* @type {string || null}
|
|
25700
|
+
*/
|
|
25701
|
+
this.ErrCodeExt = null;
|
|
25702
|
+
|
|
25703
|
+
/**
|
|
25704
|
+
* The error message.
|
|
25705
|
+
* @type {string || null}
|
|
25706
|
+
*/
|
|
25707
|
+
this.Message = null;
|
|
25708
|
+
|
|
25709
|
+
/**
|
|
25710
|
+
* The output of a moderation task.
|
|
25711
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
25712
|
+
* @type {ReviewAudioVideoTaskOutput || null}
|
|
25713
|
+
*/
|
|
25714
|
+
this.Output = null;
|
|
25715
|
+
|
|
25716
|
+
/**
|
|
25717
|
+
* The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified.
|
|
25718
|
+
* @type {string || null}
|
|
25719
|
+
*/
|
|
25720
|
+
this.SessionId = null;
|
|
25721
|
+
|
|
25722
|
+
/**
|
|
25723
|
+
* The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters.
|
|
25724
|
+
* @type {string || null}
|
|
25725
|
+
*/
|
|
25726
|
+
this.SessionContext = null;
|
|
25727
|
+
|
|
25728
|
+
}
|
|
25729
|
+
|
|
25730
|
+
/**
|
|
25731
|
+
* @private
|
|
25732
|
+
*/
|
|
25733
|
+
deserialize(params) {
|
|
25734
|
+
if (!params) {
|
|
25735
|
+
return;
|
|
25736
|
+
}
|
|
25737
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
25738
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
25739
|
+
this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
|
|
25740
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
25741
|
+
|
|
25742
|
+
if (params.Output) {
|
|
25743
|
+
let obj = new ReviewAudioVideoTaskOutput();
|
|
25744
|
+
obj.deserialize(params.Output)
|
|
25745
|
+
this.Output = obj;
|
|
25746
|
+
}
|
|
25747
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
25748
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
25749
|
+
|
|
25750
|
+
}
|
|
25751
|
+
}
|
|
25752
|
+
|
|
25454
25753
|
/**
|
|
25455
25754
|
* DescribeSnapshotByTimeOffsetTemplates response structure.
|
|
25456
25755
|
* @class
|
|
@@ -32164,6 +32463,7 @@ module.exports = {
|
|
|
32164
32463
|
DeleteTranscodeTemplateRequest: DeleteTranscodeTemplateRequest,
|
|
32165
32464
|
TraceWatermarkInput: TraceWatermarkInput,
|
|
32166
32465
|
PornAsrReviewTemplateInfoForUpdate: PornAsrReviewTemplateInfoForUpdate,
|
|
32466
|
+
ReviewAudioVideoSegmentItem: ReviewAudioVideoSegmentItem,
|
|
32167
32467
|
MediaAnimatedGraphicsInfo: MediaAnimatedGraphicsInfo,
|
|
32168
32468
|
DescribeSnapshotByTimeOffsetTemplatesRequest: DescribeSnapshotByTimeOffsetTemplatesRequest,
|
|
32169
32469
|
CdnLogInfo: CdnLogInfo,
|
|
@@ -32253,6 +32553,7 @@ module.exports = {
|
|
|
32253
32553
|
AiRecognitionTaskObjectResult: AiRecognitionTaskObjectResult,
|
|
32254
32554
|
AiAnalysisTaskTagResult: AiAnalysisTaskTagResult,
|
|
32255
32555
|
SearchMediaResponse: SearchMediaResponse,
|
|
32556
|
+
ReviewAudioVideoTaskOutput: ReviewAudioVideoTaskOutput,
|
|
32256
32557
|
RemoveWaterMarkTaskOutput: RemoveWaterMarkTaskOutput,
|
|
32257
32558
|
ModifyMediaStorageClassRequest: ModifyMediaStorageClassRequest,
|
|
32258
32559
|
AiAnalysisTaskTagOutput: AiAnalysisTaskTagOutput,
|
|
@@ -32489,6 +32790,7 @@ module.exports = {
|
|
|
32489
32790
|
ProcedureTask: ProcedureTask,
|
|
32490
32791
|
ModifySuperPlayerConfigRequest: ModifySuperPlayerConfigRequest,
|
|
32491
32792
|
TaskSimpleInfo: TaskSimpleInfo,
|
|
32793
|
+
ReviewAudioVideoTask: ReviewAudioVideoTask,
|
|
32492
32794
|
DescribeSnapshotByTimeOffsetTemplatesResponse: DescribeSnapshotByTimeOffsetTemplatesResponse,
|
|
32493
32795
|
MediaVideoStreamItem: MediaVideoStreamItem,
|
|
32494
32796
|
SetDrmKeyProviderInfoRequest: SetDrmKeyProviderInfoRequest,
|
|
@@ -134,6 +134,7 @@ const ModifyMediaInfoRequest = models.ModifyMediaInfoRequest;
|
|
|
134
134
|
const DeleteTranscodeTemplateRequest = models.DeleteTranscodeTemplateRequest;
|
|
135
135
|
const TraceWatermarkInput = models.TraceWatermarkInput;
|
|
136
136
|
const PornAsrReviewTemplateInfoForUpdate = models.PornAsrReviewTemplateInfoForUpdate;
|
|
137
|
+
const ReviewAudioVideoSegmentItem = models.ReviewAudioVideoSegmentItem;
|
|
137
138
|
const MediaAnimatedGraphicsInfo = models.MediaAnimatedGraphicsInfo;
|
|
138
139
|
const DescribeSnapshotByTimeOffsetTemplatesRequest = models.DescribeSnapshotByTimeOffsetTemplatesRequest;
|
|
139
140
|
const CdnLogInfo = models.CdnLogInfo;
|
|
@@ -223,6 +224,7 @@ const ModifySnapshotByTimeOffsetTemplateResponse = models.ModifySnapshotByTimeOf
|
|
|
223
224
|
const AiRecognitionTaskObjectResult = models.AiRecognitionTaskObjectResult;
|
|
224
225
|
const AiAnalysisTaskTagResult = models.AiAnalysisTaskTagResult;
|
|
225
226
|
const SearchMediaResponse = models.SearchMediaResponse;
|
|
227
|
+
const ReviewAudioVideoTaskOutput = models.ReviewAudioVideoTaskOutput;
|
|
226
228
|
const RemoveWaterMarkTaskOutput = models.RemoveWaterMarkTaskOutput;
|
|
227
229
|
const ModifyMediaStorageClassRequest = models.ModifyMediaStorageClassRequest;
|
|
228
230
|
const AiAnalysisTaskTagOutput = models.AiAnalysisTaskTagOutput;
|
|
@@ -459,6 +461,7 @@ const ModifySnapshotByTimeOffsetTemplateRequest = models.ModifySnapshotByTimeOff
|
|
|
459
461
|
const ProcedureTask = models.ProcedureTask;
|
|
460
462
|
const ModifySuperPlayerConfigRequest = models.ModifySuperPlayerConfigRequest;
|
|
461
463
|
const TaskSimpleInfo = models.TaskSimpleInfo;
|
|
464
|
+
const ReviewAudioVideoTask = models.ReviewAudioVideoTask;
|
|
462
465
|
const DescribeSnapshotByTimeOffsetTemplatesResponse = models.DescribeSnapshotByTimeOffsetTemplatesResponse;
|
|
463
466
|
const MediaVideoStreamItem = models.MediaVideoStreamItem;
|
|
464
467
|
const SetDrmKeyProviderInfoRequest = models.SetDrmKeyProviderInfoRequest;
|