tencentcloud-sdk-nodejs-intl-en 3.0.342 → 3.0.346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/cdb/v20170320/cdb_client.js +4 -2
- package/tencentcloud/cdb/v20170320/models.js +18 -4
- package/tencentcloud/cdn/v20180606/cdn_client.js +12 -3
- package/tencentcloud/cdn/v20180606/models.js +1145 -89
- package/tencentcloud/clb/v20180317/clb_client.js +15 -1
- package/tencentcloud/clb/v20180317/models.js +138 -29
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/postgres/v20170312/models.js +2 -2
- package/tencentcloud/scf/v20180416/models.js +131 -0
- package/tencentcloud/scf/v20180416/scf_client.js +2 -0
|
@@ -57,7 +57,7 @@ const ZoneInfo = models.ZoneInfo;
|
|
|
57
57
|
const RegisterTargetsWithClassicalLBResponse = models.RegisterTargetsWithClassicalLBResponse;
|
|
58
58
|
const DescribeTargetGroupsResponse = models.DescribeTargetGroupsResponse;
|
|
59
59
|
const LoadBalancerHealth = models.LoadBalancerHealth;
|
|
60
|
-
const
|
|
60
|
+
const ModifyLoadBalancerSlaResponse = models.ModifyLoadBalancerSlaResponse;
|
|
61
61
|
const DeleteLoadBalancerListenersRequest = models.DeleteLoadBalancerListenersRequest;
|
|
62
62
|
const BlockedIP = models.BlockedIP;
|
|
63
63
|
const ModifyRuleResponse = models.ModifyRuleResponse;
|
|
@@ -71,6 +71,7 @@ const DescribeTaskStatusResponse = models.DescribeTaskStatusResponse;
|
|
|
71
71
|
const BatchRegisterTargetsResponse = models.BatchRegisterTargetsResponse;
|
|
72
72
|
const ModifyLoadBalancerAttributesRequest = models.ModifyLoadBalancerAttributesRequest;
|
|
73
73
|
const DescribeLBListenersRequest = models.DescribeLBListenersRequest;
|
|
74
|
+
const SlaUpdateParam = models.SlaUpdateParam;
|
|
74
75
|
const Target = models.Target;
|
|
75
76
|
const DescribeLoadBalancerTrafficRequest = models.DescribeLoadBalancerTrafficRequest;
|
|
76
77
|
const DescribeBlockIPListRequest = models.DescribeBlockIPListRequest;
|
|
@@ -172,10 +173,12 @@ const SnatIp = models.SnatIp;
|
|
|
172
173
|
const DescribeBlockIPTaskResponse = models.DescribeBlockIPTaskResponse;
|
|
173
174
|
const DescribeClassicalLBListenersResponse = models.DescribeClassicalLBListenersResponse;
|
|
174
175
|
const ModifyTargetGroupAttributeResponse = models.ModifyTargetGroupAttributeResponse;
|
|
176
|
+
const ModifyLoadBalancerSlaRequest = models.ModifyLoadBalancerSlaRequest;
|
|
175
177
|
const DescribeBlockIPTaskRequest = models.DescribeBlockIPTaskRequest;
|
|
176
178
|
const CreateLoadBalancerResponse = models.CreateLoadBalancerResponse;
|
|
177
179
|
const DescribeRewriteResponse = models.DescribeRewriteResponse;
|
|
178
180
|
const Quota = models.Quota;
|
|
181
|
+
const SetLoadBalancerClsLogRequest = models.SetLoadBalancerClsLogRequest;
|
|
179
182
|
const LBItem = models.LBItem;
|
|
180
183
|
const DeleteLoadBalancerListenersResponse = models.DeleteLoadBalancerListenersResponse;
|
|
181
184
|
const DescribeListenersRequest = models.DescribeListenersRequest;
|
|
@@ -222,6 +225,17 @@ This is an async API. After it is returned successfully, you can call the Descri
|
|
|
222
225
|
this.request("RegisterTargets", req, resp, cb);
|
|
223
226
|
}
|
|
224
227
|
|
|
228
|
+
/**
|
|
229
|
+
* This API is used to upgrade shared CLB instances to LCU-supported CLB instances (downgrade is not allowed) and upgrade/downgrade the specification of LCU-supported instances.
|
|
230
|
+
* @param {ModifyLoadBalancerSlaRequest} req
|
|
231
|
+
* @param {function(string, ModifyLoadBalancerSlaResponse):void} cb
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
ModifyLoadBalancerSla(req, cb) {
|
|
235
|
+
let resp = new ModifyLoadBalancerSlaResponse();
|
|
236
|
+
this.request("ModifyLoadBalancerSla", req, resp, cb);
|
|
237
|
+
}
|
|
238
|
+
|
|
225
239
|
/**
|
|
226
240
|
* This API is used to query the list of CLB instances associated with a certificate in a region by certificate ID.
|
|
227
241
|
* @param {DescribeLoadBalancerListByCertIdRequest} req
|
|
@@ -2057,36 +2057,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2057
2057
|
}
|
|
2058
2058
|
|
|
2059
2059
|
/**
|
|
2060
|
-
*
|
|
2060
|
+
* ModifyLoadBalancerSla response structure.
|
|
2061
2061
|
* @class
|
|
2062
2062
|
*/
|
|
2063
|
-
class
|
|
2063
|
+
class ModifyLoadBalancerSlaResponse extends AbstractModel {
|
|
2064
2064
|
constructor(){
|
|
2065
2065
|
super();
|
|
2066
2066
|
|
|
2067
2067
|
/**
|
|
2068
|
-
*
|
|
2069
|
-
* @type {string || null}
|
|
2070
|
-
*/
|
|
2071
|
-
this.LoadBalancerId = null;
|
|
2072
|
-
|
|
2073
|
-
/**
|
|
2074
|
-
* CLS logset ID
|
|
2075
|
-
* @type {string || null}
|
|
2076
|
-
*/
|
|
2077
|
-
this.LogSetId = null;
|
|
2078
|
-
|
|
2079
|
-
/**
|
|
2080
|
-
* CLS log topic ID
|
|
2081
|
-
* @type {string || null}
|
|
2082
|
-
*/
|
|
2083
|
-
this.LogTopicId = null;
|
|
2084
|
-
|
|
2085
|
-
/**
|
|
2086
|
-
* Log type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
|
|
2068
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2087
2069
|
* @type {string || null}
|
|
2088
2070
|
*/
|
|
2089
|
-
this.
|
|
2071
|
+
this.RequestId = null;
|
|
2090
2072
|
|
|
2091
2073
|
}
|
|
2092
2074
|
|
|
@@ -2097,10 +2079,7 @@ class SetLoadBalancerClsLogRequest extends AbstractModel {
|
|
|
2097
2079
|
if (!params) {
|
|
2098
2080
|
return;
|
|
2099
2081
|
}
|
|
2100
|
-
this.
|
|
2101
|
-
this.LogSetId = 'LogSetId' in params ? params.LogSetId : null;
|
|
2102
|
-
this.LogTopicId = 'LogTopicId' in params ? params.LogTopicId : null;
|
|
2103
|
-
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
2082
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2104
2083
|
|
|
2105
2084
|
}
|
|
2106
2085
|
}
|
|
@@ -2682,6 +2661,41 @@ class DescribeLBListenersRequest extends AbstractModel {
|
|
|
2682
2661
|
}
|
|
2683
2662
|
}
|
|
2684
2663
|
|
|
2664
|
+
/**
|
|
2665
|
+
* Parameter for instance specification adjustment
|
|
2666
|
+
* @class
|
|
2667
|
+
*/
|
|
2668
|
+
class SlaUpdateParam extends AbstractModel {
|
|
2669
|
+
constructor(){
|
|
2670
|
+
super();
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* ID of the CLB instance
|
|
2674
|
+
* @type {string || null}
|
|
2675
|
+
*/
|
|
2676
|
+
this.LoadBalancerId = null;
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* Target instance specification
|
|
2680
|
+
* @type {string || null}
|
|
2681
|
+
*/
|
|
2682
|
+
this.SlaType = null;
|
|
2683
|
+
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* @private
|
|
2688
|
+
*/
|
|
2689
|
+
deserialize(params) {
|
|
2690
|
+
if (!params) {
|
|
2691
|
+
return;
|
|
2692
|
+
}
|
|
2693
|
+
this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
|
|
2694
|
+
this.SlaType = 'SlaType' in params ? params.SlaType : null;
|
|
2695
|
+
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
|
|
2685
2699
|
/**
|
|
2686
2700
|
* Redirect target, i.e., the real server bound to a CLB
|
|
2687
2701
|
* @class
|
|
@@ -7697,13 +7711,13 @@ class CreateLoadBalancerSnatIpsRequest extends AbstractModel {
|
|
|
7697
7711
|
this.LoadBalancerId = null;
|
|
7698
7712
|
|
|
7699
7713
|
/**
|
|
7700
|
-
* Information of the SNAT IP to be added. You can
|
|
7714
|
+
* Information of the SNAT IP to be added. You can specify a SNAT IP or use the one automatically assigned by a subnet.
|
|
7701
7715
|
* @type {Array.<SnatIp> || null}
|
|
7702
7716
|
*/
|
|
7703
7717
|
this.SnatIps = null;
|
|
7704
7718
|
|
|
7705
7719
|
/**
|
|
7706
|
-
* Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available.
|
|
7720
|
+
* Number of SNAT IPs to be added. This parameter is used in conjunction with `SnatIps`. Note that if `Ip` is specified in `SnapIps`, this parameter is not available. It defaults to `1` and the upper limit is `10`.
|
|
7707
7721
|
* @type {number || null}
|
|
7708
7722
|
*/
|
|
7709
7723
|
this.Number = null;
|
|
@@ -8314,6 +8328,42 @@ class ModifyTargetGroupAttributeResponse extends AbstractModel {
|
|
|
8314
8328
|
}
|
|
8315
8329
|
}
|
|
8316
8330
|
|
|
8331
|
+
/**
|
|
8332
|
+
* ModifyLoadBalancerSla request structure.
|
|
8333
|
+
* @class
|
|
8334
|
+
*/
|
|
8335
|
+
class ModifyLoadBalancerSlaRequest extends AbstractModel {
|
|
8336
|
+
constructor(){
|
|
8337
|
+
super();
|
|
8338
|
+
|
|
8339
|
+
/**
|
|
8340
|
+
* ID of the LCU-supported CLB instance, and the target specification
|
|
8341
|
+
* @type {Array.<SlaUpdateParam> || null}
|
|
8342
|
+
*/
|
|
8343
|
+
this.LoadBalancerSla = null;
|
|
8344
|
+
|
|
8345
|
+
}
|
|
8346
|
+
|
|
8347
|
+
/**
|
|
8348
|
+
* @private
|
|
8349
|
+
*/
|
|
8350
|
+
deserialize(params) {
|
|
8351
|
+
if (!params) {
|
|
8352
|
+
return;
|
|
8353
|
+
}
|
|
8354
|
+
|
|
8355
|
+
if (params.LoadBalancerSla) {
|
|
8356
|
+
this.LoadBalancerSla = new Array();
|
|
8357
|
+
for (let z in params.LoadBalancerSla) {
|
|
8358
|
+
let obj = new SlaUpdateParam();
|
|
8359
|
+
obj.deserialize(params.LoadBalancerSla[z]);
|
|
8360
|
+
this.LoadBalancerSla.push(obj);
|
|
8361
|
+
}
|
|
8362
|
+
}
|
|
8363
|
+
|
|
8364
|
+
}
|
|
8365
|
+
}
|
|
8366
|
+
|
|
8317
8367
|
/**
|
|
8318
8368
|
* DescribeBlockIPTask request structure.
|
|
8319
8369
|
* @class
|
|
@@ -8468,6 +8518,62 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
8468
8518
|
}
|
|
8469
8519
|
}
|
|
8470
8520
|
|
|
8521
|
+
/**
|
|
8522
|
+
* SetLoadBalancerClsLog request structure.
|
|
8523
|
+
* @class
|
|
8524
|
+
*/
|
|
8525
|
+
class SetLoadBalancerClsLogRequest extends AbstractModel {
|
|
8526
|
+
constructor(){
|
|
8527
|
+
super();
|
|
8528
|
+
|
|
8529
|
+
/**
|
|
8530
|
+
* CLB instance ID
|
|
8531
|
+
* @type {string || null}
|
|
8532
|
+
*/
|
|
8533
|
+
this.LoadBalancerId = null;
|
|
8534
|
+
|
|
8535
|
+
/**
|
|
8536
|
+
* CLS logset ID
|
|
8537
|
+
<li>Enter the ID of logset you need to add or update. You can acquire the ID by invoking [DescribeLogsets](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li>
|
|
8538
|
+
<li>To delete the log set, set this parameter to `null`.</li>
|
|
8539
|
+
* @type {string || null}
|
|
8540
|
+
*/
|
|
8541
|
+
this.LogSetId = null;
|
|
8542
|
+
|
|
8543
|
+
/**
|
|
8544
|
+
* CLS log topic ID
|
|
8545
|
+
<li>Enter the ID of log topic you need to add or update. You can acquire the ID by invoking [DescribeTopics](https://intl.cloud.tencent.com/document/product/614/56454?from_cn_redirect=1).</li>
|
|
8546
|
+
<li>To delete the log set, set this parameter to `null`.</li>
|
|
8547
|
+
* @type {string || null}
|
|
8548
|
+
*/
|
|
8549
|
+
this.LogTopicId = null;
|
|
8550
|
+
|
|
8551
|
+
/**
|
|
8552
|
+
* Log type:
|
|
8553
|
+
<li>`ACCESS`: access logs</li>
|
|
8554
|
+
<li>`HEALTH`: health check logs</li>
|
|
8555
|
+
Default: `ACCESS`
|
|
8556
|
+
* @type {string || null}
|
|
8557
|
+
*/
|
|
8558
|
+
this.LogType = null;
|
|
8559
|
+
|
|
8560
|
+
}
|
|
8561
|
+
|
|
8562
|
+
/**
|
|
8563
|
+
* @private
|
|
8564
|
+
*/
|
|
8565
|
+
deserialize(params) {
|
|
8566
|
+
if (!params) {
|
|
8567
|
+
return;
|
|
8568
|
+
}
|
|
8569
|
+
this.LoadBalancerId = 'LoadBalancerId' in params ? params.LoadBalancerId : null;
|
|
8570
|
+
this.LogSetId = 'LogSetId' in params ? params.LogSetId : null;
|
|
8571
|
+
this.LogTopicId = 'LogTopicId' in params ? params.LogTopicId : null;
|
|
8572
|
+
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
8573
|
+
|
|
8574
|
+
}
|
|
8575
|
+
}
|
|
8576
|
+
|
|
8471
8577
|
/**
|
|
8472
8578
|
* Querying the binding relation of the CLB instance
|
|
8473
8579
|
* @class
|
|
@@ -10028,7 +10134,7 @@ module.exports = {
|
|
|
10028
10134
|
RegisterTargetsWithClassicalLBResponse: RegisterTargetsWithClassicalLBResponse,
|
|
10029
10135
|
DescribeTargetGroupsResponse: DescribeTargetGroupsResponse,
|
|
10030
10136
|
LoadBalancerHealth: LoadBalancerHealth,
|
|
10031
|
-
|
|
10137
|
+
ModifyLoadBalancerSlaResponse: ModifyLoadBalancerSlaResponse,
|
|
10032
10138
|
DeleteLoadBalancerListenersRequest: DeleteLoadBalancerListenersRequest,
|
|
10033
10139
|
BlockedIP: BlockedIP,
|
|
10034
10140
|
ModifyRuleResponse: ModifyRuleResponse,
|
|
@@ -10042,6 +10148,7 @@ module.exports = {
|
|
|
10042
10148
|
BatchRegisterTargetsResponse: BatchRegisterTargetsResponse,
|
|
10043
10149
|
ModifyLoadBalancerAttributesRequest: ModifyLoadBalancerAttributesRequest,
|
|
10044
10150
|
DescribeLBListenersRequest: DescribeLBListenersRequest,
|
|
10151
|
+
SlaUpdateParam: SlaUpdateParam,
|
|
10045
10152
|
Target: Target,
|
|
10046
10153
|
DescribeLoadBalancerTrafficRequest: DescribeLoadBalancerTrafficRequest,
|
|
10047
10154
|
DescribeBlockIPListRequest: DescribeBlockIPListRequest,
|
|
@@ -10143,10 +10250,12 @@ module.exports = {
|
|
|
10143
10250
|
DescribeBlockIPTaskResponse: DescribeBlockIPTaskResponse,
|
|
10144
10251
|
DescribeClassicalLBListenersResponse: DescribeClassicalLBListenersResponse,
|
|
10145
10252
|
ModifyTargetGroupAttributeResponse: ModifyTargetGroupAttributeResponse,
|
|
10253
|
+
ModifyLoadBalancerSlaRequest: ModifyLoadBalancerSlaRequest,
|
|
10146
10254
|
DescribeBlockIPTaskRequest: DescribeBlockIPTaskRequest,
|
|
10147
10255
|
CreateLoadBalancerResponse: CreateLoadBalancerResponse,
|
|
10148
10256
|
DescribeRewriteResponse: DescribeRewriteResponse,
|
|
10149
10257
|
Quota: Quota,
|
|
10258
|
+
SetLoadBalancerClsLogRequest: SetLoadBalancerClsLogRequest,
|
|
10150
10259
|
LBItem: LBItem,
|
|
10151
10260
|
DeleteLoadBalancerListenersResponse: DeleteLoadBalancerListenersResponse,
|
|
10152
10261
|
DescribeListenersRequest: DescribeListenersRequest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.346";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -2640,7 +2640,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2640
2640
|
this.DBInstanceNetInfo = null;
|
|
2641
2641
|
|
|
2642
2642
|
/**
|
|
2643
|
-
* Network
|
|
2643
|
+
* Network access list of the RO group
|
|
2644
2644
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
2645
2645
|
* @type {Array.<NetworkAccess> || null}
|
|
2646
2646
|
*/
|
|
@@ -4754,7 +4754,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
4754
4754
|
this.DBKernelVersion = null;
|
|
4755
4755
|
|
|
4756
4756
|
/**
|
|
4757
|
-
* Network
|
|
4757
|
+
* Network access list of the instance
|
|
4758
4758
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4759
4759
|
* @type {Array.<NetworkAccess> || null}
|
|
4760
4760
|
*/
|
|
@@ -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;
|