tencentcloud-sdk-nodejs-intl-en 3.0.432 → 3.0.435
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/dcdb/v20180411/dcdb_client.js +15 -2
- package/tencentcloud/dcdb/v20180411/models.js +109 -37
- package/tencentcloud/mdc/v20200828/mdc_client.js +152 -20
- package/tencentcloud/mdc/v20200828/models.js +3180 -716
- package/tencentcloud/postgres/v20170312/models.js +291 -147
- package/tencentcloud/postgres/v20170312/postgres_client.js +18 -4
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.435";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -33,11 +33,12 @@ const DescribeDBSlowLogsRequest = models.DescribeDBSlowLogsRequest;
|
|
|
33
33
|
const CreateAccountRequest = models.CreateAccountRequest;
|
|
34
34
|
const DescribeDBParametersResponse = models.DescribeDBParametersResponse;
|
|
35
35
|
const DestroyHourDCDBInstanceResponse = models.DestroyHourDCDBInstanceResponse;
|
|
36
|
+
const ModifyDBInstanceNameResponse = models.ModifyDBInstanceNameResponse;
|
|
36
37
|
const DescribeFlowResponse = models.DescribeFlowResponse;
|
|
37
38
|
const CloneAccountResponse = models.CloneAccountResponse;
|
|
38
39
|
const ModifyAccountDescriptionResponse = models.ModifyAccountDescriptionResponse;
|
|
39
40
|
const DestroyDCDBInstanceRequest = models.DestroyDCDBInstanceRequest;
|
|
40
|
-
const
|
|
41
|
+
const BriefNodeInfo = models.BriefNodeInfo;
|
|
41
42
|
const ModifyDBInstancesProjectResponse = models.ModifyDBInstancesProjectResponse;
|
|
42
43
|
const DescribeDCDBInstanceNodeInfoRequest = models.DescribeDCDBInstanceNodeInfoRequest;
|
|
43
44
|
const DatabaseView = models.DatabaseView;
|
|
@@ -50,7 +51,7 @@ const ParamModifyResult = models.ParamModifyResult;
|
|
|
50
51
|
const SwitchDBInstanceHAResponse = models.SwitchDBInstanceHAResponse;
|
|
51
52
|
const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
|
|
52
53
|
const DatabaseFunction = models.DatabaseFunction;
|
|
53
|
-
const
|
|
54
|
+
const ParamConstraint = models.ParamConstraint;
|
|
54
55
|
const ResetAccountPasswordResponse = models.ResetAccountPasswordResponse;
|
|
55
56
|
const DescribeDatabaseObjectsRequest = models.DescribeDatabaseObjectsRequest;
|
|
56
57
|
const DatabaseTable = models.DatabaseTable;
|
|
@@ -70,6 +71,7 @@ const SecurityGroup = models.SecurityGroup;
|
|
|
70
71
|
const DescribeDatabaseTableRequest = models.DescribeDatabaseTableRequest;
|
|
71
72
|
const DescribeDCDBInstanceNodeInfoResponse = models.DescribeDCDBInstanceNodeInfoResponse;
|
|
72
73
|
const DescribeDatabaseObjectsResponse = models.DescribeDatabaseObjectsResponse;
|
|
74
|
+
const ModifyDBInstanceNameRequest = models.ModifyDBInstanceNameRequest;
|
|
73
75
|
const DescribeDcnDetailResponse = models.DescribeDcnDetailResponse;
|
|
74
76
|
const TableColumn = models.TableColumn;
|
|
75
77
|
const SecurityGroupBound = models.SecurityGroupBound;
|
|
@@ -517,6 +519,17 @@ Note: Accounts with the same username but different hosts are different accounts
|
|
|
517
519
|
this.request("CloneAccount", req, resp, cb);
|
|
518
520
|
}
|
|
519
521
|
|
|
522
|
+
/**
|
|
523
|
+
* This API is used to modify instance name.
|
|
524
|
+
* @param {ModifyDBInstanceNameRequest} req
|
|
525
|
+
* @param {function(string, ModifyDBInstanceNameResponse):void} cb
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
ModifyDBInstanceName(req, cb) {
|
|
529
|
+
let resp = new ModifyDBInstanceNameResponse();
|
|
530
|
+
this.request("ModifyDBInstanceName", req, resp, cb);
|
|
531
|
+
}
|
|
532
|
+
|
|
520
533
|
/**
|
|
521
534
|
* This API is used to create pay-as-you-go TDSQL for MySQL instances.
|
|
522
535
|
* @param {CreateHourDCDBInstanceRequest} req
|
|
@@ -816,6 +816,41 @@ class DestroyHourDCDBInstanceResponse extends AbstractModel {
|
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
|
|
819
|
+
/**
|
|
820
|
+
* ModifyDBInstanceName response structure.
|
|
821
|
+
* @class
|
|
822
|
+
*/
|
|
823
|
+
class ModifyDBInstanceNameResponse extends AbstractModel {
|
|
824
|
+
constructor(){
|
|
825
|
+
super();
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Instance ID.
|
|
829
|
+
* @type {string || null}
|
|
830
|
+
*/
|
|
831
|
+
this.InstanceId = null;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
835
|
+
* @type {string || null}
|
|
836
|
+
*/
|
|
837
|
+
this.RequestId = null;
|
|
838
|
+
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @private
|
|
843
|
+
*/
|
|
844
|
+
deserialize(params) {
|
|
845
|
+
if (!params) {
|
|
846
|
+
return;
|
|
847
|
+
}
|
|
848
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
849
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
850
|
+
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
|
|
819
854
|
/**
|
|
820
855
|
* DescribeFlow response structure.
|
|
821
856
|
* @class
|
|
@@ -943,37 +978,30 @@ class DestroyDCDBInstanceRequest extends AbstractModel {
|
|
|
943
978
|
}
|
|
944
979
|
|
|
945
980
|
/**
|
|
946
|
-
*
|
|
981
|
+
* Node information of a sharded database
|
|
947
982
|
* @class
|
|
948
983
|
*/
|
|
949
|
-
class
|
|
984
|
+
class BriefNodeInfo extends AbstractModel {
|
|
950
985
|
constructor(){
|
|
951
986
|
super();
|
|
952
987
|
|
|
953
988
|
/**
|
|
954
|
-
*
|
|
989
|
+
* Node ID
|
|
955
990
|
* @type {string || null}
|
|
956
991
|
*/
|
|
957
|
-
this.
|
|
992
|
+
this.NodeId = null;
|
|
958
993
|
|
|
959
994
|
/**
|
|
960
|
-
*
|
|
995
|
+
* Node role. Valid values: `master`, `slave`
|
|
961
996
|
* @type {string || null}
|
|
962
997
|
*/
|
|
963
|
-
this.
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
* Range when constraint type is `section`
|
|
967
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
968
|
-
* @type {ConstraintRange || null}
|
|
969
|
-
*/
|
|
970
|
-
this.Range = null;
|
|
998
|
+
this.Role = null;
|
|
971
999
|
|
|
972
1000
|
/**
|
|
973
|
-
*
|
|
1001
|
+
* The ID of the shard where the node resides
|
|
974
1002
|
* @type {string || null}
|
|
975
1003
|
*/
|
|
976
|
-
this.
|
|
1004
|
+
this.ShardId = null;
|
|
977
1005
|
|
|
978
1006
|
}
|
|
979
1007
|
|
|
@@ -984,15 +1012,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
984
1012
|
if (!params) {
|
|
985
1013
|
return;
|
|
986
1014
|
}
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
989
|
-
|
|
990
|
-
if (params.Range) {
|
|
991
|
-
let obj = new ConstraintRange();
|
|
992
|
-
obj.deserialize(params.Range)
|
|
993
|
-
this.Range = obj;
|
|
994
|
-
}
|
|
995
|
-
this.String = 'String' in params ? params.String : null;
|
|
1015
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
1016
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
1017
|
+
this.ShardId = 'ShardId' in params ? params.ShardId : null;
|
|
996
1018
|
|
|
997
1019
|
}
|
|
998
1020
|
}
|
|
@@ -1618,30 +1640,37 @@ class DatabaseFunction extends AbstractModel {
|
|
|
1618
1640
|
}
|
|
1619
1641
|
|
|
1620
1642
|
/**
|
|
1621
|
-
*
|
|
1643
|
+
* Parameter constraint
|
|
1622
1644
|
* @class
|
|
1623
1645
|
*/
|
|
1624
|
-
class
|
|
1646
|
+
class ParamConstraint extends AbstractModel {
|
|
1625
1647
|
constructor(){
|
|
1626
1648
|
super();
|
|
1627
1649
|
|
|
1628
1650
|
/**
|
|
1629
|
-
*
|
|
1651
|
+
* Constraint type, such as `enum` and `section`
|
|
1630
1652
|
* @type {string || null}
|
|
1631
1653
|
*/
|
|
1632
|
-
this.
|
|
1654
|
+
this.Type = null;
|
|
1633
1655
|
|
|
1634
1656
|
/**
|
|
1635
|
-
*
|
|
1657
|
+
* List of valid values when constraint type is `enum`
|
|
1636
1658
|
* @type {string || null}
|
|
1637
1659
|
*/
|
|
1638
|
-
this.
|
|
1660
|
+
this.Enum = null;
|
|
1639
1661
|
|
|
1640
1662
|
/**
|
|
1641
|
-
*
|
|
1663
|
+
* Range when constraint type is `section`
|
|
1664
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1665
|
+
* @type {ConstraintRange || null}
|
|
1666
|
+
*/
|
|
1667
|
+
this.Range = null;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* List of valid values when constraint type is `string`
|
|
1642
1671
|
* @type {string || null}
|
|
1643
1672
|
*/
|
|
1644
|
-
this.
|
|
1673
|
+
this.String = null;
|
|
1645
1674
|
|
|
1646
1675
|
}
|
|
1647
1676
|
|
|
@@ -1652,9 +1681,15 @@ class BriefNodeInfo extends AbstractModel {
|
|
|
1652
1681
|
if (!params) {
|
|
1653
1682
|
return;
|
|
1654
1683
|
}
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1657
|
-
|
|
1684
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1685
|
+
this.Enum = 'Enum' in params ? params.Enum : null;
|
|
1686
|
+
|
|
1687
|
+
if (params.Range) {
|
|
1688
|
+
let obj = new ConstraintRange();
|
|
1689
|
+
obj.deserialize(params.Range)
|
|
1690
|
+
this.Range = obj;
|
|
1691
|
+
}
|
|
1692
|
+
this.String = 'String' in params ? params.String : null;
|
|
1658
1693
|
|
|
1659
1694
|
}
|
|
1660
1695
|
}
|
|
@@ -3101,6 +3136,41 @@ class DescribeDatabaseObjectsResponse extends AbstractModel {
|
|
|
3101
3136
|
}
|
|
3102
3137
|
}
|
|
3103
3138
|
|
|
3139
|
+
/**
|
|
3140
|
+
* ModifyDBInstanceName request structure.
|
|
3141
|
+
* @class
|
|
3142
|
+
*/
|
|
3143
|
+
class ModifyDBInstanceNameRequest extends AbstractModel {
|
|
3144
|
+
constructor(){
|
|
3145
|
+
super();
|
|
3146
|
+
|
|
3147
|
+
/**
|
|
3148
|
+
* Instance ID in the format of tdsql-hdaprz0v
|
|
3149
|
+
* @type {string || null}
|
|
3150
|
+
*/
|
|
3151
|
+
this.InstanceId = null;
|
|
3152
|
+
|
|
3153
|
+
/**
|
|
3154
|
+
* Instance name
|
|
3155
|
+
* @type {string || null}
|
|
3156
|
+
*/
|
|
3157
|
+
this.InstanceName = null;
|
|
3158
|
+
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* @private
|
|
3163
|
+
*/
|
|
3164
|
+
deserialize(params) {
|
|
3165
|
+
if (!params) {
|
|
3166
|
+
return;
|
|
3167
|
+
}
|
|
3168
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3169
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
3170
|
+
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3104
3174
|
/**
|
|
3105
3175
|
* DescribeDcnDetail response structure.
|
|
3106
3176
|
* @class
|
|
@@ -5339,11 +5409,12 @@ module.exports = {
|
|
|
5339
5409
|
CreateAccountRequest: CreateAccountRequest,
|
|
5340
5410
|
DescribeDBParametersResponse: DescribeDBParametersResponse,
|
|
5341
5411
|
DestroyHourDCDBInstanceResponse: DestroyHourDCDBInstanceResponse,
|
|
5412
|
+
ModifyDBInstanceNameResponse: ModifyDBInstanceNameResponse,
|
|
5342
5413
|
DescribeFlowResponse: DescribeFlowResponse,
|
|
5343
5414
|
CloneAccountResponse: CloneAccountResponse,
|
|
5344
5415
|
ModifyAccountDescriptionResponse: ModifyAccountDescriptionResponse,
|
|
5345
5416
|
DestroyDCDBInstanceRequest: DestroyDCDBInstanceRequest,
|
|
5346
|
-
|
|
5417
|
+
BriefNodeInfo: BriefNodeInfo,
|
|
5347
5418
|
ModifyDBInstancesProjectResponse: ModifyDBInstancesProjectResponse,
|
|
5348
5419
|
DescribeDCDBInstanceNodeInfoRequest: DescribeDCDBInstanceNodeInfoRequest,
|
|
5349
5420
|
DatabaseView: DatabaseView,
|
|
@@ -5356,7 +5427,7 @@ module.exports = {
|
|
|
5356
5427
|
SwitchDBInstanceHAResponse: SwitchDBInstanceHAResponse,
|
|
5357
5428
|
DescribeProjectSecurityGroupsResponse: DescribeProjectSecurityGroupsResponse,
|
|
5358
5429
|
DatabaseFunction: DatabaseFunction,
|
|
5359
|
-
|
|
5430
|
+
ParamConstraint: ParamConstraint,
|
|
5360
5431
|
ResetAccountPasswordResponse: ResetAccountPasswordResponse,
|
|
5361
5432
|
DescribeDatabaseObjectsRequest: DescribeDatabaseObjectsRequest,
|
|
5362
5433
|
DatabaseTable: DatabaseTable,
|
|
@@ -5376,6 +5447,7 @@ module.exports = {
|
|
|
5376
5447
|
DescribeDatabaseTableRequest: DescribeDatabaseTableRequest,
|
|
5377
5448
|
DescribeDCDBInstanceNodeInfoResponse: DescribeDCDBInstanceNodeInfoResponse,
|
|
5378
5449
|
DescribeDatabaseObjectsResponse: DescribeDatabaseObjectsResponse,
|
|
5450
|
+
ModifyDBInstanceNameRequest: ModifyDBInstanceNameRequest,
|
|
5379
5451
|
DescribeDcnDetailResponse: DescribeDcnDetailResponse,
|
|
5380
5452
|
TableColumn: TableColumn,
|
|
5381
5453
|
SecurityGroupBound: SecurityGroupBound,
|
|
@@ -17,44 +17,86 @@
|
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const DescribeOutputRTMPSettings = models.DescribeOutputRTMPSettings;
|
|
20
|
+
const DescribeStreamLinkFlowLogsResponse = models.DescribeStreamLinkFlowLogsResponse;
|
|
20
21
|
const OutputAddress = models.OutputAddress;
|
|
22
|
+
const OutputSRTSourceAddressResp = models.OutputSRTSourceAddressResp;
|
|
23
|
+
const InputAddress = models.InputAddress;
|
|
21
24
|
const DescribeInputRTPSettings = models.DescribeInputRTPSettings;
|
|
25
|
+
const FlowRealtimeStatusRTP = models.FlowRealtimeStatusRTP;
|
|
22
26
|
const DescribeStreamLinkRegionsRequest = models.DescribeStreamLinkRegionsRequest;
|
|
23
27
|
const ModifyStreamLinkFlowRequest = models.ModifyStreamLinkFlowRequest;
|
|
24
28
|
const DeleteStreamLinkFlowRequest = models.DeleteStreamLinkFlowRequest;
|
|
29
|
+
const DescribeStreamLinkFlowMediaStatisticsResponse = models.DescribeStreamLinkFlowMediaStatisticsResponse;
|
|
30
|
+
const ModifyStreamLinkInputResponse = models.ModifyStreamLinkInputResponse;
|
|
31
|
+
const CreateOutputInfoRTPSettings = models.CreateOutputInfoRTPSettings;
|
|
25
32
|
const CreateStreamLinkFlowRequest = models.CreateStreamLinkFlowRequest;
|
|
33
|
+
const StartStreamLinkFlowRequest = models.StartStreamLinkFlowRequest;
|
|
34
|
+
const CreateOutputSrtSettingsDestinations = models.CreateOutputSrtSettingsDestinations;
|
|
35
|
+
const SRTAddressDestination = models.SRTAddressDestination;
|
|
36
|
+
const DescribeStreamLinkFlowStatisticsRequest = models.DescribeStreamLinkFlowStatisticsRequest;
|
|
37
|
+
const SRTSourceAddressReq = models.SRTSourceAddressReq;
|
|
26
38
|
const DescribeOutput = models.DescribeOutput;
|
|
27
39
|
const DescribeFlow = models.DescribeFlow;
|
|
28
40
|
const DeleteStreamLinkOutputRequest = models.DeleteStreamLinkOutputRequest;
|
|
41
|
+
const FlowStatisticsArray = models.FlowStatisticsArray;
|
|
29
42
|
const CreateInputSRTSettings = models.CreateInputSRTSettings;
|
|
43
|
+
const FlowMediaAudio = models.FlowMediaAudio;
|
|
30
44
|
const DescribeInputRTMPSettings = models.DescribeInputRTMPSettings;
|
|
31
45
|
const ModifyStreamLinkFlowResponse = models.ModifyStreamLinkFlowResponse;
|
|
32
|
-
const
|
|
46
|
+
const DescribeStreamLinkFlowRequest = models.DescribeStreamLinkFlowRequest;
|
|
33
47
|
const RegionInfo = models.RegionInfo;
|
|
48
|
+
const DescribeStreamLinkFlowMediaStatisticsRequest = models.DescribeStreamLinkFlowMediaStatisticsRequest;
|
|
49
|
+
const DescribeStreamLinkFlowRealtimeStatusRequest = models.DescribeStreamLinkFlowRealtimeStatusRequest;
|
|
50
|
+
const ModifyStreamLinkOutputInfoResponse = models.ModifyStreamLinkOutputInfoResponse;
|
|
34
51
|
const DescribeStreamLinkFlowResponse = models.DescribeStreamLinkFlowResponse;
|
|
35
52
|
const StopStreamLinkFlowResponse = models.StopStreamLinkFlowResponse;
|
|
36
|
-
const
|
|
53
|
+
const FlowSRTInfo = models.FlowSRTInfo;
|
|
54
|
+
const FlowStatistics = models.FlowStatistics;
|
|
55
|
+
const DescribeStreamLinkFlowSRTStatisticsRequest = models.DescribeStreamLinkFlowSRTStatisticsRequest;
|
|
56
|
+
const DescribeStreamLinkFlowRealtimeStatusResponse = models.DescribeStreamLinkFlowRealtimeStatusResponse;
|
|
57
|
+
const FlowAudio = models.FlowAudio;
|
|
58
|
+
const CreateOutputRTPSettingsDestinations = models.CreateOutputRTPSettingsDestinations;
|
|
59
|
+
const FlowVideo = models.FlowVideo;
|
|
37
60
|
const StopStreamLinkFlowRequest = models.StopStreamLinkFlowRequest;
|
|
38
61
|
const CreateInput = models.CreateInput;
|
|
62
|
+
const CreateOutputRTMPSettings = models.CreateOutputRTMPSettings;
|
|
39
63
|
const DescribeOutputRTMPPullServerUrl = models.DescribeOutputRTMPPullServerUrl;
|
|
40
64
|
const DescribeInput = models.DescribeInput;
|
|
41
|
-
const
|
|
65
|
+
const CreateOutputRtmpSettingsDestinations = models.CreateOutputRtmpSettingsDestinations;
|
|
66
|
+
const CreateOutputInfo = models.CreateOutputInfo;
|
|
67
|
+
const FlowLogInfo = models.FlowLogInfo;
|
|
68
|
+
const FlowMediaInfo = models.FlowMediaInfo;
|
|
42
69
|
const DescribeOutputSRTSettings = models.DescribeOutputSRTSettings;
|
|
43
70
|
const DeleteStreamLinkOutputResponse = models.DeleteStreamLinkOutputResponse;
|
|
71
|
+
const StartStreamLinkFlowResponse = models.StartStreamLinkFlowResponse;
|
|
44
72
|
const DescribeOutputRTMPPullSettings = models.DescribeOutputRTMPPullSettings;
|
|
45
73
|
const DescribeStreamLinkFlowsResponse = models.DescribeStreamLinkFlowsResponse;
|
|
46
|
-
const
|
|
74
|
+
const FlowMediaVideo = models.FlowMediaVideo;
|
|
75
|
+
const CreateStreamLinkOutputInfoRequest = models.CreateStreamLinkOutputInfoRequest;
|
|
47
76
|
const DeleteStreamLinkFlowResponse = models.DeleteStreamLinkFlowResponse;
|
|
48
77
|
const DescribeStreamLinkRegionsResponse = models.DescribeStreamLinkRegionsResponse;
|
|
78
|
+
const DescribeStreamLinkFlowSRTStatisticsResponse = models.DescribeStreamLinkFlowSRTStatisticsResponse;
|
|
79
|
+
const ModifyOutputInfo = models.ModifyOutputInfo;
|
|
80
|
+
const ModifyStreamLinkInputRequest = models.ModifyStreamLinkInputRequest;
|
|
49
81
|
const DescribeOutputRTPSettings = models.DescribeOutputRTPSettings;
|
|
50
82
|
const DescribeInputSRTSettings = models.DescribeInputSRTSettings;
|
|
51
|
-
const
|
|
83
|
+
const SRTSourceAddressResp = models.SRTSourceAddressResp;
|
|
84
|
+
const DescribeStreamLinkFlowStatisticsResponse = models.DescribeStreamLinkFlowStatisticsResponse;
|
|
85
|
+
const StreamLinkRegionInfo = models.StreamLinkRegionInfo;
|
|
86
|
+
const ModifyInput = models.ModifyInput;
|
|
87
|
+
const FlowRealtimeStatusSRT = models.FlowRealtimeStatusSRT;
|
|
52
88
|
const CreateStreamLinkFlowResponse = models.CreateStreamLinkFlowResponse;
|
|
89
|
+
const RTPAddressDestination = models.RTPAddressDestination;
|
|
90
|
+
const CreateOutputSrtSettings = models.CreateOutputSrtSettings;
|
|
91
|
+
const RTMPAddressDestination = models.RTMPAddressDestination;
|
|
53
92
|
const CreateInputRTPSettings = models.CreateInputRTPSettings;
|
|
54
|
-
const
|
|
93
|
+
const CreateStreamLinkOutputInfoResponse = models.CreateStreamLinkOutputInfoResponse;
|
|
94
|
+
const DescribeStreamLinkFlowLogsRequest = models.DescribeStreamLinkFlowLogsRequest;
|
|
55
95
|
const DescribeStreamLinkFlowsRequest = models.DescribeStreamLinkFlowsRequest;
|
|
56
|
-
const
|
|
57
|
-
const
|
|
96
|
+
const FlowRealtimeStatusRTMP = models.FlowRealtimeStatusRTMP;
|
|
97
|
+
const FlowRealtimeStatusCommon = models.FlowRealtimeStatusCommon;
|
|
98
|
+
const FlowRealtimeStatusItem = models.FlowRealtimeStatusItem;
|
|
99
|
+
const ModifyStreamLinkOutputInfoRequest = models.ModifyStreamLinkOutputInfoRequest;
|
|
58
100
|
|
|
59
101
|
|
|
60
102
|
/**
|
|
@@ -68,14 +110,14 @@ class MdcClient extends AbstractClient {
|
|
|
68
110
|
}
|
|
69
111
|
|
|
70
112
|
/**
|
|
71
|
-
* This API is used to query the configuration information of
|
|
72
|
-
* @param {
|
|
73
|
-
* @param {function(string,
|
|
113
|
+
* This API is used to query the configuration information of a StreamLink flow.
|
|
114
|
+
* @param {DescribeStreamLinkFlowRequest} req
|
|
115
|
+
* @param {function(string, DescribeStreamLinkFlowResponse):void} cb
|
|
74
116
|
* @public
|
|
75
117
|
*/
|
|
76
|
-
|
|
77
|
-
let resp = new
|
|
78
|
-
this.request("
|
|
118
|
+
DescribeStreamLinkFlow(req, cb) {
|
|
119
|
+
let resp = new DescribeStreamLinkFlowResponse();
|
|
120
|
+
this.request("DescribeStreamLinkFlow", req, resp, cb);
|
|
79
121
|
}
|
|
80
122
|
|
|
81
123
|
/**
|
|
@@ -89,6 +131,17 @@ class MdcClient extends AbstractClient {
|
|
|
89
131
|
this.request("StopStreamLinkFlow", req, resp, cb);
|
|
90
132
|
}
|
|
91
133
|
|
|
134
|
+
/**
|
|
135
|
+
* This API is used to modify an output of a StreamLink flow.
|
|
136
|
+
* @param {ModifyStreamLinkOutputInfoRequest} req
|
|
137
|
+
* @param {function(string, ModifyStreamLinkOutputInfoResponse):void} cb
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
ModifyStreamLinkOutputInfo(req, cb) {
|
|
141
|
+
let resp = new ModifyStreamLinkOutputInfoResponse();
|
|
142
|
+
this.request("ModifyStreamLinkOutputInfo", req, resp, cb);
|
|
143
|
+
}
|
|
144
|
+
|
|
92
145
|
/**
|
|
93
146
|
* This API is used to delete a StreamLink flow.
|
|
94
147
|
* @param {DeleteStreamLinkFlowRequest} req
|
|
@@ -101,14 +154,25 @@ class MdcClient extends AbstractClient {
|
|
|
101
154
|
}
|
|
102
155
|
|
|
103
156
|
/**
|
|
104
|
-
* This API is used to query the
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {function(string,
|
|
157
|
+
* This API is used to query the current status of a flow.
|
|
158
|
+
* @param {DescribeStreamLinkFlowRealtimeStatusRequest} req
|
|
159
|
+
* @param {function(string, DescribeStreamLinkFlowRealtimeStatusResponse):void} cb
|
|
107
160
|
* @public
|
|
108
161
|
*/
|
|
109
|
-
|
|
110
|
-
let resp = new
|
|
111
|
-
this.request("
|
|
162
|
+
DescribeStreamLinkFlowRealtimeStatus(req, cb) {
|
|
163
|
+
let resp = new DescribeStreamLinkFlowRealtimeStatusResponse();
|
|
164
|
+
this.request("DescribeStreamLinkFlowRealtimeStatus", req, resp, cb);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* This API is used to query the configuration information of multiple StreamLink flows in batches.
|
|
169
|
+
* @param {DescribeStreamLinkFlowsRequest} req
|
|
170
|
+
* @param {function(string, DescribeStreamLinkFlowsResponse):void} cb
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
DescribeStreamLinkFlows(req, cb) {
|
|
174
|
+
let resp = new DescribeStreamLinkFlowsResponse();
|
|
175
|
+
this.request("DescribeStreamLinkFlows", req, resp, cb);
|
|
112
176
|
}
|
|
113
177
|
|
|
114
178
|
/**
|
|
@@ -122,6 +186,40 @@ class MdcClient extends AbstractClient {
|
|
|
122
186
|
this.request("CreateStreamLinkFlow", req, resp, cb);
|
|
123
187
|
}
|
|
124
188
|
|
|
189
|
+
/**
|
|
190
|
+
* This API is used to create a StreamLink output.
|
|
191
|
+
* @param {CreateStreamLinkOutputInfoRequest} req
|
|
192
|
+
* @param {function(string, CreateStreamLinkOutputInfoResponse):void} cb
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
CreateStreamLinkOutputInfo(req, cb) {
|
|
196
|
+
let resp = new CreateStreamLinkOutputInfoResponse();
|
|
197
|
+
this.request("CreateStreamLinkOutputInfo", req, resp, cb);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* This API is used to modify an input of a StreamLink flow.
|
|
202
|
+
* @param {ModifyStreamLinkInputRequest} req
|
|
203
|
+
* @param {function(string, ModifyStreamLinkInputResponse):void} cb
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
ModifyStreamLinkInput(req, cb) {
|
|
207
|
+
let resp = new ModifyStreamLinkInputResponse();
|
|
208
|
+
this.request("ModifyStreamLinkInput", req, resp, cb);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* This API is used to query the media quality of a StreamLink flow.
|
|
213
|
+
|
|
214
|
+
* @param {DescribeStreamLinkFlowMediaStatisticsRequest} req
|
|
215
|
+
* @param {function(string, DescribeStreamLinkFlowMediaStatisticsResponse):void} cb
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
DescribeStreamLinkFlowMediaStatistics(req, cb) {
|
|
219
|
+
let resp = new DescribeStreamLinkFlowMediaStatisticsResponse();
|
|
220
|
+
this.request("DescribeStreamLinkFlowMediaStatistics", req, resp, cb);
|
|
221
|
+
}
|
|
222
|
+
|
|
125
223
|
/**
|
|
126
224
|
* This API is used to start a StreamLink flow.
|
|
127
225
|
* @param {StartStreamLinkFlowRequest} req
|
|
@@ -155,6 +253,17 @@ class MdcClient extends AbstractClient {
|
|
|
155
253
|
this.request("ModifyStreamLinkFlow", req, resp, cb);
|
|
156
254
|
}
|
|
157
255
|
|
|
256
|
+
/**
|
|
257
|
+
* This API is used to query the SRT streaming performance of a StreamLink flow.
|
|
258
|
+
* @param {DescribeStreamLinkFlowSRTStatisticsRequest} req
|
|
259
|
+
* @param {function(string, DescribeStreamLinkFlowSRTStatisticsResponse):void} cb
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
DescribeStreamLinkFlowSRTStatistics(req, cb) {
|
|
263
|
+
let resp = new DescribeStreamLinkFlowSRTStatisticsResponse();
|
|
264
|
+
this.request("DescribeStreamLinkFlowSRTStatistics", req, resp, cb);
|
|
265
|
+
}
|
|
266
|
+
|
|
158
267
|
/**
|
|
159
268
|
* This API is used to query all StreamLink regions.
|
|
160
269
|
* @param {DescribeStreamLinkRegionsRequest} req
|
|
@@ -166,6 +275,29 @@ class MdcClient extends AbstractClient {
|
|
|
166
275
|
this.request("DescribeStreamLinkRegions", req, resp, cb);
|
|
167
276
|
}
|
|
168
277
|
|
|
278
|
+
/**
|
|
279
|
+
* This API is used to query the logs of a StreamLink flow.
|
|
280
|
+
* @param {DescribeStreamLinkFlowLogsRequest} req
|
|
281
|
+
* @param {function(string, DescribeStreamLinkFlowLogsResponse):void} cb
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
DescribeStreamLinkFlowLogs(req, cb) {
|
|
285
|
+
let resp = new DescribeStreamLinkFlowLogsResponse();
|
|
286
|
+
this.request("DescribeStreamLinkFlowLogs", req, resp, cb);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* This API is used to query the media quality of a StreamLink flow.
|
|
291
|
+
|
|
292
|
+
* @param {DescribeStreamLinkFlowStatisticsRequest} req
|
|
293
|
+
* @param {function(string, DescribeStreamLinkFlowStatisticsResponse):void} cb
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
DescribeStreamLinkFlowStatistics(req, cb) {
|
|
297
|
+
let resp = new DescribeStreamLinkFlowStatisticsResponse();
|
|
298
|
+
this.request("DescribeStreamLinkFlowStatistics", req, resp, cb);
|
|
299
|
+
}
|
|
300
|
+
|
|
169
301
|
|
|
170
302
|
}
|
|
171
303
|
module.exports = MdcClient;
|