tencentcloud-sdk-nodejs-intl-en 3.0.367 → 3.0.371
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/apigateway/v20180808/apigateway_client.js +3 -2
- package/tencentcloud/apigateway/v20180808/models.js +105 -41
- package/tencentcloud/billing/v20180709/models.js +12 -11
- package/tencentcloud/cam/v20190116/cam_client.js +16 -1
- package/tencentcloud/cam/v20190116/models.js +264 -17
- package/tencentcloud/cdn/v20180606/models.js +54 -3
- package/tencentcloud/ckafka/v20190819/models.js +41 -3
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +30 -4
- package/tencentcloud/dbbrain/v20210527/models.js +309 -116
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +14 -0
- package/tencentcloud/dcdb/v20180411/models.js +144 -7
- package/tencentcloud/emr/v20190103/emr_client.js +2 -0
- package/tencentcloud/emr/v20190103/models.js +109 -0
- package/tencentcloud/live/v20180801/live_client.js +18 -1
- package/tencentcloud/live/v20180801/models.js +163 -5
- package/tencentcloud/monitor/v20180724/models.js +16 -0
- package/tencentcloud/redis/v20180412/models.js +7 -0
- package/tencentcloud/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/ses/v20201002/models.js +610 -29
- package/tencentcloud/ses/v20201002/ses_client.js +157 -103
- package/tencentcloud/ssm/v20190923/models.js +33 -5
- package/tencentcloud/ssm/v20190923/ssm_client.js +2 -1
|
@@ -403,6 +403,48 @@ class CancelDcnJobResponse extends AbstractModel {
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
+
/**
|
|
407
|
+
* DescribeFileDownloadUrl request structure.
|
|
408
|
+
* @class
|
|
409
|
+
*/
|
|
410
|
+
class DescribeFileDownloadUrlRequest extends AbstractModel {
|
|
411
|
+
constructor(){
|
|
412
|
+
super();
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Instance ID
|
|
416
|
+
* @type {string || null}
|
|
417
|
+
*/
|
|
418
|
+
this.InstanceId = null;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Shard ID
|
|
422
|
+
* @type {string || null}
|
|
423
|
+
*/
|
|
424
|
+
this.ShardId = null;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Unsigned file path
|
|
428
|
+
* @type {string || null}
|
|
429
|
+
*/
|
|
430
|
+
this.FilePath = null;
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @private
|
|
436
|
+
*/
|
|
437
|
+
deserialize(params) {
|
|
438
|
+
if (!params) {
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
442
|
+
this.ShardId = 'ShardId' in params ? params.ShardId : null;
|
|
443
|
+
this.FilePath = 'FilePath' in params ? params.FilePath : null;
|
|
444
|
+
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
406
448
|
/**
|
|
407
449
|
* DescribeDBSyncMode response structure.
|
|
408
450
|
* @class
|
|
@@ -514,7 +556,7 @@ class CreateAccountRequest extends AbstractModel {
|
|
|
514
556
|
this.Host = null;
|
|
515
557
|
|
|
516
558
|
/**
|
|
517
|
-
* Account password
|
|
559
|
+
* Account password. It must contain 8-32 characters in all of the following four types: lowercase letters, uppercase letters, digits, and symbols (()~!@#$%^&*-+=_|{}[]:<>,.?/), and cannot start with a slash (/).
|
|
518
560
|
* @type {string || null}
|
|
519
561
|
*/
|
|
520
562
|
this.Password = null;
|
|
@@ -1335,6 +1377,12 @@ class DescribeProjectSecurityGroupsResponse extends AbstractModel {
|
|
|
1335
1377
|
*/
|
|
1336
1378
|
this.Groups = null;
|
|
1337
1379
|
|
|
1380
|
+
/**
|
|
1381
|
+
* Number of security groups.
|
|
1382
|
+
* @type {number || null}
|
|
1383
|
+
*/
|
|
1384
|
+
this.Total = null;
|
|
1385
|
+
|
|
1338
1386
|
/**
|
|
1339
1387
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1340
1388
|
* @type {string || null}
|
|
@@ -1359,6 +1407,7 @@ class DescribeProjectSecurityGroupsResponse extends AbstractModel {
|
|
|
1359
1407
|
this.Groups.push(obj);
|
|
1360
1408
|
}
|
|
1361
1409
|
}
|
|
1410
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
1362
1411
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1363
1412
|
|
|
1364
1413
|
}
|
|
@@ -1643,17 +1692,16 @@ class GrantAccountPrivilegesRequest extends AbstractModel {
|
|
|
1643
1692
|
this.DbName = null;
|
|
1644
1693
|
|
|
1645
1694
|
/**
|
|
1646
|
-
* Global permission. Valid values: SELECT
|
|
1647
|
-
Database permission. Valid values: SELECT
|
|
1648
|
-
Table
|
|
1649
|
-
|
|
1650
|
-
Field permission. Valid values: INSERT; REFERENCES; SELECT; UPDATE
|
|
1695
|
+
* Global permission. Valid values: `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, `DROP`, `REFERENCES`, `INDEX`, `ALTER`, `CREATE TEMPORARY TABLES`, `LOCK TABLES`, `EXECUTE`, `CREATE VIEW`, `SHOW VIEW`, `CREATE ROUTINE`, `ALTER ROUTINE`, `EVENT`, `TRIGGER`, `SHOW DATABASES`, `REPLICATION CLIENT`, `REPLICATION SLAVE`.
|
|
1696
|
+
Database permission. Valid values: `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, `DROP`, `REFERENCES`, `INDEX`, `ALTER`, `CREATE TEMPORARY TABLES`, `LOCK TABLES`, `EXECUTE`, `CREATE VIEW`, `SHOW VIEW`, `CREATE ROUTINE`, `ALTER ROUTINE`, `EVENT`, `TRIGGER`.
|
|
1697
|
+
Table permission. Valid values: `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, `DROP`, `REFERENCES`, `INDEX`, `ALTER`, `CREATE VIEW`, `SHOW VIEW`, `TRIGGER`.
|
|
1698
|
+
Field permission. Valid values: `INSERT`, `REFERENCES`, `SELECT`, `UPDATE`.
|
|
1651
1699
|
* @type {Array.<string> || null}
|
|
1652
1700
|
*/
|
|
1653
1701
|
this.Privileges = null;
|
|
1654
1702
|
|
|
1655
1703
|
/**
|
|
1656
|
-
* Type. Valid values: table
|
|
1704
|
+
* Type. Valid values: `table`, `\*`. If `DbName` is a specific database name and `Type` is `\*`, the permissions of the database will be set (i.e., `db.\*`), in which case the `Object` parameter will be ignored
|
|
1657
1705
|
* @type {string || null}
|
|
1658
1706
|
*/
|
|
1659
1707
|
this.Type = null;
|
|
@@ -2138,6 +2186,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2138
2186
|
*/
|
|
2139
2187
|
this.InstanceType = null;
|
|
2140
2188
|
|
|
2189
|
+
/**
|
|
2190
|
+
* Instance tag information
|
|
2191
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
2192
|
+
* @type {Array.<ResourceTag> || null}
|
|
2193
|
+
*/
|
|
2194
|
+
this.ResourceTags = null;
|
|
2195
|
+
|
|
2141
2196
|
}
|
|
2142
2197
|
|
|
2143
2198
|
/**
|
|
@@ -2204,6 +2259,15 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2204
2259
|
this.DcnDstNum = 'DcnDstNum' in params ? params.DcnDstNum : null;
|
|
2205
2260
|
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
2206
2261
|
|
|
2262
|
+
if (params.ResourceTags) {
|
|
2263
|
+
this.ResourceTags = new Array();
|
|
2264
|
+
for (let z in params.ResourceTags) {
|
|
2265
|
+
let obj = new ResourceTag();
|
|
2266
|
+
obj.deserialize(params.ResourceTags[z]);
|
|
2267
|
+
this.ResourceTags.push(obj);
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2207
2271
|
}
|
|
2208
2272
|
}
|
|
2209
2273
|
|
|
@@ -2277,6 +2341,41 @@ class DescribeDcnDetailRequest extends AbstractModel {
|
|
|
2277
2341
|
}
|
|
2278
2342
|
}
|
|
2279
2343
|
|
|
2344
|
+
/**
|
|
2345
|
+
* DescribeFileDownloadUrl response structure.
|
|
2346
|
+
* @class
|
|
2347
|
+
*/
|
|
2348
|
+
class DescribeFileDownloadUrlResponse extends AbstractModel {
|
|
2349
|
+
constructor(){
|
|
2350
|
+
super();
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* Signed download URL
|
|
2354
|
+
* @type {string || null}
|
|
2355
|
+
*/
|
|
2356
|
+
this.PreSignedUrl = null;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2360
|
+
* @type {string || null}
|
|
2361
|
+
*/
|
|
2362
|
+
this.RequestId = null;
|
|
2363
|
+
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* @private
|
|
2368
|
+
*/
|
|
2369
|
+
deserialize(params) {
|
|
2370
|
+
if (!params) {
|
|
2371
|
+
return;
|
|
2372
|
+
}
|
|
2373
|
+
this.PreSignedUrl = 'PreSignedUrl' in params ? params.PreSignedUrl : null;
|
|
2374
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2375
|
+
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2280
2379
|
/**
|
|
2281
2380
|
* ModifyDBParameters response structure.
|
|
2282
2381
|
* @class
|
|
@@ -3658,6 +3757,41 @@ class InitDCDBInstancesRequest extends AbstractModel {
|
|
|
3658
3757
|
}
|
|
3659
3758
|
}
|
|
3660
3759
|
|
|
3760
|
+
/**
|
|
3761
|
+
* Tag object, including tag key and tag value
|
|
3762
|
+
* @class
|
|
3763
|
+
*/
|
|
3764
|
+
class ResourceTag extends AbstractModel {
|
|
3765
|
+
constructor(){
|
|
3766
|
+
super();
|
|
3767
|
+
|
|
3768
|
+
/**
|
|
3769
|
+
* Tag key
|
|
3770
|
+
* @type {string || null}
|
|
3771
|
+
*/
|
|
3772
|
+
this.TagKey = null;
|
|
3773
|
+
|
|
3774
|
+
/**
|
|
3775
|
+
* Tag value
|
|
3776
|
+
* @type {string || null}
|
|
3777
|
+
*/
|
|
3778
|
+
this.TagValue = null;
|
|
3779
|
+
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
/**
|
|
3783
|
+
* @private
|
|
3784
|
+
*/
|
|
3785
|
+
deserialize(params) {
|
|
3786
|
+
if (!params) {
|
|
3787
|
+
return;
|
|
3788
|
+
}
|
|
3789
|
+
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
3790
|
+
this.TagValue = 'TagValue' in params ? params.TagValue : null;
|
|
3791
|
+
|
|
3792
|
+
}
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3661
3795
|
/**
|
|
3662
3796
|
* DeleteAccount request structure.
|
|
3663
3797
|
* @class
|
|
@@ -4745,6 +4879,7 @@ module.exports = {
|
|
|
4745
4879
|
AssociateSecurityGroupsRequest: AssociateSecurityGroupsRequest,
|
|
4746
4880
|
DescribeDBSecurityGroupsResponse: DescribeDBSecurityGroupsResponse,
|
|
4747
4881
|
CancelDcnJobResponse: CancelDcnJobResponse,
|
|
4882
|
+
DescribeFileDownloadUrlRequest: DescribeFileDownloadUrlRequest,
|
|
4748
4883
|
DescribeDBSyncModeResponse: DescribeDBSyncModeResponse,
|
|
4749
4884
|
DescribeProjectSecurityGroupsRequest: DescribeProjectSecurityGroupsRequest,
|
|
4750
4885
|
CreateAccountRequest: CreateAccountRequest,
|
|
@@ -4779,6 +4914,7 @@ module.exports = {
|
|
|
4779
4914
|
DCDBInstanceInfo: DCDBInstanceInfo,
|
|
4780
4915
|
ModifyDBInstanceSecurityGroupsRequest: ModifyDBInstanceSecurityGroupsRequest,
|
|
4781
4916
|
DescribeDcnDetailRequest: DescribeDcnDetailRequest,
|
|
4917
|
+
DescribeFileDownloadUrlResponse: DescribeFileDownloadUrlResponse,
|
|
4782
4918
|
ModifyDBParametersResponse: ModifyDBParametersResponse,
|
|
4783
4919
|
DCDBShardInfo: DCDBShardInfo,
|
|
4784
4920
|
CopyAccountPrivilegesRequest: CopyAccountPrivilegesRequest,
|
|
@@ -4806,6 +4942,7 @@ module.exports = {
|
|
|
4806
4942
|
DestroyDCDBInstanceResponse: DestroyDCDBInstanceResponse,
|
|
4807
4943
|
CloseDBExtranetAccessRequest: CloseDBExtranetAccessRequest,
|
|
4808
4944
|
InitDCDBInstancesRequest: InitDCDBInstancesRequest,
|
|
4945
|
+
ResourceTag: ResourceTag,
|
|
4809
4946
|
DeleteAccountRequest: DeleteAccountRequest,
|
|
4810
4947
|
DescribeDCDBInstancesResponse: DescribeDCDBInstancesResponse,
|
|
4811
4948
|
DescribeFlowRequest: DescribeFlowRequest,
|
|
@@ -23,6 +23,7 @@ const VPCSettings = models.VPCSettings;
|
|
|
23
23
|
const PriceResource = models.PriceResource;
|
|
24
24
|
const ScaleOutInstanceResponse = models.ScaleOutInstanceResponse;
|
|
25
25
|
const InquiryPriceCreateInstanceRequest = models.InquiryPriceCreateInstanceRequest;
|
|
26
|
+
const CustomServiceDefine = models.CustomServiceDefine;
|
|
26
27
|
const Resource = models.Resource;
|
|
27
28
|
const TerminateInstanceRequest = models.TerminateInstanceRequest;
|
|
28
29
|
const PodVolume = models.PodVolume;
|
|
@@ -33,6 +34,7 @@ const InquiryPriceRenewInstanceResponse = models.InquiryPriceRenewInstanceRespon
|
|
|
33
34
|
const TerminateTasksRequest = models.TerminateTasksRequest;
|
|
34
35
|
const InquiryPriceCreateInstanceResponse = models.InquiryPriceCreateInstanceResponse;
|
|
35
36
|
const HostVolumeContext = models.HostVolumeContext;
|
|
37
|
+
const ExternalService = models.ExternalService;
|
|
36
38
|
const DescribeClusterNodesRequest = models.DescribeClusterNodesRequest;
|
|
37
39
|
const PreExecuteFileSettings = models.PreExecuteFileSettings;
|
|
38
40
|
const CreateInstanceRequest = models.CreateInstanceRequest;
|
|
@@ -637,6 +637,12 @@ Hadoop-Hbase
|
|
|
637
637
|
*/
|
|
638
638
|
this.SceneName = null;
|
|
639
639
|
|
|
640
|
+
/**
|
|
641
|
+
* Shared component information
|
|
642
|
+
* @type {Array.<ExternalService> || null}
|
|
643
|
+
*/
|
|
644
|
+
this.ExternalService = null;
|
|
645
|
+
|
|
640
646
|
}
|
|
641
647
|
|
|
642
648
|
/**
|
|
@@ -681,6 +687,50 @@ Hadoop-Hbase
|
|
|
681
687
|
this.ProductId = 'ProductId' in params ? params.ProductId : null;
|
|
682
688
|
this.SceneName = 'SceneName' in params ? params.SceneName : null;
|
|
683
689
|
|
|
690
|
+
if (params.ExternalService) {
|
|
691
|
+
this.ExternalService = new Array();
|
|
692
|
+
for (let z in params.ExternalService) {
|
|
693
|
+
let obj = new ExternalService();
|
|
694
|
+
obj.deserialize(params.ExternalService[z]);
|
|
695
|
+
this.ExternalService.push(obj);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Shared self-built component parameters
|
|
704
|
+
* @class
|
|
705
|
+
*/
|
|
706
|
+
class CustomServiceDefine extends AbstractModel {
|
|
707
|
+
constructor(){
|
|
708
|
+
super();
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Custom parameter key
|
|
712
|
+
* @type {string || null}
|
|
713
|
+
*/
|
|
714
|
+
this.Name = null;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Custom parameter value
|
|
718
|
+
* @type {string || null}
|
|
719
|
+
*/
|
|
720
|
+
this.Value = null;
|
|
721
|
+
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @private
|
|
726
|
+
*/
|
|
727
|
+
deserialize(params) {
|
|
728
|
+
if (!params) {
|
|
729
|
+
return;
|
|
730
|
+
}
|
|
731
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
732
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
733
|
+
|
|
684
734
|
}
|
|
685
735
|
}
|
|
686
736
|
|
|
@@ -1287,6 +1337,63 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1287
1337
|
}
|
|
1288
1338
|
}
|
|
1289
1339
|
|
|
1340
|
+
/**
|
|
1341
|
+
* Shared component information
|
|
1342
|
+
* @class
|
|
1343
|
+
*/
|
|
1344
|
+
class ExternalService extends AbstractModel {
|
|
1345
|
+
constructor(){
|
|
1346
|
+
super();
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Shared component type, which can be EMR or CUSTOM
|
|
1350
|
+
* @type {string || null}
|
|
1351
|
+
*/
|
|
1352
|
+
this.ShareType = null;
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* Custom parameters
|
|
1356
|
+
* @type {Array.<CustomServiceDefine> || null}
|
|
1357
|
+
*/
|
|
1358
|
+
this.CustomServiceDefineList = null;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* Shared component name
|
|
1362
|
+
* @type {string || null}
|
|
1363
|
+
*/
|
|
1364
|
+
this.Service = null;
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Shared component cluster
|
|
1368
|
+
* @type {string || null}
|
|
1369
|
+
*/
|
|
1370
|
+
this.InstanceId = null;
|
|
1371
|
+
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* @private
|
|
1376
|
+
*/
|
|
1377
|
+
deserialize(params) {
|
|
1378
|
+
if (!params) {
|
|
1379
|
+
return;
|
|
1380
|
+
}
|
|
1381
|
+
this.ShareType = 'ShareType' in params ? params.ShareType : null;
|
|
1382
|
+
|
|
1383
|
+
if (params.CustomServiceDefineList) {
|
|
1384
|
+
this.CustomServiceDefineList = new Array();
|
|
1385
|
+
for (let z in params.CustomServiceDefineList) {
|
|
1386
|
+
let obj = new CustomServiceDefine();
|
|
1387
|
+
obj.deserialize(params.CustomServiceDefineList[z]);
|
|
1388
|
+
this.CustomServiceDefineList.push(obj);
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
this.Service = 'Service' in params ? params.Service : null;
|
|
1392
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1393
|
+
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1290
1397
|
/**
|
|
1291
1398
|
* DescribeClusterNodes request structure.
|
|
1292
1399
|
* @class
|
|
@@ -4168,6 +4275,7 @@ module.exports = {
|
|
|
4168
4275
|
PriceResource: PriceResource,
|
|
4169
4276
|
ScaleOutInstanceResponse: ScaleOutInstanceResponse,
|
|
4170
4277
|
InquiryPriceCreateInstanceRequest: InquiryPriceCreateInstanceRequest,
|
|
4278
|
+
CustomServiceDefine: CustomServiceDefine,
|
|
4171
4279
|
Resource: Resource,
|
|
4172
4280
|
TerminateInstanceRequest: TerminateInstanceRequest,
|
|
4173
4281
|
PodVolume: PodVolume,
|
|
@@ -4178,6 +4286,7 @@ module.exports = {
|
|
|
4178
4286
|
TerminateTasksRequest: TerminateTasksRequest,
|
|
4179
4287
|
InquiryPriceCreateInstanceResponse: InquiryPriceCreateInstanceResponse,
|
|
4180
4288
|
HostVolumeContext: HostVolumeContext,
|
|
4289
|
+
ExternalService: ExternalService,
|
|
4181
4290
|
DescribeClusterNodesRequest: DescribeClusterNodesRequest,
|
|
4182
4291
|
PreExecuteFileSettings: PreExecuteFileSettings,
|
|
4183
4292
|
CreateInstanceRequest: CreateInstanceRequest,
|
|
@@ -190,6 +190,7 @@ const DescribeConcurrentRecordStreamNumRequest = models.DescribeConcurrentRecord
|
|
|
190
190
|
const DescribePlayErrorCodeSumInfoListRequest = models.DescribePlayErrorCodeSumInfoListRequest;
|
|
191
191
|
const ModifyLiveCertRequest = models.ModifyLiveCertRequest;
|
|
192
192
|
const CommonMixControlParams = models.CommonMixControlParams;
|
|
193
|
+
const TranscodeTotalInfo = models.TranscodeTotalInfo;
|
|
193
194
|
const DescribeAreaBillBandwidthAndFluxListResponse = models.DescribeAreaBillBandwidthAndFluxListResponse;
|
|
194
195
|
const ForbidLiveDomainRequest = models.ForbidLiveDomainRequest;
|
|
195
196
|
const DescribeLiveRecordRulesRequest = models.DescribeLiveRecordRulesRequest;
|
|
@@ -216,7 +217,7 @@ const ModifyLiveTranscodeTemplateRequest = models.ModifyLiveTranscodeTemplateReq
|
|
|
216
217
|
const ModifyLiveDomainCertResponse = models.ModifyLiveDomainCertResponse;
|
|
217
218
|
const EnableLiveDomainRequest = models.EnableLiveDomainRequest;
|
|
218
219
|
const DescribeAllStreamPlayInfoListResponse = models.DescribeAllStreamPlayInfoListResponse;
|
|
219
|
-
const
|
|
220
|
+
const DescribeLiveTranscodeTotalInfoResponse = models.DescribeLiveTranscodeTotalInfoResponse;
|
|
220
221
|
const DescribeLiveSnapshotRulesRequest = models.DescribeLiveSnapshotRulesRequest;
|
|
221
222
|
const CreateRecordTaskRequest = models.CreateRecordTaskRequest;
|
|
222
223
|
const CreateLiveTranscodeRuleResponse = models.CreateLiveTranscodeRuleResponse;
|
|
@@ -260,7 +261,9 @@ const DescribeVisitTopSumInfoListResponse = models.DescribeVisitTopSumInfoListRe
|
|
|
260
261
|
const CreateLiveSnapshotRuleResponse = models.CreateLiveSnapshotRuleResponse;
|
|
261
262
|
const DelayInfo = models.DelayInfo;
|
|
262
263
|
const DescribeLiveStreamEventListResponse = models.DescribeLiveStreamEventListResponse;
|
|
264
|
+
const ForbidLiveDomainResponse = models.ForbidLiveDomainResponse;
|
|
263
265
|
const DescribeLiveCallbackRulesResponse = models.DescribeLiveCallbackRulesResponse;
|
|
266
|
+
const DescribeLiveTranscodeTotalInfoRequest = models.DescribeLiveTranscodeTotalInfoRequest;
|
|
264
267
|
const CreateRecordTaskResponse = models.CreateRecordTaskResponse;
|
|
265
268
|
const ForbidStreamInfo = models.ForbidStreamInfo;
|
|
266
269
|
const ResumeDelayLiveStreamResponse = models.ResumeDelayLiveStreamResponse;
|
|
@@ -746,6 +749,20 @@ Note: if you are to set the delay before stream push, set it at least 5 minutes
|
|
|
746
749
|
this.request("DeleteLiveTranscodeRule", req, resp, cb);
|
|
747
750
|
}
|
|
748
751
|
|
|
752
|
+
/**
|
|
753
|
+
* This API is used to query your total usage of the transcoding service in the last 30 days.
|
|
754
|
+
Notes:
|
|
755
|
+
If the start time and end time are on the same day, the data returned will be on a 5-minute basis.
|
|
756
|
+
If not or if the data of specified domains is queried, the data returned will be on an hourly basis.
|
|
757
|
+
* @param {DescribeLiveTranscodeTotalInfoRequest} req
|
|
758
|
+
* @param {function(string, DescribeLiveTranscodeTotalInfoResponse):void} cb
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
DescribeLiveTranscodeTotalInfo(req, cb) {
|
|
762
|
+
let resp = new DescribeLiveTranscodeTotalInfoResponse();
|
|
763
|
+
this.request("DescribeLiveTranscodeTotalInfo", req, resp, cb);
|
|
764
|
+
}
|
|
765
|
+
|
|
749
766
|
/**
|
|
750
767
|
* This API is used to delete a screencapturing rule.
|
|
751
768
|
* @param {DeleteLiveSnapshotRuleRequest} req
|
|
@@ -9108,6 +9108,62 @@ If you set this parameter to 1, SEI (Supplemental Enhanced Information) of the i
|
|
|
9108
9108
|
}
|
|
9109
9109
|
}
|
|
9110
9110
|
|
|
9111
|
+
/**
|
|
9112
|
+
* Total usage of the transcoding service
|
|
9113
|
+
* @class
|
|
9114
|
+
*/
|
|
9115
|
+
class TranscodeTotalInfo extends AbstractModel {
|
|
9116
|
+
constructor(){
|
|
9117
|
+
super();
|
|
9118
|
+
|
|
9119
|
+
/**
|
|
9120
|
+
* Usage time (Beijing time)
|
|
9121
|
+
Example: 2019-03-01 00:00:00
|
|
9122
|
+
* @type {string || null}
|
|
9123
|
+
*/
|
|
9124
|
+
this.Time = null;
|
|
9125
|
+
|
|
9126
|
+
/**
|
|
9127
|
+
* Transcoding duration in minutes
|
|
9128
|
+
* @type {number || null}
|
|
9129
|
+
*/
|
|
9130
|
+
this.Duration = null;
|
|
9131
|
+
|
|
9132
|
+
/**
|
|
9133
|
+
* Codec, with modules
|
|
9134
|
+
Examples:
|
|
9135
|
+
`liveprocessor_H264`: live transcoding-H264
|
|
9136
|
+
`liveprocessor_H265`: live transcoding-H265
|
|
9137
|
+
`topspeed_H264`: top speed codec-H264
|
|
9138
|
+
`topspeed_H265`: top speed codec-H265
|
|
9139
|
+
* @type {string || null}
|
|
9140
|
+
*/
|
|
9141
|
+
this.ModuleCodec = null;
|
|
9142
|
+
|
|
9143
|
+
/**
|
|
9144
|
+
* Resolution
|
|
9145
|
+
Example: 540*480
|
|
9146
|
+
* @type {string || null}
|
|
9147
|
+
*/
|
|
9148
|
+
this.Resolution = null;
|
|
9149
|
+
|
|
9150
|
+
}
|
|
9151
|
+
|
|
9152
|
+
/**
|
|
9153
|
+
* @private
|
|
9154
|
+
*/
|
|
9155
|
+
deserialize(params) {
|
|
9156
|
+
if (!params) {
|
|
9157
|
+
return;
|
|
9158
|
+
}
|
|
9159
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
9160
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
9161
|
+
this.ModuleCodec = 'ModuleCodec' in params ? params.ModuleCodec : null;
|
|
9162
|
+
this.Resolution = 'Resolution' in params ? params.Resolution : null;
|
|
9163
|
+
|
|
9164
|
+
}
|
|
9165
|
+
}
|
|
9166
|
+
|
|
9111
9167
|
/**
|
|
9112
9168
|
* DescribeAreaBillBandwidthAndFluxList response structure.
|
|
9113
9169
|
* @class
|
|
@@ -9720,8 +9776,8 @@ class DescribeStreamPlayInfoListRequest extends AbstractModel {
|
|
|
9720
9776
|
this.StartTime = null;
|
|
9721
9777
|
|
|
9722
9778
|
/**
|
|
9723
|
-
* End time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS
|
|
9724
|
-
The
|
|
9779
|
+
* End time (Beijing time) in the format of yyyy-mm-dd HH:MM:SS
|
|
9780
|
+
The start time and end time cannot be more than 24 hours apart and must be within the last 15 days.
|
|
9725
9781
|
* @type {string || null}
|
|
9726
9782
|
*/
|
|
9727
9783
|
this.EndTime = null;
|
|
@@ -10511,13 +10567,20 @@ class DescribeAllStreamPlayInfoListResponse extends AbstractModel {
|
|
|
10511
10567
|
}
|
|
10512
10568
|
|
|
10513
10569
|
/**
|
|
10514
|
-
*
|
|
10570
|
+
* DescribeLiveTranscodeTotalInfo response structure.
|
|
10515
10571
|
* @class
|
|
10516
10572
|
*/
|
|
10517
|
-
class
|
|
10573
|
+
class DescribeLiveTranscodeTotalInfoResponse extends AbstractModel {
|
|
10518
10574
|
constructor(){
|
|
10519
10575
|
super();
|
|
10520
10576
|
|
|
10577
|
+
/**
|
|
10578
|
+
* List of transcoding data
|
|
10579
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
10580
|
+
* @type {Array.<TranscodeTotalInfo> || null}
|
|
10581
|
+
*/
|
|
10582
|
+
this.DataInfoList = null;
|
|
10583
|
+
|
|
10521
10584
|
/**
|
|
10522
10585
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
10523
10586
|
* @type {string || null}
|
|
@@ -10533,6 +10596,15 @@ class ForbidLiveDomainResponse extends AbstractModel {
|
|
|
10533
10596
|
if (!params) {
|
|
10534
10597
|
return;
|
|
10535
10598
|
}
|
|
10599
|
+
|
|
10600
|
+
if (params.DataInfoList) {
|
|
10601
|
+
this.DataInfoList = new Array();
|
|
10602
|
+
for (let z in params.DataInfoList) {
|
|
10603
|
+
let obj = new TranscodeTotalInfo();
|
|
10604
|
+
obj.deserialize(params.DataInfoList[z]);
|
|
10605
|
+
this.DataInfoList.push(obj);
|
|
10606
|
+
}
|
|
10607
|
+
}
|
|
10536
10608
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10537
10609
|
|
|
10538
10610
|
}
|
|
@@ -12442,6 +12514,34 @@ class DescribeLiveStreamEventListResponse extends AbstractModel {
|
|
|
12442
12514
|
}
|
|
12443
12515
|
}
|
|
12444
12516
|
|
|
12517
|
+
/**
|
|
12518
|
+
* ForbidLiveDomain response structure.
|
|
12519
|
+
* @class
|
|
12520
|
+
*/
|
|
12521
|
+
class ForbidLiveDomainResponse extends AbstractModel {
|
|
12522
|
+
constructor(){
|
|
12523
|
+
super();
|
|
12524
|
+
|
|
12525
|
+
/**
|
|
12526
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
12527
|
+
* @type {string || null}
|
|
12528
|
+
*/
|
|
12529
|
+
this.RequestId = null;
|
|
12530
|
+
|
|
12531
|
+
}
|
|
12532
|
+
|
|
12533
|
+
/**
|
|
12534
|
+
* @private
|
|
12535
|
+
*/
|
|
12536
|
+
deserialize(params) {
|
|
12537
|
+
if (!params) {
|
|
12538
|
+
return;
|
|
12539
|
+
}
|
|
12540
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12541
|
+
|
|
12542
|
+
}
|
|
12543
|
+
}
|
|
12544
|
+
|
|
12445
12545
|
/**
|
|
12446
12546
|
* DescribeLiveCallbackRules response structure.
|
|
12447
12547
|
* @class
|
|
@@ -12485,6 +12585,61 @@ class DescribeLiveCallbackRulesResponse extends AbstractModel {
|
|
|
12485
12585
|
}
|
|
12486
12586
|
}
|
|
12487
12587
|
|
|
12588
|
+
/**
|
|
12589
|
+
* DescribeLiveTranscodeTotalInfo request structure.
|
|
12590
|
+
* @class
|
|
12591
|
+
*/
|
|
12592
|
+
class DescribeLiveTranscodeTotalInfoRequest extends AbstractModel {
|
|
12593
|
+
constructor(){
|
|
12594
|
+
super();
|
|
12595
|
+
|
|
12596
|
+
/**
|
|
12597
|
+
* Start time (Beijing time)
|
|
12598
|
+
Format: yyyy-mm-dd HH:MM:SS
|
|
12599
|
+
* @type {string || null}
|
|
12600
|
+
*/
|
|
12601
|
+
this.StartTime = null;
|
|
12602
|
+
|
|
12603
|
+
/**
|
|
12604
|
+
* End time (Beijing time)
|
|
12605
|
+
Format: yyyy-mm-dd HH:MM:SS
|
|
12606
|
+
* @type {string || null}
|
|
12607
|
+
*/
|
|
12608
|
+
this.EndTime = null;
|
|
12609
|
+
|
|
12610
|
+
/**
|
|
12611
|
+
* List of push domains to query. If this parameter is left empty, the data of all domains is queried.
|
|
12612
|
+
If this parameter is specified, the data returned will be on an hourly basis.
|
|
12613
|
+
* @type {Array.<string> || null}
|
|
12614
|
+
*/
|
|
12615
|
+
this.PushDomains = null;
|
|
12616
|
+
|
|
12617
|
+
/**
|
|
12618
|
+
* Valid values:
|
|
12619
|
+
`Mainland`: queries transcoding data in the Chinese mainland
|
|
12620
|
+
`Oversea`: queries transcoding data outside the Chinese mainland
|
|
12621
|
+
By default, the data both in and outside the Chinese mainland is queried.
|
|
12622
|
+
* @type {string || null}
|
|
12623
|
+
*/
|
|
12624
|
+
this.MainlandOrOversea = null;
|
|
12625
|
+
|
|
12626
|
+
}
|
|
12627
|
+
|
|
12628
|
+
/**
|
|
12629
|
+
* @private
|
|
12630
|
+
*/
|
|
12631
|
+
deserialize(params) {
|
|
12632
|
+
if (!params) {
|
|
12633
|
+
return;
|
|
12634
|
+
}
|
|
12635
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
12636
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
12637
|
+
this.PushDomains = 'PushDomains' in params ? params.PushDomains : null;
|
|
12638
|
+
this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
|
|
12639
|
+
|
|
12640
|
+
}
|
|
12641
|
+
}
|
|
12642
|
+
|
|
12488
12643
|
/**
|
|
12489
12644
|
* CreateRecordTask response structure.
|
|
12490
12645
|
* @class
|
|
@@ -13206,6 +13361,7 @@ module.exports = {
|
|
|
13206
13361
|
DescribePlayErrorCodeSumInfoListRequest: DescribePlayErrorCodeSumInfoListRequest,
|
|
13207
13362
|
ModifyLiveCertRequest: ModifyLiveCertRequest,
|
|
13208
13363
|
CommonMixControlParams: CommonMixControlParams,
|
|
13364
|
+
TranscodeTotalInfo: TranscodeTotalInfo,
|
|
13209
13365
|
DescribeAreaBillBandwidthAndFluxListResponse: DescribeAreaBillBandwidthAndFluxListResponse,
|
|
13210
13366
|
ForbidLiveDomainRequest: ForbidLiveDomainRequest,
|
|
13211
13367
|
DescribeLiveRecordRulesRequest: DescribeLiveRecordRulesRequest,
|
|
@@ -13232,7 +13388,7 @@ module.exports = {
|
|
|
13232
13388
|
ModifyLiveDomainCertResponse: ModifyLiveDomainCertResponse,
|
|
13233
13389
|
EnableLiveDomainRequest: EnableLiveDomainRequest,
|
|
13234
13390
|
DescribeAllStreamPlayInfoListResponse: DescribeAllStreamPlayInfoListResponse,
|
|
13235
|
-
|
|
13391
|
+
DescribeLiveTranscodeTotalInfoResponse: DescribeLiveTranscodeTotalInfoResponse,
|
|
13236
13392
|
DescribeLiveSnapshotRulesRequest: DescribeLiveSnapshotRulesRequest,
|
|
13237
13393
|
CreateRecordTaskRequest: CreateRecordTaskRequest,
|
|
13238
13394
|
CreateLiveTranscodeRuleResponse: CreateLiveTranscodeRuleResponse,
|
|
@@ -13276,7 +13432,9 @@ module.exports = {
|
|
|
13276
13432
|
CreateLiveSnapshotRuleResponse: CreateLiveSnapshotRuleResponse,
|
|
13277
13433
|
DelayInfo: DelayInfo,
|
|
13278
13434
|
DescribeLiveStreamEventListResponse: DescribeLiveStreamEventListResponse,
|
|
13435
|
+
ForbidLiveDomainResponse: ForbidLiveDomainResponse,
|
|
13279
13436
|
DescribeLiveCallbackRulesResponse: DescribeLiveCallbackRulesResponse,
|
|
13437
|
+
DescribeLiveTranscodeTotalInfoRequest: DescribeLiveTranscodeTotalInfoRequest,
|
|
13280
13438
|
CreateRecordTaskResponse: CreateRecordTaskResponse,
|
|
13281
13439
|
ForbidStreamInfo: ForbidStreamInfo,
|
|
13282
13440
|
ResumeDelayLiveStreamResponse: ResumeDelayLiveStreamResponse,
|