tencentcloud-sdk-nodejs-intl-en 3.0.355 → 3.0.356
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/cls/v20201016/cls_client.js +75 -21
- package/tencentcloud/cls/v20201016/models.js +564 -120
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +13 -0
- package/tencentcloud/faceid/v20180301/models.js +114 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +13 -0
- package/tencentcloud/mariadb/v20170312/models.js +72 -0
- package/tencentcloud/mongodb/v20190725/models.js +501 -43
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +18 -1
|
@@ -1127,35 +1127,37 @@ class DescribeAlarmsRequest extends AbstractModel {
|
|
|
1127
1127
|
/**
|
|
1128
1128
|
* <br><li> name
|
|
1129
1129
|
|
|
1130
|
-
Filter by **alarm policy name
|
|
1131
|
-
Type:
|
|
1130
|
+
Filter by **alarm policy name**
|
|
1131
|
+
Type: string
|
|
1132
1132
|
|
|
1133
1133
|
Required: no
|
|
1134
1134
|
|
|
1135
1135
|
<br><li> alarmId
|
|
1136
1136
|
|
|
1137
|
-
Filter by **alarm policy ID
|
|
1138
|
-
Type:
|
|
1137
|
+
Filter by **alarm policy ID**
|
|
1138
|
+
Type: string
|
|
1139
1139
|
|
|
1140
1140
|
Required: no
|
|
1141
1141
|
|
|
1142
1142
|
<br><li> topicId
|
|
1143
1143
|
|
|
1144
|
-
Filter by **log topic ID
|
|
1144
|
+
Filter by **log topic ID**
|
|
1145
1145
|
|
|
1146
|
-
Type:
|
|
1146
|
+
Type: string
|
|
1147
1147
|
|
|
1148
1148
|
Required: no
|
|
1149
1149
|
|
|
1150
1150
|
<br><li> enable
|
|
1151
1151
|
|
|
1152
|
-
Filter by **enablement status
|
|
1152
|
+
Filter by **enablement status**
|
|
1153
1153
|
|
|
1154
|
-
Type:
|
|
1154
|
+
Type: string
|
|
1155
|
+
|
|
1156
|
+
Note: The valid values of `enable` include `1`, `t`, `T`, `TRUE`, `true`, `True`, `0`, `f`, `F`, `FALSE`, `false`, and `False`. If other values are entered, an “invalid parameter” error will be returned.
|
|
1155
1157
|
|
|
1156
1158
|
Required: no
|
|
1157
1159
|
|
|
1158
|
-
Each request can
|
|
1160
|
+
Each request can have up to 10 `Filters` and 5 `Filter.Values`.
|
|
1159
1161
|
* @type {Array.<Filter> || null}
|
|
1160
1162
|
*/
|
|
1161
1163
|
this.Filters = null;
|
|
@@ -1977,6 +1979,34 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
1977
1979
|
}
|
|
1978
1980
|
}
|
|
1979
1981
|
|
|
1982
|
+
/**
|
|
1983
|
+
* DescribeConsumer request structure.
|
|
1984
|
+
* @class
|
|
1985
|
+
*/
|
|
1986
|
+
class DescribeConsumerRequest extends AbstractModel {
|
|
1987
|
+
constructor(){
|
|
1988
|
+
super();
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* Log topic ID bound to the task
|
|
1992
|
+
* @type {string || null}
|
|
1993
|
+
*/
|
|
1994
|
+
this.TopicId = null;
|
|
1995
|
+
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* @private
|
|
2000
|
+
*/
|
|
2001
|
+
deserialize(params) {
|
|
2002
|
+
if (!params) {
|
|
2003
|
+
return;
|
|
2004
|
+
}
|
|
2005
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
2006
|
+
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
|
|
1980
2010
|
/**
|
|
1981
2011
|
* Shipping task information
|
|
1982
2012
|
* @class
|
|
@@ -2061,6 +2091,72 @@ class ShipperTaskInfo extends AbstractModel {
|
|
|
2061
2091
|
}
|
|
2062
2092
|
}
|
|
2063
2093
|
|
|
2094
|
+
/**
|
|
2095
|
+
* ModifyConsumer request structure.
|
|
2096
|
+
* @class
|
|
2097
|
+
*/
|
|
2098
|
+
class ModifyConsumerRequest extends AbstractModel {
|
|
2099
|
+
constructor(){
|
|
2100
|
+
super();
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Log topic ID bound to the task
|
|
2104
|
+
* @type {string || null}
|
|
2105
|
+
*/
|
|
2106
|
+
this.TopicId = null;
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* Whether to enable the shipping task
|
|
2110
|
+
* @type {boolean || null}
|
|
2111
|
+
*/
|
|
2112
|
+
this.Effective = null;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Whether to ship metadata. Default value: `false`
|
|
2116
|
+
* @type {boolean || null}
|
|
2117
|
+
*/
|
|
2118
|
+
this.NeedContent = null;
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* Metadata to ship if `NeedContent` is `true`
|
|
2122
|
+
* @type {ConsumerContent || null}
|
|
2123
|
+
*/
|
|
2124
|
+
this.Content = null;
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* CKafka information
|
|
2128
|
+
* @type {Ckafka || null}
|
|
2129
|
+
*/
|
|
2130
|
+
this.Ckafka = null;
|
|
2131
|
+
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* @private
|
|
2136
|
+
*/
|
|
2137
|
+
deserialize(params) {
|
|
2138
|
+
if (!params) {
|
|
2139
|
+
return;
|
|
2140
|
+
}
|
|
2141
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
2142
|
+
this.Effective = 'Effective' in params ? params.Effective : null;
|
|
2143
|
+
this.NeedContent = 'NeedContent' in params ? params.NeedContent : null;
|
|
2144
|
+
|
|
2145
|
+
if (params.Content) {
|
|
2146
|
+
let obj = new ConsumerContent();
|
|
2147
|
+
obj.deserialize(params.Content)
|
|
2148
|
+
this.Content = obj;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
if (params.Ckafka) {
|
|
2152
|
+
let obj = new Ckafka();
|
|
2153
|
+
obj.deserialize(params.Ckafka)
|
|
2154
|
+
this.Ckafka = obj;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2064
2160
|
/**
|
|
2065
2161
|
* CreateIndex response structure.
|
|
2066
2162
|
* @class
|
|
@@ -2117,6 +2213,34 @@ class DeleteConfigFromMachineGroupResponse extends AbstractModel {
|
|
|
2117
2213
|
}
|
|
2118
2214
|
}
|
|
2119
2215
|
|
|
2216
|
+
/**
|
|
2217
|
+
* CreateConsumer response structure.
|
|
2218
|
+
* @class
|
|
2219
|
+
*/
|
|
2220
|
+
class CreateConsumerResponse extends AbstractModel {
|
|
2221
|
+
constructor(){
|
|
2222
|
+
super();
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2226
|
+
* @type {string || null}
|
|
2227
|
+
*/
|
|
2228
|
+
this.RequestId = null;
|
|
2229
|
+
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
/**
|
|
2233
|
+
* @private
|
|
2234
|
+
*/
|
|
2235
|
+
deserialize(params) {
|
|
2236
|
+
if (!params) {
|
|
2237
|
+
return;
|
|
2238
|
+
}
|
|
2239
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2240
|
+
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2120
2244
|
/**
|
|
2121
2245
|
* ModifyMachineGroup response structure.
|
|
2122
2246
|
* @class
|
|
@@ -3422,60 +3546,18 @@ class CreateIndexRequest extends AbstractModel {
|
|
|
3422
3546
|
}
|
|
3423
3547
|
|
|
3424
3548
|
/**
|
|
3425
|
-
*
|
|
3549
|
+
* DeleteConsumer response structure.
|
|
3426
3550
|
* @class
|
|
3427
3551
|
*/
|
|
3428
|
-
class
|
|
3552
|
+
class DeleteConsumerResponse extends AbstractModel {
|
|
3429
3553
|
constructor(){
|
|
3430
3554
|
super();
|
|
3431
3555
|
|
|
3432
3556
|
/**
|
|
3433
|
-
*
|
|
3434
|
-
* @type {string || null}
|
|
3435
|
-
*/
|
|
3436
|
-
this.LogsetId = null;
|
|
3437
|
-
|
|
3438
|
-
/**
|
|
3439
|
-
* Log topic name
|
|
3440
|
-
* @type {string || null}
|
|
3441
|
-
*/
|
|
3442
|
-
this.TopicName = null;
|
|
3443
|
-
|
|
3444
|
-
/**
|
|
3445
|
-
* Number of log topic partitions. Default value: 1. Maximum value: 10
|
|
3446
|
-
* @type {number || null}
|
|
3447
|
-
*/
|
|
3448
|
-
this.PartitionCount = null;
|
|
3449
|
-
|
|
3450
|
-
/**
|
|
3451
|
-
* Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.
|
|
3452
|
-
* @type {Array.<Tag> || null}
|
|
3453
|
-
*/
|
|
3454
|
-
this.Tags = null;
|
|
3455
|
-
|
|
3456
|
-
/**
|
|
3457
|
-
* Whether to enable automatic split. Default value: true
|
|
3458
|
-
* @type {boolean || null}
|
|
3459
|
-
*/
|
|
3460
|
-
this.AutoSplit = null;
|
|
3461
|
-
|
|
3462
|
-
/**
|
|
3463
|
-
* Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50
|
|
3464
|
-
* @type {number || null}
|
|
3465
|
-
*/
|
|
3466
|
-
this.MaxSplitPartitions = null;
|
|
3467
|
-
|
|
3468
|
-
/**
|
|
3469
|
-
* Log topic storage class. Valid values: `hot`: real-time storage; `cold`: offline storage. Default value: `hot`. If `cold` is passed in, please contact the customer service to add the log topic to the allowlist first.
|
|
3557
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3470
3558
|
* @type {string || null}
|
|
3471
3559
|
*/
|
|
3472
|
-
this.
|
|
3473
|
-
|
|
3474
|
-
/**
|
|
3475
|
-
* Lifecycle in days. Value range: 1–366. Default value: 30
|
|
3476
|
-
* @type {number || null}
|
|
3477
|
-
*/
|
|
3478
|
-
this.Period = null;
|
|
3560
|
+
this.RequestId = null;
|
|
3479
3561
|
|
|
3480
3562
|
}
|
|
3481
3563
|
|
|
@@ -3486,22 +3568,7 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
3486
3568
|
if (!params) {
|
|
3487
3569
|
return;
|
|
3488
3570
|
}
|
|
3489
|
-
this.
|
|
3490
|
-
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
3491
|
-
this.PartitionCount = 'PartitionCount' in params ? params.PartitionCount : null;
|
|
3492
|
-
|
|
3493
|
-
if (params.Tags) {
|
|
3494
|
-
this.Tags = new Array();
|
|
3495
|
-
for (let z in params.Tags) {
|
|
3496
|
-
let obj = new Tag();
|
|
3497
|
-
obj.deserialize(params.Tags[z]);
|
|
3498
|
-
this.Tags.push(obj);
|
|
3499
|
-
}
|
|
3500
|
-
}
|
|
3501
|
-
this.AutoSplit = 'AutoSplit' in params ? params.AutoSplit : null;
|
|
3502
|
-
this.MaxSplitPartitions = 'MaxSplitPartitions' in params ? params.MaxSplitPartitions : null;
|
|
3503
|
-
this.StorageType = 'StorageType' in params ? params.StorageType : null;
|
|
3504
|
-
this.Period = 'Period' in params ? params.Period : null;
|
|
3571
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3505
3572
|
|
|
3506
3573
|
}
|
|
3507
3574
|
}
|
|
@@ -3781,52 +3848,60 @@ Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
|
|
|
3781
3848
|
}
|
|
3782
3849
|
|
|
3783
3850
|
/**
|
|
3784
|
-
*
|
|
3851
|
+
* CreateTopic request structure.
|
|
3785
3852
|
* @class
|
|
3786
3853
|
*/
|
|
3787
|
-
class
|
|
3854
|
+
class CreateTopicRequest extends AbstractModel {
|
|
3788
3855
|
constructor(){
|
|
3789
3856
|
super();
|
|
3790
3857
|
|
|
3791
3858
|
/**
|
|
3792
|
-
*
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
Required: no
|
|
3798
|
-
|
|
3799
|
-
<br><li> configId
|
|
3800
|
-
|
|
3801
|
-
Filter by **collection configuration ID**.
|
|
3802
|
-
Type: String
|
|
3803
|
-
|
|
3804
|
-
Required: no
|
|
3805
|
-
|
|
3806
|
-
<br><li> topicId
|
|
3859
|
+
* Logset ID
|
|
3860
|
+
* @type {string || null}
|
|
3861
|
+
*/
|
|
3862
|
+
this.LogsetId = null;
|
|
3807
3863
|
|
|
3808
|
-
|
|
3864
|
+
/**
|
|
3865
|
+
* Log topic name
|
|
3866
|
+
* @type {string || null}
|
|
3867
|
+
*/
|
|
3868
|
+
this.TopicName = null;
|
|
3809
3869
|
|
|
3810
|
-
|
|
3870
|
+
/**
|
|
3871
|
+
* Number of log topic partitions. Default value: 1. Maximum value: 10
|
|
3872
|
+
* @type {number || null}
|
|
3873
|
+
*/
|
|
3874
|
+
this.PartitionCount = null;
|
|
3811
3875
|
|
|
3812
|
-
|
|
3876
|
+
/**
|
|
3877
|
+
* Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key.
|
|
3878
|
+
* @type {Array.<Tag> || null}
|
|
3879
|
+
*/
|
|
3880
|
+
this.Tags = null;
|
|
3813
3881
|
|
|
3814
|
-
|
|
3815
|
-
*
|
|
3882
|
+
/**
|
|
3883
|
+
* Whether to enable automatic split. Default value: true
|
|
3884
|
+
* @type {boolean || null}
|
|
3816
3885
|
*/
|
|
3817
|
-
this.
|
|
3886
|
+
this.AutoSplit = null;
|
|
3818
3887
|
|
|
3819
3888
|
/**
|
|
3820
|
-
*
|
|
3889
|
+
* Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50
|
|
3821
3890
|
* @type {number || null}
|
|
3822
3891
|
*/
|
|
3823
|
-
this.
|
|
3892
|
+
this.MaxSplitPartitions = null;
|
|
3824
3893
|
|
|
3825
3894
|
/**
|
|
3826
|
-
*
|
|
3895
|
+
* Log topic storage class. Valid values: `hot`: real-time storage; `cold`: offline storage. Default value: `hot`. If `cold` is passed in, please contact the customer service to add the log topic to the allowlist first.
|
|
3896
|
+
* @type {string || null}
|
|
3897
|
+
*/
|
|
3898
|
+
this.StorageType = null;
|
|
3899
|
+
|
|
3900
|
+
/**
|
|
3901
|
+
* Lifecycle in days. Value range: 1–366. Default value: 30
|
|
3827
3902
|
* @type {number || null}
|
|
3828
3903
|
*/
|
|
3829
|
-
this.
|
|
3904
|
+
this.Period = null;
|
|
3830
3905
|
|
|
3831
3906
|
}
|
|
3832
3907
|
|
|
@@ -3837,17 +3912,22 @@ Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
|
|
|
3837
3912
|
if (!params) {
|
|
3838
3913
|
return;
|
|
3839
3914
|
}
|
|
3915
|
+
this.LogsetId = 'LogsetId' in params ? params.LogsetId : null;
|
|
3916
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
3917
|
+
this.PartitionCount = 'PartitionCount' in params ? params.PartitionCount : null;
|
|
3840
3918
|
|
|
3841
|
-
if (params.
|
|
3842
|
-
this.
|
|
3843
|
-
for (let z in params.
|
|
3844
|
-
let obj = new
|
|
3845
|
-
obj.deserialize(params.
|
|
3846
|
-
this.
|
|
3919
|
+
if (params.Tags) {
|
|
3920
|
+
this.Tags = new Array();
|
|
3921
|
+
for (let z in params.Tags) {
|
|
3922
|
+
let obj = new Tag();
|
|
3923
|
+
obj.deserialize(params.Tags[z]);
|
|
3924
|
+
this.Tags.push(obj);
|
|
3847
3925
|
}
|
|
3848
3926
|
}
|
|
3849
|
-
this.
|
|
3850
|
-
this.
|
|
3927
|
+
this.AutoSplit = 'AutoSplit' in params ? params.AutoSplit : null;
|
|
3928
|
+
this.MaxSplitPartitions = 'MaxSplitPartitions' in params ? params.MaxSplitPartitions : null;
|
|
3929
|
+
this.StorageType = 'StorageType' in params ? params.StorageType : null;
|
|
3930
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
3851
3931
|
|
|
3852
3932
|
}
|
|
3853
3933
|
}
|
|
@@ -4093,6 +4173,34 @@ class ModifyIndexResponse extends AbstractModel {
|
|
|
4093
4173
|
}
|
|
4094
4174
|
}
|
|
4095
4175
|
|
|
4176
|
+
/**
|
|
4177
|
+
* DeleteConsumer request structure.
|
|
4178
|
+
* @class
|
|
4179
|
+
*/
|
|
4180
|
+
class DeleteConsumerRequest extends AbstractModel {
|
|
4181
|
+
constructor(){
|
|
4182
|
+
super();
|
|
4183
|
+
|
|
4184
|
+
/**
|
|
4185
|
+
* Log topic ID bound to the task
|
|
4186
|
+
* @type {string || null}
|
|
4187
|
+
*/
|
|
4188
|
+
this.TopicId = null;
|
|
4189
|
+
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4192
|
+
/**
|
|
4193
|
+
* @private
|
|
4194
|
+
*/
|
|
4195
|
+
deserialize(params) {
|
|
4196
|
+
if (!params) {
|
|
4197
|
+
return;
|
|
4198
|
+
}
|
|
4199
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
4200
|
+
|
|
4201
|
+
}
|
|
4202
|
+
}
|
|
4203
|
+
|
|
4096
4204
|
/**
|
|
4097
4205
|
* DeleteIndex request structure.
|
|
4098
4206
|
* @class
|
|
@@ -4102,10 +4210,63 @@ class DeleteIndexRequest extends AbstractModel {
|
|
|
4102
4210
|
super();
|
|
4103
4211
|
|
|
4104
4212
|
/**
|
|
4105
|
-
* Log topic ID
|
|
4213
|
+
* Log topic ID
|
|
4214
|
+
* @type {string || null}
|
|
4215
|
+
*/
|
|
4216
|
+
this.TopicId = null;
|
|
4217
|
+
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
/**
|
|
4221
|
+
* @private
|
|
4222
|
+
*/
|
|
4223
|
+
deserialize(params) {
|
|
4224
|
+
if (!params) {
|
|
4225
|
+
return;
|
|
4226
|
+
}
|
|
4227
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
4228
|
+
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
/**
|
|
4233
|
+
* DescribeConsumer response structure.
|
|
4234
|
+
* @class
|
|
4235
|
+
*/
|
|
4236
|
+
class DescribeConsumerResponse extends AbstractModel {
|
|
4237
|
+
constructor(){
|
|
4238
|
+
super();
|
|
4239
|
+
|
|
4240
|
+
/**
|
|
4241
|
+
* Whether the shipping task is effective
|
|
4242
|
+
* @type {boolean || null}
|
|
4243
|
+
*/
|
|
4244
|
+
this.Effective = null;
|
|
4245
|
+
|
|
4246
|
+
/**
|
|
4247
|
+
* Whether log metadata is shipped
|
|
4248
|
+
* @type {boolean || null}
|
|
4249
|
+
*/
|
|
4250
|
+
this.NeedContent = null;
|
|
4251
|
+
|
|
4252
|
+
/**
|
|
4253
|
+
* Metadata shipped if `NeedContent` is `true`
|
|
4254
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
4255
|
+
* @type {ConsumerContent || null}
|
|
4256
|
+
*/
|
|
4257
|
+
this.Content = null;
|
|
4258
|
+
|
|
4259
|
+
/**
|
|
4260
|
+
* CKafka information
|
|
4261
|
+
* @type {Ckafka || null}
|
|
4262
|
+
*/
|
|
4263
|
+
this.Ckafka = null;
|
|
4264
|
+
|
|
4265
|
+
/**
|
|
4266
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4106
4267
|
* @type {string || null}
|
|
4107
4268
|
*/
|
|
4108
|
-
this.
|
|
4269
|
+
this.RequestId = null;
|
|
4109
4270
|
|
|
4110
4271
|
}
|
|
4111
4272
|
|
|
@@ -4116,7 +4277,21 @@ class DeleteIndexRequest extends AbstractModel {
|
|
|
4116
4277
|
if (!params) {
|
|
4117
4278
|
return;
|
|
4118
4279
|
}
|
|
4119
|
-
this.
|
|
4280
|
+
this.Effective = 'Effective' in params ? params.Effective : null;
|
|
4281
|
+
this.NeedContent = 'NeedContent' in params ? params.NeedContent : null;
|
|
4282
|
+
|
|
4283
|
+
if (params.Content) {
|
|
4284
|
+
let obj = new ConsumerContent();
|
|
4285
|
+
obj.deserialize(params.Content)
|
|
4286
|
+
this.Content = obj;
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
if (params.Ckafka) {
|
|
4290
|
+
let obj = new Ckafka();
|
|
4291
|
+
obj.deserialize(params.Ckafka)
|
|
4292
|
+
this.Ckafka = obj;
|
|
4293
|
+
}
|
|
4294
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4120
4295
|
|
|
4121
4296
|
}
|
|
4122
4297
|
}
|
|
@@ -4334,6 +4509,106 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
4334
4509
|
}
|
|
4335
4510
|
}
|
|
4336
4511
|
|
|
4512
|
+
/**
|
|
4513
|
+
* ModifyConsumer response structure.
|
|
4514
|
+
* @class
|
|
4515
|
+
*/
|
|
4516
|
+
class ModifyConsumerResponse extends AbstractModel {
|
|
4517
|
+
constructor(){
|
|
4518
|
+
super();
|
|
4519
|
+
|
|
4520
|
+
/**
|
|
4521
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4522
|
+
* @type {string || null}
|
|
4523
|
+
*/
|
|
4524
|
+
this.RequestId = null;
|
|
4525
|
+
|
|
4526
|
+
}
|
|
4527
|
+
|
|
4528
|
+
/**
|
|
4529
|
+
* @private
|
|
4530
|
+
*/
|
|
4531
|
+
deserialize(params) {
|
|
4532
|
+
if (!params) {
|
|
4533
|
+
return;
|
|
4534
|
+
}
|
|
4535
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4536
|
+
|
|
4537
|
+
}
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
/**
|
|
4541
|
+
* DescribeConfigs request structure.
|
|
4542
|
+
* @class
|
|
4543
|
+
*/
|
|
4544
|
+
class DescribeConfigsRequest extends AbstractModel {
|
|
4545
|
+
constructor(){
|
|
4546
|
+
super();
|
|
4547
|
+
|
|
4548
|
+
/**
|
|
4549
|
+
* <br><li> configName
|
|
4550
|
+
|
|
4551
|
+
Filter by fuzzy match of **collection configuration name**
|
|
4552
|
+
Type: String
|
|
4553
|
+
|
|
4554
|
+
Required: no
|
|
4555
|
+
|
|
4556
|
+
<br><li> configId
|
|
4557
|
+
|
|
4558
|
+
Filter by **collection configuration ID**.
|
|
4559
|
+
Type: String
|
|
4560
|
+
|
|
4561
|
+
Required: no
|
|
4562
|
+
|
|
4563
|
+
<br><li> topicId
|
|
4564
|
+
|
|
4565
|
+
Filter by **log topic**.
|
|
4566
|
+
|
|
4567
|
+
Type: String
|
|
4568
|
+
|
|
4569
|
+
Required: no
|
|
4570
|
+
|
|
4571
|
+
Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
|
|
4572
|
+
* @type {Array.<Filter> || null}
|
|
4573
|
+
*/
|
|
4574
|
+
this.Filters = null;
|
|
4575
|
+
|
|
4576
|
+
/**
|
|
4577
|
+
* Page offset. Default value: 0
|
|
4578
|
+
* @type {number || null}
|
|
4579
|
+
*/
|
|
4580
|
+
this.Offset = null;
|
|
4581
|
+
|
|
4582
|
+
/**
|
|
4583
|
+
* Maximum number of entries per page. Default value: 20. Maximum value: 100
|
|
4584
|
+
* @type {number || null}
|
|
4585
|
+
*/
|
|
4586
|
+
this.Limit = null;
|
|
4587
|
+
|
|
4588
|
+
}
|
|
4589
|
+
|
|
4590
|
+
/**
|
|
4591
|
+
* @private
|
|
4592
|
+
*/
|
|
4593
|
+
deserialize(params) {
|
|
4594
|
+
if (!params) {
|
|
4595
|
+
return;
|
|
4596
|
+
}
|
|
4597
|
+
|
|
4598
|
+
if (params.Filters) {
|
|
4599
|
+
this.Filters = new Array();
|
|
4600
|
+
for (let z in params.Filters) {
|
|
4601
|
+
let obj = new Filter();
|
|
4602
|
+
obj.deserialize(params.Filters[z]);
|
|
4603
|
+
this.Filters.push(obj);
|
|
4604
|
+
}
|
|
4605
|
+
}
|
|
4606
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4607
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4608
|
+
|
|
4609
|
+
}
|
|
4610
|
+
}
|
|
4611
|
+
|
|
4337
4612
|
/**
|
|
4338
4613
|
* DeleteConfig request structure.
|
|
4339
4614
|
* @class
|
|
@@ -6225,6 +6500,65 @@ class DescribeAsyncSearchResultRequest extends AbstractModel {
|
|
|
6225
6500
|
}
|
|
6226
6501
|
}
|
|
6227
6502
|
|
|
6503
|
+
/**
|
|
6504
|
+
* CreateConsumer request structure.
|
|
6505
|
+
* @class
|
|
6506
|
+
*/
|
|
6507
|
+
class CreateConsumerRequest extends AbstractModel {
|
|
6508
|
+
constructor(){
|
|
6509
|
+
super();
|
|
6510
|
+
|
|
6511
|
+
/**
|
|
6512
|
+
* Log topic ID to bind
|
|
6513
|
+
* @type {string || null}
|
|
6514
|
+
*/
|
|
6515
|
+
this.TopicId = null;
|
|
6516
|
+
|
|
6517
|
+
/**
|
|
6518
|
+
* Whether to ship log metadata. Default value: `true`
|
|
6519
|
+
* @type {boolean || null}
|
|
6520
|
+
*/
|
|
6521
|
+
this.NeedContent = null;
|
|
6522
|
+
|
|
6523
|
+
/**
|
|
6524
|
+
* Metadata to ship if `NeedContent` is `true`
|
|
6525
|
+
* @type {ConsumerContent || null}
|
|
6526
|
+
*/
|
|
6527
|
+
this.Content = null;
|
|
6528
|
+
|
|
6529
|
+
/**
|
|
6530
|
+
* CKafka information
|
|
6531
|
+
* @type {Ckafka || null}
|
|
6532
|
+
*/
|
|
6533
|
+
this.Ckafka = null;
|
|
6534
|
+
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6537
|
+
/**
|
|
6538
|
+
* @private
|
|
6539
|
+
*/
|
|
6540
|
+
deserialize(params) {
|
|
6541
|
+
if (!params) {
|
|
6542
|
+
return;
|
|
6543
|
+
}
|
|
6544
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
6545
|
+
this.NeedContent = 'NeedContent' in params ? params.NeedContent : null;
|
|
6546
|
+
|
|
6547
|
+
if (params.Content) {
|
|
6548
|
+
let obj = new ConsumerContent();
|
|
6549
|
+
obj.deserialize(params.Content)
|
|
6550
|
+
this.Content = obj;
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6553
|
+
if (params.Ckafka) {
|
|
6554
|
+
let obj = new Ckafka();
|
|
6555
|
+
obj.deserialize(params.Ckafka)
|
|
6556
|
+
this.Ckafka = obj;
|
|
6557
|
+
}
|
|
6558
|
+
|
|
6559
|
+
}
|
|
6560
|
+
}
|
|
6561
|
+
|
|
6228
6562
|
/**
|
|
6229
6563
|
* Alarm notification template type
|
|
6230
6564
|
* @class
|
|
@@ -6940,6 +7274,41 @@ class ModifyMachineGroupRequest extends AbstractModel {
|
|
|
6940
7274
|
}
|
|
6941
7275
|
}
|
|
6942
7276
|
|
|
7277
|
+
/**
|
|
7278
|
+
* MergePartition request structure.
|
|
7279
|
+
* @class
|
|
7280
|
+
*/
|
|
7281
|
+
class MergePartitionRequest extends AbstractModel {
|
|
7282
|
+
constructor(){
|
|
7283
|
+
super();
|
|
7284
|
+
|
|
7285
|
+
/**
|
|
7286
|
+
* Log topic ID
|
|
7287
|
+
* @type {string || null}
|
|
7288
|
+
*/
|
|
7289
|
+
this.TopicId = null;
|
|
7290
|
+
|
|
7291
|
+
/**
|
|
7292
|
+
* Merged `PartitionId`
|
|
7293
|
+
* @type {number || null}
|
|
7294
|
+
*/
|
|
7295
|
+
this.PartitionId = null;
|
|
7296
|
+
|
|
7297
|
+
}
|
|
7298
|
+
|
|
7299
|
+
/**
|
|
7300
|
+
* @private
|
|
7301
|
+
*/
|
|
7302
|
+
deserialize(params) {
|
|
7303
|
+
if (!params) {
|
|
7304
|
+
return;
|
|
7305
|
+
}
|
|
7306
|
+
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
7307
|
+
this.PartitionId = 'PartitionId' in params ? params.PartitionId : null;
|
|
7308
|
+
|
|
7309
|
+
}
|
|
7310
|
+
}
|
|
7311
|
+
|
|
6943
7312
|
/**
|
|
6944
7313
|
* DescribeAlarmNotices request structure.
|
|
6945
7314
|
* @class
|
|
@@ -7199,24 +7568,48 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
7199
7568
|
}
|
|
7200
7569
|
|
|
7201
7570
|
/**
|
|
7202
|
-
*
|
|
7571
|
+
* Information of the CKafka instance to ship to
|
|
7203
7572
|
* @class
|
|
7204
7573
|
*/
|
|
7205
|
-
class
|
|
7574
|
+
class Ckafka extends AbstractModel {
|
|
7206
7575
|
constructor(){
|
|
7207
7576
|
super();
|
|
7208
7577
|
|
|
7209
7578
|
/**
|
|
7210
|
-
*
|
|
7579
|
+
* CKafka VIP
|
|
7580
|
+
* @type {string || null}
|
|
7581
|
+
*/
|
|
7582
|
+
this.Vip = null;
|
|
7583
|
+
|
|
7584
|
+
/**
|
|
7585
|
+
* CKafka Vport
|
|
7586
|
+
* @type {string || null}
|
|
7587
|
+
*/
|
|
7588
|
+
this.Vport = null;
|
|
7589
|
+
|
|
7590
|
+
/**
|
|
7591
|
+
* CKafka instance ID
|
|
7592
|
+
* @type {string || null}
|
|
7593
|
+
*/
|
|
7594
|
+
this.InstanceId = null;
|
|
7595
|
+
|
|
7596
|
+
/**
|
|
7597
|
+
* CKafka instance name
|
|
7598
|
+
* @type {string || null}
|
|
7599
|
+
*/
|
|
7600
|
+
this.InstanceName = null;
|
|
7601
|
+
|
|
7602
|
+
/**
|
|
7603
|
+
* CKafka topic ID
|
|
7211
7604
|
* @type {string || null}
|
|
7212
7605
|
*/
|
|
7213
7606
|
this.TopicId = null;
|
|
7214
7607
|
|
|
7215
7608
|
/**
|
|
7216
|
-
*
|
|
7217
|
-
* @type {
|
|
7609
|
+
* CKafka topic name
|
|
7610
|
+
* @type {string || null}
|
|
7218
7611
|
*/
|
|
7219
|
-
this.
|
|
7612
|
+
this.TopicName = null;
|
|
7220
7613
|
|
|
7221
7614
|
}
|
|
7222
7615
|
|
|
@@ -7227,8 +7620,12 @@ class MergePartitionRequest extends AbstractModel {
|
|
|
7227
7620
|
if (!params) {
|
|
7228
7621
|
return;
|
|
7229
7622
|
}
|
|
7623
|
+
this.Vip = 'Vip' in params ? params.Vip : null;
|
|
7624
|
+
this.Vport = 'Vport' in params ? params.Vport : null;
|
|
7625
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
7626
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
7230
7627
|
this.TopicId = 'TopicId' in params ? params.TopicId : null;
|
|
7231
|
-
this.
|
|
7628
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
7232
7629
|
|
|
7233
7630
|
}
|
|
7234
7631
|
}
|
|
@@ -7569,7 +7966,7 @@ class SearchLogRequest extends AbstractModel {
|
|
|
7569
7966
|
this.Limit = null;
|
|
7570
7967
|
|
|
7571
7968
|
/**
|
|
7572
|
-
* This
|
|
7969
|
+
* This parameter is used to load more logs. Pass through the last `Context` value returned to get more log content. Up to 10,000 raw logs can be obtained in total. This parameter expires in 1 hour.
|
|
7573
7970
|
* @type {string || null}
|
|
7574
7971
|
*/
|
|
7575
7972
|
this.Context = null;
|
|
@@ -8278,6 +8675,43 @@ class Filter extends AbstractModel {
|
|
|
8278
8675
|
}
|
|
8279
8676
|
}
|
|
8280
8677
|
|
|
8678
|
+
/**
|
|
8679
|
+
* Shipping content
|
|
8680
|
+
* @class
|
|
8681
|
+
*/
|
|
8682
|
+
class ConsumerContent extends AbstractModel {
|
|
8683
|
+
constructor(){
|
|
8684
|
+
super();
|
|
8685
|
+
|
|
8686
|
+
/**
|
|
8687
|
+
* Whether to ship tag information
|
|
8688
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8689
|
+
* @type {boolean || null}
|
|
8690
|
+
*/
|
|
8691
|
+
this.EnableTag = null;
|
|
8692
|
+
|
|
8693
|
+
/**
|
|
8694
|
+
* List of metadata to ship. Currently, only __SOURCE__, __FILENAME__, and __TIMESTAMP__ are supported.
|
|
8695
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
8696
|
+
* @type {Array.<string> || null}
|
|
8697
|
+
*/
|
|
8698
|
+
this.MetaFields = null;
|
|
8699
|
+
|
|
8700
|
+
}
|
|
8701
|
+
|
|
8702
|
+
/**
|
|
8703
|
+
* @private
|
|
8704
|
+
*/
|
|
8705
|
+
deserialize(params) {
|
|
8706
|
+
if (!params) {
|
|
8707
|
+
return;
|
|
8708
|
+
}
|
|
8709
|
+
this.EnableTag = 'EnableTag' in params ? params.EnableTag : null;
|
|
8710
|
+
this.MetaFields = 'MetaFields' in params ? params.MetaFields : null;
|
|
8711
|
+
|
|
8712
|
+
}
|
|
8713
|
+
}
|
|
8714
|
+
|
|
8281
8715
|
/**
|
|
8282
8716
|
* CreateExport response structure.
|
|
8283
8717
|
* @class
|
|
@@ -8432,9 +8866,12 @@ module.exports = {
|
|
|
8432
8866
|
DescribeExportsRequest: DescribeExportsRequest,
|
|
8433
8867
|
CreateAsyncSearchTaskRequest: CreateAsyncSearchTaskRequest,
|
|
8434
8868
|
TopicInfo: TopicInfo,
|
|
8869
|
+
DescribeConsumerRequest: DescribeConsumerRequest,
|
|
8435
8870
|
ShipperTaskInfo: ShipperTaskInfo,
|
|
8871
|
+
ModifyConsumerRequest: ModifyConsumerRequest,
|
|
8436
8872
|
CreateIndexResponse: CreateIndexResponse,
|
|
8437
8873
|
DeleteConfigFromMachineGroupResponse: DeleteConfigFromMachineGroupResponse,
|
|
8874
|
+
CreateConsumerResponse: CreateConsumerResponse,
|
|
8438
8875
|
ModifyMachineGroupResponse: ModifyMachineGroupResponse,
|
|
8439
8876
|
RuleInfo: RuleInfo,
|
|
8440
8877
|
DeleteMachineGroupRequest: DeleteMachineGroupRequest,
|
|
@@ -8458,19 +8895,23 @@ module.exports = {
|
|
|
8458
8895
|
DescribeMachineGroupsRequest: DescribeMachineGroupsRequest,
|
|
8459
8896
|
DescribeAsyncContextTasksResponse: DescribeAsyncContextTasksResponse,
|
|
8460
8897
|
CreateIndexRequest: CreateIndexRequest,
|
|
8461
|
-
|
|
8898
|
+
DeleteConsumerResponse: DeleteConsumerResponse,
|
|
8462
8899
|
DescribeTopicsRequest: DescribeTopicsRequest,
|
|
8463
8900
|
GetAlarmLogResponse: GetAlarmLogResponse,
|
|
8464
8901
|
DescribeAsyncSearchTasksRequest: DescribeAsyncSearchTasksRequest,
|
|
8465
|
-
|
|
8902
|
+
CreateTopicRequest: CreateTopicRequest,
|
|
8466
8903
|
DescribeAsyncSearchResultResponse: DescribeAsyncSearchResultResponse,
|
|
8467
8904
|
DescribeAsyncContextTasksRequest: DescribeAsyncContextTasksRequest,
|
|
8468
8905
|
AlarmTarget: AlarmTarget,
|
|
8469
8906
|
DeleteConfigResponse: DeleteConfigResponse,
|
|
8470
8907
|
ModifyIndexResponse: ModifyIndexResponse,
|
|
8908
|
+
DeleteConsumerRequest: DeleteConsumerRequest,
|
|
8471
8909
|
DeleteIndexRequest: DeleteIndexRequest,
|
|
8910
|
+
DescribeConsumerResponse: DescribeConsumerResponse,
|
|
8472
8911
|
ExtractRuleInfo: ExtractRuleInfo,
|
|
8473
8912
|
AsyncContextTask: AsyncContextTask,
|
|
8913
|
+
ModifyConsumerResponse: ModifyConsumerResponse,
|
|
8914
|
+
DescribeConfigsRequest: DescribeConfigsRequest,
|
|
8474
8915
|
DeleteConfigRequest: DeleteConfigRequest,
|
|
8475
8916
|
AnalysisDimensional: AnalysisDimensional,
|
|
8476
8917
|
LogsetInfo: LogsetInfo,
|
|
@@ -8506,6 +8947,7 @@ module.exports = {
|
|
|
8506
8947
|
ModifyShipperRequest: ModifyShipperRequest,
|
|
8507
8948
|
DescribeLogContextResponse: DescribeLogContextResponse,
|
|
8508
8949
|
DescribeAsyncSearchResultRequest: DescribeAsyncSearchResultRequest,
|
|
8950
|
+
CreateConsumerRequest: CreateConsumerRequest,
|
|
8509
8951
|
AlarmNotice: AlarmNotice,
|
|
8510
8952
|
ModifyConfigResponse: ModifyConfigResponse,
|
|
8511
8953
|
ModifyAlarmNoticeResponse: ModifyAlarmNoticeResponse,
|
|
@@ -8520,10 +8962,11 @@ module.exports = {
|
|
|
8520
8962
|
KeyValueInfo: KeyValueInfo,
|
|
8521
8963
|
DeleteAsyncSearchTaskRequest: DeleteAsyncSearchTaskRequest,
|
|
8522
8964
|
ModifyMachineGroupRequest: ModifyMachineGroupRequest,
|
|
8965
|
+
MergePartitionRequest: MergePartitionRequest,
|
|
8523
8966
|
DescribeAlarmNoticesRequest: DescribeAlarmNoticesRequest,
|
|
8524
8967
|
NoticeReceiver: NoticeReceiver,
|
|
8525
8968
|
AsyncSearchTask: AsyncSearchTask,
|
|
8526
|
-
|
|
8969
|
+
Ckafka: Ckafka,
|
|
8527
8970
|
WebCallback: WebCallback,
|
|
8528
8971
|
CreateAsyncSearchTaskResponse: CreateAsyncSearchTaskResponse,
|
|
8529
8972
|
DeleteAlarmNoticeRequest: DeleteAlarmNoticeRequest,
|
|
@@ -8545,6 +8988,7 @@ module.exports = {
|
|
|
8545
8988
|
DescribeLogsetsRequest: DescribeLogsetsRequest,
|
|
8546
8989
|
DeleteTopicResponse: DeleteTopicResponse,
|
|
8547
8990
|
Filter: Filter,
|
|
8991
|
+
ConsumerContent: ConsumerContent,
|
|
8548
8992
|
CreateExportResponse: CreateExportResponse,
|
|
8549
8993
|
KeyRegexInfo: KeyRegexInfo,
|
|
8550
8994
|
MergePartitionResponse: MergePartitionResponse,
|