tencentcloud-sdk-nodejs-intl-en 3.0.671 → 3.0.673
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/ckafka/v20190819/ckafka_client.js +60 -7
- package/tencentcloud/ckafka/v20190819/models.js +474 -38
- package/tencentcloud/clb/v20180317/models.js +30 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +30 -1
- package/tencentcloud/dcdb/v20180411/models.js +859 -11
package/package.json
CHANGED
|
@@ -29,6 +29,8 @@ const DescribeTopicAttributesRequest = models.DescribeTopicAttributesRequest;
|
|
|
29
29
|
const DescribeInstanceAttributesRequest = models.DescribeInstanceAttributesRequest;
|
|
30
30
|
const ConsumerGroup = models.ConsumerGroup;
|
|
31
31
|
const Assignment = models.Assignment;
|
|
32
|
+
const ModifyAclRuleRequest = models.ModifyAclRuleRequest;
|
|
33
|
+
const DescribeAclRuleResponse = models.DescribeAclRuleResponse;
|
|
32
34
|
const DescribeConsumerGroupResponse = models.DescribeConsumerGroupResponse;
|
|
33
35
|
const InquiryDetailPrice = models.InquiryDetailPrice;
|
|
34
36
|
const InquireCkafkaPriceResp = models.InquireCkafkaPriceResp;
|
|
@@ -41,9 +43,11 @@ const GroupInfoTopics = models.GroupInfoTopics;
|
|
|
41
43
|
const FetchMessageListByOffsetRequest = models.FetchMessageListByOffsetRequest;
|
|
42
44
|
const Region = models.Region;
|
|
43
45
|
const ModifyInstancePreRequest = models.ModifyInstancePreRequest;
|
|
46
|
+
const CreateAclRuleRequest = models.CreateAclRuleRequest;
|
|
44
47
|
const DescribeInstancesDetailResponse = models.DescribeInstancesDetailResponse;
|
|
45
48
|
const CreateInstancePreData = models.CreateInstancePreData;
|
|
46
49
|
const AclRule = models.AclRule;
|
|
50
|
+
const DescribeAclRuleRequest = models.DescribeAclRuleRequest;
|
|
47
51
|
const DescribeACLResponse = models.DescribeACLResponse;
|
|
48
52
|
const DynamicDiskConfig = models.DynamicDiskConfig;
|
|
49
53
|
const InquireCkafkaPriceRequest = models.InquireCkafkaPriceRequest;
|
|
@@ -53,6 +57,7 @@ const DescribeCkafkaZoneRequest = models.DescribeCkafkaZoneRequest;
|
|
|
53
57
|
const SaleInfo = models.SaleInfo;
|
|
54
58
|
const Topic = models.Topic;
|
|
55
59
|
const Tag = models.Tag;
|
|
60
|
+
const ModifyAclRuleResponse = models.ModifyAclRuleResponse;
|
|
56
61
|
const BatchModifyGroupOffsetsResponse = models.BatchModifyGroupOffsetsResponse;
|
|
57
62
|
const GroupResponse = models.GroupResponse;
|
|
58
63
|
const CreateDatahubTopicRequest = models.CreateDatahubTopicRequest;
|
|
@@ -127,9 +132,10 @@ const DescribeTopicProduceConnectionResponse = models.DescribeTopicProduceConnec
|
|
|
127
132
|
const ModifyInstanceAttributesResponse = models.ModifyInstanceAttributesResponse;
|
|
128
133
|
const ConsumerGroupTopic = models.ConsumerGroupTopic;
|
|
129
134
|
const User = models.User;
|
|
130
|
-
const
|
|
135
|
+
const CreateAclRuleResponse = models.CreateAclRuleResponse;
|
|
131
136
|
const DeleteTopicResponse = models.DeleteTopicResponse;
|
|
132
137
|
const DeleteRouteTriggerTimeRequest = models.DeleteRouteTriggerTimeRequest;
|
|
138
|
+
const GroupOffsetPartition = models.GroupOffsetPartition;
|
|
133
139
|
const DescribeInstancesRequest = models.DescribeInstancesRequest;
|
|
134
140
|
const InstanceAttributesResponse = models.InstanceAttributesResponse;
|
|
135
141
|
const CreateInstancePostRequest = models.CreateInstancePostRequest;
|
|
@@ -162,6 +168,7 @@ const TopicPartitionDO = models.TopicPartitionDO;
|
|
|
162
168
|
const CreateTopicResp = models.CreateTopicResp;
|
|
163
169
|
const BatchModifyTopicInfo = models.BatchModifyTopicInfo;
|
|
164
170
|
const DescribeRouteResponse = models.DescribeRouteResponse;
|
|
171
|
+
const ModifyDatahubTopicResponse = models.ModifyDatahubTopicResponse;
|
|
165
172
|
const BatchContent = models.BatchContent;
|
|
166
173
|
const InquiryPrice = models.InquiryPrice;
|
|
167
174
|
const TopicResult = models.TopicResult;
|
|
@@ -176,6 +183,7 @@ const Route = models.Route;
|
|
|
176
183
|
const AclRuleInfo = models.AclRuleInfo;
|
|
177
184
|
const Acl = models.Acl;
|
|
178
185
|
const TopicRetentionTimeConfigRsp = models.TopicRetentionTimeConfigRsp;
|
|
186
|
+
const ModifyDatahubTopicRequest = models.ModifyDatahubTopicRequest;
|
|
179
187
|
const ModifyTopicAttributesRequest = models.ModifyTopicAttributesRequest;
|
|
180
188
|
const CreateTopicResponse = models.CreateTopicResponse;
|
|
181
189
|
const DeleteTopicIpWhiteListRequest = models.DeleteTopicIpWhiteListRequest;
|
|
@@ -188,6 +196,7 @@ const InstanceDetail = models.InstanceDetail;
|
|
|
188
196
|
const InstanceQuotaConfigResp = models.InstanceQuotaConfigResp;
|
|
189
197
|
const DescribeTopicDetailResponse = models.DescribeTopicDetailResponse;
|
|
190
198
|
const SubscribedInfo = models.SubscribedInfo;
|
|
199
|
+
const AclRuleResp = models.AclRuleResp;
|
|
191
200
|
const Price = models.Price;
|
|
192
201
|
|
|
193
202
|
|
|
@@ -256,6 +265,17 @@ class CkafkaClient extends AbstractClient {
|
|
|
256
265
|
this.request("CreateInstancePost", req, resp, cb);
|
|
257
266
|
}
|
|
258
267
|
|
|
268
|
+
/**
|
|
269
|
+
* This API is used to query the ACL rule list.
|
|
270
|
+
* @param {DescribeAclRuleRequest} req
|
|
271
|
+
* @param {function(string, DescribeAclRuleResponse):void} cb
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
DescribeAclRule(req, cb) {
|
|
275
|
+
let resp = new DescribeAclRuleResponse();
|
|
276
|
+
this.request("DescribeAclRule", req, resp, cb);
|
|
277
|
+
}
|
|
278
|
+
|
|
259
279
|
/**
|
|
260
280
|
* This API is used to search and subscribe the message group information of a topic.
|
|
261
281
|
* @param {DescribeTopicSubscribeGroupRequest} req
|
|
@@ -312,14 +332,14 @@ class CkafkaClient extends AbstractClient {
|
|
|
312
332
|
}
|
|
313
333
|
|
|
314
334
|
/**
|
|
315
|
-
* This API is used to modify topic attributes.
|
|
316
|
-
* @param {
|
|
317
|
-
* @param {function(string,
|
|
335
|
+
* This API is used to modify the DataHub topic attributes.
|
|
336
|
+
* @param {ModifyDatahubTopicRequest} req
|
|
337
|
+
* @param {function(string, ModifyDatahubTopicResponse):void} cb
|
|
318
338
|
* @public
|
|
319
339
|
*/
|
|
320
|
-
|
|
321
|
-
let resp = new
|
|
322
|
-
this.request("
|
|
340
|
+
ModifyDatahubTopic(req, cb) {
|
|
341
|
+
let resp = new ModifyDatahubTopicResponse();
|
|
342
|
+
this.request("ModifyDatahubTopic", req, resp, cb);
|
|
323
343
|
}
|
|
324
344
|
|
|
325
345
|
/**
|
|
@@ -498,6 +518,17 @@ class CkafkaClient extends AbstractClient {
|
|
|
498
518
|
this.request("CreateTopic", req, resp, cb);
|
|
499
519
|
}
|
|
500
520
|
|
|
521
|
+
/**
|
|
522
|
+
* This API is used to modify an ACL policy, and currently only supports specifying whether to apply the preset rule to new topics.
|
|
523
|
+
* @param {ModifyAclRuleRequest} req
|
|
524
|
+
* @param {function(string, ModifyAclRuleResponse):void} cb
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
ModifyAclRule(req, cb) {
|
|
528
|
+
let resp = new ModifyAclRuleResponse();
|
|
529
|
+
this.request("ModifyAclRule", req, resp, cb);
|
|
530
|
+
}
|
|
531
|
+
|
|
501
532
|
/**
|
|
502
533
|
* This API is used to add a partition in a topic.
|
|
503
534
|
* @param {CreatePartitionRequest} req
|
|
@@ -665,6 +696,17 @@ This API is used to get the list of topics in a CKafka instance of a user.
|
|
|
665
696
|
this.request("DescribeTopic", req, resp, cb);
|
|
666
697
|
}
|
|
667
698
|
|
|
699
|
+
/**
|
|
700
|
+
* This API shows you how to create an ACL rule.
|
|
701
|
+
* @param {CreateAclRuleRequest} req
|
|
702
|
+
* @param {function(string, CreateAclRuleResponse):void} cb
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
CreateAclRule(req, cb) {
|
|
706
|
+
let resp = new CreateAclRuleResponse();
|
|
707
|
+
this.request("CreateAclRule", req, resp, cb);
|
|
708
|
+
}
|
|
709
|
+
|
|
668
710
|
/**
|
|
669
711
|
* This API is used to get the DataHub topic attributes.
|
|
670
712
|
* @param {DescribeDatahubTopicRequest} req
|
|
@@ -731,6 +773,17 @@ This API is used to get the list of topics in a CKafka instance of a user.
|
|
|
731
773
|
this.request("InquireCkafkaPrice", req, resp, cb);
|
|
732
774
|
}
|
|
733
775
|
|
|
776
|
+
/**
|
|
777
|
+
* This API is used to modify topic attributes.
|
|
778
|
+
* @param {ModifyTopicAttributesRequest} req
|
|
779
|
+
* @param {function(string, ModifyTopicAttributesResponse):void} cb
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
ModifyTopicAttributes(req, cb) {
|
|
783
|
+
let resp = new ModifyTopicAttributesResponse();
|
|
784
|
+
this.request("ModifyTopicAttributes", req, resp, cb);
|
|
785
|
+
}
|
|
786
|
+
|
|
734
787
|
|
|
735
788
|
}
|
|
736
789
|
module.exports = CkafkaClient;
|