tencentcloud-sdk-nodejs-intl-en 3.0.1104 → 3.0.1105

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1104",
3
+ "version": "3.0.1105",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,6 +26,7 @@ const AutoScalingNotification = models.AutoScalingNotification;
26
26
  const ModifyScheduledActionRequest = models.ModifyScheduledActionRequest;
27
27
  const DescribeAutoScalingGroupsRequest = models.DescribeAutoScalingGroupsRequest;
28
28
  const LaunchConfiguration = models.LaunchConfiguration;
29
+ const Metadata = models.Metadata;
29
30
  const DescribeAccountLimitsResponse = models.DescribeAccountLimitsResponse;
30
31
  const CreateLaunchConfigurationResponse = models.CreateLaunchConfigurationResponse;
31
32
  const RelatedInstance = models.RelatedInstance;
@@ -169,6 +170,7 @@ const Activity = models.Activity;
169
170
  const ModifyDesiredCapacityResponse = models.ModifyDesiredCapacityResponse;
170
171
  const StopAutoScalingInstancesRequest = models.StopAutoScalingInstancesRequest;
171
172
  const RunMonitorServiceEnabled = models.RunMonitorServiceEnabled;
173
+ const MetadataItem = models.MetadataItem;
172
174
  const CancelInstanceRefreshResponse = models.CancelInstanceRefreshResponse;
173
175
  const ActivtyRelatedInstance = models.ActivtyRelatedInstance;
174
176
  const CreateAutoScalingGroupFromInstanceRequest = models.CreateAutoScalingGroupFromInstanceRequest;
@@ -227,6 +227,12 @@ This parameter will overwrite the original instance tag list. To add new tags, y
227
227
  */
228
228
  this.DedicatedClusterId = null;
229
229
 
230
+ /**
231
+ * Custom metadata.
232
+ * @type {Metadata || null}
233
+ */
234
+ this.Metadata = null;
235
+
230
236
  }
231
237
 
232
238
  /**
@@ -323,6 +329,12 @@ This parameter will overwrite the original instance tag list. To add new tags, y
323
329
  this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
324
330
  this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
325
331
 
332
+ if (params.Metadata) {
333
+ let obj = new Metadata();
334
+ obj.deserialize(params.Metadata)
335
+ this.Metadata = obj;
336
+ }
337
+
326
338
  }
327
339
  }
328
340
 
@@ -1206,6 +1218,42 @@ Note: This field may return null, indicating that no valid values can be obtaine
1206
1218
  }
1207
1219
  }
1208
1220
 
1221
+ /**
1222
+ * Custom Metadata
1223
+ * @class
1224
+ */
1225
+ class Metadata extends AbstractModel {
1226
+ constructor(){
1227
+ super();
1228
+
1229
+ /**
1230
+ * Custom metadata key-value pair list.
1231
+ * @type {Array.<MetadataItem> || null}
1232
+ */
1233
+ this.Items = null;
1234
+
1235
+ }
1236
+
1237
+ /**
1238
+ * @private
1239
+ */
1240
+ deserialize(params) {
1241
+ if (!params) {
1242
+ return;
1243
+ }
1244
+
1245
+ if (params.Items) {
1246
+ this.Items = new Array();
1247
+ for (let z in params.Items) {
1248
+ let obj = new MetadataItem();
1249
+ obj.deserialize(params.Items[z]);
1250
+ this.Items.push(obj);
1251
+ }
1252
+ }
1253
+
1254
+ }
1255
+ }
1256
+
1209
1257
  /**
1210
1258
  * DescribeAccountLimits response structure.
1211
1259
  * @class
@@ -2887,7 +2935,7 @@ class CreateLaunchConfigurationRequest extends AbstractModel {
2887
2935
  this.ImageId = null;
2888
2936
 
2889
2937
  /**
2890
- * Project ID of the launch configuration. The default project is used if it’s left blank.
2938
+ * Project ID of the launch configuration. The default project is used if it is left blank.
2891
2939
  Note that this project ID is not the same as the project ID of the scaling group.
2892
2940
  * @type {number || null}
2893
2941
  */
@@ -3050,6 +3098,12 @@ Note: This field is default to empty
3050
3098
  */
3051
3099
  this.DedicatedClusterId = null;
3052
3100
 
3101
+ /**
3102
+ * Custom metadata.
3103
+ * @type {Metadata || null}
3104
+ */
3105
+ this.Metadata = null;
3106
+
3053
3107
  }
3054
3108
 
3055
3109
  /**
@@ -3156,6 +3210,12 @@ Note: This field is default to empty
3156
3210
  this.ImageFamily = 'ImageFamily' in params ? params.ImageFamily : null;
3157
3211
  this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
3158
3212
 
3213
+ if (params.Metadata) {
3214
+ let obj = new Metadata();
3215
+ obj.deserialize(params.Metadata)
3216
+ this.Metadata = obj;
3217
+ }
3218
+
3159
3219
  }
3160
3220
  }
3161
3221
 
@@ -5476,9 +5536,9 @@ class LoginSettings extends AbstractModel {
5476
5536
 
5477
5537
  /**
5478
5538
  * Instance login password. The password complexity requirements vary according to the operating system type. The details are as follows:
5479
- <li>The login password for Linux instances should contain 8 to 16 characters, including at least two types of the following characters: letters, digits, and special characters (such as ()`~!@#$%^&*-+=|{}[]:;',.?/).</li>
5480
- <li>The login password for Windows instances should contain 12 to 16 characters, including at least three types of the following characters: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+={}[]:;',.?/).</li>
5481
- If this parameter is not specified, the system will generate a random password and notify the user via the message center.
5539
+ - For a Linux system, the password should contain 8 to 30 characters consisting of at least two of the four character types: lowercase letters, uppercase letters, digits, and special characters.
5540
+ - For a Windows system, the password should contain 12 to 30 characters consisting of at least three of the four character types: lowercase letters, uppercase letters, digits, and special characters.
5541
+ - If this parameter is not specified, the system will generate a random password and notify the user via the message centerSupported special characters: ( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /
5482
5542
  * @type {string || null}
5483
5543
  */
5484
5544
  this.Password = null;
@@ -6858,6 +6918,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
6858
6918
  */
6859
6919
  this.ReplaceMode = null;
6860
6920
 
6921
+ /**
6922
+ * Automatic instance tag update. The default value is false. If this feature is enabled, tags of running instances in a scaling group will be updated as well if the scaling group tags are updated. (This feature takes effect for tag creation and editing but not tag deletion.) The update does not take effect immediately due to certain latency.
6923
+ * @type {boolean || null}
6924
+ */
6925
+ this.AutoUpdateInstanceTags = null;
6926
+
6861
6927
  }
6862
6928
 
6863
6929
  /**
@@ -6871,6 +6937,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
6871
6937
  this.ScalingMode = 'ScalingMode' in params ? params.ScalingMode : null;
6872
6938
  this.ReplaceLoadBalancerUnhealthy = 'ReplaceLoadBalancerUnhealthy' in params ? params.ReplaceLoadBalancerUnhealthy : null;
6873
6939
  this.ReplaceMode = 'ReplaceMode' in params ? params.ReplaceMode : null;
6940
+ this.AutoUpdateInstanceTags = 'AutoUpdateInstanceTags' in params ? params.AutoUpdateInstanceTags : null;
6874
6941
 
6875
6942
  }
6876
6943
  }
@@ -7078,7 +7145,7 @@ class CreateScalingPolicyRequest extends AbstractModel {
7078
7145
  this.ScalingPolicyType = null;
7079
7146
 
7080
7147
  /**
7081
- * The method to adjust the desired capacity after the alarm is triggered. It’s only available when `ScalingPolicyType` is `Simple`. Valid values: <br><li>`CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity </li><li>`EXACT_CAPACITY`: Adjust to the specified desired capacity </li> <li>`PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage </li>
7148
+ * The method to adjust the desired capacity after the alarm is triggered. It is only available when `ScalingPolicyType` is `Simple`. Valid values: <br><li>`CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity </li><li>`EXACT_CAPACITY`: Adjust to the specified desired capacity </li> <li>`PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage </li>
7082
7149
  * @type {string || null}
7083
7150
  */
7084
7151
  this.AdjustmentType = null;
@@ -7099,18 +7166,18 @@ class CreateScalingPolicyRequest extends AbstractModel {
7099
7166
  this.Cooldown = null;
7100
7167
 
7101
7168
  /**
7102
- * Alarm monitoring metric. It’s only available when `ScalingPolicyType` is `Simple`.
7169
+ * Alarm monitoring metric. It is only available when `ScalingPolicyType` is `Simple`.
7103
7170
  * @type {MetricAlarm || null}
7104
7171
  */
7105
7172
  this.MetricAlarm = null;
7106
7173
 
7107
7174
  /**
7108
- * Predefined monitoring item, which is applicable only to target tracking policies. Valid values:
7109
- <li>ASG_AVG_CPU_UTILIZATION: average CPU utilization.</li>
7110
- <li>ASG_AVG_LAN_TRAFFIC_OUT: average outbound private network bandwidth.</li>
7111
- <li>ASG_AVG_LAN_TRAFFIC_IN: average inbound private network bandwidth.</li>
7112
- <li>ASG_AVG_WAN_TRAFFIC_OUT: average outbound public network bandwidth.</li>
7113
- <li>ASG_AVG_WAN_TRAFFIC_IN: average inbound public network bandwidth.</li>
7175
+ * Predefined monitoring item, applicable only to target tracking policies. Valid values:
7176
+ <li>ASG_AVG_CPU_UTILIZATION: average CPU utilization</li>
7177
+ <li>ASG_AVG_LAN_TRAFFIC_OUT: average outbound private network bandwidth</li>
7178
+ <li>ASG_AVG_LAN_TRAFFIC_IN: average inbound private network bandwidth</li>
7179
+ <li>ASG_AVG_WAN_TRAFFIC_OUT: average outbound public network bandwidth</li>
7180
+ <li>ASG_AVG_WAN_TRAFFIC_IN: average inbound public network bandwidth</li>
7114
7181
  * @type {string || null}
7115
7182
  */
7116
7183
  this.PredefinedMetricType = null;
@@ -7127,7 +7194,7 @@ class CreateScalingPolicyRequest extends AbstractModel {
7127
7194
  this.TargetValue = null;
7128
7195
 
7129
7196
  /**
7130
- * Instance warm-up period (in seconds). It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600. Default value: 300.
7197
+ * Instance warm-up period (in seconds). It is only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600. Default value: 300.
7131
7198
  * @type {number || null}
7132
7199
  */
7133
7200
  this.EstimatedInstanceWarmup = null;
@@ -8243,7 +8310,7 @@ Setting it to `true` will clear the hostname settings, which means that CVM newl
8243
8310
 
8244
8311
  /**
8245
8312
  * Whether to clear the CVM instance name settings. This parameter is optional and the default value is `false`.
8246
- Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
8313
+ Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
8247
8314
  * @type {boolean || null}
8248
8315
  */
8249
8316
  this.ClearInstanceNameSettings = null;
@@ -8262,6 +8329,12 @@ If true is filled in, it indicates that the instance tag list should be cleared.
8262
8329
  */
8263
8330
  this.ClearInstanceTags = null;
8264
8331
 
8332
+ /**
8333
+ * Whether to clear metadata, optional, defaults to false. Setting it to true will clear metadata, the CVMs created based on this will not be associated with custom metadata.
8334
+ * @type {boolean || null}
8335
+ */
8336
+ this.ClearMetadata = null;
8337
+
8265
8338
  }
8266
8339
 
8267
8340
  /**
@@ -8277,6 +8350,7 @@ If true is filled in, it indicates that the instance tag list should be cleared.
8277
8350
  this.ClearInstanceNameSettings = 'ClearInstanceNameSettings' in params ? params.ClearInstanceNameSettings : null;
8278
8351
  this.ClearDisasterRecoverGroupIds = 'ClearDisasterRecoverGroupIds' in params ? params.ClearDisasterRecoverGroupIds : null;
8279
8352
  this.ClearInstanceTags = 'ClearInstanceTags' in params ? params.ClearInstanceTags : null;
8353
+ this.ClearMetadata = 'ClearMetadata' in params ? params.ClearMetadata : null;
8280
8354
 
8281
8355
  }
8282
8356
  }
@@ -9056,7 +9130,7 @@ Default value: KEEP_CHARGING.
9056
9130
  }
9057
9131
 
9058
9132
  /**
9059
- * This describes the information related to the Cloud Monitor service.
9133
+ * Information related to Tencent Cloud Observability Platform (TCOP, formerly Cloud Monitor).
9060
9134
  * @class
9061
9135
  */
9062
9136
  class RunMonitorServiceEnabled extends AbstractModel {
@@ -9064,9 +9138,9 @@ class RunMonitorServiceEnabled extends AbstractModel {
9064
9138
  super();
9065
9139
 
9066
9140
  /**
9067
- * Whether to enable the [Tencent Cloud Observability Platform](https://www.tencentcloud.com/document/product/248?lang=en&pg=) service. Valid values:
9068
- <li>TRUE: enable.</li>
9069
- <li>FALSE: disable.</li>
9141
+ * Whether [TCOP (formerly Cloud Monitor)](https://intl.cloud.tencent.com/document/product/248?from_cn_redirect=1) is enabled. Valid values:
9142
+ <li>TRUE: enabled</li>
9143
+ <li>FALSE: disabled</li>
9070
9144
  Default value: TRUE.
9071
9145
  Note: This field may return null, indicating that no valid values can be obtained.
9072
9146
  * @type {boolean || null}
@@ -9087,6 +9161,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
9087
9161
  }
9088
9162
  }
9089
9163
 
9164
+ /**
9165
+ * A set of key-value pair information for custom Metadata
9166
+ * @class
9167
+ */
9168
+ class MetadataItem extends AbstractModel {
9169
+ constructor(){
9170
+ super();
9171
+
9172
+ /**
9173
+ * Custom metadata key.
9174
+ * @type {string || null}
9175
+ */
9176
+ this.Key = null;
9177
+
9178
+ /**
9179
+ * Custom metadata value.
9180
+ * @type {string || null}
9181
+ */
9182
+ this.Value = null;
9183
+
9184
+ }
9185
+
9186
+ /**
9187
+ * @private
9188
+ */
9189
+ deserialize(params) {
9190
+ if (!params) {
9191
+ return;
9192
+ }
9193
+ this.Key = 'Key' in params ? params.Key : null;
9194
+ this.Value = 'Value' in params ? params.Value : null;
9195
+
9196
+ }
9197
+ }
9198
+
9090
9199
  /**
9091
9200
  * CancelInstanceRefresh response structure.
9092
9201
  * @class
@@ -9438,6 +9547,7 @@ module.exports = {
9438
9547
  ModifyScheduledActionRequest: ModifyScheduledActionRequest,
9439
9548
  DescribeAutoScalingGroupsRequest: DescribeAutoScalingGroupsRequest,
9440
9549
  LaunchConfiguration: LaunchConfiguration,
9550
+ Metadata: Metadata,
9441
9551
  DescribeAccountLimitsResponse: DescribeAccountLimitsResponse,
9442
9552
  CreateLaunchConfigurationResponse: CreateLaunchConfigurationResponse,
9443
9553
  RelatedInstance: RelatedInstance,
@@ -9581,6 +9691,7 @@ module.exports = {
9581
9691
  ModifyDesiredCapacityResponse: ModifyDesiredCapacityResponse,
9582
9692
  StopAutoScalingInstancesRequest: StopAutoScalingInstancesRequest,
9583
9693
  RunMonitorServiceEnabled: RunMonitorServiceEnabled,
9694
+ MetadataItem: MetadataItem,
9584
9695
  CancelInstanceRefreshResponse: CancelInstanceRefreshResponse,
9585
9696
  ActivtyRelatedInstance: ActivtyRelatedInstance,
9586
9697
  CreateAutoScalingGroupFromInstanceRequest: CreateAutoScalingGroupFromInstanceRequest,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1104";
1
+ const sdkVersion = "3.0.1105";
2
2
  module.exports = sdkVersion
@@ -9352,6 +9352,8 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest extends AbstractModel {
9352
9352
 
9353
9353
  /**
9354
9354
  * Whether it is an audio-only template. 0: video template. 1: audio-only template.
9355
+
9356
+ Default value: 0
9355
9357
  * @type {number || null}
9356
9358
  */
9357
9359
  this.PureAudio = null;
@@ -10188,23 +10190,25 @@ Note: When resolution adaption is enabled, `Width` cannot be smaller than `Heigh
10188
10190
  this.ResolutionAdaptive = null;
10189
10191
 
10190
10192
  /**
10191
- * Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
10192
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
10193
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
10194
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
10195
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
10193
+ * Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096].
10194
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
10195
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
10196
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
10197
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
10196
10198
  Default value: 0.
10199
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
10197
10200
  * @type {number || null}
10198
10201
  */
10199
10202
  this.Width = null;
10200
10203
 
10201
10204
  /**
10202
- * Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
10203
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
10204
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
10205
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
10206
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
10205
+ * Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096].
10206
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
10207
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
10208
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
10209
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
10207
10210
  Default value: 0.
10211
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
10208
10212
  * @type {number || null}
10209
10213
  */
10210
10214
  this.Height = null;
@@ -13788,17 +13792,21 @@ Note: When resolution adaption is enabled, `Width` cannot be smaller than `Heigh
13788
13792
  this.ResolutionAdaptive = null;
13789
13793
 
13790
13794
  /**
13791
- * Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
13792
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
13793
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
13794
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
13795
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
13795
+ * Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096].
13796
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
13797
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
13798
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
13799
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
13800
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
13801
+ Note: This field may return null, indicating that no valid value can be obtained.
13796
13802
  * @type {number || null}
13797
13803
  */
13798
13804
  this.Width = null;
13799
13805
 
13800
13806
  /**
13801
- * Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
13807
+ * Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096].
13808
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
13809
+ Note: This field may return null, indicating that no valid value can be obtained.
13802
13810
  * @type {number || null}
13803
13811
  */
13804
13812
  this.Height = null;
@@ -14999,6 +15007,71 @@ class EnableScheduleResponse extends AbstractModel {
14999
15007
  }
15000
15008
  }
15001
15009
 
15010
+ /**
15011
+ * Security group information.
15012
+ * @class
15013
+ */
15014
+ class SecurityGroupInfo extends AbstractModel {
15015
+ constructor(){
15016
+ super();
15017
+
15018
+ /**
15019
+ * Security group ID.
15020
+ * @type {string || null}
15021
+ */
15022
+ this.Id = null;
15023
+
15024
+ /**
15025
+ * Security group name.
15026
+ * @type {string || null}
15027
+ */
15028
+ this.Name = null;
15029
+
15030
+ /**
15031
+ * Allowlist list.
15032
+ * @type {Array.<string> || null}
15033
+ */
15034
+ this.Whitelist = null;
15035
+
15036
+ /**
15037
+ * List of bound input streams.
15038
+ Note: This field may return null, indicating that no valid value can be obtained.
15039
+ * @type {Array.<string> || null}
15040
+ */
15041
+ this.OccupiedInputs = null;
15042
+
15043
+ /**
15044
+ * Security group address.
15045
+ * @type {string || null}
15046
+ */
15047
+ this.Region = null;
15048
+
15049
+ /**
15050
+ * List of bound output streams.
15051
+ Note: This field may return null, indicating that no valid value can be obtained.
15052
+ * @type {Array.<string> || null}
15053
+ */
15054
+ this.OccupiedOutputs = null;
15055
+
15056
+ }
15057
+
15058
+ /**
15059
+ * @private
15060
+ */
15061
+ deserialize(params) {
15062
+ if (!params) {
15063
+ return;
15064
+ }
15065
+ this.Id = 'Id' in params ? params.Id : null;
15066
+ this.Name = 'Name' in params ? params.Name : null;
15067
+ this.Whitelist = 'Whitelist' in params ? params.Whitelist : null;
15068
+ this.OccupiedInputs = 'OccupiedInputs' in params ? params.OccupiedInputs : null;
15069
+ this.Region = 'Region' in params ? params.Region : null;
15070
+ this.OccupiedOutputs = 'OccupiedOutputs' in params ? params.OccupiedOutputs : null;
15071
+
15072
+ }
15073
+ }
15074
+
15002
15075
  /**
15003
15076
  * DeleteAdaptiveDynamicStreamingTemplate response structure.
15004
15077
  * @class
@@ -15832,6 +15905,61 @@ class AiReviewTerrorismTaskOutput extends AbstractModel {
15832
15905
  }
15833
15906
  }
15834
15907
 
15908
+ /**
15909
+ * Control parameter of a porn information detection in image task
15910
+ * @class
15911
+ */
15912
+ class PornImgReviewTemplateInfo extends AbstractModel {
15913
+ constructor(){
15914
+ super();
15915
+
15916
+ /**
15917
+ * Switch of a porn information detection in image task. Valid values:
15918
+ <li>ON: Enables a porn information detection in image task;</li>
15919
+ <li>OFF: Disables a porn information detection in image task.</li>
15920
+ * @type {string || null}
15921
+ */
15922
+ this.Switch = null;
15923
+
15924
+ /**
15925
+ * Filter tag for porn information detection in image. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. Valid values:
15926
+ <li>porn: Porn;</li>
15927
+ <li>vulgar: Vulgarity;</li>
15928
+ <li>intimacy: Intimacy;</li>
15929
+ <li>sexy: Sexiness.</li>
15930
+ * @type {Array.<string> || null}
15931
+ */
15932
+ this.LabelSet = null;
15933
+
15934
+ /**
15935
+ * Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 90 will be used by default. Value range: 0-100.
15936
+ * @type {number || null}
15937
+ */
15938
+ this.BlockConfidence = null;
15939
+
15940
+ /**
15941
+ * Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 0 will be used by default. Value range: 0-100.
15942
+ * @type {number || null}
15943
+ */
15944
+ this.ReviewConfidence = null;
15945
+
15946
+ }
15947
+
15948
+ /**
15949
+ * @private
15950
+ */
15951
+ deserialize(params) {
15952
+ if (!params) {
15953
+ return;
15954
+ }
15955
+ this.Switch = 'Switch' in params ? params.Switch : null;
15956
+ this.LabelSet = 'LabelSet' in params ? params.LabelSet : null;
15957
+ this.BlockConfidence = 'BlockConfidence' in params ? params.BlockConfidence : null;
15958
+ this.ReviewConfidence = 'ReviewConfidence' in params ? params.ReviewConfidence : null;
15959
+
15960
+ }
15961
+ }
15962
+
15835
15963
  /**
15836
15964
  * Control parameter of prohibited information detection task
15837
15965
  * @class
@@ -17872,6 +18000,46 @@ Note: This field may return null, indicating that no valid value can be obtained
17872
18000
  }
17873
18001
  }
17874
18002
 
18003
+ /**
18004
+ * DescribeStreamLinkSecurityGroup response structure.
18005
+ * @class
18006
+ */
18007
+ class DescribeStreamLinkSecurityGroupResponse extends AbstractModel {
18008
+ constructor(){
18009
+ super();
18010
+
18011
+ /**
18012
+ * Information on the input security group.
18013
+ * @type {SecurityGroupInfo || null}
18014
+ */
18015
+ this.Info = null;
18016
+
18017
+ /**
18018
+ * 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.
18019
+ * @type {string || null}
18020
+ */
18021
+ this.RequestId = null;
18022
+
18023
+ }
18024
+
18025
+ /**
18026
+ * @private
18027
+ */
18028
+ deserialize(params) {
18029
+ if (!params) {
18030
+ return;
18031
+ }
18032
+
18033
+ if (params.Info) {
18034
+ let obj = new SecurityGroupInfo();
18035
+ obj.deserialize(params.Info)
18036
+ this.Info = obj;
18037
+ }
18038
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
18039
+
18040
+ }
18041
+ }
18042
+
17875
18043
  /**
17876
18044
  * Result information of intelligent tagging
17877
18045
  * @class
@@ -28245,42 +28413,18 @@ class CreateWatermarkTemplateResponse extends AbstractModel {
28245
28413
  }
28246
28414
 
28247
28415
  /**
28248
- * Control parameter of a porn information detection in image task
28416
+ * DescribeStreamLinkSecurityGroup request structure.
28249
28417
  * @class
28250
28418
  */
28251
- class PornImgReviewTemplateInfo extends AbstractModel {
28419
+ class DescribeStreamLinkSecurityGroupRequest extends AbstractModel {
28252
28420
  constructor(){
28253
28421
  super();
28254
28422
 
28255
28423
  /**
28256
- * Switch of a porn information detection in image task. Valid values:
28257
- <li>ON: Enables a porn information detection in image task;</li>
28258
- <li>OFF: Disables a porn information detection in image task.</li>
28424
+ * Security group ID.
28259
28425
  * @type {string || null}
28260
28426
  */
28261
- this.Switch = null;
28262
-
28263
- /**
28264
- * Filter tag for porn information detection in image. If an audit result contains the selected tag, it will be returned; if the filter tag is empty, all audit results will be returned. Valid values:
28265
- <li>porn: Porn;</li>
28266
- <li>vulgar: Vulgarity;</li>
28267
- <li>intimacy: Intimacy;</li>
28268
- <li>sexy: Sexiness.</li>
28269
- * @type {Array.<string> || null}
28270
- */
28271
- this.LabelSet = null;
28272
-
28273
- /**
28274
- * Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 90 will be used by default. Value range: 0-100.
28275
- * @type {number || null}
28276
- */
28277
- this.BlockConfidence = null;
28278
-
28279
- /**
28280
- * Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 0 will be used by default. Value range: 0-100.
28281
- * @type {number || null}
28282
- */
28283
- this.ReviewConfidence = null;
28427
+ this.Id = null;
28284
28428
 
28285
28429
  }
28286
28430
 
@@ -28291,10 +28435,7 @@ class PornImgReviewTemplateInfo extends AbstractModel {
28291
28435
  if (!params) {
28292
28436
  return;
28293
28437
  }
28294
- this.Switch = 'Switch' in params ? params.Switch : null;
28295
- this.LabelSet = 'LabelSet' in params ? params.LabelSet : null;
28296
- this.BlockConfidence = 'BlockConfidence' in params ? params.BlockConfidence : null;
28297
- this.ReviewConfidence = 'ReviewConfidence' in params ? params.ReviewConfidence : null;
28438
+ this.Id = 'Id' in params ? params.Id : null;
28298
28439
 
28299
28440
  }
28300
28441
  }
@@ -30655,6 +30796,7 @@ module.exports = {
30655
30796
  TerrorismConfigureInfoForUpdate: TerrorismConfigureInfoForUpdate,
30656
30797
  LiveActivityResItem: LiveActivityResItem,
30657
30798
  EnableScheduleResponse: EnableScheduleResponse,
30799
+ SecurityGroupInfo: SecurityGroupInfo,
30658
30800
  DeleteAdaptiveDynamicStreamingTemplateResponse: DeleteAdaptiveDynamicStreamingTemplateResponse,
30659
30801
  LiveStreamTagRecognitionResult: LiveStreamTagRecognitionResult,
30660
30802
  AnimatedGraphicTaskInput: AnimatedGraphicTaskInput,
@@ -30669,6 +30811,7 @@ module.exports = {
30669
30811
  CreateAIRecognitionTemplateResponse: CreateAIRecognitionTemplateResponse,
30670
30812
  EditMediaTask: EditMediaTask,
30671
30813
  AiReviewTerrorismTaskOutput: AiReviewTerrorismTaskOutput,
30814
+ PornImgReviewTemplateInfo: PornImgReviewTemplateInfo,
30672
30815
  ProhibitedConfigureInfo: ProhibitedConfigureInfo,
30673
30816
  AiReviewTerrorismOcrTaskOutput: AiReviewTerrorismOcrTaskOutput,
30674
30817
  AiAnalysisResult: AiAnalysisResult,
@@ -30705,6 +30848,7 @@ module.exports = {
30705
30848
  AiReviewPoliticalAsrTaskInput: AiReviewPoliticalAsrTaskInput,
30706
30849
  LiveStreamAiAnalysisResultInfo: LiveStreamAiAnalysisResultInfo,
30707
30850
  SegmentSpecificInfo: SegmentSpecificInfo,
30851
+ DescribeStreamLinkSecurityGroupResponse: DescribeStreamLinkSecurityGroupResponse,
30708
30852
  MediaAiAnalysisTagItem: MediaAiAnalysisTagItem,
30709
30853
  TranscodeTemplate: TranscodeTemplate,
30710
30854
  PornOcrReviewTemplateInfo: PornOcrReviewTemplateInfo,
@@ -30878,7 +31022,7 @@ module.exports = {
30878
31022
  AiRecognitionTaskFaceResultOutput: AiRecognitionTaskFaceResultOutput,
30879
31023
  PornImgReviewTemplateInfoForUpdate: PornImgReviewTemplateInfoForUpdate,
30880
31024
  CreateWatermarkTemplateResponse: CreateWatermarkTemplateResponse,
30881
- PornImgReviewTemplateInfo: PornImgReviewTemplateInfo,
31025
+ DescribeStreamLinkSecurityGroupRequest: DescribeStreamLinkSecurityGroupRequest,
30882
31026
  AiReviewPoliticalOcrTaskOutput: AiReviewPoliticalOcrTaskOutput,
30883
31027
  OcrFullTextConfigureInfo: OcrFullTextConfigureInfo,
30884
31028
  ModifyLiveRecordTemplateRequest: ModifyLiveRecordTemplateRequest,
@@ -263,6 +263,7 @@ const ScheduleQualityControlTaskResult = models.ScheduleQualityControlTaskResult
263
263
  const TerrorismConfigureInfoForUpdate = models.TerrorismConfigureInfoForUpdate;
264
264
  const LiveActivityResItem = models.LiveActivityResItem;
265
265
  const EnableScheduleResponse = models.EnableScheduleResponse;
266
+ const SecurityGroupInfo = models.SecurityGroupInfo;
266
267
  const DeleteAdaptiveDynamicStreamingTemplateResponse = models.DeleteAdaptiveDynamicStreamingTemplateResponse;
267
268
  const LiveStreamTagRecognitionResult = models.LiveStreamTagRecognitionResult;
268
269
  const AnimatedGraphicTaskInput = models.AnimatedGraphicTaskInput;
@@ -277,6 +278,7 @@ const AiSampleTagOperation = models.AiSampleTagOperation;
277
278
  const CreateAIRecognitionTemplateResponse = models.CreateAIRecognitionTemplateResponse;
278
279
  const EditMediaTask = models.EditMediaTask;
279
280
  const AiReviewTerrorismTaskOutput = models.AiReviewTerrorismTaskOutput;
281
+ const PornImgReviewTemplateInfo = models.PornImgReviewTemplateInfo;
280
282
  const ProhibitedConfigureInfo = models.ProhibitedConfigureInfo;
281
283
  const AiReviewTerrorismOcrTaskOutput = models.AiReviewTerrorismOcrTaskOutput;
282
284
  const AiAnalysisResult = models.AiAnalysisResult;
@@ -313,6 +315,7 @@ const SegmentRecognitionItem = models.SegmentRecognitionItem;
313
315
  const AiReviewPoliticalAsrTaskInput = models.AiReviewPoliticalAsrTaskInput;
314
316
  const LiveStreamAiAnalysisResultInfo = models.LiveStreamAiAnalysisResultInfo;
315
317
  const SegmentSpecificInfo = models.SegmentSpecificInfo;
318
+ const DescribeStreamLinkSecurityGroupResponse = models.DescribeStreamLinkSecurityGroupResponse;
316
319
  const MediaAiAnalysisTagItem = models.MediaAiAnalysisTagItem;
317
320
  const TranscodeTemplate = models.TranscodeTemplate;
318
321
  const PornOcrReviewTemplateInfo = models.PornOcrReviewTemplateInfo;
@@ -486,7 +489,7 @@ const FaceConfigureInfo = models.FaceConfigureInfo;
486
489
  const AiRecognitionTaskFaceResultOutput = models.AiRecognitionTaskFaceResultOutput;
487
490
  const PornImgReviewTemplateInfoForUpdate = models.PornImgReviewTemplateInfoForUpdate;
488
491
  const CreateWatermarkTemplateResponse = models.CreateWatermarkTemplateResponse;
489
- const PornImgReviewTemplateInfo = models.PornImgReviewTemplateInfo;
492
+ const DescribeStreamLinkSecurityGroupRequest = models.DescribeStreamLinkSecurityGroupRequest;
490
493
  const AiReviewPoliticalOcrTaskOutput = models.AiReviewPoliticalOcrTaskOutput;
491
494
  const OcrFullTextConfigureInfo = models.OcrFullTextConfigureInfo;
492
495
  const ModifyLiveRecordTemplateRequest = models.ModifyLiveRecordTemplateRequest;
@@ -545,6 +548,25 @@ class MpsClient extends AbstractClient {
545
548
  this.request("CreateImageSpriteTemplate", req, resp, cb);
546
549
  }
547
550
 
551
+ /**
552
+ * This API is used to initiate live stream processing tasks. Such tasks may include the following:
553
+
554
+ * Intelligent content moderation (detection of pornographic content in images and audio, detection of sensitive information)
555
+ * Intelligent content recognition (face, full text, text keyword, full speech, speech keyword, real-time speech translation, object recognition, game event tracking)
556
+ * Intelligent content analysis (real-time news splitting)
557
+ * Quality control, including recognizing live stream format, checking audio/video content for flickering, blur, low light, overexposure, black bars, white bars, black screen, white screen, noise, pixelation, QR code, etc., and no-reference scoring.
558
+ * Recording
559
+
560
+ HTTP callbacks are supported for live stream processing events. Notifications can also be written in real time to and read from a CMQ queue. The output files of processing tasks are saved to the storage you specify.
561
+ * @param {ProcessLiveStreamRequest} req
562
+ * @param {function(string, ProcessLiveStreamResponse):void} cb
563
+ * @public
564
+ */
565
+ ProcessLiveStream(req, cb) {
566
+ let resp = new ProcessLiveStreamResponse();
567
+ this.request("ProcessLiveStream", req, resp, cb);
568
+ }
569
+
548
570
  /**
549
571
  * This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
550
572
  * @param {CreateSnapshotByTimeOffsetTemplateRequest} req
@@ -804,14 +826,14 @@ Instead of initiating a video processing task, this API is used to help generate
804
826
  }
805
827
 
806
828
  /**
807
- * This API is used to modify an adaptive bitrate streaming template.
808
- * @param {ModifyAdaptiveDynamicStreamingTemplateRequest} req
809
- * @param {function(string, ModifyAdaptiveDynamicStreamingTemplateResponse):void} cb
829
+ * This API is used to query a security group.
830
+ * @param {DescribeStreamLinkSecurityGroupRequest} req
831
+ * @param {function(string, DescribeStreamLinkSecurityGroupResponse):void} cb
810
832
  * @public
811
833
  */
812
- ModifyAdaptiveDynamicStreamingTemplate(req, cb) {
813
- let resp = new ModifyAdaptiveDynamicStreamingTemplateResponse();
814
- this.request("ModifyAdaptiveDynamicStreamingTemplate", req, resp, cb);
834
+ DescribeStreamLinkSecurityGroup(req, cb) {
835
+ let resp = new DescribeStreamLinkSecurityGroupResponse();
836
+ this.request("DescribeStreamLinkSecurityGroup", req, resp, cb);
815
837
  }
816
838
 
817
839
  /**
@@ -1382,22 +1404,14 @@ Note: A scheme is disabled upon creation. You need to manually enable it.
1382
1404
  }
1383
1405
 
1384
1406
  /**
1385
- * This API is used to initiate live stream processing tasks. Such tasks may include the following:
1386
-
1387
- * Intelligent content moderation (detection of pornographic content in images and audio, detection of sensitive information)
1388
- * Intelligent content recognition (face, full text, text keyword, full speech, speech keyword, real-time speech translation, object recognition, game event tracking)
1389
- * Intelligent content analysis (real-time news splitting)
1390
- * Quality control, including recognizing live stream format, checking audio/video content for flickering, blur, low light, overexposure, black bars, white bars, black screen, white screen, noise, pixelation, QR code, etc., and no-reference scoring.
1391
- * Recording
1392
-
1393
- HTTP callbacks are supported for live stream processing events. Notifications can also be written in real time to and read from a CMQ queue. The output files of processing tasks are saved to the storage you specify.
1394
- * @param {ProcessLiveStreamRequest} req
1395
- * @param {function(string, ProcessLiveStreamResponse):void} cb
1407
+ * This API is used to modify an adaptive bitrate streaming template.
1408
+ * @param {ModifyAdaptiveDynamicStreamingTemplateRequest} req
1409
+ * @param {function(string, ModifyAdaptiveDynamicStreamingTemplateResponse):void} cb
1396
1410
  * @public
1397
1411
  */
1398
- ProcessLiveStream(req, cb) {
1399
- let resp = new ProcessLiveStreamResponse();
1400
- this.request("ProcessLiveStream", req, resp, cb);
1412
+ ModifyAdaptiveDynamicStreamingTemplate(req, cb) {
1413
+ let resp = new ModifyAdaptiveDynamicStreamingTemplateResponse();
1414
+ this.request("ModifyAdaptiveDynamicStreamingTemplate", req, resp, cb);
1401
1415
  }
1402
1416
 
1403
1417
  /**