tencentcloud-sdk-nodejs-intl-en 3.0.623 → 3.0.624
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/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +33 -7
- package/tencentcloud/cynosdb/v20190107/models.js +161 -31
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +13 -0
- package/tencentcloud/mariadb/v20170312/models.js +79 -0
- package/tencentcloud/mdl/v20200326/mdl_client.js +17 -0
- package/tencentcloud/mdl/v20200326/models.js +370 -1
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.624";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -48,6 +48,7 @@ const DescribeParamTemplatesRequest = models.DescribeParamTemplatesRequest;
|
|
|
48
48
|
const SearchClusterTablesRequest = models.SearchClusterTablesRequest;
|
|
49
49
|
const PauseServerlessRequest = models.PauseServerlessRequest;
|
|
50
50
|
const ObjectTask = models.ObjectTask;
|
|
51
|
+
const DescribeFlowResponse = models.DescribeFlowResponse;
|
|
51
52
|
const CreateClustersResponse = models.CreateClustersResponse;
|
|
52
53
|
const SetRenewFlagRequest = models.SetRenewFlagRequest;
|
|
53
54
|
const CynosdbInstanceGrp = models.CynosdbInstanceGrp;
|
|
@@ -66,6 +67,7 @@ const CreateAccountsRequest = models.CreateAccountsRequest;
|
|
|
66
67
|
const DeleteAuditRuleTemplatesRequest = models.DeleteAuditRuleTemplatesRequest;
|
|
67
68
|
const DescribeAuditRuleTemplatesResponse = models.DescribeAuditRuleTemplatesResponse;
|
|
68
69
|
const SwitchClusterZoneRequest = models.SwitchClusterZoneRequest;
|
|
70
|
+
const RestartInstanceRequest = models.RestartInstanceRequest;
|
|
69
71
|
const Ability = models.Ability;
|
|
70
72
|
const InstanceInitInfo = models.InstanceInitInfo;
|
|
71
73
|
const DescribeClusterDetailRequest = models.DescribeClusterDetailRequest;
|
|
@@ -129,7 +131,7 @@ const OfflineClusterResponse = models.OfflineClusterResponse;
|
|
|
129
131
|
const SwitchProxyVpcResponse = models.SwitchProxyVpcResponse;
|
|
130
132
|
const DescribeAuditRuleTemplatesRequest = models.DescribeAuditRuleTemplatesRequest;
|
|
131
133
|
const InstanceSpec = models.InstanceSpec;
|
|
132
|
-
const
|
|
134
|
+
const DescribeFlowRequest = models.DescribeFlowRequest;
|
|
133
135
|
const IsolateInstanceRequest = models.IsolateInstanceRequest;
|
|
134
136
|
const SetRenewFlagResponse = models.SetRenewFlagResponse;
|
|
135
137
|
const Account = models.Account;
|
|
@@ -140,6 +142,7 @@ const UpgradeInstanceRequest = models.UpgradeInstanceRequest;
|
|
|
140
142
|
const DescribeMaintainPeriodResponse = models.DescribeMaintainPeriodResponse;
|
|
141
143
|
const SwitchProxyVpcRequest = models.SwitchProxyVpcRequest;
|
|
142
144
|
const DescribeBackupListResponse = models.DescribeBackupListResponse;
|
|
145
|
+
const RestartInstanceResponse = models.RestartInstanceResponse;
|
|
143
146
|
const DescribeBinlogSaveDaysRequest = models.DescribeBinlogSaveDaysRequest;
|
|
144
147
|
const ModifyBackupConfigRequest = models.ModifyBackupConfigRequest;
|
|
145
148
|
const ActivateInstanceResponse = models.ActivateInstanceResponse;
|
|
@@ -147,6 +150,7 @@ const DescribeRollbackTimeValidityRequest = models.DescribeRollbackTimeValidityR
|
|
|
147
150
|
const IsolateClusterRequest = models.IsolateClusterRequest;
|
|
148
151
|
const DescribeClusterInstanceGrpsResponse = models.DescribeClusterInstanceGrpsResponse;
|
|
149
152
|
const AddInstancesRequest = models.AddInstancesRequest;
|
|
153
|
+
const InquirePriceCreateResponse = models.InquirePriceCreateResponse;
|
|
150
154
|
const ModifyClusterSlaveZoneRequest = models.ModifyClusterSlaveZoneRequest;
|
|
151
155
|
const CynosdbInstanceDetail = models.CynosdbInstanceDetail;
|
|
152
156
|
const RuleFilters = models.RuleFilters;
|
|
@@ -398,6 +402,17 @@ class CynosdbClient extends AbstractClient {
|
|
|
398
402
|
this.request("DescribeRollbackTimeRange", req, resp, cb);
|
|
399
403
|
}
|
|
400
404
|
|
|
405
|
+
/**
|
|
406
|
+
* This API is used to query task flow information.
|
|
407
|
+
* @param {DescribeFlowRequest} req
|
|
408
|
+
* @param {function(string, DescribeFlowResponse):void} cb
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
DescribeFlow(req, cb) {
|
|
412
|
+
let resp = new DescribeFlowResponse();
|
|
413
|
+
this.request("DescribeFlow", req, resp, cb);
|
|
414
|
+
}
|
|
415
|
+
|
|
401
416
|
/**
|
|
402
417
|
* This API is used to modify the backup configuration of the specified cluster.
|
|
403
418
|
* @param {ModifyBackupConfigRequest} req
|
|
@@ -520,14 +535,14 @@ class CynosdbClient extends AbstractClient {
|
|
|
520
535
|
}
|
|
521
536
|
|
|
522
537
|
/**
|
|
523
|
-
* This API is used to
|
|
524
|
-
* @param {
|
|
525
|
-
* @param {function(string,
|
|
538
|
+
* This API is used to restart an instance.
|
|
539
|
+
* @param {RestartInstanceRequest} req
|
|
540
|
+
* @param {function(string, RestartInstanceResponse):void} cb
|
|
526
541
|
* @public
|
|
527
542
|
*/
|
|
528
|
-
|
|
529
|
-
let resp = new
|
|
530
|
-
this.request("
|
|
543
|
+
RestartInstance(req, cb) {
|
|
544
|
+
let resp = new RestartInstanceResponse();
|
|
545
|
+
this.request("RestartInstance", req, resp, cb);
|
|
531
546
|
}
|
|
532
547
|
|
|
533
548
|
/**
|
|
@@ -596,6 +611,17 @@ class CynosdbClient extends AbstractClient {
|
|
|
596
611
|
this.request("RemoveClusterSlaveZone", req, resp, cb);
|
|
597
612
|
}
|
|
598
613
|
|
|
614
|
+
/**
|
|
615
|
+
* This API is used to modify the database proxy VPC.
|
|
616
|
+
* @param {SwitchProxyVpcRequest} req
|
|
617
|
+
* @param {function(string, SwitchProxyVpcResponse):void} cb
|
|
618
|
+
* @public
|
|
619
|
+
*/
|
|
620
|
+
SwitchProxyVpc(req, cb) {
|
|
621
|
+
let resp = new SwitchProxyVpcResponse();
|
|
622
|
+
this.request("SwitchProxyVpc", req, resp, cb);
|
|
623
|
+
}
|
|
624
|
+
|
|
599
625
|
/**
|
|
600
626
|
* This API is used to show the details of an instance.
|
|
601
627
|
* @param {DescribeClusterDetailRequest} req
|
|
@@ -1458,6 +1458,41 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
|
+
/**
|
|
1462
|
+
* DescribeFlow response structure.
|
|
1463
|
+
* @class
|
|
1464
|
+
*/
|
|
1465
|
+
class DescribeFlowResponse extends AbstractModel {
|
|
1466
|
+
constructor(){
|
|
1467
|
+
super();
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Task flow status. Valid values: `0` (succeeded), `1` (failed), `2` (Processing).
|
|
1471
|
+
* @type {number || null}
|
|
1472
|
+
*/
|
|
1473
|
+
this.Status = null;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1477
|
+
* @type {string || null}
|
|
1478
|
+
*/
|
|
1479
|
+
this.RequestId = null;
|
|
1480
|
+
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* @private
|
|
1485
|
+
*/
|
|
1486
|
+
deserialize(params) {
|
|
1487
|
+
if (!params) {
|
|
1488
|
+
return;
|
|
1489
|
+
}
|
|
1490
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1491
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1492
|
+
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1461
1496
|
/**
|
|
1462
1497
|
* CreateClusters response structure.
|
|
1463
1498
|
* @class
|
|
@@ -2429,6 +2464,34 @@ class SwitchClusterZoneRequest extends AbstractModel {
|
|
|
2429
2464
|
}
|
|
2430
2465
|
}
|
|
2431
2466
|
|
|
2467
|
+
/**
|
|
2468
|
+
* RestartInstance request structure.
|
|
2469
|
+
* @class
|
|
2470
|
+
*/
|
|
2471
|
+
class RestartInstanceRequest extends AbstractModel {
|
|
2472
|
+
constructor(){
|
|
2473
|
+
super();
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* Instance ID
|
|
2477
|
+
* @type {string || null}
|
|
2478
|
+
*/
|
|
2479
|
+
this.InstanceId = null;
|
|
2480
|
+
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* @private
|
|
2485
|
+
*/
|
|
2486
|
+
deserialize(params) {
|
|
2487
|
+
if (!params) {
|
|
2488
|
+
return;
|
|
2489
|
+
}
|
|
2490
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2491
|
+
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2432
2495
|
/**
|
|
2433
2496
|
* Features supported by the cluster
|
|
2434
2497
|
* @class
|
|
@@ -6668,30 +6731,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6668
6731
|
}
|
|
6669
6732
|
|
|
6670
6733
|
/**
|
|
6671
|
-
*
|
|
6734
|
+
* DescribeFlow request structure.
|
|
6672
6735
|
* @class
|
|
6673
6736
|
*/
|
|
6674
|
-
class
|
|
6737
|
+
class DescribeFlowRequest extends AbstractModel {
|
|
6675
6738
|
constructor(){
|
|
6676
6739
|
super();
|
|
6677
6740
|
|
|
6678
6741
|
/**
|
|
6679
|
-
*
|
|
6680
|
-
* @type {
|
|
6681
|
-
*/
|
|
6682
|
-
this.InstancePrice = null;
|
|
6683
|
-
|
|
6684
|
-
/**
|
|
6685
|
-
* Storage price
|
|
6686
|
-
* @type {TradePrice || null}
|
|
6687
|
-
*/
|
|
6688
|
-
this.StoragePrice = null;
|
|
6689
|
-
|
|
6690
|
-
/**
|
|
6691
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
6692
|
-
* @type {string || null}
|
|
6742
|
+
* Task flow ID
|
|
6743
|
+
* @type {number || null}
|
|
6693
6744
|
*/
|
|
6694
|
-
this.
|
|
6745
|
+
this.FlowId = null;
|
|
6695
6746
|
|
|
6696
6747
|
}
|
|
6697
6748
|
|
|
@@ -6702,19 +6753,7 @@ class InquirePriceCreateResponse extends AbstractModel {
|
|
|
6702
6753
|
if (!params) {
|
|
6703
6754
|
return;
|
|
6704
6755
|
}
|
|
6705
|
-
|
|
6706
|
-
if (params.InstancePrice) {
|
|
6707
|
-
let obj = new TradePrice();
|
|
6708
|
-
obj.deserialize(params.InstancePrice)
|
|
6709
|
-
this.InstancePrice = obj;
|
|
6710
|
-
}
|
|
6711
|
-
|
|
6712
|
-
if (params.StoragePrice) {
|
|
6713
|
-
let obj = new TradePrice();
|
|
6714
|
-
obj.deserialize(params.StoragePrice)
|
|
6715
|
-
this.StoragePrice = obj;
|
|
6716
|
-
}
|
|
6717
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6756
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
6718
6757
|
|
|
6719
6758
|
}
|
|
6720
6759
|
}
|
|
@@ -7241,6 +7280,41 @@ class DescribeBackupListResponse extends AbstractModel {
|
|
|
7241
7280
|
}
|
|
7242
7281
|
}
|
|
7243
7282
|
|
|
7283
|
+
/**
|
|
7284
|
+
* RestartInstance response structure.
|
|
7285
|
+
* @class
|
|
7286
|
+
*/
|
|
7287
|
+
class RestartInstanceResponse extends AbstractModel {
|
|
7288
|
+
constructor(){
|
|
7289
|
+
super();
|
|
7290
|
+
|
|
7291
|
+
/**
|
|
7292
|
+
* Async task ID
|
|
7293
|
+
* @type {number || null}
|
|
7294
|
+
*/
|
|
7295
|
+
this.FlowId = null;
|
|
7296
|
+
|
|
7297
|
+
/**
|
|
7298
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7299
|
+
* @type {string || null}
|
|
7300
|
+
*/
|
|
7301
|
+
this.RequestId = null;
|
|
7302
|
+
|
|
7303
|
+
}
|
|
7304
|
+
|
|
7305
|
+
/**
|
|
7306
|
+
* @private
|
|
7307
|
+
*/
|
|
7308
|
+
deserialize(params) {
|
|
7309
|
+
if (!params) {
|
|
7310
|
+
return;
|
|
7311
|
+
}
|
|
7312
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
7313
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7314
|
+
|
|
7315
|
+
}
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7244
7318
|
/**
|
|
7245
7319
|
* DescribeBinlogSaveDays request structure.
|
|
7246
7320
|
* @class
|
|
@@ -7629,6 +7703,58 @@ class AddInstancesRequest extends AbstractModel {
|
|
|
7629
7703
|
}
|
|
7630
7704
|
}
|
|
7631
7705
|
|
|
7706
|
+
/**
|
|
7707
|
+
* InquirePriceCreate response structure.
|
|
7708
|
+
* @class
|
|
7709
|
+
*/
|
|
7710
|
+
class InquirePriceCreateResponse extends AbstractModel {
|
|
7711
|
+
constructor(){
|
|
7712
|
+
super();
|
|
7713
|
+
|
|
7714
|
+
/**
|
|
7715
|
+
* Instance price
|
|
7716
|
+
* @type {TradePrice || null}
|
|
7717
|
+
*/
|
|
7718
|
+
this.InstancePrice = null;
|
|
7719
|
+
|
|
7720
|
+
/**
|
|
7721
|
+
* Storage price
|
|
7722
|
+
* @type {TradePrice || null}
|
|
7723
|
+
*/
|
|
7724
|
+
this.StoragePrice = null;
|
|
7725
|
+
|
|
7726
|
+
/**
|
|
7727
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7728
|
+
* @type {string || null}
|
|
7729
|
+
*/
|
|
7730
|
+
this.RequestId = null;
|
|
7731
|
+
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
/**
|
|
7735
|
+
* @private
|
|
7736
|
+
*/
|
|
7737
|
+
deserialize(params) {
|
|
7738
|
+
if (!params) {
|
|
7739
|
+
return;
|
|
7740
|
+
}
|
|
7741
|
+
|
|
7742
|
+
if (params.InstancePrice) {
|
|
7743
|
+
let obj = new TradePrice();
|
|
7744
|
+
obj.deserialize(params.InstancePrice)
|
|
7745
|
+
this.InstancePrice = obj;
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7748
|
+
if (params.StoragePrice) {
|
|
7749
|
+
let obj = new TradePrice();
|
|
7750
|
+
obj.deserialize(params.StoragePrice)
|
|
7751
|
+
this.StoragePrice = obj;
|
|
7752
|
+
}
|
|
7753
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7754
|
+
|
|
7755
|
+
}
|
|
7756
|
+
}
|
|
7757
|
+
|
|
7632
7758
|
/**
|
|
7633
7759
|
* ModifyClusterSlaveZone request structure.
|
|
7634
7760
|
* @class
|
|
@@ -9534,6 +9660,7 @@ module.exports = {
|
|
|
9534
9660
|
SearchClusterTablesRequest: SearchClusterTablesRequest,
|
|
9535
9661
|
PauseServerlessRequest: PauseServerlessRequest,
|
|
9536
9662
|
ObjectTask: ObjectTask,
|
|
9663
|
+
DescribeFlowResponse: DescribeFlowResponse,
|
|
9537
9664
|
CreateClustersResponse: CreateClustersResponse,
|
|
9538
9665
|
SetRenewFlagRequest: SetRenewFlagRequest,
|
|
9539
9666
|
CynosdbInstanceGrp: CynosdbInstanceGrp,
|
|
@@ -9552,6 +9679,7 @@ module.exports = {
|
|
|
9552
9679
|
DeleteAuditRuleTemplatesRequest: DeleteAuditRuleTemplatesRequest,
|
|
9553
9680
|
DescribeAuditRuleTemplatesResponse: DescribeAuditRuleTemplatesResponse,
|
|
9554
9681
|
SwitchClusterZoneRequest: SwitchClusterZoneRequest,
|
|
9682
|
+
RestartInstanceRequest: RestartInstanceRequest,
|
|
9555
9683
|
Ability: Ability,
|
|
9556
9684
|
InstanceInitInfo: InstanceInitInfo,
|
|
9557
9685
|
DescribeClusterDetailRequest: DescribeClusterDetailRequest,
|
|
@@ -9615,7 +9743,7 @@ module.exports = {
|
|
|
9615
9743
|
SwitchProxyVpcResponse: SwitchProxyVpcResponse,
|
|
9616
9744
|
DescribeAuditRuleTemplatesRequest: DescribeAuditRuleTemplatesRequest,
|
|
9617
9745
|
InstanceSpec: InstanceSpec,
|
|
9618
|
-
|
|
9746
|
+
DescribeFlowRequest: DescribeFlowRequest,
|
|
9619
9747
|
IsolateInstanceRequest: IsolateInstanceRequest,
|
|
9620
9748
|
SetRenewFlagResponse: SetRenewFlagResponse,
|
|
9621
9749
|
Account: Account,
|
|
@@ -9626,6 +9754,7 @@ module.exports = {
|
|
|
9626
9754
|
DescribeMaintainPeriodResponse: DescribeMaintainPeriodResponse,
|
|
9627
9755
|
SwitchProxyVpcRequest: SwitchProxyVpcRequest,
|
|
9628
9756
|
DescribeBackupListResponse: DescribeBackupListResponse,
|
|
9757
|
+
RestartInstanceResponse: RestartInstanceResponse,
|
|
9629
9758
|
DescribeBinlogSaveDaysRequest: DescribeBinlogSaveDaysRequest,
|
|
9630
9759
|
ModifyBackupConfigRequest: ModifyBackupConfigRequest,
|
|
9631
9760
|
ActivateInstanceResponse: ActivateInstanceResponse,
|
|
@@ -9633,6 +9762,7 @@ module.exports = {
|
|
|
9633
9762
|
IsolateClusterRequest: IsolateClusterRequest,
|
|
9634
9763
|
DescribeClusterInstanceGrpsResponse: DescribeClusterInstanceGrpsResponse,
|
|
9635
9764
|
AddInstancesRequest: AddInstancesRequest,
|
|
9765
|
+
InquirePriceCreateResponse: InquirePriceCreateResponse,
|
|
9636
9766
|
ModifyClusterSlaveZoneRequest: ModifyClusterSlaveZoneRequest,
|
|
9637
9767
|
CynosdbInstanceDetail: CynosdbInstanceDetail,
|
|
9638
9768
|
RuleFilters: RuleFilters,
|
|
@@ -62,8 +62,10 @@ const DatabaseFunction = models.DatabaseFunction;
|
|
|
62
62
|
const ResetAccountPasswordResponse = models.ResetAccountPasswordResponse;
|
|
63
63
|
const DescribeDatabaseObjectsRequest = models.DescribeDatabaseObjectsRequest;
|
|
64
64
|
const CreateDBInstanceResponse = models.CreateDBInstanceResponse;
|
|
65
|
+
const DescribeDBEncryptAttributesResponse = models.DescribeDBEncryptAttributesResponse;
|
|
65
66
|
const DestroyDBInstanceRequest = models.DestroyDBInstanceRequest;
|
|
66
67
|
const DatabaseTable = models.DatabaseTable;
|
|
68
|
+
const DescribeDBEncryptAttributesRequest = models.DescribeDBEncryptAttributesRequest;
|
|
67
69
|
const Deal = models.Deal;
|
|
68
70
|
const GrantAccountPrivilegesRequest = models.GrantAccountPrivilegesRequest;
|
|
69
71
|
const DBParamValue = models.DBParamValue;
|
|
@@ -641,6 +643,17 @@ Note: accounts with the same username but different hosts are different accounts
|
|
|
641
643
|
this.request("DisassociateSecurityGroups", req, resp, cb);
|
|
642
644
|
}
|
|
643
645
|
|
|
646
|
+
/**
|
|
647
|
+
* This API is used to query the encryption status of the instance data.
|
|
648
|
+
* @param {DescribeDBEncryptAttributesRequest} req
|
|
649
|
+
* @param {function(string, DescribeDBEncryptAttributesResponse):void} cb
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
DescribeDBEncryptAttributes(req, cb) {
|
|
653
|
+
let resp = new DescribeDBEncryptAttributesResponse();
|
|
654
|
+
this.request("DescribeDBEncryptAttributes", req, resp, cb);
|
|
655
|
+
}
|
|
656
|
+
|
|
644
657
|
|
|
645
658
|
}
|
|
646
659
|
module.exports = MariadbClient;
|
|
@@ -2310,6 +2310,55 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
2312
|
|
|
2313
|
+
/**
|
|
2314
|
+
* DescribeDBEncryptAttributes response structure.
|
|
2315
|
+
* @class
|
|
2316
|
+
*/
|
|
2317
|
+
class DescribeDBEncryptAttributesResponse extends AbstractModel {
|
|
2318
|
+
constructor(){
|
|
2319
|
+
super();
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* Whether encryption is enabled. Valid values: `1` (enabled), `2` (disabled).
|
|
2323
|
+
* @type {number || null}
|
|
2324
|
+
*/
|
|
2325
|
+
this.EncryptStatus = null;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* DEK key
|
|
2329
|
+
* @type {string || null}
|
|
2330
|
+
*/
|
|
2331
|
+
this.CipherText = null;
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* DEK key expiration date
|
|
2335
|
+
* @type {string || null}
|
|
2336
|
+
*/
|
|
2337
|
+
this.ExpireDate = null;
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2341
|
+
* @type {string || null}
|
|
2342
|
+
*/
|
|
2343
|
+
this.RequestId = null;
|
|
2344
|
+
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* @private
|
|
2349
|
+
*/
|
|
2350
|
+
deserialize(params) {
|
|
2351
|
+
if (!params) {
|
|
2352
|
+
return;
|
|
2353
|
+
}
|
|
2354
|
+
this.EncryptStatus = 'EncryptStatus' in params ? params.EncryptStatus : null;
|
|
2355
|
+
this.CipherText = 'CipherText' in params ? params.CipherText : null;
|
|
2356
|
+
this.ExpireDate = 'ExpireDate' in params ? params.ExpireDate : null;
|
|
2357
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2358
|
+
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2313
2362
|
/**
|
|
2314
2363
|
* DestroyDBInstance request structure.
|
|
2315
2364
|
* @class
|
|
@@ -2366,6 +2415,34 @@ class DatabaseTable extends AbstractModel {
|
|
|
2366
2415
|
}
|
|
2367
2416
|
}
|
|
2368
2417
|
|
|
2418
|
+
/**
|
|
2419
|
+
* DescribeDBEncryptAttributes request structure.
|
|
2420
|
+
* @class
|
|
2421
|
+
*/
|
|
2422
|
+
class DescribeDBEncryptAttributesRequest extends AbstractModel {
|
|
2423
|
+
constructor(){
|
|
2424
|
+
super();
|
|
2425
|
+
|
|
2426
|
+
/**
|
|
2427
|
+
* Instance ID in the format of `tdsql-ow728lmc`
|
|
2428
|
+
* @type {string || null}
|
|
2429
|
+
*/
|
|
2430
|
+
this.InstanceId = null;
|
|
2431
|
+
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* @private
|
|
2436
|
+
*/
|
|
2437
|
+
deserialize(params) {
|
|
2438
|
+
if (!params) {
|
|
2439
|
+
return;
|
|
2440
|
+
}
|
|
2441
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2442
|
+
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2369
2446
|
/**
|
|
2370
2447
|
* Order information
|
|
2371
2448
|
* @class
|
|
@@ -6253,8 +6330,10 @@ module.exports = {
|
|
|
6253
6330
|
ResetAccountPasswordResponse: ResetAccountPasswordResponse,
|
|
6254
6331
|
DescribeDatabaseObjectsRequest: DescribeDatabaseObjectsRequest,
|
|
6255
6332
|
CreateDBInstanceResponse: CreateDBInstanceResponse,
|
|
6333
|
+
DescribeDBEncryptAttributesResponse: DescribeDBEncryptAttributesResponse,
|
|
6256
6334
|
DestroyDBInstanceRequest: DestroyDBInstanceRequest,
|
|
6257
6335
|
DatabaseTable: DatabaseTable,
|
|
6336
|
+
DescribeDBEncryptAttributesRequest: DescribeDBEncryptAttributesRequest,
|
|
6258
6337
|
Deal: Deal,
|
|
6259
6338
|
GrantAccountPrivilegesRequest: GrantAccountPrivilegesRequest,
|
|
6260
6339
|
DBParamValue: DBParamValue,
|
|
@@ -23,10 +23,12 @@ const StreamVideoInfo = models.StreamVideoInfo;
|
|
|
23
23
|
const CreateStreamLivePlanRequest = models.CreateStreamLivePlanRequest;
|
|
24
24
|
const DescribeStreamLiveWatermarksResponse = models.DescribeStreamLiveWatermarksResponse;
|
|
25
25
|
const DescribeStreamLiveInputRequest = models.DescribeStreamLiveInputRequest;
|
|
26
|
+
const QueryDispatchInputInfo = models.QueryDispatchInputInfo;
|
|
26
27
|
const CreateStreamLiveInputRequest = models.CreateStreamLiveInputRequest;
|
|
27
28
|
const AudioPidSelectionInfo = models.AudioPidSelectionInfo;
|
|
28
29
|
const AudioPipelineInputStatistics = models.AudioPipelineInputStatistics;
|
|
29
30
|
const CreateStreamLivePlanResponse = models.CreateStreamLivePlanResponse;
|
|
31
|
+
const InputStreamInfo = models.InputStreamInfo;
|
|
30
32
|
const DescribeStreamLiveChannelOutputStatisticsRequest = models.DescribeStreamLiveChannelOutputStatisticsRequest;
|
|
31
33
|
const ChannelPipelineAlerts = models.ChannelPipelineAlerts;
|
|
32
34
|
const InputInfo = models.InputInfo;
|
|
@@ -51,6 +53,7 @@ const StreamInfo = models.StreamInfo;
|
|
|
51
53
|
const SDMCSettingsInfo = models.SDMCSettingsInfo;
|
|
52
54
|
const DeleteStreamLiveInputSecurityGroupRequest = models.DeleteStreamLiveInputSecurityGroupRequest;
|
|
53
55
|
const AttachedInput = models.AttachedInput;
|
|
56
|
+
const QueryInputStreamStateResponse = models.QueryInputStreamStateResponse;
|
|
54
57
|
const DescribeStreamLiveWatermarksRequest = models.DescribeStreamLiveWatermarksRequest;
|
|
55
58
|
const DescribeTranscodeDetailInfo = models.DescribeTranscodeDetailInfo;
|
|
56
59
|
const TimeShiftSettingsInfo = models.TimeShiftSettingsInfo;
|
|
@@ -71,6 +74,7 @@ const TimingSettingsResp = models.TimingSettingsResp;
|
|
|
71
74
|
const AudioTemplateInfo = models.AudioTemplateInfo;
|
|
72
75
|
const StreamPackageSettingsInfo = models.StreamPackageSettingsInfo;
|
|
73
76
|
const DescribeStreamLiveChannelsResponse = models.DescribeStreamLiveChannelsResponse;
|
|
77
|
+
const QueryInputStreamStateRequest = models.QueryInputStreamStateRequest;
|
|
74
78
|
const PlanReq = models.PlanReq;
|
|
75
79
|
const DeleteStreamLiveWatermarkRequest = models.DeleteStreamLiveWatermarkRequest;
|
|
76
80
|
const DescribeStreamLiveRegionsResponse = models.DescribeStreamLiveRegionsResponse;
|
|
@@ -99,12 +103,14 @@ const DescribeStreamLiveInputSecurityGroupRequest = models.DescribeStreamLiveInp
|
|
|
99
103
|
const CreateStreamLiveChannelResponse = models.CreateStreamLiveChannelResponse;
|
|
100
104
|
const DescribeStreamLiveChannelInputStatisticsResponse = models.DescribeStreamLiveChannelInputStatisticsResponse;
|
|
101
105
|
const StopStreamLiveChannelResponse = models.StopStreamLiveChannelResponse;
|
|
106
|
+
const PushEventSetting = models.PushEventSetting;
|
|
102
107
|
const CreateImageSettings = models.CreateImageSettings;
|
|
103
108
|
const StartStreamLiveChannelResponse = models.StartStreamLiveChannelResponse;
|
|
104
109
|
const StreamLiveOutputGroupsInfo = models.StreamLiveOutputGroupsInfo;
|
|
105
110
|
const ChannelOutputsStatistics = models.ChannelOutputsStatistics;
|
|
106
111
|
const PlanSettings = models.PlanSettings;
|
|
107
112
|
const DescribeStreamLiveInputSecurityGroupsResponse = models.DescribeStreamLiveInputSecurityGroupsResponse;
|
|
113
|
+
const EventNotifySetting = models.EventNotifySetting;
|
|
108
114
|
const DeleteStreamLiveInputResponse = models.DeleteStreamLiveInputResponse;
|
|
109
115
|
const StartStreamLiveChannelRequest = models.StartStreamLiveChannelRequest;
|
|
110
116
|
const DescribeStreamLiveWatermarkResponse = models.DescribeStreamLiveWatermarkResponse;
|
|
@@ -378,6 +384,17 @@ class MdlClient extends AbstractClient {
|
|
|
378
384
|
this.request("DeleteStreamLivePlan", req, resp, cb);
|
|
379
385
|
}
|
|
380
386
|
|
|
387
|
+
/**
|
|
388
|
+
* This API is used to query the stream status of a StreamLive input.
|
|
389
|
+
* @param {QueryInputStreamStateRequest} req
|
|
390
|
+
* @param {function(string, QueryInputStreamStateResponse):void} cb
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
QueryInputStreamState(req, cb) {
|
|
394
|
+
let resp = new QueryInputStreamStateResponse();
|
|
395
|
+
this.request("QueryInputStreamState", req, resp, cb);
|
|
396
|
+
}
|
|
397
|
+
|
|
381
398
|
/**
|
|
382
399
|
* This API is used to query a StreamLive input.
|
|
383
400
|
* @param {DescribeStreamLiveInputRequest} req
|
|
@@ -301,6 +301,63 @@ class DescribeStreamLiveInputRequest extends AbstractModel {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
+
/**
|
|
305
|
+
* The stream status of the queried input.
|
|
306
|
+
* @class
|
|
307
|
+
*/
|
|
308
|
+
class QueryDispatchInputInfo extends AbstractModel {
|
|
309
|
+
constructor(){
|
|
310
|
+
super();
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* The input ID.
|
|
314
|
+
* @type {string || null}
|
|
315
|
+
*/
|
|
316
|
+
this.InputID = null;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The input name.
|
|
320
|
+
* @type {string || null}
|
|
321
|
+
*/
|
|
322
|
+
this.InputName = null;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The input protocol.
|
|
326
|
+
* @type {string || null}
|
|
327
|
+
*/
|
|
328
|
+
this.Protocol = null;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The stream status of the input.
|
|
332
|
+
* @type {Array.<InputStreamInfo> || null}
|
|
333
|
+
*/
|
|
334
|
+
this.InputStreamInfoList = null;
|
|
335
|
+
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @private
|
|
340
|
+
*/
|
|
341
|
+
deserialize(params) {
|
|
342
|
+
if (!params) {
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
this.InputID = 'InputID' in params ? params.InputID : null;
|
|
346
|
+
this.InputName = 'InputName' in params ? params.InputName : null;
|
|
347
|
+
this.Protocol = 'Protocol' in params ? params.Protocol : null;
|
|
348
|
+
|
|
349
|
+
if (params.InputStreamInfoList) {
|
|
350
|
+
this.InputStreamInfoList = new Array();
|
|
351
|
+
for (let z in params.InputStreamInfoList) {
|
|
352
|
+
let obj = new InputStreamInfo();
|
|
353
|
+
obj.deserialize(params.InputStreamInfoList[z]);
|
|
354
|
+
this.InputStreamInfoList.push(obj);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
304
361
|
/**
|
|
305
362
|
* CreateStreamLiveInput request structure.
|
|
306
363
|
* @class
|
|
@@ -458,6 +515,55 @@ class CreateStreamLivePlanResponse extends AbstractModel {
|
|
|
458
515
|
}
|
|
459
516
|
}
|
|
460
517
|
|
|
518
|
+
/**
|
|
519
|
+
* The input stream information.
|
|
520
|
+
* @class
|
|
521
|
+
*/
|
|
522
|
+
class InputStreamInfo extends AbstractModel {
|
|
523
|
+
constructor(){
|
|
524
|
+
super();
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* The input stream address.
|
|
528
|
+
* @type {string || null}
|
|
529
|
+
*/
|
|
530
|
+
this.InputAddress = null;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* The input stream path.
|
|
534
|
+
* @type {string || null}
|
|
535
|
+
*/
|
|
536
|
+
this.AppName = null;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* The input stream name.
|
|
540
|
+
* @type {string || null}
|
|
541
|
+
*/
|
|
542
|
+
this.StreamName = null;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* The input stream status. `1` indicates the stream is active.
|
|
546
|
+
* @type {number || null}
|
|
547
|
+
*/
|
|
548
|
+
this.Status = null;
|
|
549
|
+
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @private
|
|
554
|
+
*/
|
|
555
|
+
deserialize(params) {
|
|
556
|
+
if (!params) {
|
|
557
|
+
return;
|
|
558
|
+
}
|
|
559
|
+
this.InputAddress = 'InputAddress' in params ? params.InputAddress : null;
|
|
560
|
+
this.AppName = 'AppName' in params ? params.AppName : null;
|
|
561
|
+
this.StreamName = 'StreamName' in params ? params.StreamName : null;
|
|
562
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
563
|
+
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
461
567
|
/**
|
|
462
568
|
* DescribeStreamLiveChannelOutputStatistics request structure.
|
|
463
569
|
* @class
|
|
@@ -731,6 +837,24 @@ Valid values: `6000`, `7000`, `8000`, `10000`, `12000`, `14000`, `16000`, `20000
|
|
|
731
837
|
*/
|
|
732
838
|
this.WatermarkId = null;
|
|
733
839
|
|
|
840
|
+
/**
|
|
841
|
+
* Whether to convert audio to text. `0` (default): No; `1`: Yes.
|
|
842
|
+
* @type {number || null}
|
|
843
|
+
*/
|
|
844
|
+
this.SmartSubtitles = null;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* The subtitle settings. Currently, the following subtitles are supported:
|
|
848
|
+
`eng2eng`: English speech to English text.
|
|
849
|
+
`eng2chs`: English speech to Chinese text.
|
|
850
|
+
`eng2chseng`: English speech to English and Chinese text.
|
|
851
|
+
`chs2chs`: Chinese speech to Chinese text.
|
|
852
|
+
`chs2eng`: Chinese speech to English text.
|
|
853
|
+
`chs2chseng`: Chinese speech to Chinese and English text.
|
|
854
|
+
* @type {string || null}
|
|
855
|
+
*/
|
|
856
|
+
this.SubtitleConfiguration = null;
|
|
857
|
+
|
|
734
858
|
}
|
|
735
859
|
|
|
736
860
|
/**
|
|
@@ -754,6 +878,8 @@ Valid values: `6000`, `7000`, `8000`, `10000`, `12000`, `14000`, `16000`, `20000
|
|
|
754
878
|
this.VideoBitrate = 'VideoBitrate' in params ? params.VideoBitrate : null;
|
|
755
879
|
this.RateControlMode = 'RateControlMode' in params ? params.RateControlMode : null;
|
|
756
880
|
this.WatermarkId = 'WatermarkId' in params ? params.WatermarkId : null;
|
|
881
|
+
this.SmartSubtitles = 'SmartSubtitles' in params ? params.SmartSubtitles : null;
|
|
882
|
+
this.SubtitleConfiguration = 'SubtitleConfiguration' in params ? params.SubtitleConfiguration : null;
|
|
757
883
|
|
|
758
884
|
}
|
|
759
885
|
}
|
|
@@ -1151,6 +1277,13 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1151
1277
|
*/
|
|
1152
1278
|
this.SDMCSettings = null;
|
|
1153
1279
|
|
|
1280
|
+
/**
|
|
1281
|
+
* The DRM type. Valid values: `FAIRPLAY`, `WIDEVINE`, `AES128`. For HLS, this can be `FAIRPLAY` or `AES128`. For DASH, this can only be `WIDEVINE`.
|
|
1282
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
1283
|
+
* @type {string || null}
|
|
1284
|
+
*/
|
|
1285
|
+
this.DrmType = null;
|
|
1286
|
+
|
|
1154
1287
|
}
|
|
1155
1288
|
|
|
1156
1289
|
/**
|
|
@@ -1178,6 +1311,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1178
1311
|
obj.deserialize(params.SDMCSettings)
|
|
1179
1312
|
this.SDMCSettings = obj;
|
|
1180
1313
|
}
|
|
1314
|
+
this.DrmType = 'DrmType' in params ? params.DrmType : null;
|
|
1181
1315
|
|
|
1182
1316
|
}
|
|
1183
1317
|
}
|
|
@@ -1335,6 +1469,12 @@ class DashRemuxSettingsInfo extends AbstractModel {
|
|
|
1335
1469
|
*/
|
|
1336
1470
|
this.PeriodTriggers = null;
|
|
1337
1471
|
|
|
1472
|
+
/**
|
|
1473
|
+
* The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default).
|
|
1474
|
+
* @type {string || null}
|
|
1475
|
+
*/
|
|
1476
|
+
this.H265PackageType = null;
|
|
1477
|
+
|
|
1338
1478
|
}
|
|
1339
1479
|
|
|
1340
1480
|
/**
|
|
@@ -1347,6 +1487,7 @@ class DashRemuxSettingsInfo extends AbstractModel {
|
|
|
1347
1487
|
this.SegmentDuration = 'SegmentDuration' in params ? params.SegmentDuration : null;
|
|
1348
1488
|
this.SegmentNumber = 'SegmentNumber' in params ? params.SegmentNumber : null;
|
|
1349
1489
|
this.PeriodTriggers = 'PeriodTriggers' in params ? params.PeriodTriggers : null;
|
|
1490
|
+
this.H265PackageType = 'H265PackageType' in params ? params.H265PackageType : null;
|
|
1350
1491
|
|
|
1351
1492
|
}
|
|
1352
1493
|
}
|
|
@@ -1646,6 +1787,46 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
1646
1787
|
}
|
|
1647
1788
|
}
|
|
1648
1789
|
|
|
1790
|
+
/**
|
|
1791
|
+
* QueryInputStreamState response structure.
|
|
1792
|
+
* @class
|
|
1793
|
+
*/
|
|
1794
|
+
class QueryInputStreamStateResponse extends AbstractModel {
|
|
1795
|
+
constructor(){
|
|
1796
|
+
super();
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* The information of the StreamLive input queried.
|
|
1800
|
+
* @type {QueryDispatchInputInfo || null}
|
|
1801
|
+
*/
|
|
1802
|
+
this.Info = null;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1806
|
+
* @type {string || null}
|
|
1807
|
+
*/
|
|
1808
|
+
this.RequestId = null;
|
|
1809
|
+
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* @private
|
|
1814
|
+
*/
|
|
1815
|
+
deserialize(params) {
|
|
1816
|
+
if (!params) {
|
|
1817
|
+
return;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
if (params.Info) {
|
|
1821
|
+
let obj = new QueryDispatchInputInfo();
|
|
1822
|
+
obj.deserialize(params.Info)
|
|
1823
|
+
this.Info = obj;
|
|
1824
|
+
}
|
|
1825
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1826
|
+
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1649
1830
|
/**
|
|
1650
1831
|
* DescribeStreamLiveWatermarks request structure.
|
|
1651
1832
|
* @class
|
|
@@ -2385,6 +2566,19 @@ class HlsRemuxSettingsInfo extends AbstractModel {
|
|
|
2385
2566
|
*/
|
|
2386
2567
|
this.Scheme = null;
|
|
2387
2568
|
|
|
2569
|
+
/**
|
|
2570
|
+
* The segment type. Valid values: `ts` (default), `fmp4`.
|
|
2571
|
+
Currently, fMP4 segments do not support DRM or time shifting.
|
|
2572
|
+
* @type {string || null}
|
|
2573
|
+
*/
|
|
2574
|
+
this.SegmentType = null;
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default).
|
|
2578
|
+
* @type {string || null}
|
|
2579
|
+
*/
|
|
2580
|
+
this.H265PackageType = null;
|
|
2581
|
+
|
|
2388
2582
|
}
|
|
2389
2583
|
|
|
2390
2584
|
/**
|
|
@@ -2399,6 +2593,8 @@ class HlsRemuxSettingsInfo extends AbstractModel {
|
|
|
2399
2593
|
this.PdtInsertion = 'PdtInsertion' in params ? params.PdtInsertion : null;
|
|
2400
2594
|
this.PdtDuration = 'PdtDuration' in params ? params.PdtDuration : null;
|
|
2401
2595
|
this.Scheme = 'Scheme' in params ? params.Scheme : null;
|
|
2596
|
+
this.SegmentType = 'SegmentType' in params ? params.SegmentType : null;
|
|
2597
|
+
this.H265PackageType = 'H265PackageType' in params ? params.H265PackageType : null;
|
|
2402
2598
|
|
|
2403
2599
|
}
|
|
2404
2600
|
}
|
|
@@ -2648,6 +2844,34 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
2648
2844
|
}
|
|
2649
2845
|
}
|
|
2650
2846
|
|
|
2847
|
+
/**
|
|
2848
|
+
* QueryInputStreamState request structure.
|
|
2849
|
+
* @class
|
|
2850
|
+
*/
|
|
2851
|
+
class QueryInputStreamStateRequest extends AbstractModel {
|
|
2852
|
+
constructor(){
|
|
2853
|
+
super();
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* The StreamLive input ID.
|
|
2857
|
+
* @type {string || null}
|
|
2858
|
+
*/
|
|
2859
|
+
this.Id = null;
|
|
2860
|
+
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
/**
|
|
2864
|
+
* @private
|
|
2865
|
+
*/
|
|
2866
|
+
deserialize(params) {
|
|
2867
|
+
if (!params) {
|
|
2868
|
+
return;
|
|
2869
|
+
}
|
|
2870
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
2871
|
+
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2651
2875
|
/**
|
|
2652
2876
|
* Event configuration information
|
|
2653
2877
|
* @class
|
|
@@ -2940,6 +3164,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
|
|
|
2940
3164
|
*/
|
|
2941
3165
|
this.PlanSettings = null;
|
|
2942
3166
|
|
|
3167
|
+
/**
|
|
3168
|
+
* The callback settings.
|
|
3169
|
+
* @type {EventNotifySetting || null}
|
|
3170
|
+
*/
|
|
3171
|
+
this.EventNotifySettings = null;
|
|
3172
|
+
|
|
2943
3173
|
}
|
|
2944
3174
|
|
|
2945
3175
|
/**
|
|
@@ -3002,6 +3232,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
|
|
|
3002
3232
|
this.PlanSettings = obj;
|
|
3003
3233
|
}
|
|
3004
3234
|
|
|
3235
|
+
if (params.EventNotifySettings) {
|
|
3236
|
+
let obj = new EventNotifySetting();
|
|
3237
|
+
obj.deserialize(params.EventNotifySettings)
|
|
3238
|
+
this.EventNotifySettings = obj;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3005
3241
|
}
|
|
3006
3242
|
}
|
|
3007
3243
|
|
|
@@ -3658,6 +3894,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3658
3894
|
*/
|
|
3659
3895
|
this.Iv = null;
|
|
3660
3896
|
|
|
3897
|
+
/**
|
|
3898
|
+
* The URI of the license server when AES-128 is used. This parameter may be empty.
|
|
3899
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
3900
|
+
* @type {string || null}
|
|
3901
|
+
*/
|
|
3902
|
+
this.KeyUri = null;
|
|
3903
|
+
|
|
3661
3904
|
}
|
|
3662
3905
|
|
|
3663
3906
|
/**
|
|
@@ -3671,6 +3914,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3671
3914
|
this.Track = 'Track' in params ? params.Track : null;
|
|
3672
3915
|
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3673
3916
|
this.Iv = 'Iv' in params ? params.Iv : null;
|
|
3917
|
+
this.KeyUri = 'KeyUri' in params ? params.KeyUri : null;
|
|
3674
3918
|
|
|
3675
3919
|
}
|
|
3676
3920
|
}
|
|
@@ -3902,6 +4146,41 @@ class StopStreamLiveChannelResponse extends AbstractModel {
|
|
|
3902
4146
|
}
|
|
3903
4147
|
}
|
|
3904
4148
|
|
|
4149
|
+
/**
|
|
4150
|
+
* The callback configuration for push events.
|
|
4151
|
+
* @class
|
|
4152
|
+
*/
|
|
4153
|
+
class PushEventSetting extends AbstractModel {
|
|
4154
|
+
constructor(){
|
|
4155
|
+
super();
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* The callback URL (required).
|
|
4159
|
+
* @type {string || null}
|
|
4160
|
+
*/
|
|
4161
|
+
this.NotifyUrl = null;
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
* The callback key (optional).
|
|
4165
|
+
* @type {string || null}
|
|
4166
|
+
*/
|
|
4167
|
+
this.NotifyKey = null;
|
|
4168
|
+
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* @private
|
|
4173
|
+
*/
|
|
4174
|
+
deserialize(params) {
|
|
4175
|
+
if (!params) {
|
|
4176
|
+
return;
|
|
4177
|
+
}
|
|
4178
|
+
this.NotifyUrl = 'NotifyUrl' in params ? params.NotifyUrl : null;
|
|
4179
|
+
this.NotifyKey = 'NotifyKey' in params ? params.NotifyKey : null;
|
|
4180
|
+
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
|
|
3905
4184
|
/**
|
|
3906
4185
|
* Watermark image settings
|
|
3907
4186
|
* @class
|
|
@@ -4253,6 +4532,39 @@ class DescribeStreamLiveInputSecurityGroupsResponse extends AbstractModel {
|
|
|
4253
4532
|
}
|
|
4254
4533
|
}
|
|
4255
4534
|
|
|
4535
|
+
/**
|
|
4536
|
+
* The callback settings.
|
|
4537
|
+
* @class
|
|
4538
|
+
*/
|
|
4539
|
+
class EventNotifySetting extends AbstractModel {
|
|
4540
|
+
constructor(){
|
|
4541
|
+
super();
|
|
4542
|
+
|
|
4543
|
+
/**
|
|
4544
|
+
* The callback configuration for push events.
|
|
4545
|
+
* @type {PushEventSetting || null}
|
|
4546
|
+
*/
|
|
4547
|
+
this.PushEventSettings = null;
|
|
4548
|
+
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
/**
|
|
4552
|
+
* @private
|
|
4553
|
+
*/
|
|
4554
|
+
deserialize(params) {
|
|
4555
|
+
if (!params) {
|
|
4556
|
+
return;
|
|
4557
|
+
}
|
|
4558
|
+
|
|
4559
|
+
if (params.PushEventSettings) {
|
|
4560
|
+
let obj = new PushEventSetting();
|
|
4561
|
+
obj.deserialize(params.PushEventSettings)
|
|
4562
|
+
this.PushEventSettings = obj;
|
|
4563
|
+
}
|
|
4564
|
+
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4256
4568
|
/**
|
|
4257
4569
|
* DeleteStreamLiveInput response structure.
|
|
4258
4570
|
* @class
|
|
@@ -5103,6 +5415,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
|
|
|
5103
5415
|
*/
|
|
5104
5416
|
this.PlanSettings = null;
|
|
5105
5417
|
|
|
5418
|
+
/**
|
|
5419
|
+
* The callback settings.
|
|
5420
|
+
* @type {EventNotifySetting || null}
|
|
5421
|
+
*/
|
|
5422
|
+
this.EventNotifySettings = null;
|
|
5423
|
+
|
|
5106
5424
|
}
|
|
5107
5425
|
|
|
5108
5426
|
/**
|
|
@@ -5166,6 +5484,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
|
|
|
5166
5484
|
this.PlanSettings = obj;
|
|
5167
5485
|
}
|
|
5168
5486
|
|
|
5487
|
+
if (params.EventNotifySettings) {
|
|
5488
|
+
let obj = new EventNotifySetting();
|
|
5489
|
+
obj.deserialize(params.EventNotifySettings)
|
|
5490
|
+
this.EventNotifySettings = obj;
|
|
5491
|
+
}
|
|
5492
|
+
|
|
5169
5493
|
}
|
|
5170
5494
|
}
|
|
5171
5495
|
|
|
@@ -5457,6 +5781,13 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
5457
5781
|
*/
|
|
5458
5782
|
this.PlanSettings = null;
|
|
5459
5783
|
|
|
5784
|
+
/**
|
|
5785
|
+
* The callback settings.
|
|
5786
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
5787
|
+
* @type {EventNotifySetting || null}
|
|
5788
|
+
*/
|
|
5789
|
+
this.EventNotifySettings = null;
|
|
5790
|
+
|
|
5460
5791
|
}
|
|
5461
5792
|
|
|
5462
5793
|
/**
|
|
@@ -5521,11 +5852,19 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
5521
5852
|
this.PlanSettings = obj;
|
|
5522
5853
|
}
|
|
5523
5854
|
|
|
5855
|
+
if (params.EventNotifySettings) {
|
|
5856
|
+
let obj = new EventNotifySetting();
|
|
5857
|
+
obj.deserialize(params.EventNotifySettings)
|
|
5858
|
+
this.EventNotifySettings = obj;
|
|
5859
|
+
}
|
|
5860
|
+
|
|
5524
5861
|
}
|
|
5525
5862
|
}
|
|
5526
5863
|
|
|
5527
5864
|
/**
|
|
5528
|
-
*
|
|
5865
|
+
* The input settings.
|
|
5866
|
+
The format of an RTMP_PUSH address is ${InputAddress}/${AppName}/${StreamName}.
|
|
5867
|
+
The format of an SRT_PUSH address is ${InputAddress}?streamid=${StreamName},h=${InputDomain}.
|
|
5529
5868
|
* @class
|
|
5530
5869
|
*/
|
|
5531
5870
|
class InputSettingInfo extends AbstractModel {
|
|
@@ -5576,6 +5915,27 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
5576
5915
|
*/
|
|
5577
5916
|
this.DelayTime = null;
|
|
5578
5917
|
|
|
5918
|
+
/**
|
|
5919
|
+
* The domain of an SRT_PUSH address. If this is a request parameter, you don’t need to specify it.
|
|
5920
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
5921
|
+
* @type {string || null}
|
|
5922
|
+
*/
|
|
5923
|
+
this.InputDomain = null;
|
|
5924
|
+
|
|
5925
|
+
/**
|
|
5926
|
+
* The username, which is used for authentication.
|
|
5927
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
5928
|
+
* @type {string || null}
|
|
5929
|
+
*/
|
|
5930
|
+
this.UserName = null;
|
|
5931
|
+
|
|
5932
|
+
/**
|
|
5933
|
+
* The password, which is used for authentication.
|
|
5934
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
5935
|
+
* @type {string || null}
|
|
5936
|
+
*/
|
|
5937
|
+
this.Password = null;
|
|
5938
|
+
|
|
5579
5939
|
}
|
|
5580
5940
|
|
|
5581
5941
|
/**
|
|
@@ -5591,6 +5951,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
5591
5951
|
this.InputAddress = 'InputAddress' in params ? params.InputAddress : null;
|
|
5592
5952
|
this.SourceType = 'SourceType' in params ? params.SourceType : null;
|
|
5593
5953
|
this.DelayTime = 'DelayTime' in params ? params.DelayTime : null;
|
|
5954
|
+
this.InputDomain = 'InputDomain' in params ? params.InputDomain : null;
|
|
5955
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
5956
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
5594
5957
|
|
|
5595
5958
|
}
|
|
5596
5959
|
}
|
|
@@ -5652,10 +6015,12 @@ module.exports = {
|
|
|
5652
6015
|
CreateStreamLivePlanRequest: CreateStreamLivePlanRequest,
|
|
5653
6016
|
DescribeStreamLiveWatermarksResponse: DescribeStreamLiveWatermarksResponse,
|
|
5654
6017
|
DescribeStreamLiveInputRequest: DescribeStreamLiveInputRequest,
|
|
6018
|
+
QueryDispatchInputInfo: QueryDispatchInputInfo,
|
|
5655
6019
|
CreateStreamLiveInputRequest: CreateStreamLiveInputRequest,
|
|
5656
6020
|
AudioPidSelectionInfo: AudioPidSelectionInfo,
|
|
5657
6021
|
AudioPipelineInputStatistics: AudioPipelineInputStatistics,
|
|
5658
6022
|
CreateStreamLivePlanResponse: CreateStreamLivePlanResponse,
|
|
6023
|
+
InputStreamInfo: InputStreamInfo,
|
|
5659
6024
|
DescribeStreamLiveChannelOutputStatisticsRequest: DescribeStreamLiveChannelOutputStatisticsRequest,
|
|
5660
6025
|
ChannelPipelineAlerts: ChannelPipelineAlerts,
|
|
5661
6026
|
InputInfo: InputInfo,
|
|
@@ -5680,6 +6045,7 @@ module.exports = {
|
|
|
5680
6045
|
SDMCSettingsInfo: SDMCSettingsInfo,
|
|
5681
6046
|
DeleteStreamLiveInputSecurityGroupRequest: DeleteStreamLiveInputSecurityGroupRequest,
|
|
5682
6047
|
AttachedInput: AttachedInput,
|
|
6048
|
+
QueryInputStreamStateResponse: QueryInputStreamStateResponse,
|
|
5683
6049
|
DescribeStreamLiveWatermarksRequest: DescribeStreamLiveWatermarksRequest,
|
|
5684
6050
|
DescribeTranscodeDetailInfo: DescribeTranscodeDetailInfo,
|
|
5685
6051
|
TimeShiftSettingsInfo: TimeShiftSettingsInfo,
|
|
@@ -5700,6 +6066,7 @@ module.exports = {
|
|
|
5700
6066
|
AudioTemplateInfo: AudioTemplateInfo,
|
|
5701
6067
|
StreamPackageSettingsInfo: StreamPackageSettingsInfo,
|
|
5702
6068
|
DescribeStreamLiveChannelsResponse: DescribeStreamLiveChannelsResponse,
|
|
6069
|
+
QueryInputStreamStateRequest: QueryInputStreamStateRequest,
|
|
5703
6070
|
PlanReq: PlanReq,
|
|
5704
6071
|
DeleteStreamLiveWatermarkRequest: DeleteStreamLiveWatermarkRequest,
|
|
5705
6072
|
DescribeStreamLiveRegionsResponse: DescribeStreamLiveRegionsResponse,
|
|
@@ -5728,12 +6095,14 @@ module.exports = {
|
|
|
5728
6095
|
CreateStreamLiveChannelResponse: CreateStreamLiveChannelResponse,
|
|
5729
6096
|
DescribeStreamLiveChannelInputStatisticsResponse: DescribeStreamLiveChannelInputStatisticsResponse,
|
|
5730
6097
|
StopStreamLiveChannelResponse: StopStreamLiveChannelResponse,
|
|
6098
|
+
PushEventSetting: PushEventSetting,
|
|
5731
6099
|
CreateImageSettings: CreateImageSettings,
|
|
5732
6100
|
StartStreamLiveChannelResponse: StartStreamLiveChannelResponse,
|
|
5733
6101
|
StreamLiveOutputGroupsInfo: StreamLiveOutputGroupsInfo,
|
|
5734
6102
|
ChannelOutputsStatistics: ChannelOutputsStatistics,
|
|
5735
6103
|
PlanSettings: PlanSettings,
|
|
5736
6104
|
DescribeStreamLiveInputSecurityGroupsResponse: DescribeStreamLiveInputSecurityGroupsResponse,
|
|
6105
|
+
EventNotifySetting: EventNotifySetting,
|
|
5737
6106
|
DeleteStreamLiveInputResponse: DeleteStreamLiveInputResponse,
|
|
5738
6107
|
StartStreamLiveChannelRequest: StartStreamLiveChannelRequest,
|
|
5739
6108
|
DescribeStreamLiveWatermarkResponse: DescribeStreamLiveWatermarkResponse,
|