tencentcloud-sdk-nodejs-intl-en 3.0.344 → 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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.345";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -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;
|