tencentcloud-sdk-nodejs-intl-en 3.0.353 → 3.0.357

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.353",
3
+ "version": "3.0.357",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -241,6 +241,7 @@ const DeleteCdnDomainResponse = models.DeleteCdnDomainResponse;
241
241
  const OriginIp = models.OriginIp;
242
242
  const CdnIp = models.CdnIp;
243
243
  const DescribeCdnDataRequest = models.DescribeCdnDataRequest;
244
+ const ExtraLogset = models.ExtraLogset;
244
245
  const CacheTagKey = models.CacheTagKey;
245
246
  const Quic = models.Quic;
246
247
  const DescribeDomainsRequest = models.DescribeDomainsRequest;
@@ -3141,6 +3141,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3141
3141
  */
3142
3142
  this.Channel = null;
3143
3143
 
3144
+ /**
3145
+ * Whether the log topic has been removed from CLS
3146
+ Note: this field may return `null`, indicating that no valid values can be obtained.
3147
+ * @type {string || null}
3148
+ */
3149
+ this.Deleted = null;
3150
+
3144
3151
  }
3145
3152
 
3146
3153
  /**
@@ -3155,6 +3162,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3155
3162
  this.Enabled = 'Enabled' in params ? params.Enabled : null;
3156
3163
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
3157
3164
  this.Channel = 'Channel' in params ? params.Channel : null;
3165
+ this.Deleted = 'Deleted' in params ? params.Deleted : null;
3158
3166
 
3159
3167
  }
3160
3168
  }
@@ -4123,18 +4131,25 @@ class ListClsLogTopicsResponse extends AbstractModel {
4123
4131
  super();
4124
4132
 
4125
4133
  /**
4126
- * Logset information
4134
+ * Information of logsets in the Shanghai region
4127
4135
  * @type {LogSetInfo || null}
4128
4136
  */
4129
4137
  this.Logset = null;
4130
4138
 
4131
4139
  /**
4132
- * Log topic information list
4133
- Note: this field may return null, indicating that no valid values can be obtained.
4140
+ * Information of log topics in the Shanghai region
4141
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4134
4142
  * @type {Array.<TopicInfo> || null}
4135
4143
  */
4136
4144
  this.Topics = null;
4137
4145
 
4146
+ /**
4147
+ * Information on logsets in regions except Shanghai
4148
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4149
+ * @type {Array.<ExtraLogset> || null}
4150
+ */
4151
+ this.ExtraLogset = null;
4152
+
4138
4153
  /**
4139
4154
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4140
4155
  * @type {string || null}
@@ -4165,6 +4180,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
4165
4180
  this.Topics.push(obj);
4166
4181
  }
4167
4182
  }
4183
+
4184
+ if (params.ExtraLogset) {
4185
+ this.ExtraLogset = new Array();
4186
+ for (let z in params.ExtraLogset) {
4187
+ let obj = new ExtraLogset();
4188
+ obj.deserialize(params.ExtraLogset[z]);
4189
+ this.ExtraLogset.push(obj);
4190
+ }
4191
+ }
4168
4192
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4169
4193
 
4170
4194
  }
@@ -13201,6 +13225,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
13201
13225
  */
13202
13226
  this.Region = null;
13203
13227
 
13228
+ /**
13229
+ * Whether the logset has been removed from CLS
13230
+ Note: this field may return `null`, indicating that no valid values can be obtained.
13231
+ * @type {string || null}
13232
+ */
13233
+ this.Deleted = null;
13234
+
13235
+ /**
13236
+ * Whether English is used in this region
13237
+ Note: this field may return `null`, indicating that no valid values can be obtained.
13238
+ * @type {string || null}
13239
+ */
13240
+ this.RegionEn = null;
13241
+
13204
13242
  }
13205
13243
 
13206
13244
  /**
@@ -13218,6 +13256,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
13218
13256
  this.LogsetSavePeriod = 'LogsetSavePeriod' in params ? params.LogsetSavePeriod : null;
13219
13257
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
13220
13258
  this.Region = 'Region' in params ? params.Region : null;
13259
+ this.Deleted = 'Deleted' in params ? params.Deleted : null;
13260
+ this.RegionEn = 'RegionEn' in params ? params.RegionEn : null;
13221
13261
 
13222
13262
  }
13223
13263
  }
@@ -14558,6 +14598,56 @@ Note: non-IPv6 allowlisted users cannot specify `ipv4` and `ipv6` for query
14558
14598
  }
14559
14599
  }
14560
14600
 
14601
+ /**
14602
+ * Information of logsets and log topics (except those created in the Shanghai region)
14603
+ * @class
14604
+ */
14605
+ class ExtraLogset extends AbstractModel {
14606
+ constructor(){
14607
+ super();
14608
+
14609
+ /**
14610
+ * Logset information
14611
+ Note: this field may return `null`, indicating that no valid values can be obtained.
14612
+ * @type {LogSetInfo || null}
14613
+ */
14614
+ this.Logset = null;
14615
+
14616
+ /**
14617
+ * Log topic information
14618
+ Note: this field may return `null`, indicating that no valid values can be obtained.
14619
+ * @type {Array.<TopicInfo> || null}
14620
+ */
14621
+ this.Topics = null;
14622
+
14623
+ }
14624
+
14625
+ /**
14626
+ * @private
14627
+ */
14628
+ deserialize(params) {
14629
+ if (!params) {
14630
+ return;
14631
+ }
14632
+
14633
+ if (params.Logset) {
14634
+ let obj = new LogSetInfo();
14635
+ obj.deserialize(params.Logset)
14636
+ this.Logset = obj;
14637
+ }
14638
+
14639
+ if (params.Topics) {
14640
+ this.Topics = new Array();
14641
+ for (let z in params.Topics) {
14642
+ let obj = new TopicInfo();
14643
+ obj.deserialize(params.Topics[z]);
14644
+ this.Topics.push(obj);
14645
+ }
14646
+ }
14647
+
14648
+ }
14649
+ }
14650
+
14561
14651
  /**
14562
14652
  * A part of `CacheKey`
14563
14653
  * @class
@@ -15050,6 +15140,7 @@ module.exports = {
15050
15140
  OriginIp: OriginIp,
15051
15141
  CdnIp: CdnIp,
15052
15142
  DescribeCdnDataRequest: DescribeCdnDataRequest,
15143
+ ExtraLogset: ExtraLogset,
15053
15144
  CacheTagKey: CacheTagKey,
15054
15145
  Quic: Quic,
15055
15146
  DescribeDomainsRequest: DescribeDomainsRequest,
@@ -38,6 +38,7 @@ const Region = models.Region;
38
38
  const DescribeInstancesDetailResponse = models.DescribeInstancesDetailResponse;
39
39
  const AclRule = models.AclRule;
40
40
  const DescribeACLResponse = models.DescribeACLResponse;
41
+ const DynamicDiskConfig = models.DynamicDiskConfig;
41
42
  const JgwOperateResponse = models.JgwOperateResponse;
42
43
  const ZoneInfo = models.ZoneInfo;
43
44
  const DescribeTopicSubscribeGroupResponse = models.DescribeTopicSubscribeGroupResponse;
@@ -165,25 +165,25 @@ class DeleteAclRequest extends AbstractModel {
165
165
  this.InstanceId = null;
166
166
 
167
167
  /**
168
- * ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka
168
+ * ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
169
169
  * @type {number || null}
170
170
  */
171
171
  this.ResourceType = null;
172
172
 
173
173
  /**
174
- * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
174
+ * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
175
175
  * @type {string || null}
176
176
  */
177
177
  this.ResourceName = null;
178
178
 
179
179
  /**
180
- * ACL operation mode. 0: UNKNOWN, 1: ANY, 2: ALL, 3: READ, 4: WRITE, 5: CREATE, 6: DELETE, 7: ALTER, 8: DESCRIBE, 9: CLUSTER_ACTION, 10: DESCRIBE_CONFIGS, 11: ALTER_CONFIGS, 12: IDEMPOTEN_WRITE. Currently, CKafka only supports `READ` and `WRITE`, and other values will be used for future ACLs compatible with open-source Kafka
180
+ * ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
181
181
  * @type {number || null}
182
182
  */
183
183
  this.Operation = null;
184
184
 
185
185
  /**
186
- * Permission type. 0: UNKNOWN, 1: ANY, 2: DENY, 3: ALLOW. Currently, CKafka supports `ALLOW` (equivalent to allowlist), and other fields will be used for future ACLs compatible with open-source Kafka
186
+ * Permission type (`2`: DENY, `3`: ALLOW). CKafka currently supports `ALLOW`, which is equivalent to allowlist. `DENY` will be supported for ACLs compatible with open-source Kafka.
187
187
  * @type {number || null}
188
188
  */
189
189
  this.PermissionType = null;
@@ -418,13 +418,13 @@ class DescribeACLRequest extends AbstractModel {
418
418
  this.InstanceId = null;
419
419
 
420
420
  /**
421
- * ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka
421
+ * ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
422
422
  * @type {number || null}
423
423
  */
424
424
  this.ResourceType = null;
425
425
 
426
426
  /**
427
- * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
427
+ * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
428
428
  * @type {string || null}
429
429
  */
430
430
  this.ResourceName = null;
@@ -1179,6 +1179,55 @@ class DescribeACLResponse extends AbstractModel {
1179
1179
  }
1180
1180
  }
1181
1181
 
1182
+ /**
1183
+ *
1184
+ * @class
1185
+ */
1186
+ class DynamicDiskConfig extends AbstractModel {
1187
+ constructor(){
1188
+ super();
1189
+
1190
+ /**
1191
+ *
1192
+ * @type {number || null}
1193
+ */
1194
+ this.Enable = null;
1195
+
1196
+ /**
1197
+ *
1198
+ * @type {number || null}
1199
+ */
1200
+ this.StepForwardPercentage = null;
1201
+
1202
+ /**
1203
+ *
1204
+ * @type {number || null}
1205
+ */
1206
+ this.DiskQuotaPercentage = null;
1207
+
1208
+ /**
1209
+ *
1210
+ * @type {number || null}
1211
+ */
1212
+ this.MaxDiskSpace = null;
1213
+
1214
+ }
1215
+
1216
+ /**
1217
+ * @private
1218
+ */
1219
+ deserialize(params) {
1220
+ if (!params) {
1221
+ return;
1222
+ }
1223
+ this.Enable = 'Enable' in params ? params.Enable : null;
1224
+ this.StepForwardPercentage = 'StepForwardPercentage' in params ? params.StepForwardPercentage : null;
1225
+ this.DiskQuotaPercentage = 'DiskQuotaPercentage' in params ? params.DiskQuotaPercentage : null;
1226
+ this.MaxDiskSpace = 'MaxDiskSpace' in params ? params.MaxDiskSpace : null;
1227
+
1228
+ }
1229
+ }
1230
+
1182
1231
  /**
1183
1232
  * Returned result value of operation
1184
1233
  * @class
@@ -2031,25 +2080,25 @@ class CreateAclRequest extends AbstractModel {
2031
2080
  this.InstanceId = null;
2032
2081
 
2033
2082
  /**
2034
- * ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available, and other fields will be used for future ACLs compatible with open-source Kafka
2083
+ * ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
2035
2084
  * @type {number || null}
2036
2085
  */
2037
2086
  this.ResourceType = null;
2038
2087
 
2039
2088
  /**
2040
- * ACL operation mode. 0: UNKNOWN, 1: ANY, 2: ALL, 3: READ, 4: WRITE, 5: CREATE, 6: DELETE, 7: ALTER, 8: DESCRIBE, 9: CLUSTER_ACTION, 10: DESCRIBE_CONFIGS, 11: ALTER_CONFIGS
2089
+ * ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
2041
2090
  * @type {number || null}
2042
2091
  */
2043
2092
  this.Operation = null;
2044
2093
 
2045
2094
  /**
2046
- * Permission type. 0: UNKNOWN, 1: ANY, 2: DENY, 3: ALLOW. Currently, CKafka supports `ALLOW` (equivalent to allowlist), and other fields will be used for future ACLs compatible with open-source Kafka
2095
+ * Permission type (`2`: DENY, `3`: ALLOW). CKafka currently supports `ALLOW`, which is equivalent to allowlist. `DENY` will be supported for ACLs compatible with open-source Kafka.
2047
2096
  * @type {number || null}
2048
2097
  */
2049
2098
  this.PermissionType = null;
2050
2099
 
2051
2100
  /**
2052
- * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
2101
+ * Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
2053
2102
  * @type {string || null}
2054
2103
  */
2055
2104
  this.ResourceName = null;
@@ -4379,7 +4428,7 @@ class DescribeInstancesRequest extends AbstractModel {
4379
4428
  this.Limit = null;
4380
4429
 
4381
4430
  /**
4382
- * Tag key match.
4431
+ * Tag key value (this field has been deprecated).
4383
4432
  * @type {string || null}
4384
4433
  */
4385
4434
  this.TagKey = null;
@@ -4615,6 +4664,26 @@ Note: this field may return null, indicating that no valid values can be obtaine
4615
4664
  */
4616
4665
  this.DeleteRouteTimestamp = null;
4617
4666
 
4667
+ /**
4668
+ * Number of remaining creatable partitions
4669
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4670
+ * @type {number || null}
4671
+ */
4672
+ this.RemainingPartitions = null;
4673
+
4674
+ /**
4675
+ * Number of remaining creatable topics
4676
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4677
+ * @type {number || null}
4678
+ */
4679
+ this.RemainingTopics = null;
4680
+
4681
+ /**
4682
+ *
4683
+ * @type {DynamicDiskConfig || null}
4684
+ */
4685
+ this.DynamicDiskConfig = null;
4686
+
4618
4687
  }
4619
4688
 
4620
4689
  /**
@@ -4682,6 +4751,14 @@ Note: this field may return null, indicating that no valid values can be obtaine
4682
4751
  this.MaxConnection = 'MaxConnection' in params ? params.MaxConnection : null;
4683
4752
  this.PublicNetwork = 'PublicNetwork' in params ? params.PublicNetwork : null;
4684
4753
  this.DeleteRouteTimestamp = 'DeleteRouteTimestamp' in params ? params.DeleteRouteTimestamp : null;
4754
+ this.RemainingPartitions = 'RemainingPartitions' in params ? params.RemainingPartitions : null;
4755
+ this.RemainingTopics = 'RemainingTopics' in params ? params.RemainingTopics : null;
4756
+
4757
+ if (params.DynamicDiskConfig) {
4758
+ let obj = new DynamicDiskConfig();
4759
+ obj.deserialize(params.DynamicDiskConfig)
4760
+ this.DynamicDiskConfig = obj;
4761
+ }
4685
4762
 
4686
4763
  }
4687
4764
  }
@@ -6839,6 +6916,7 @@ module.exports = {
6839
6916
  DescribeInstancesDetailResponse: DescribeInstancesDetailResponse,
6840
6917
  AclRule: AclRule,
6841
6918
  DescribeACLResponse: DescribeACLResponse,
6919
+ DynamicDiskConfig: DynamicDiskConfig,
6842
6920
  JgwOperateResponse: JgwOperateResponse,
6843
6921
  ZoneInfo: ZoneInfo,
6844
6922
  DescribeTopicSubscribeGroupResponse: DescribeTopicSubscribeGroupResponse,
@@ -56,9 +56,12 @@ const DeleteAsyncSearchTaskResponse = models.DeleteAsyncSearchTaskResponse;
56
56
  const DescribeExportsRequest = models.DescribeExportsRequest;
57
57
  const CreateAsyncSearchTaskRequest = models.CreateAsyncSearchTaskRequest;
58
58
  const TopicInfo = models.TopicInfo;
59
+ const DescribeConsumerRequest = models.DescribeConsumerRequest;
59
60
  const ShipperTaskInfo = models.ShipperTaskInfo;
61
+ const ModifyConsumerRequest = models.ModifyConsumerRequest;
60
62
  const CreateIndexResponse = models.CreateIndexResponse;
61
63
  const DeleteConfigFromMachineGroupResponse = models.DeleteConfigFromMachineGroupResponse;
64
+ const CreateConsumerResponse = models.CreateConsumerResponse;
62
65
  const ModifyMachineGroupResponse = models.ModifyMachineGroupResponse;
63
66
  const RuleInfo = models.RuleInfo;
64
67
  const DeleteMachineGroupRequest = models.DeleteMachineGroupRequest;
@@ -82,19 +85,23 @@ const MachineGroupInfo = models.MachineGroupInfo;
82
85
  const DescribeMachineGroupsRequest = models.DescribeMachineGroupsRequest;
83
86
  const DescribeAsyncContextTasksResponse = models.DescribeAsyncContextTasksResponse;
84
87
  const CreateIndexRequest = models.CreateIndexRequest;
85
- const CreateTopicRequest = models.CreateTopicRequest;
88
+ const DeleteConsumerResponse = models.DeleteConsumerResponse;
86
89
  const DescribeTopicsRequest = models.DescribeTopicsRequest;
87
90
  const GetAlarmLogResponse = models.GetAlarmLogResponse;
88
91
  const DescribeAsyncSearchTasksRequest = models.DescribeAsyncSearchTasksRequest;
89
- const DescribeConfigsRequest = models.DescribeConfigsRequest;
92
+ const CreateTopicRequest = models.CreateTopicRequest;
90
93
  const DescribeAsyncSearchResultResponse = models.DescribeAsyncSearchResultResponse;
91
94
  const DescribeAsyncContextTasksRequest = models.DescribeAsyncContextTasksRequest;
92
95
  const AlarmTarget = models.AlarmTarget;
93
96
  const DeleteConfigResponse = models.DeleteConfigResponse;
94
97
  const ModifyIndexResponse = models.ModifyIndexResponse;
98
+ const DeleteConsumerRequest = models.DeleteConsumerRequest;
95
99
  const DeleteIndexRequest = models.DeleteIndexRequest;
100
+ const DescribeConsumerResponse = models.DescribeConsumerResponse;
96
101
  const ExtractRuleInfo = models.ExtractRuleInfo;
97
102
  const AsyncContextTask = models.AsyncContextTask;
103
+ const ModifyConsumerResponse = models.ModifyConsumerResponse;
104
+ const DescribeConfigsRequest = models.DescribeConfigsRequest;
98
105
  const DeleteConfigRequest = models.DeleteConfigRequest;
99
106
  const AnalysisDimensional = models.AnalysisDimensional;
100
107
  const LogsetInfo = models.LogsetInfo;
@@ -130,6 +137,7 @@ const LogContextInfo = models.LogContextInfo;
130
137
  const ModifyShipperRequest = models.ModifyShipperRequest;
131
138
  const DescribeLogContextResponse = models.DescribeLogContextResponse;
132
139
  const DescribeAsyncSearchResultRequest = models.DescribeAsyncSearchResultRequest;
140
+ const CreateConsumerRequest = models.CreateConsumerRequest;
133
141
  const AlarmNotice = models.AlarmNotice;
134
142
  const ModifyConfigResponse = models.ModifyConfigResponse;
135
143
  const ModifyAlarmNoticeResponse = models.ModifyAlarmNoticeResponse;
@@ -144,10 +152,11 @@ const ShipperInfo = models.ShipperInfo;
144
152
  const KeyValueInfo = models.KeyValueInfo;
145
153
  const DeleteAsyncSearchTaskRequest = models.DeleteAsyncSearchTaskRequest;
146
154
  const ModifyMachineGroupRequest = models.ModifyMachineGroupRequest;
155
+ const MergePartitionRequest = models.MergePartitionRequest;
147
156
  const DescribeAlarmNoticesRequest = models.DescribeAlarmNoticesRequest;
148
157
  const NoticeReceiver = models.NoticeReceiver;
149
158
  const AsyncSearchTask = models.AsyncSearchTask;
150
- const MergePartitionRequest = models.MergePartitionRequest;
159
+ const Ckafka = models.Ckafka;
151
160
  const WebCallback = models.WebCallback;
152
161
  const CreateAsyncSearchTaskResponse = models.CreateAsyncSearchTaskResponse;
153
162
  const DeleteAlarmNoticeRequest = models.DeleteAlarmNoticeRequest;
@@ -169,6 +178,7 @@ const DescribeMachineGroupsResponse = models.DescribeMachineGroupsResponse;
169
178
  const DescribeLogsetsRequest = models.DescribeLogsetsRequest;
170
179
  const DeleteTopicResponse = models.DeleteTopicResponse;
171
180
  const Filter = models.Filter;
181
+ const ConsumerContent = models.ConsumerContent;
172
182
  const CreateExportResponse = models.CreateExportResponse;
173
183
  const KeyRegexInfo = models.KeyRegexInfo;
174
184
  const MergePartitionResponse = models.MergePartitionResponse;
@@ -217,6 +227,17 @@ class ClsClient extends AbstractClient {
217
227
  this.request("GetAlarmLog", req, resp, cb);
218
228
  }
219
229
 
230
+ /**
231
+ * This API is used to create a shipping task.
232
+ * @param {CreateConsumerRequest} req
233
+ * @param {function(string, CreateConsumerResponse):void} cb
234
+ * @public
235
+ */
236
+ CreateConsumer(req, cb) {
237
+ let resp = new CreateConsumerResponse();
238
+ this.request("CreateConsumer", req, resp, cb);
239
+ }
240
+
220
241
  /**
221
242
  * This API is used to modify a log topic.
222
243
  * @param {ModifyTopicRequest} req
@@ -350,14 +371,14 @@ class ClsClient extends AbstractClient {
350
371
  }
351
372
 
352
373
  /**
353
- * This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.
354
- * @param {ModifyShipperRequest} req
355
- * @param {function(string, ModifyShipperResponse):void} cb
374
+ * This API is used to modify a shipping task.
375
+ * @param {ModifyConsumerRequest} req
376
+ * @param {function(string, ModifyConsumerResponse):void} cb
356
377
  * @public
357
378
  */
358
- ModifyShipper(req, cb) {
359
- let resp = new ModifyShipperResponse();
360
- this.request("ModifyShipper", req, resp, cb);
379
+ ModifyConsumer(req, cb) {
380
+ let resp = new ModifyConsumerResponse();
381
+ this.request("ModifyConsumer", req, resp, cb);
361
382
  }
362
383
 
363
384
  /**
@@ -372,7 +393,7 @@ class ClsClient extends AbstractClient {
372
393
  }
373
394
 
374
395
  /**
375
- * This API is used to create an alarm notification template.
396
+ * This API is used to create a notification group.
376
397
  * @param {CreateAlarmNoticeRequest} req
377
398
  * @param {function(string, CreateAlarmNoticeResponse):void} cb
378
399
  * @public
@@ -383,14 +404,14 @@ class ClsClient extends AbstractClient {
383
404
  }
384
405
 
385
406
  /**
386
- * This API is used to get a collection rule configuration.
387
- * @param {DescribeConfigsRequest} req
388
- * @param {function(string, DescribeConfigsResponse):void} cb
407
+ * This API is used to delete a shipping task.
408
+ * @param {DeleteConsumerRequest} req
409
+ * @param {function(string, DeleteConsumerResponse):void} cb
389
410
  * @public
390
411
  */
391
- DescribeConfigs(req, cb) {
392
- let resp = new DescribeConfigsResponse();
393
- this.request("DescribeConfigs", req, resp, cb);
412
+ DeleteConsumer(req, cb) {
413
+ let resp = new DeleteConsumerResponse();
414
+ this.request("DeleteConsumer", req, resp, cb);
394
415
  }
395
416
 
396
417
  /**
@@ -482,7 +503,7 @@ class ClsClient extends AbstractClient {
482
503
  }
483
504
 
484
505
  /**
485
- * This API is used to get the list of alarm policies.
506
+ * This API is used to get the alarm policy list.
486
507
  * @param {DescribeAlarmsRequest} req
487
508
  * @param {function(string, DescribeAlarmsResponse):void} cb
488
509
  * @public
@@ -504,7 +525,7 @@ class ClsClient extends AbstractClient {
504
525
  }
505
526
 
506
527
  /**
507
- * This API is used to get the list of alarm notification templates.
528
+ * This API is used to get the notification group list.
508
529
  * @param {DescribeAlarmNoticesRequest} req
509
530
  * @param {function(string, DescribeAlarmNoticesResponse):void} cb
510
531
  * @public
@@ -537,7 +558,7 @@ class ClsClient extends AbstractClient {
537
558
  }
538
559
 
539
560
  /**
540
- * This API is used to delete an alarm notification template.
561
+ * This API is used to delete a notification group.
541
562
  * @param {DeleteAlarmNoticeRequest} req
542
563
  * @param {function(string, DeleteAlarmNoticeResponse):void} cb
543
564
  * @public
@@ -560,7 +581,7 @@ class ClsClient extends AbstractClient {
560
581
  }
561
582
 
562
583
  /**
563
- * This API is used to modify an alarm notification template.
584
+ * This API is used to modify a notification group.
564
585
  * @param {ModifyAlarmNoticeRequest} req
565
586
  * @param {function(string, ModifyAlarmNoticeResponse):void} cb
566
587
  * @public
@@ -571,7 +592,7 @@ class ClsClient extends AbstractClient {
571
592
  }
572
593
 
573
594
  /**
574
- * This API is used to search for logs.
595
+ * This API is used to search logs. It is subject to the default API rate limit, and the number of concurrent calls to the same log topic cannot exceed 15.
575
596
  * @param {SearchLogRequest} req
576
597
  * @param {function(string, SearchLogResponse):void} cb
577
598
  * @public
@@ -762,6 +783,17 @@ Import the generated `cls.pb.h` header file into the code and call the API for d
762
783
  this.request("CreateAsyncContextTask", req, resp, cb);
763
784
  }
764
785
 
786
+ /**
787
+ * This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.
788
+ * @param {ModifyShipperRequest} req
789
+ * @param {function(string, ModifyShipperResponse):void} cb
790
+ * @public
791
+ */
792
+ ModifyShipper(req, cb) {
793
+ let resp = new ModifyShipperResponse();
794
+ this.request("ModifyShipper", req, resp, cb);
795
+ }
796
+
765
797
  /**
766
798
  * This API is used to create a collection rule configuration.
767
799
  * @param {CreateConfigRequest} req
@@ -839,6 +871,28 @@ Import the generated `cls.pb.h` header file into the code and call the API for d
839
871
  this.request("DescribeLogContext", req, resp, cb);
840
872
  }
841
873
 
874
+ /**
875
+ * This API is used to query a shipping task.
876
+ * @param {DescribeConsumerRequest} req
877
+ * @param {function(string, DescribeConsumerResponse):void} cb
878
+ * @public
879
+ */
880
+ DescribeConsumer(req, cb) {
881
+ let resp = new DescribeConsumerResponse();
882
+ this.request("DescribeConsumer", req, resp, cb);
883
+ }
884
+
885
+ /**
886
+ * This API is used to get a collection rule configuration.
887
+ * @param {DescribeConfigsRequest} req
888
+ * @param {function(string, DescribeConfigsResponse):void} cb
889
+ * @public
890
+ */
891
+ DescribeConfigs(req, cb) {
892
+ let resp = new DescribeConfigsResponse();
893
+ this.request("DescribeConfigs", req, resp, cb);
894
+ }
895
+
842
896
  /**
843
897
  * This API is used to merge a topic partition in read/write state. During merge, a topic partition ID can be specified, and CLS will automatically merge the partition adjacent to the right of the range.
844
898
  * @param {MergePartitionRequest} req