tencentcloud-sdk-nodejs-intl-en 3.0.1259 → 3.0.1260
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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1260";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -132,6 +132,7 @@ const ExternalDataConfiguration = models.ExternalDataConfiguration;
|
|
|
132
132
|
const CheckDataEngineImageCanBeRollbackRequest = models.CheckDataEngineImageCanBeRollbackRequest;
|
|
133
133
|
const CreateDataEngineRequest = models.CreateDataEngineRequest;
|
|
134
134
|
const ModifySparkAppBatchRequest = models.ModifySparkAppBatchRequest;
|
|
135
|
+
const DescribeSparkAppTasksRequest = models.DescribeSparkAppTasksRequest;
|
|
135
136
|
const DescribeDataEnginePythonSparkImagesRequest = models.DescribeDataEnginePythonSparkImagesRequest;
|
|
136
137
|
const SmartOptimizerPolicy = models.SmartOptimizerPolicy;
|
|
137
138
|
const CreateTaskRequest = models.CreateTaskRequest;
|
|
@@ -148,6 +149,7 @@ const DescribeSparkSessionBatchSqlLogRequest = models.DescribeSparkSessionBatchS
|
|
|
148
149
|
const Property = models.Property;
|
|
149
150
|
const TasksOverview = models.TasksOverview;
|
|
150
151
|
const DescribeUpdatableDataEnginesRequest = models.DescribeUpdatableDataEnginesRequest;
|
|
152
|
+
const Execution = models.Execution;
|
|
151
153
|
const DescribeSparkAppJobResponse = models.DescribeSparkAppJobResponse;
|
|
152
154
|
const SmartOptimizerLifecyclePolicy = models.SmartOptimizerLifecyclePolicy;
|
|
153
155
|
const DeleteUsersFromWorkGroupResponse = models.DeleteUsersFromWorkGroupResponse;
|
|
@@ -191,7 +193,7 @@ const WorkGroups = models.WorkGroups;
|
|
|
191
193
|
const ResourceInfo = models.ResourceInfo;
|
|
192
194
|
const CreateDLCTableRequest = models.CreateDLCTableRequest;
|
|
193
195
|
const DMSSourceDatabaseInfo = models.DMSSourceDatabaseInfo;
|
|
194
|
-
const
|
|
196
|
+
const DescribeSubUserAccessPolicyRequest = models.DescribeSubUserAccessPolicyRequest;
|
|
195
197
|
const UpgradeDataEngineImageRequest = models.UpgradeDataEngineImageRequest;
|
|
196
198
|
const SmartPolicy = models.SmartPolicy;
|
|
197
199
|
const SmartOptimizerIndexPolicy = models.SmartOptimizerIndexPolicy;
|
|
@@ -282,8 +284,8 @@ const UpdateDataEngineConfigRequest = models.UpdateDataEngineConfigRequest;
|
|
|
282
284
|
const CreateWorkGroupRequest = models.CreateWorkGroupRequest;
|
|
283
285
|
const CreateInternalTableResponse = models.CreateInternalTableResponse;
|
|
284
286
|
const DataEngineInfo = models.DataEngineInfo;
|
|
285
|
-
const
|
|
286
|
-
const
|
|
287
|
+
const DescribeSessionImageVersionResponse = models.DescribeSessionImageVersionResponse;
|
|
288
|
+
const DescribeSessionImageVersionRequest = models.DescribeSessionImageVersionRequest;
|
|
287
289
|
const AlterDMSDatabaseRequest = models.AlterDMSDatabaseRequest;
|
|
288
290
|
const CheckDataEngineImageCanBeUpgradeRequest = models.CheckDataEngineImageCanBeUpgradeRequest;
|
|
289
291
|
const SQLTask = models.SQLTask;
|
|
@@ -299,6 +301,7 @@ const DeleteCHDFSBindingProductResponse = models.DeleteCHDFSBindingProductRespon
|
|
|
299
301
|
const DescribeDataEnginePythonSparkImagesResponse = models.DescribeDataEnginePythonSparkImagesResponse;
|
|
300
302
|
const ModifyUserRequest = models.ModifyUserRequest;
|
|
301
303
|
const DMSColumn = models.DMSColumn;
|
|
304
|
+
const EngineSessionImage = models.EngineSessionImage;
|
|
302
305
|
const UpdateRowFilterRequest = models.UpdateRowFilterRequest;
|
|
303
306
|
const TColumn = models.TColumn;
|
|
304
307
|
const DescribeResultDownloadRequest = models.DescribeResultDownloadRequest;
|
|
@@ -765,6 +768,17 @@ class DlcClient extends AbstractClient {
|
|
|
765
768
|
this.request("RollbackDataEngineImage", req, resp, cb);
|
|
766
769
|
}
|
|
767
770
|
|
|
771
|
+
/**
|
|
772
|
+
* This API is used to retrieve all built-in images of all minor versions under a specified major version.
|
|
773
|
+
* @param {DescribeSessionImageVersionRequest} req
|
|
774
|
+
* @param {function(string, DescribeSessionImageVersionResponse):void} cb
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
DescribeSessionImageVersion(req, cb) {
|
|
778
|
+
let resp = new DescribeSessionImageVersionResponse();
|
|
779
|
+
this.request("DescribeSessionImageVersion", req, resp, cb);
|
|
780
|
+
}
|
|
781
|
+
|
|
768
782
|
/**
|
|
769
783
|
* This API is used to query the sub-user's visiting policy for users accessing through the third-party platform.
|
|
770
784
|
* @param {DescribeSubUserAccessPolicyRequest} req
|
|
@@ -6494,6 +6494,84 @@ Valid values for the memory resource type: `m.small`, `m.medium`, `m.large`, and
|
|
|
6494
6494
|
}
|
|
6495
6495
|
}
|
|
6496
6496
|
|
|
6497
|
+
/**
|
|
6498
|
+
* DescribeSparkAppTasks request structure.
|
|
6499
|
+
* @class
|
|
6500
|
+
*/
|
|
6501
|
+
class DescribeSparkAppTasksRequest extends AbstractModel {
|
|
6502
|
+
constructor(){
|
|
6503
|
+
super();
|
|
6504
|
+
|
|
6505
|
+
/**
|
|
6506
|
+
* Spark job ID
|
|
6507
|
+
* @type {string || null}
|
|
6508
|
+
*/
|
|
6509
|
+
this.JobId = null;
|
|
6510
|
+
|
|
6511
|
+
/**
|
|
6512
|
+
* Paginated query offset
|
|
6513
|
+
* @type {number || null}
|
|
6514
|
+
*/
|
|
6515
|
+
this.Offset = null;
|
|
6516
|
+
|
|
6517
|
+
/**
|
|
6518
|
+
* Paginated query limit
|
|
6519
|
+
* @type {number || null}
|
|
6520
|
+
*/
|
|
6521
|
+
this.Limit = null;
|
|
6522
|
+
|
|
6523
|
+
/**
|
|
6524
|
+
* Execution instance ID
|
|
6525
|
+
* @type {string || null}
|
|
6526
|
+
*/
|
|
6527
|
+
this.TaskId = null;
|
|
6528
|
+
|
|
6529
|
+
/**
|
|
6530
|
+
* The update start time in the format of yyyy-MM-dd HH:mm:ss.
|
|
6531
|
+
* @type {string || null}
|
|
6532
|
+
*/
|
|
6533
|
+
this.StartTime = null;
|
|
6534
|
+
|
|
6535
|
+
/**
|
|
6536
|
+
* The update end time in the format of yyyy-MM-dd HH:mm:ss.
|
|
6537
|
+
* @type {string || null}
|
|
6538
|
+
*/
|
|
6539
|
+
this.EndTime = null;
|
|
6540
|
+
|
|
6541
|
+
/**
|
|
6542
|
+
* Filter by this parameter, which can be `task-state`.
|
|
6543
|
+
* @type {Array.<Filter> || null}
|
|
6544
|
+
*/
|
|
6545
|
+
this.Filters = null;
|
|
6546
|
+
|
|
6547
|
+
}
|
|
6548
|
+
|
|
6549
|
+
/**
|
|
6550
|
+
* @private
|
|
6551
|
+
*/
|
|
6552
|
+
deserialize(params) {
|
|
6553
|
+
if (!params) {
|
|
6554
|
+
return;
|
|
6555
|
+
}
|
|
6556
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
6557
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
6558
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
6559
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
6560
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
6561
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
6562
|
+
|
|
6563
|
+
if (params.Filters) {
|
|
6564
|
+
this.Filters = new Array();
|
|
6565
|
+
for (let z in params.Filters) {
|
|
6566
|
+
let obj = new Filter();
|
|
6567
|
+
obj.deserialize(params.Filters[z]);
|
|
6568
|
+
this.Filters.push(obj);
|
|
6569
|
+
}
|
|
6570
|
+
}
|
|
6571
|
+
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
|
|
6497
6575
|
/**
|
|
6498
6576
|
* DescribeDataEnginePythonSparkImages request structure.
|
|
6499
6577
|
* @class
|
|
@@ -7204,6 +7282,34 @@ class DescribeUpdatableDataEnginesRequest extends AbstractModel {
|
|
|
7204
7282
|
}
|
|
7205
7283
|
}
|
|
7206
7284
|
|
|
7285
|
+
/**
|
|
7286
|
+
* SQL statement objects
|
|
7287
|
+
* @class
|
|
7288
|
+
*/
|
|
7289
|
+
class Execution extends AbstractModel {
|
|
7290
|
+
constructor(){
|
|
7291
|
+
super();
|
|
7292
|
+
|
|
7293
|
+
/**
|
|
7294
|
+
* The automatically generated SQL statements.
|
|
7295
|
+
* @type {string || null}
|
|
7296
|
+
*/
|
|
7297
|
+
this.SQL = null;
|
|
7298
|
+
|
|
7299
|
+
}
|
|
7300
|
+
|
|
7301
|
+
/**
|
|
7302
|
+
* @private
|
|
7303
|
+
*/
|
|
7304
|
+
deserialize(params) {
|
|
7305
|
+
if (!params) {
|
|
7306
|
+
return;
|
|
7307
|
+
}
|
|
7308
|
+
this.SQL = 'SQL' in params ? params.SQL : null;
|
|
7309
|
+
|
|
7310
|
+
}
|
|
7311
|
+
}
|
|
7312
|
+
|
|
7207
7313
|
/**
|
|
7208
7314
|
* DescribeSparkAppJob response structure.
|
|
7209
7315
|
* @class
|
|
@@ -9573,19 +9679,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
9573
9679
|
}
|
|
9574
9680
|
|
|
9575
9681
|
/**
|
|
9576
|
-
*
|
|
9682
|
+
* DescribeSubUserAccessPolicy request structure.
|
|
9577
9683
|
* @class
|
|
9578
9684
|
*/
|
|
9579
|
-
class
|
|
9685
|
+
class DescribeSubUserAccessPolicyRequest extends AbstractModel {
|
|
9580
9686
|
constructor(){
|
|
9581
9687
|
super();
|
|
9582
9688
|
|
|
9583
|
-
/**
|
|
9584
|
-
* The automatically generated SQL statements.
|
|
9585
|
-
* @type {string || null}
|
|
9586
|
-
*/
|
|
9587
|
-
this.SQL = null;
|
|
9588
|
-
|
|
9589
9689
|
}
|
|
9590
9690
|
|
|
9591
9691
|
/**
|
|
@@ -9595,7 +9695,6 @@ class Execution extends AbstractModel {
|
|
|
9595
9695
|
if (!params) {
|
|
9596
9696
|
return;
|
|
9597
9697
|
}
|
|
9598
|
-
this.SQL = 'SQL' in params ? params.SQL : null;
|
|
9599
9698
|
|
|
9600
9699
|
}
|
|
9601
9700
|
}
|
|
@@ -14885,54 +14984,25 @@ Note: The returned value of this field may be null, indicating that no valid val
|
|
|
14885
14984
|
}
|
|
14886
14985
|
|
|
14887
14986
|
/**
|
|
14888
|
-
*
|
|
14987
|
+
* DescribeSessionImageVersion response structure.
|
|
14889
14988
|
* @class
|
|
14890
14989
|
*/
|
|
14891
|
-
class
|
|
14990
|
+
class DescribeSessionImageVersionResponse extends AbstractModel {
|
|
14892
14991
|
constructor(){
|
|
14893
14992
|
super();
|
|
14894
14993
|
|
|
14895
14994
|
/**
|
|
14896
|
-
*
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
this.JobId = null;
|
|
14900
|
-
|
|
14901
|
-
/**
|
|
14902
|
-
* Paginated query offset
|
|
14903
|
-
* @type {number || null}
|
|
14904
|
-
*/
|
|
14905
|
-
this.Offset = null;
|
|
14906
|
-
|
|
14907
|
-
/**
|
|
14908
|
-
* Paginated query limit
|
|
14909
|
-
* @type {number || null}
|
|
14910
|
-
*/
|
|
14911
|
-
this.Limit = null;
|
|
14912
|
-
|
|
14913
|
-
/**
|
|
14914
|
-
* Execution instance ID
|
|
14915
|
-
* @type {string || null}
|
|
14916
|
-
*/
|
|
14917
|
-
this.TaskId = null;
|
|
14918
|
-
|
|
14919
|
-
/**
|
|
14920
|
-
* The update start time in the format of yyyy-MM-dd HH:mm:ss.
|
|
14921
|
-
* @type {string || null}
|
|
14995
|
+
* Expands the image list.
|
|
14996
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14997
|
+
* @type {Array.<EngineSessionImage> || null}
|
|
14922
14998
|
*/
|
|
14923
|
-
this.
|
|
14999
|
+
this.EngineSessionImages = null;
|
|
14924
15000
|
|
|
14925
15001
|
/**
|
|
14926
|
-
* The
|
|
15002
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
14927
15003
|
* @type {string || null}
|
|
14928
15004
|
*/
|
|
14929
|
-
this.
|
|
14930
|
-
|
|
14931
|
-
/**
|
|
14932
|
-
* Filter by this parameter, which can be `task-state`.
|
|
14933
|
-
* @type {Array.<Filter> || null}
|
|
14934
|
-
*/
|
|
14935
|
-
this.Filters = null;
|
|
15005
|
+
this.RequestId = null;
|
|
14936
15006
|
|
|
14937
15007
|
}
|
|
14938
15008
|
|
|
@@ -14943,33 +15013,40 @@ class DescribeSparkAppTasksRequest extends AbstractModel {
|
|
|
14943
15013
|
if (!params) {
|
|
14944
15014
|
return;
|
|
14945
15015
|
}
|
|
14946
|
-
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
14947
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
14948
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
14949
|
-
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
14950
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
14951
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
14952
15016
|
|
|
14953
|
-
if (params.
|
|
14954
|
-
this.
|
|
14955
|
-
for (let z in params.
|
|
14956
|
-
let obj = new
|
|
14957
|
-
obj.deserialize(params.
|
|
14958
|
-
this.
|
|
15017
|
+
if (params.EngineSessionImages) {
|
|
15018
|
+
this.EngineSessionImages = new Array();
|
|
15019
|
+
for (let z in params.EngineSessionImages) {
|
|
15020
|
+
let obj = new EngineSessionImage();
|
|
15021
|
+
obj.deserialize(params.EngineSessionImages[z]);
|
|
15022
|
+
this.EngineSessionImages.push(obj);
|
|
14959
15023
|
}
|
|
14960
15024
|
}
|
|
15025
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
14961
15026
|
|
|
14962
15027
|
}
|
|
14963
15028
|
}
|
|
14964
15029
|
|
|
14965
15030
|
/**
|
|
14966
|
-
*
|
|
15031
|
+
* DescribeSessionImageVersion request structure.
|
|
14967
15032
|
* @class
|
|
14968
15033
|
*/
|
|
14969
|
-
class
|
|
15034
|
+
class DescribeSessionImageVersionRequest extends AbstractModel {
|
|
14970
15035
|
constructor(){
|
|
14971
15036
|
super();
|
|
14972
15037
|
|
|
15038
|
+
/**
|
|
15039
|
+
* Engine Id.
|
|
15040
|
+
* @type {string || null}
|
|
15041
|
+
*/
|
|
15042
|
+
this.DataEngineId = null;
|
|
15043
|
+
|
|
15044
|
+
/**
|
|
15045
|
+
* Framework type: machine-learning, python, spark-ml.
|
|
15046
|
+
* @type {string || null}
|
|
15047
|
+
*/
|
|
15048
|
+
this.FrameworkType = null;
|
|
15049
|
+
|
|
14973
15050
|
}
|
|
14974
15051
|
|
|
14975
15052
|
/**
|
|
@@ -14979,6 +15056,8 @@ class DescribeSubUserAccessPolicyRequest extends AbstractModel {
|
|
|
14979
15056
|
if (!params) {
|
|
14980
15057
|
return;
|
|
14981
15058
|
}
|
|
15059
|
+
this.DataEngineId = 'DataEngineId' in params ? params.DataEngineId : null;
|
|
15060
|
+
this.FrameworkType = 'FrameworkType' in params ? params.FrameworkType : null;
|
|
14982
15061
|
|
|
14983
15062
|
}
|
|
14984
15063
|
}
|
|
@@ -15682,6 +15761,61 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
15682
15761
|
}
|
|
15683
15762
|
}
|
|
15684
15763
|
|
|
15764
|
+
/**
|
|
15765
|
+
* TensorFlow, Pytorch, SK-learn image information list.
|
|
15766
|
+
* @class
|
|
15767
|
+
*/
|
|
15768
|
+
class EngineSessionImage extends AbstractModel {
|
|
15769
|
+
constructor(){
|
|
15770
|
+
super();
|
|
15771
|
+
|
|
15772
|
+
/**
|
|
15773
|
+
* Specifies the unique id of the Spark mirror.
|
|
15774
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15775
|
+
* @type {string || null}
|
|
15776
|
+
*/
|
|
15777
|
+
this.SparkImageId = null;
|
|
15778
|
+
|
|
15779
|
+
/**
|
|
15780
|
+
* Spark image version name.
|
|
15781
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15782
|
+
* @type {string || null}
|
|
15783
|
+
*/
|
|
15784
|
+
this.SparkImageVersion = null;
|
|
15785
|
+
|
|
15786
|
+
/**
|
|
15787
|
+
* Minor version image type. 1: TensorFlow, 2: Pytorch, 3: SK-learn.
|
|
15788
|
+
|
|
15789
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15790
|
+
* @type {number || null}
|
|
15791
|
+
*/
|
|
15792
|
+
this.SparkImageType = null;
|
|
15793
|
+
|
|
15794
|
+
/**
|
|
15795
|
+
* Image address.
|
|
15796
|
+
|
|
15797
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15798
|
+
* @type {string || null}
|
|
15799
|
+
*/
|
|
15800
|
+
this.SparkImageTag = null;
|
|
15801
|
+
|
|
15802
|
+
}
|
|
15803
|
+
|
|
15804
|
+
/**
|
|
15805
|
+
* @private
|
|
15806
|
+
*/
|
|
15807
|
+
deserialize(params) {
|
|
15808
|
+
if (!params) {
|
|
15809
|
+
return;
|
|
15810
|
+
}
|
|
15811
|
+
this.SparkImageId = 'SparkImageId' in params ? params.SparkImageId : null;
|
|
15812
|
+
this.SparkImageVersion = 'SparkImageVersion' in params ? params.SparkImageVersion : null;
|
|
15813
|
+
this.SparkImageType = 'SparkImageType' in params ? params.SparkImageType : null;
|
|
15814
|
+
this.SparkImageTag = 'SparkImageTag' in params ? params.SparkImageTag : null;
|
|
15815
|
+
|
|
15816
|
+
}
|
|
15817
|
+
}
|
|
15818
|
+
|
|
15685
15819
|
/**
|
|
15686
15820
|
* UpdateRowFilter request structure.
|
|
15687
15821
|
* @class
|
|
@@ -15961,6 +16095,7 @@ module.exports = {
|
|
|
15961
16095
|
CheckDataEngineImageCanBeRollbackRequest: CheckDataEngineImageCanBeRollbackRequest,
|
|
15962
16096
|
CreateDataEngineRequest: CreateDataEngineRequest,
|
|
15963
16097
|
ModifySparkAppBatchRequest: ModifySparkAppBatchRequest,
|
|
16098
|
+
DescribeSparkAppTasksRequest: DescribeSparkAppTasksRequest,
|
|
15964
16099
|
DescribeDataEnginePythonSparkImagesRequest: DescribeDataEnginePythonSparkImagesRequest,
|
|
15965
16100
|
SmartOptimizerPolicy: SmartOptimizerPolicy,
|
|
15966
16101
|
CreateTaskRequest: CreateTaskRequest,
|
|
@@ -15977,6 +16112,7 @@ module.exports = {
|
|
|
15977
16112
|
Property: Property,
|
|
15978
16113
|
TasksOverview: TasksOverview,
|
|
15979
16114
|
DescribeUpdatableDataEnginesRequest: DescribeUpdatableDataEnginesRequest,
|
|
16115
|
+
Execution: Execution,
|
|
15980
16116
|
DescribeSparkAppJobResponse: DescribeSparkAppJobResponse,
|
|
15981
16117
|
SmartOptimizerLifecyclePolicy: SmartOptimizerLifecyclePolicy,
|
|
15982
16118
|
DeleteUsersFromWorkGroupResponse: DeleteUsersFromWorkGroupResponse,
|
|
@@ -16020,7 +16156,7 @@ module.exports = {
|
|
|
16020
16156
|
ResourceInfo: ResourceInfo,
|
|
16021
16157
|
CreateDLCTableRequest: CreateDLCTableRequest,
|
|
16022
16158
|
DMSSourceDatabaseInfo: DMSSourceDatabaseInfo,
|
|
16023
|
-
|
|
16159
|
+
DescribeSubUserAccessPolicyRequest: DescribeSubUserAccessPolicyRequest,
|
|
16024
16160
|
UpgradeDataEngineImageRequest: UpgradeDataEngineImageRequest,
|
|
16025
16161
|
SmartPolicy: SmartPolicy,
|
|
16026
16162
|
SmartOptimizerIndexPolicy: SmartOptimizerIndexPolicy,
|
|
@@ -16111,8 +16247,8 @@ module.exports = {
|
|
|
16111
16247
|
CreateWorkGroupRequest: CreateWorkGroupRequest,
|
|
16112
16248
|
CreateInternalTableResponse: CreateInternalTableResponse,
|
|
16113
16249
|
DataEngineInfo: DataEngineInfo,
|
|
16114
|
-
|
|
16115
|
-
|
|
16250
|
+
DescribeSessionImageVersionResponse: DescribeSessionImageVersionResponse,
|
|
16251
|
+
DescribeSessionImageVersionRequest: DescribeSessionImageVersionRequest,
|
|
16116
16252
|
AlterDMSDatabaseRequest: AlterDMSDatabaseRequest,
|
|
16117
16253
|
CheckDataEngineImageCanBeUpgradeRequest: CheckDataEngineImageCanBeUpgradeRequest,
|
|
16118
16254
|
SQLTask: SQLTask,
|
|
@@ -16128,6 +16264,7 @@ module.exports = {
|
|
|
16128
16264
|
DescribeDataEnginePythonSparkImagesResponse: DescribeDataEnginePythonSparkImagesResponse,
|
|
16129
16265
|
ModifyUserRequest: ModifyUserRequest,
|
|
16130
16266
|
DMSColumn: DMSColumn,
|
|
16267
|
+
EngineSessionImage: EngineSessionImage,
|
|
16131
16268
|
UpdateRowFilterRequest: UpdateRowFilterRequest,
|
|
16132
16269
|
TColumn: TColumn,
|
|
16133
16270
|
DescribeResultDownloadRequest: DescribeResultDownloadRequest,
|
|
@@ -1853,6 +1853,68 @@ class DescribeTRTCMarketScaleDataResponse extends AbstractModel {
|
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
1855
|
|
|
1856
|
+
/**
|
|
1857
|
+
* Translation config
|
|
1858
|
+
* @class
|
|
1859
|
+
*/
|
|
1860
|
+
class TranslationConfig extends AbstractModel {
|
|
1861
|
+
constructor(){
|
|
1862
|
+
super();
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Target language, target language list (ISO 639-1).
|
|
1866
|
+
* @type {Array.<string> || null}
|
|
1867
|
+
*/
|
|
1868
|
+
this.TargetLanguages = null;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* 1: Only text translation, 2: Voice simultaneous interpretation.
|
|
1872
|
+
* @type {number || null}
|
|
1873
|
+
*/
|
|
1874
|
+
this.Mode = null;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Voice simultaneous interpretation configuration: When enabling simultaneous interpretation, this parameter needs to be passed.
|
|
1878
|
+
* @type {TTSConfig || null}
|
|
1879
|
+
*/
|
|
1880
|
+
this.TTSConfig = null;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Translation terminology.
|
|
1884
|
+
* @type {Array.<Terminology> || null}
|
|
1885
|
+
*/
|
|
1886
|
+
this.Terminology = null;
|
|
1887
|
+
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* @private
|
|
1892
|
+
*/
|
|
1893
|
+
deserialize(params) {
|
|
1894
|
+
if (!params) {
|
|
1895
|
+
return;
|
|
1896
|
+
}
|
|
1897
|
+
this.TargetLanguages = 'TargetLanguages' in params ? params.TargetLanguages : null;
|
|
1898
|
+
this.Mode = 'Mode' in params ? params.Mode : null;
|
|
1899
|
+
|
|
1900
|
+
if (params.TTSConfig) {
|
|
1901
|
+
let obj = new TTSConfig();
|
|
1902
|
+
obj.deserialize(params.TTSConfig)
|
|
1903
|
+
this.TTSConfig = obj;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
if (params.Terminology) {
|
|
1907
|
+
this.Terminology = new Array();
|
|
1908
|
+
for (let z in params.Terminology) {
|
|
1909
|
+
let obj = new Terminology();
|
|
1910
|
+
obj.deserialize(params.Terminology[z]);
|
|
1911
|
+
this.Terminology.push(obj);
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1856
1918
|
/**
|
|
1857
1919
|
* Mcu Relay Recording and Tencent VOD Parameters
|
|
1858
1920
|
* @class
|
|
@@ -5836,6 +5898,12 @@ class StartAITranscriptionRequest extends AbstractModel {
|
|
|
5836
5898
|
*/
|
|
5837
5899
|
this.RecognizeConfig = null;
|
|
5838
5900
|
|
|
5901
|
+
/**
|
|
5902
|
+
* Translation config.
|
|
5903
|
+
* @type {TranslationConfig || null}
|
|
5904
|
+
*/
|
|
5905
|
+
this.TranslationConfig = null;
|
|
5906
|
+
|
|
5839
5907
|
}
|
|
5840
5908
|
|
|
5841
5909
|
/**
|
|
@@ -5862,6 +5930,12 @@ class StartAITranscriptionRequest extends AbstractModel {
|
|
|
5862
5930
|
this.RecognizeConfig = obj;
|
|
5863
5931
|
}
|
|
5864
5932
|
|
|
5933
|
+
if (params.TranslationConfig) {
|
|
5934
|
+
let obj = new TranslationConfig();
|
|
5935
|
+
obj.deserialize(params.TranslationConfig)
|
|
5936
|
+
this.TranslationConfig = obj;
|
|
5937
|
+
}
|
|
5938
|
+
|
|
5865
5939
|
}
|
|
5866
5940
|
}
|
|
5867
5941
|
|
|
@@ -6440,6 +6514,41 @@ class ModifyCloudModerationResponse extends AbstractModel {
|
|
|
6440
6514
|
}
|
|
6441
6515
|
}
|
|
6442
6516
|
|
|
6517
|
+
/**
|
|
6518
|
+
* Translation terminology
|
|
6519
|
+
* @class
|
|
6520
|
+
*/
|
|
6521
|
+
class Terminology extends AbstractModel {
|
|
6522
|
+
constructor(){
|
|
6523
|
+
super();
|
|
6524
|
+
|
|
6525
|
+
/**
|
|
6526
|
+
* Source terminology
|
|
6527
|
+
* @type {string || null}
|
|
6528
|
+
*/
|
|
6529
|
+
this.Source = null;
|
|
6530
|
+
|
|
6531
|
+
/**
|
|
6532
|
+
* Target terminology
|
|
6533
|
+
* @type {string || null}
|
|
6534
|
+
*/
|
|
6535
|
+
this.Target = null;
|
|
6536
|
+
|
|
6537
|
+
}
|
|
6538
|
+
|
|
6539
|
+
/**
|
|
6540
|
+
* @private
|
|
6541
|
+
*/
|
|
6542
|
+
deserialize(params) {
|
|
6543
|
+
if (!params) {
|
|
6544
|
+
return;
|
|
6545
|
+
}
|
|
6546
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
6547
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
6548
|
+
|
|
6549
|
+
}
|
|
6550
|
+
}
|
|
6551
|
+
|
|
6443
6552
|
/**
|
|
6444
6553
|
* The video transcoding parameters for recording.
|
|
6445
6554
|
* @class
|
|
@@ -8368,6 +8477,34 @@ class DescribeStreamIngestRequest extends AbstractModel {
|
|
|
8368
8477
|
}
|
|
8369
8478
|
}
|
|
8370
8479
|
|
|
8480
|
+
/**
|
|
8481
|
+
*
|
|
8482
|
+
* @class
|
|
8483
|
+
*/
|
|
8484
|
+
class TTSConfig extends AbstractModel {
|
|
8485
|
+
constructor(){
|
|
8486
|
+
super();
|
|
8487
|
+
|
|
8488
|
+
/**
|
|
8489
|
+
*
|
|
8490
|
+
* @type {string || null}
|
|
8491
|
+
*/
|
|
8492
|
+
this.VoiceId = null;
|
|
8493
|
+
|
|
8494
|
+
}
|
|
8495
|
+
|
|
8496
|
+
/**
|
|
8497
|
+
* @private
|
|
8498
|
+
*/
|
|
8499
|
+
deserialize(params) {
|
|
8500
|
+
if (!params) {
|
|
8501
|
+
return;
|
|
8502
|
+
}
|
|
8503
|
+
this.VoiceId = 'VoiceId' in params ? params.VoiceId : null;
|
|
8504
|
+
|
|
8505
|
+
}
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8371
8508
|
/**
|
|
8372
8509
|
* The audio parameters for relaying.
|
|
8373
8510
|
* @class
|
|
@@ -9023,6 +9160,7 @@ module.exports = {
|
|
|
9023
9160
|
DescribeCallDetailInfoRequest: DescribeCallDetailInfoRequest,
|
|
9024
9161
|
CreateCloudModerationResponse: CreateCloudModerationResponse,
|
|
9025
9162
|
DescribeTRTCMarketScaleDataResponse: DescribeTRTCMarketScaleDataResponse,
|
|
9163
|
+
TranslationConfig: TranslationConfig,
|
|
9026
9164
|
McuTencentVod: McuTencentVod,
|
|
9027
9165
|
DescribeWebRecordResponse: DescribeWebRecordResponse,
|
|
9028
9166
|
DescribeUserInfoRequest: DescribeUserInfoRequest,
|
|
@@ -9110,6 +9248,7 @@ module.exports = {
|
|
|
9110
9248
|
CreateCloudSliceTaskResponse: CreateCloudSliceTaskResponse,
|
|
9111
9249
|
DeleteCloudRecordingRequest: DeleteCloudRecordingRequest,
|
|
9112
9250
|
ModifyCloudModerationResponse: ModifyCloudModerationResponse,
|
|
9251
|
+
Terminology: Terminology,
|
|
9113
9252
|
VideoParams: VideoParams,
|
|
9114
9253
|
StopStreamIngestResponse: StopStreamIngestResponse,
|
|
9115
9254
|
SetUserBlockedByStrRoomIdRequest: SetUserBlockedByStrRoomIdRequest,
|
|
@@ -9147,6 +9286,7 @@ module.exports = {
|
|
|
9147
9286
|
RemoveUserByStrRoomIdRequest: RemoveUserByStrRoomIdRequest,
|
|
9148
9287
|
RecordParams: RecordParams,
|
|
9149
9288
|
DescribeStreamIngestRequest: DescribeStreamIngestRequest,
|
|
9289
|
+
TTSConfig: TTSConfig,
|
|
9150
9290
|
McuAudioParams: McuAudioParams,
|
|
9151
9291
|
McuPublishCdnParam: McuPublishCdnParam,
|
|
9152
9292
|
AudioParams: AudioParams,
|
|
@@ -51,6 +51,7 @@ const VideoEncode = models.VideoEncode;
|
|
|
51
51
|
const DescribeCallDetailInfoRequest = models.DescribeCallDetailInfoRequest;
|
|
52
52
|
const CreateCloudModerationResponse = models.CreateCloudModerationResponse;
|
|
53
53
|
const DescribeTRTCMarketScaleDataResponse = models.DescribeTRTCMarketScaleDataResponse;
|
|
54
|
+
const TranslationConfig = models.TranslationConfig;
|
|
54
55
|
const McuTencentVod = models.McuTencentVod;
|
|
55
56
|
const DescribeWebRecordResponse = models.DescribeWebRecordResponse;
|
|
56
57
|
const DescribeUserInfoRequest = models.DescribeUserInfoRequest;
|
|
@@ -138,6 +139,7 @@ const StartStreamIngestResponse = models.StartStreamIngestResponse;
|
|
|
138
139
|
const CreateCloudSliceTaskResponse = models.CreateCloudSliceTaskResponse;
|
|
139
140
|
const DeleteCloudRecordingRequest = models.DeleteCloudRecordingRequest;
|
|
140
141
|
const ModifyCloudModerationResponse = models.ModifyCloudModerationResponse;
|
|
142
|
+
const Terminology = models.Terminology;
|
|
141
143
|
const VideoParams = models.VideoParams;
|
|
142
144
|
const StopStreamIngestResponse = models.StopStreamIngestResponse;
|
|
143
145
|
const SetUserBlockedByStrRoomIdRequest = models.SetUserBlockedByStrRoomIdRequest;
|
|
@@ -175,6 +177,7 @@ const SeriesInfos = models.SeriesInfos;
|
|
|
175
177
|
const RemoveUserByStrRoomIdRequest = models.RemoveUserByStrRoomIdRequest;
|
|
176
178
|
const RecordParams = models.RecordParams;
|
|
177
179
|
const DescribeStreamIngestRequest = models.DescribeStreamIngestRequest;
|
|
180
|
+
const TTSConfig = models.TTSConfig;
|
|
178
181
|
const McuAudioParams = models.McuAudioParams;
|
|
179
182
|
const McuPublishCdnParam = models.McuPublishCdnParam;
|
|
180
183
|
const AudioParams = models.AudioParams;
|