tencentcloud-sdk-nodejs-intl-en 3.0.341 → 3.0.345

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.341",
3
+ "version": "3.0.345",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1379,7 +1379,6 @@ Hourly RI fee
1379
1379
  New monthly subscription
1380
1380
  Monthly subscription renewal
1381
1381
  Monthly subscription specification adjustment
1382
- Monthly subscription specification adjustment
1383
1382
  Monthly subscription refund
1384
1383
  * @type {string || null}
1385
1384
  */
@@ -1500,7 +1500,7 @@ class RemoveUserFromGroupRequest extends AbstractModel {
1500
1500
  super();
1501
1501
 
1502
1502
  /**
1503
- * The UID of the user to be deleted and an array corresponding to the User Group IDs
1503
+ * The user’s UIN/UID to be deleted and the array corresponding to the user group ID.
1504
1504
  * @type {Array.<GroupIdOfUidInfo> || null}
1505
1505
  */
1506
1506
  this.Info = null;
@@ -1694,6 +1694,12 @@ class GroupIdOfUidInfo extends AbstractModel {
1694
1694
  constructor(){
1695
1695
  super();
1696
1696
 
1697
+ /**
1698
+ * User Group ID
1699
+ * @type {number || null}
1700
+ */
1701
+ this.GroupId = null;
1702
+
1697
1703
  /**
1698
1704
  * Sub-user UID
1699
1705
  * @type {number || null}
@@ -1701,10 +1707,10 @@ class GroupIdOfUidInfo extends AbstractModel {
1701
1707
  this.Uid = null;
1702
1708
 
1703
1709
  /**
1704
- * User Group ID
1710
+ * Sub-user UIN. For UIN and UID, at least one of them is required.
1705
1711
  * @type {number || null}
1706
1712
  */
1707
- this.GroupId = null;
1713
+ this.Uin = null;
1708
1714
 
1709
1715
  }
1710
1716
 
@@ -1715,8 +1721,9 @@ class GroupIdOfUidInfo extends AbstractModel {
1715
1721
  if (!params) {
1716
1722
  return;
1717
1723
  }
1718
- this.Uid = 'Uid' in params ? params.Uid : null;
1719
1724
  this.GroupId = 'GroupId' in params ? params.GroupId : null;
1725
+ this.Uid = 'Uid' in params ? params.Uid : null;
1726
+ this.Uin = 'Uin' in params ? params.Uin : null;
1720
1727
 
1721
1728
  }
1722
1729
  }
@@ -4832,7 +4839,7 @@ class AddUserToGroupRequest extends AbstractModel {
4832
4839
  super();
4833
4840
 
4834
4841
  /**
4835
- * How sub-user UIDs are associated with the ID of the user group they are added to.
4842
+ * The association between the user group ID and the sub-user UIN/UID.
4836
4843
  * @type {Array.<GroupIdOfUidInfo> || null}
4837
4844
  */
4838
4845
  this.Info = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.341";
1
+ const sdkVersion = "3.0.345";
2
2
  module.exports = sdkVersion
@@ -88,27 +88,31 @@ class LivenessCompareRequest extends AbstractModel {
88
88
  super();
89
89
 
90
90
  /**
91
- * Base64 string of the image for face comparison.
92
- The size of the Base64-encoded image data can be up to 3 MB. JPG and PNG formats are supported.
93
- Please use the standard Base64 encoding scheme (with the "=" padding). For the encoding conventions, please see RFC 4648.
91
+ * Liveness detection type. Valid values: LIP/ACTION/SILENT.
92
+ LIP: numeric mode; ACTION: motion mode; SILENT: silent mode. You need to select a mode to input.
94
93
  * @type {string || null}
95
94
  */
96
- this.ImageBase64 = null;
95
+ this.LivenessType = null;
97
96
 
98
97
  /**
99
- * Base64 string of the video for liveness detection.
100
- The size of the Base64-encoded video data can be up to 8 MB. MP4, AVI, and FLV formats are supported.
98
+ * Base64 string of the image for face comparison.
99
+ The size of the Base64-encoded image data can be up to 3 MB. JPG and PNG formats are supported.
101
100
  Please use the standard Base64 encoding scheme (with the "=" padding). For the encoding conventions, please see RFC 4648.
101
+
102
+ Either the `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageBase64` will be used.
102
103
  * @type {string || null}
103
104
  */
104
- this.VideoBase64 = null;
105
+ this.ImageBase64 = null;
105
106
 
106
107
  /**
107
- * Liveness detection type. Valid values: LIP/ACTION/SILENT.
108
- LIP: numeric mode; ACTION: motion mode; SILENT: silent mode. You need to select a mode to input.
108
+ * URL of the image for face comparison. The size of the downloaded image after Base64 encoding can be up to 3 MB. JPG and PNG formats are supported.
109
+
110
+ Either the `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageBase64` will be used.
111
+
112
+ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability. The download speed and stability of non-Tencent Cloud URLs may be low.
109
113
  * @type {string || null}
110
114
  */
111
- this.LivenessType = null;
115
+ this.ImageUrl = null;
112
116
 
113
117
  /**
114
118
  * Lip mode: set this parameter to a custom 4-digit verification code.
@@ -127,6 +131,26 @@ Silent mode: do not pass in this parameter.
127
131
  */
128
132
  this.Optional = null;
129
133
 
134
+ /**
135
+ * Base64 string of the video for liveness detection.
136
+ The size of the Base64-encoded video data can be up to 8 MB. MP4, AVI, and FLV formats are supported.
137
+ Please use the standard Base64 encoding scheme (with the "=" padding). For the encoding conventions, please see RFC 4648.
138
+
139
+ Either the `VideoUrl` or `VideoBase64` of the video must be provided. If both are provided, only `VideoBase64` will be used.
140
+ * @type {string || null}
141
+ */
142
+ this.VideoBase64 = null;
143
+
144
+ /**
145
+ * URL of the video for liveness detection. The size of the downloaded video after Base64 encoding can be up to 8 MB. It takes no more than 4 seconds to download. MP4, AVI, and FLV formats are supported.
146
+
147
+ Either the `VideoUrl` or `VideoBase64` of the video must be provided. If both are provided, only `VideoBase64` will be used.
148
+
149
+ We recommend you store the video in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability. The download speed and stability of non-Tencent Cloud URLs may be low.
150
+ * @type {string || null}
151
+ */
152
+ this.VideoUrl = null;
153
+
130
154
  }
131
155
 
132
156
  /**
@@ -136,11 +160,13 @@ Silent mode: do not pass in this parameter.
136
160
  if (!params) {
137
161
  return;
138
162
  }
139
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
140
- this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
141
163
  this.LivenessType = 'LivenessType' in params ? params.LivenessType : null;
164
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
165
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
142
166
  this.ValidateData = 'ValidateData' in params ? params.ValidateData : null;
143
167
  this.Optional = 'Optional' in params ? params.Optional : null;
168
+ this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
169
+ this.VideoUrl = 'VideoUrl' in params ? params.VideoUrl : null;
144
170
 
145
171
  }
146
172
  }
@@ -604,16 +604,22 @@ class BindingPolicyObjectRequest extends AbstractModel {
604
604
  super();
605
605
 
606
606
  /**
607
- * Policy group ID. If `PolicyId` is used, this parameter will be ignored, and any value, e.g., 0, can be passed in.
607
+ * Required. The value is fixed to monitor.
608
+ * @type {string || null}
609
+ */
610
+ this.Module = null;
611
+
612
+ /**
613
+ * Policy group ID, such as `4739573`. This parameter will be disused soon. Another parameter `PolicyId` is recommended.
608
614
  * @type {number || null}
609
615
  */
610
616
  this.GroupId = null;
611
617
 
612
618
  /**
613
- * Required. The value is fixed to monitor.
619
+ * Alarm policy ID, such as `policy-gh892hg0`. At least one of the two parameters, `PolicyId` and `GroupId`, must be specified; otherwise, an error will be reported. `PolicyId` is preferred over `GroupId` when both of them are specified.
614
620
  * @type {string || null}
615
621
  */
616
- this.Module = null;
622
+ this.PolicyId = null;
617
623
 
618
624
  /**
619
625
  * Instance group ID.
@@ -627,12 +633,6 @@ class BindingPolicyObjectRequest extends AbstractModel {
627
633
  */
628
634
  this.Dimensions = null;
629
635
 
630
- /**
631
- * Alarm policy ID. If this parameter is used, `GroupId` will be ignored.
632
- * @type {string || null}
633
- */
634
- this.PolicyId = null;
635
-
636
636
  }
637
637
 
638
638
  /**
@@ -642,8 +642,9 @@ class BindingPolicyObjectRequest extends AbstractModel {
642
642
  if (!params) {
643
643
  return;
644
644
  }
645
- this.GroupId = 'GroupId' in params ? params.GroupId : null;
646
645
  this.Module = 'Module' in params ? params.Module : null;
646
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
647
+ this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
647
648
  this.InstanceGroupId = 'InstanceGroupId' in params ? params.InstanceGroupId : null;
648
649
 
649
650
  if (params.Dimensions) {
@@ -654,7 +655,6 @@ class BindingPolicyObjectRequest extends AbstractModel {
654
655
  this.Dimensions.push(obj);
655
656
  }
656
657
  }
657
- this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
658
658
 
659
659
  }
660
660
  }
@@ -2081,13 +2081,13 @@ class ModifyDBInstanceSpecRequest extends AbstractModel {
2081
2081
  this.SwitchTag = null;
2082
2082
 
2083
2083
  /**
2084
- * The earliest time to start a switch.
2084
+ * The earliest time to start a switch in the format of "HH:MM:SS", such as "01:00:00".
2085
2085
  * @type {string || null}
2086
2086
  */
2087
2087
  this.SwitchStartTime = null;
2088
2088
 
2089
2089
  /**
2090
- * The latest time to start a switch.
2090
+ * The latest time to start a switch in the format of "HH:MM:SS", such as "01:30:00".
2091
2091
  * @type {string || null}
2092
2092
  */
2093
2093
  this.SwitchEndTime = null;
@@ -2247,6 +2247,56 @@ class DescribeZonesRequest extends AbstractModel {
2247
2247
  }
2248
2248
  }
2249
2249
 
2250
+ /**
2251
+ * Purchasable specification details in an AZ in a region.
2252
+ * @class
2253
+ */
2254
+ class SpecInfo extends AbstractModel {
2255
+ constructor(){
2256
+ super();
2257
+
2258
+ /**
2259
+ * Region abbreviation, which corresponds to the `Region` field of `RegionSet`
2260
+ * @type {string || null}
2261
+ */
2262
+ this.Region = null;
2263
+
2264
+ /**
2265
+ * AZ abbreviate, which corresponds to the `Zone` field of `ZoneSet`
2266
+ * @type {string || null}
2267
+ */
2268
+ this.Zone = null;
2269
+
2270
+ /**
2271
+ * Specification details list
2272
+ * @type {Array.<SpecItemInfo> || null}
2273
+ */
2274
+ this.SpecItemInfoList = null;
2275
+
2276
+ }
2277
+
2278
+ /**
2279
+ * @private
2280
+ */
2281
+ deserialize(params) {
2282
+ if (!params) {
2283
+ return;
2284
+ }
2285
+ this.Region = 'Region' in params ? params.Region : null;
2286
+ this.Zone = 'Zone' in params ? params.Zone : null;
2287
+
2288
+ if (params.SpecItemInfoList) {
2289
+ this.SpecItemInfoList = new Array();
2290
+ for (let z in params.SpecItemInfoList) {
2291
+ let obj = new SpecItemInfo();
2292
+ obj.deserialize(params.SpecItemInfoList[z]);
2293
+ this.SpecItemInfoList.push(obj);
2294
+ }
2295
+ }
2296
+
2297
+ }
2298
+ }
2299
+
2250
2300
  /**
2251
2301
  * DescribeReadOnlyGroups response structure.
2252
2302
  * @class
@@ -2326,30 +2376,68 @@ class SetAutoRenewFlagResponse extends AbstractModel {
2326
2376
  }
2327
2377
 
2328
2378
  /**
2329
- * Purchasable specification details in an AZ in a region.
2379
+ * Network information.
2330
2380
  * @class
2331
2381
  */
2332
- class SpecInfo extends AbstractModel {
2382
+ class NetworkAccess extends AbstractModel {
2333
2383
  constructor(){
2334
2384
  super();
2335
2385
 
2336
2386
  /**
2337
- * Region abbreviation, which corresponds to the `Region` field of `RegionSet`
2387
+ * Network resource ID, instance ID or RO group ID (this field has been deprecated)
2388
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2338
2389
  * @type {string || null}
2339
2390
  */
2340
- this.Region = null;
2391
+ this.ResourceId = null;
2341
2392
 
2342
2393
  /**
2343
- * AZ abbreviate, which corresponds to the `Zone` field of `ZoneSet`
2394
+ * Resource type. Valid values: `1` (instance), `2` (RO group) (this field has been deprecated)
2395
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2396
+ * @type {number || null}
2397
+ */
2398
+ this.ResourceType = null;
2399
+
2400
+ /**
2401
+ * VPC ID
2402
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2344
2403
  * @type {string || null}
2345
2404
  */
2346
- this.Zone = null;
2405
+ this.VpcId = null;
2347
2406
 
2348
2407
  /**
2349
- * Specification details list
2350
- * @type {Array.<SpecItemInfo> || null}
2408
+ * IPv4 address
2409
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2410
+ * @type {string || null}
2351
2411
  */
2352
- this.SpecItemInfoList = null;
2412
+ this.Vip = null;
2413
+
2414
+ /**
2415
+ * IPv6 address
2416
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2417
+ * @type {string || null}
2418
+ */
2419
+ this.Vip6 = null;
2420
+
2421
+ /**
2422
+ * Access port
2423
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2424
+ * @type {number || null}
2425
+ */
2426
+ this.Vport = null;
2427
+
2428
+ /**
2429
+ * Subnet ID
2430
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2431
+ * @type {string || null}
2432
+ */
2433
+ this.SubnetId = null;
2434
+
2435
+ /**
2436
+ * Network status. Valid values: `1` (applying), `2` (in use), `3` (deleting), `4` (deleted)
2437
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2438
+ * @type {number || null}
2439
+ */
2440
+ this.VpcStatus = null;
2353
2441
 
2354
2442
  }
2355
2443
 
@@ -2360,17 +2448,14 @@ class SpecInfo extends AbstractModel {
2360
2448
  if (!params) {
2361
2449
  return;
2362
2450
  }
2363
- this.Region = 'Region' in params ? params.Region : null;
2364
- this.Zone = 'Zone' in params ? params.Zone : null;
2365
-
2366
- if (params.SpecItemInfoList) {
2367
- this.SpecItemInfoList = new Array();
2368
- for (let z in params.SpecItemInfoList) {
2369
- let obj = new SpecItemInfo();
2370
- obj.deserialize(params.SpecItemInfoList[z]);
2371
- this.SpecItemInfoList.push(obj);
2372
- }
2373
- }
2451
+ this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
2452
+ this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
2453
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
2454
+ this.Vip = 'Vip' in params ? params.Vip : null;
2455
+ this.Vip6 = 'Vip6' in params ? params.Vip6 : null;
2456
+ this.Vport = 'Vport' in params ? params.Vport : null;
2457
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
2458
+ this.VpcStatus = 'VpcStatus' in params ? params.VpcStatus : null;
2374
2459
 
2375
2460
  }
2376
2461
  }
@@ -2554,6 +2639,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2554
2639
  */
2555
2640
  this.DBInstanceNetInfo = null;
2556
2641
 
2642
+ /**
2643
+ * Network access list of the RO group
2644
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2645
+ * @type {Array.<NetworkAccess> || null}
2646
+ */
2647
+ this.NetworkAccessList = null;
2648
+
2557
2649
  }
2558
2650
 
2559
2651
  /**
@@ -2597,6 +2689,15 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2597
2689
  }
2598
2690
  }
2599
2691
 
2692
+ if (params.NetworkAccessList) {
2693
+ this.NetworkAccessList = new Array();
2694
+ for (let z in params.NetworkAccessList) {
2695
+ let obj = new NetworkAccess();
2696
+ obj.deserialize(params.NetworkAccessList[z]);
2697
+ this.NetworkAccessList.push(obj);
2698
+ }
2699
+ }
2700
+
2600
2701
  }
2601
2702
  }
2602
2703
 
@@ -3413,6 +3514,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3413
3514
  */
3414
3515
  this.TagList = null;
3415
3516
 
3517
+ /**
3518
+ * Database kernel version
3519
+ Note: this field may return `null`, indicating that no valid values can be obtained.
3520
+ * @type {string || null}
3521
+ */
3522
+ this.DBKernelVersion = null;
3523
+
3416
3524
  }
3417
3525
 
3418
3526
  /**
@@ -3461,6 +3569,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3461
3569
  this.TagList.push(obj);
3462
3570
  }
3463
3571
  }
3572
+ this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
3464
3573
 
3465
3574
  }
3466
3575
  }
@@ -3745,7 +3854,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3745
3854
  this.Name = null;
3746
3855
 
3747
3856
  /**
3748
- * Value type of the parameter. Valid values: `integer`, `real` (floating-point), `bool`, `enum`, `mutil_enum` (this type of parameter can be set to multiple enumerated values)
3857
+ * Value type of the parameter. Valid values: `integer`, `real` (floating-point), `bool`, `enum`, `mutil_enum` (this type of parameter can be set to multiple enumerated values).
3858
+ For an `integer` or `real` parameter, the `Min` field represents the minimum value and the `Max` field the maximum value.
3859
+ For a `bool` parameter, the valid values include `true` and `false`;
3860
+ For an `enum` or `mutil_enum` parameter, the `EnumValue` field represents the valid values.
3749
3861
  Note: this field may return `null`, indicating that no valid values can be obtained.
3750
3862
  * @type {string || null}
3751
3863
  */
@@ -4208,25 +4320,25 @@ class DescribeSlowQueryAnalysisRequest extends AbstractModel {
4208
4320
  this.DatabaseName = null;
4209
4321
 
4210
4322
  /**
4211
- * Sort by field. Valid values: `CallNum`, `CostTime`, `AvgCostTime`.
4323
+ * Sort by field. Valid values: `CallNum`, `CostTime`, `AvgCostTime`. Default value: `CallNum`.
4212
4324
  * @type {string || null}
4213
4325
  */
4214
4326
  this.OrderBy = null;
4215
4327
 
4216
4328
  /**
4217
- * Sorting order. Valid values: `asc` (ascending), `desc` (descending).
4329
+ * Sorting order. Valid values: `asc` (ascending), `desc` (descending). Default value: `desc`.
4218
4330
  * @type {string || null}
4219
4331
  */
4220
4332
  this.OrderByType = null;
4221
4333
 
4222
4334
  /**
4223
- * Number of entries per page. Value range: [1,100].
4335
+ * Number of entries per page. Value range: [1,100]. Default value: `50`.
4224
4336
  * @type {number || null}
4225
4337
  */
4226
4338
  this.Limit = null;
4227
4339
 
4228
4340
  /**
4229
- * Pagination offset. Value range: [0,INF).
4341
+ * Pagination offset. Value range: [0,INF). Default value: `0`.
4230
4342
  * @type {number || null}
4231
4343
  */
4232
4344
  this.Offset = null;
@@ -4528,7 +4640,7 @@ class DBInstance extends AbstractModel {
4528
4640
  this.DBCharset = null;
4529
4641
 
4530
4642
  /**
4531
- * PostgreSQL kernel version
4643
+ * PostgreSQL major version
4532
4644
  * @type {string || null}
4533
4645
  */
4534
4646
  this.DBVersion = null;
@@ -4634,6 +4746,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
4634
4746
  */
4635
4747
  this.OfflineTime = null;
4636
4748
 
4749
+ /**
4750
+ * Database kernel version
4751
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4752
+ * @type {string || null}
4753
+ */
4754
+ this.DBKernelVersion = null;
4755
+
4756
+ /**
4757
+ * Network access list of the instance
4758
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4759
+ * @type {Array.<NetworkAccess> || null}
4760
+ */
4761
+ this.NetworkAccessList = null;
4762
+
4637
4763
  }
4638
4764
 
4639
4765
  /**
@@ -4691,6 +4817,16 @@ Note: this field may return null, indicating that no valid values can be obtaine
4691
4817
  this.ReadOnlyInstanceNum = 'ReadOnlyInstanceNum' in params ? params.ReadOnlyInstanceNum : null;
4692
4818
  this.StatusInReadonlyGroup = 'StatusInReadonlyGroup' in params ? params.StatusInReadonlyGroup : null;
4693
4819
  this.OfflineTime = 'OfflineTime' in params ? params.OfflineTime : null;
4820
+ this.DBKernelVersion = 'DBKernelVersion' in params ? params.DBKernelVersion : null;
4821
+
4822
+ if (params.NetworkAccessList) {
4823
+ this.NetworkAccessList = new Array();
4824
+ for (let z in params.NetworkAccessList) {
4825
+ let obj = new NetworkAccess();
4826
+ obj.deserialize(params.NetworkAccessList[z]);
4827
+ this.NetworkAccessList.push(obj);
4828
+ }
4829
+ }
4694
4830
 
4695
4831
  }
4696
4832
  }
@@ -7111,9 +7247,10 @@ module.exports = {
7111
7247
  ModifyAccountRemarkResponse: ModifyAccountRemarkResponse,
7112
7248
  UpgradeDBInstanceRequest: UpgradeDBInstanceRequest,
7113
7249
  DescribeZonesRequest: DescribeZonesRequest,
7250
+ SpecInfo: SpecInfo,
7114
7251
  DescribeReadOnlyGroupsResponse: DescribeReadOnlyGroupsResponse,
7115
7252
  SetAutoRenewFlagResponse: SetAutoRenewFlagResponse,
7116
- SpecInfo: SpecInfo,
7253
+ NetworkAccess: NetworkAccess,
7117
7254
  ResetAccountPasswordResponse: ResetAccountPasswordResponse,
7118
7255
  ModifyDBInstancesProjectResponse: ModifyDBInstancesProjectResponse,
7119
7256
  ReadOnlyGroup: ReadOnlyGroup,
@@ -58,9 +58,10 @@ const ModifyDBInstanceSpecRequest = models.ModifyDBInstanceSpecRequest;
58
58
  const ModifyAccountRemarkResponse = models.ModifyAccountRemarkResponse;
59
59
  const UpgradeDBInstanceRequest = models.UpgradeDBInstanceRequest;
60
60
  const DescribeZonesRequest = models.DescribeZonesRequest;
61
+ const SpecInfo = models.SpecInfo;
61
62
  const DescribeReadOnlyGroupsResponse = models.DescribeReadOnlyGroupsResponse;
62
63
  const SetAutoRenewFlagResponse = models.SetAutoRenewFlagResponse;
63
- const SpecInfo = models.SpecInfo;
64
+ const NetworkAccess = models.NetworkAccess;
64
65
  const ResetAccountPasswordResponse = models.ResetAccountPasswordResponse;
65
66
  const ModifyDBInstancesProjectResponse = models.ModifyDBInstancesProjectResponse;
66
67
  const ReadOnlyGroup = models.ReadOnlyGroup;
@@ -381,6 +381,40 @@ Note: this field may return `null`, indicating that no valid values can be obtai
381
381
  }
382
382
  }
383
383
 
384
+ /**
385
+ * Parameters of the protocol
386
+ * @class
387
+ */
388
+ class ProtocolParams extends AbstractModel {
389
+ constructor(){
390
+ super();
391
+
392
+ /**
393
+ * Parameters of WebSockets protocol
394
+ Note: this field may return `null`, indicating that no valid values can be obtained.
395
+ * @type {WSParams || null}
396
+ */
397
+ this.WSParams = null;
398
+
399
+ }
400
+
401
+ /**
402
+ * @private
403
+ */
404
+ deserialize(params) {
405
+ if (!params) {
406
+ return;
407
+ }
408
+
409
+ if (params.WSParams) {
410
+ let obj = new WSParams();
411
+ obj.deserialize(params.WSParams)
412
+ this.WSParams = obj;
413
+ }
414
+
415
+ }
416
+ }
417
+
384
418
  /**
385
419
  * Version routing configuration of alias
386
420
  * @class
@@ -1753,6 +1787,35 @@ Note: This field may return null, indicating that no valid value was found.
1753
1787
  }
1754
1788
  }
1755
1789
 
1790
+ /**
1791
+ * Parameters of the specified protocol
1792
+ * @class
1793
+ */
1794
+ class WSParams extends AbstractModel {
1795
+ constructor(){
1796
+ super();
1797
+
1798
+ /**
1799
+ * Idle timeout period in seconds. Default: 15; range: 1 to 1800
1800
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1801
+ * @type {number || null}
1802
+ */
1803
+ this.IdleTimeOut = null;
1804
+
1805
+ }
1806
+
1807
+ /**
1808
+ * @private
1809
+ */
1810
+ deserialize(params) {
1811
+ if (!params) {
1812
+ return;
1813
+ }
1814
+ this.IdleTimeOut = 'IdleTimeOut' in params ? params.IdleTimeOut : null;
1815
+
1816
+ }
1817
+ }
1818
+
1756
1819
  /**
1757
1820
  * GetAlias request structure.
1758
1821
  * @class
@@ -2028,6 +2091,12 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
2028
2091
  */
2029
2092
  this.Role = null;
2030
2093
 
2094
+ /**
2095
+ * Specifies whether to [install dependency online](https://intl.cloud.tencent.com/document/product/583/37920?from_cn_redirect=1). `TRUE`: yes. Default to `FALSE`. It is only available for Node.js functions.
2096
+ * @type {string || null}
2097
+ */
2098
+ this.InstallDependency = null;
2099
+
2031
2100
  /**
2032
2101
  * CLS logset ID to which logs are shipped
2033
2102
  * @type {string || null}
@@ -2082,6 +2151,12 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
2082
2151
  */
2083
2152
  this.InitTimeout = null;
2084
2153
 
2154
+ /**
2155
+ * Parameters of the specified protocol
2156
+ * @type {ProtocolParams || null}
2157
+ */
2158
+ this.ProtocolParams = null;
2159
+
2085
2160
  }
2086
2161
 
2087
2162
  /**
@@ -2110,6 +2185,7 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
2110
2185
  this.VpcConfig = obj;
2111
2186
  }
2112
2187
  this.Role = 'Role' in params ? params.Role : null;
2188
+ this.InstallDependency = 'InstallDependency' in params ? params.InstallDependency : null;
2113
2189
  this.ClsLogsetId = 'ClsLogsetId' in params ? params.ClsLogsetId : null;
2114
2190
  this.ClsTopicId = 'ClsTopicId' in params ? params.ClsTopicId : null;
2115
2191
  this.Publish = 'Publish' in params ? params.Publish : null;
@@ -2143,6 +2219,12 @@ class UpdateFunctionConfigurationRequest extends AbstractModel {
2143
2219
  }
2144
2220
  this.InitTimeout = 'InitTimeout' in params ? params.InitTimeout : null;
2145
2221
 
2222
+ if (params.ProtocolParams) {
2223
+ let obj = new ProtocolParams();
2224
+ obj.deserialize(params.ProtocolParams)
2225
+ this.ProtocolParams = obj;
2226
+ }
2227
+
2146
2228
  }
2147
2229
  }
2148
2230
 
@@ -3495,6 +3577,12 @@ class CreateFunctionRequest extends AbstractModel {
3495
3577
  */
3496
3578
  this.Role = null;
3497
3579
 
3580
+ /**
3581
+ * Specifies whether to [install dependency online](https://intl.cloud.tencent.com/document/product/583/37920?from_cn_redirect=1). `TRUE`: yes. Default to `FALSE`. It is only available for Node.js functions.
3582
+ * @type {string || null}
3583
+ */
3584
+ this.InstallDependency = null;
3585
+
3498
3586
  /**
3499
3587
  * CLS Logset ID to which the function logs are shipped
3500
3588
  * @type {string || null}
@@ -3567,6 +3655,18 @@ class CreateFunctionRequest extends AbstractModel {
3567
3655
  */
3568
3656
  this.TraceEnable = null;
3569
3657
 
3658
+ /**
3659
+ * Protocols supported by HTTP-triggered functions. Valid value: `WS` (WebSockets)
3660
+ * @type {string || null}
3661
+ */
3662
+ this.ProtocolType = null;
3663
+
3664
+ /**
3665
+ * Parameters of the specified protocol
3666
+ * @type {ProtocolParams || null}
3667
+ */
3668
+ this.ProtocolParams = null;
3669
+
3570
3670
  }
3571
3671
 
3572
3672
  /**
@@ -3602,6 +3702,7 @@ class CreateFunctionRequest extends AbstractModel {
3602
3702
  }
3603
3703
  this.Namespace = 'Namespace' in params ? params.Namespace : null;
3604
3704
  this.Role = 'Role' in params ? params.Role : null;
3705
+ this.InstallDependency = 'InstallDependency' in params ? params.InstallDependency : null;
3605
3706
  this.ClsLogsetId = 'ClsLogsetId' in params ? params.ClsLogsetId : null;
3606
3707
  this.ClsTopicId = 'ClsTopicId' in params ? params.ClsTopicId : null;
3607
3708
  this.Type = 'Type' in params ? params.Type : null;
@@ -3645,6 +3746,13 @@ class CreateFunctionRequest extends AbstractModel {
3645
3746
  }
3646
3747
  this.AsyncRunEnable = 'AsyncRunEnable' in params ? params.AsyncRunEnable : null;
3647
3748
  this.TraceEnable = 'TraceEnable' in params ? params.TraceEnable : null;
3749
+ this.ProtocolType = 'ProtocolType' in params ? params.ProtocolType : null;
3750
+
3751
+ if (params.ProtocolParams) {
3752
+ let obj = new ProtocolParams();
3753
+ obj.deserialize(params.ProtocolParams)
3754
+ this.ProtocolParams = obj;
3755
+ }
3648
3756
 
3649
3757
  }
3650
3758
  }
@@ -4876,6 +4984,20 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4876
4984
  */
4877
4985
  this.TraceEnable = null;
4878
4986
 
4987
+ /**
4988
+ * Protocols supported by HTTP-triggered functions. It supports WebSockets for now.
4989
+ Note: This field may return null, indicating that no valid value was found.
4990
+ * @type {string || null}
4991
+ */
4992
+ this.ProtocolType = null;
4993
+
4994
+ /**
4995
+ * Parameters of the specified protocol
4996
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4997
+ * @type {ProtocolParams || null}
4998
+ */
4999
+ this.ProtocolParams = null;
5000
+
4879
5001
  /**
4880
5002
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4881
5003
  * @type {string || null}
@@ -5000,6 +5122,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
5000
5122
  }
5001
5123
  this.AsyncRunEnable = 'AsyncRunEnable' in params ? params.AsyncRunEnable : null;
5002
5124
  this.TraceEnable = 'TraceEnable' in params ? params.TraceEnable : null;
5125
+ this.ProtocolType = 'ProtocolType' in params ? params.ProtocolType : null;
5126
+
5127
+ if (params.ProtocolParams) {
5128
+ let obj = new ProtocolParams();
5129
+ obj.deserialize(params.ProtocolParams)
5130
+ this.ProtocolParams = obj;
5131
+ }
5003
5132
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
5004
5133
 
5005
5134
  }
@@ -7200,6 +7329,7 @@ module.exports = {
7200
7329
  ListAliasesResponse: ListAliasesResponse,
7201
7330
  DeleteLayerVersionResponse: DeleteLayerVersionResponse,
7202
7331
  GetReservedConcurrencyConfigResponse: GetReservedConcurrencyConfigResponse,
7332
+ ProtocolParams: ProtocolParams,
7203
7333
  RoutingConfig: RoutingConfig,
7204
7334
  DeleteProvisionedConcurrencyConfigResponse: DeleteProvisionedConcurrencyConfigResponse,
7205
7335
  VersionWeight: VersionWeight,
@@ -7230,6 +7360,7 @@ module.exports = {
7230
7360
  PublishVersionRequest: PublishVersionRequest,
7231
7361
  DeleteAliasRequest: DeleteAliasRequest,
7232
7362
  ListVersionByFunctionResponse: ListVersionByFunctionResponse,
7363
+ WSParams: WSParams,
7233
7364
  GetAliasRequest: GetAliasRequest,
7234
7365
  CreateNamespaceResponse: CreateNamespaceResponse,
7235
7366
  PublicNetConfigOut: PublicNetConfigOut,
@@ -23,6 +23,7 @@ const GetProvisionedConcurrencyConfigRequest = models.GetProvisionedConcurrencyC
23
23
  const ListAliasesResponse = models.ListAliasesResponse;
24
24
  const DeleteLayerVersionResponse = models.DeleteLayerVersionResponse;
25
25
  const GetReservedConcurrencyConfigResponse = models.GetReservedConcurrencyConfigResponse;
26
+ const ProtocolParams = models.ProtocolParams;
26
27
  const RoutingConfig = models.RoutingConfig;
27
28
  const DeleteProvisionedConcurrencyConfigResponse = models.DeleteProvisionedConcurrencyConfigResponse;
28
29
  const VersionWeight = models.VersionWeight;
@@ -53,6 +54,7 @@ const ListNamespacesRequest = models.ListNamespacesRequest;
53
54
  const PublishVersionRequest = models.PublishVersionRequest;
54
55
  const DeleteAliasRequest = models.DeleteAliasRequest;
55
56
  const ListVersionByFunctionResponse = models.ListVersionByFunctionResponse;
57
+ const WSParams = models.WSParams;
56
58
  const GetAliasRequest = models.GetAliasRequest;
57
59
  const CreateNamespaceResponse = models.CreateNamespaceResponse;
58
60
  const PublicNetConfigOut = models.PublicNetConfigOut;