tencentcloud-sdk-nodejs-intl-en 3.0.360 → 3.0.361
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 +39 -10
- package/tencentcloud/ckafka/v20190819/models.js +524 -86
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dts/v20180330/dts_client.js +8 -127
- package/tencentcloud/dts/v20180330/models.js +1100 -2192
- package/tencentcloud/es/v20180416/es_client.js +18 -2
- package/tencentcloud/es/v20180416/models.js +670 -36
- package/tencentcloud/postgres/v20170312/models.js +118 -13
- package/tencentcloud/postgres/v20170312/postgres_client.js +1 -0
|
@@ -467,24 +467,39 @@ class DescribeACLRequest extends AbstractModel {
|
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
/**
|
|
470
|
-
*
|
|
470
|
+
* Results of the batch modified topic attributes
|
|
471
471
|
* @class
|
|
472
472
|
*/
|
|
473
|
-
class
|
|
473
|
+
class BatchModifyTopicResultDTO extends AbstractModel {
|
|
474
474
|
constructor(){
|
|
475
475
|
super();
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
|
-
*
|
|
479
|
-
|
|
478
|
+
* Instance ID.
|
|
479
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
480
|
+
* @type {string || null}
|
|
480
481
|
*/
|
|
481
|
-
this.
|
|
482
|
+
this.InstanceId = null;
|
|
482
483
|
|
|
483
484
|
/**
|
|
484
|
-
*
|
|
485
|
+
* Topic name.
|
|
486
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
485
487
|
* @type {string || null}
|
|
486
488
|
*/
|
|
487
|
-
this.
|
|
489
|
+
this.TopicName = null;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Status code.
|
|
493
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
494
|
+
* @type {string || null}
|
|
495
|
+
*/
|
|
496
|
+
this.ReturnCode = null;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Message status.
|
|
500
|
+
* @type {string || null}
|
|
501
|
+
*/
|
|
502
|
+
this.Message = null;
|
|
488
503
|
|
|
489
504
|
}
|
|
490
505
|
|
|
@@ -495,13 +510,10 @@ class DescribeTopicSyncReplicaResponse extends AbstractModel {
|
|
|
495
510
|
if (!params) {
|
|
496
511
|
return;
|
|
497
512
|
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
this.Result = obj;
|
|
503
|
-
}
|
|
504
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
513
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
514
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
515
|
+
this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
|
|
516
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
505
517
|
|
|
506
518
|
}
|
|
507
519
|
}
|
|
@@ -811,6 +823,49 @@ class FetchMessageByOffsetResponse extends AbstractModel {
|
|
|
811
823
|
}
|
|
812
824
|
}
|
|
813
825
|
|
|
826
|
+
/**
|
|
827
|
+
* BatchModifyTopicAttributes response structure.
|
|
828
|
+
* @class
|
|
829
|
+
*/
|
|
830
|
+
class BatchModifyTopicAttributesResponse extends AbstractModel {
|
|
831
|
+
constructor(){
|
|
832
|
+
super();
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Returned result.
|
|
836
|
+
* @type {Array.<BatchModifyTopicResultDTO> || null}
|
|
837
|
+
*/
|
|
838
|
+
this.Result = null;
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
842
|
+
* @type {string || null}
|
|
843
|
+
*/
|
|
844
|
+
this.RequestId = null;
|
|
845
|
+
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* @private
|
|
850
|
+
*/
|
|
851
|
+
deserialize(params) {
|
|
852
|
+
if (!params) {
|
|
853
|
+
return;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
if (params.Result) {
|
|
857
|
+
this.Result = new Array();
|
|
858
|
+
for (let z in params.Result) {
|
|
859
|
+
let obj = new BatchModifyTopicResultDTO();
|
|
860
|
+
obj.deserialize(params.Result[z]);
|
|
861
|
+
this.Result.push(obj);
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
865
|
+
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
814
869
|
/**
|
|
815
870
|
* Internal topic object of `GroupInfo`
|
|
816
871
|
* @class
|
|
@@ -1180,7 +1235,7 @@ class DescribeACLResponse extends AbstractModel {
|
|
|
1180
1235
|
}
|
|
1181
1236
|
|
|
1182
1237
|
/**
|
|
1183
|
-
*
|
|
1238
|
+
* Dynamic disk expansion configuration
|
|
1184
1239
|
* @class
|
|
1185
1240
|
*/
|
|
1186
1241
|
class DynamicDiskConfig extends AbstractModel {
|
|
@@ -1188,25 +1243,29 @@ class DynamicDiskConfig extends AbstractModel {
|
|
|
1188
1243
|
super();
|
|
1189
1244
|
|
|
1190
1245
|
/**
|
|
1191
|
-
*
|
|
1246
|
+
* Whether to enable dynamic disk expansion configuration. `0`: disable, `1`: enable.
|
|
1247
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1192
1248
|
* @type {number || null}
|
|
1193
1249
|
*/
|
|
1194
1250
|
this.Enable = null;
|
|
1195
1251
|
|
|
1196
1252
|
/**
|
|
1197
|
-
*
|
|
1253
|
+
* Percentage of dynamic disk expansion each time.
|
|
1254
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1198
1255
|
* @type {number || null}
|
|
1199
1256
|
*/
|
|
1200
1257
|
this.StepForwardPercentage = null;
|
|
1201
1258
|
|
|
1202
1259
|
/**
|
|
1203
|
-
*
|
|
1260
|
+
* Disk quota threshold (in percentage) for triggering the automatic disk expansion event.
|
|
1261
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1204
1262
|
* @type {number || null}
|
|
1205
1263
|
*/
|
|
1206
1264
|
this.DiskQuotaPercentage = null;
|
|
1207
1265
|
|
|
1208
1266
|
/**
|
|
1209
|
-
*
|
|
1267
|
+
* Max disk space in GB.
|
|
1268
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1210
1269
|
* @type {number || null}
|
|
1211
1270
|
*/
|
|
1212
1271
|
this.MaxDiskSpace = null;
|
|
@@ -1561,6 +1620,46 @@ class Tag extends AbstractModel {
|
|
|
1561
1620
|
}
|
|
1562
1621
|
}
|
|
1563
1622
|
|
|
1623
|
+
/**
|
|
1624
|
+
* BatchModifyGroupOffsets response structure.
|
|
1625
|
+
* @class
|
|
1626
|
+
*/
|
|
1627
|
+
class BatchModifyGroupOffsetsResponse extends AbstractModel {
|
|
1628
|
+
constructor(){
|
|
1629
|
+
super();
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* Returned result.
|
|
1633
|
+
* @type {JgwOperateResponse || null}
|
|
1634
|
+
*/
|
|
1635
|
+
this.Result = null;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1639
|
+
* @type {string || null}
|
|
1640
|
+
*/
|
|
1641
|
+
this.RequestId = null;
|
|
1642
|
+
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @private
|
|
1647
|
+
*/
|
|
1648
|
+
deserialize(params) {
|
|
1649
|
+
if (!params) {
|
|
1650
|
+
return;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
if (params.Result) {
|
|
1654
|
+
let obj = new JgwOperateResponse();
|
|
1655
|
+
obj.deserialize(params.Result)
|
|
1656
|
+
this.Result = obj;
|
|
1657
|
+
}
|
|
1658
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1659
|
+
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1564
1663
|
/**
|
|
1565
1664
|
* `DescribeGroup` response
|
|
1566
1665
|
* @class
|
|
@@ -2142,6 +2241,46 @@ class CreateAclRequest extends AbstractModel {
|
|
|
2142
2241
|
}
|
|
2143
2242
|
}
|
|
2144
2243
|
|
|
2244
|
+
/**
|
|
2245
|
+
* DescribeTopicSyncReplica response structure.
|
|
2246
|
+
* @class
|
|
2247
|
+
*/
|
|
2248
|
+
class DescribeTopicSyncReplicaResponse extends AbstractModel {
|
|
2249
|
+
constructor(){
|
|
2250
|
+
super();
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Returns topic replica details
|
|
2254
|
+
* @type {TopicInSyncReplicaResult || null}
|
|
2255
|
+
*/
|
|
2256
|
+
this.Result = null;
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2260
|
+
* @type {string || null}
|
|
2261
|
+
*/
|
|
2262
|
+
this.RequestId = null;
|
|
2263
|
+
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* @private
|
|
2268
|
+
*/
|
|
2269
|
+
deserialize(params) {
|
|
2270
|
+
if (!params) {
|
|
2271
|
+
return;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
if (params.Result) {
|
|
2275
|
+
let obj = new TopicInSyncReplicaResult();
|
|
2276
|
+
obj.deserialize(params.Result)
|
|
2277
|
+
this.Result = obj;
|
|
2278
|
+
}
|
|
2279
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2280
|
+
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2145
2284
|
/**
|
|
2146
2285
|
* DescribeAppInfo request structure.
|
|
2147
2286
|
* @class
|
|
@@ -2177,6 +2316,41 @@ class DescribeAppInfoRequest extends AbstractModel {
|
|
|
2177
2316
|
}
|
|
2178
2317
|
}
|
|
2179
2318
|
|
|
2319
|
+
/**
|
|
2320
|
+
* Partition information
|
|
2321
|
+
* @class
|
|
2322
|
+
*/
|
|
2323
|
+
class Partitions extends AbstractModel {
|
|
2324
|
+
constructor(){
|
|
2325
|
+
super();
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Partition.
|
|
2329
|
+
* @type {number || null}
|
|
2330
|
+
*/
|
|
2331
|
+
this.Partition = null;
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* Partition consumption offset.
|
|
2335
|
+
* @type {number || null}
|
|
2336
|
+
*/
|
|
2337
|
+
this.Offset = null;
|
|
2338
|
+
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* @private
|
|
2343
|
+
*/
|
|
2344
|
+
deserialize(params) {
|
|
2345
|
+
if (!params) {
|
|
2346
|
+
return;
|
|
2347
|
+
}
|
|
2348
|
+
this.Partition = 'Partition' in params ? params.Partition : null;
|
|
2349
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2350
|
+
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2180
2354
|
/**
|
|
2181
2355
|
* DescribeTopic response structure.
|
|
2182
2356
|
* @class
|
|
@@ -2632,6 +2806,12 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
2632
2806
|
*/
|
|
2633
2807
|
this.RetentionBytes = null;
|
|
2634
2808
|
|
|
2809
|
+
/**
|
|
2810
|
+
* Tag list.
|
|
2811
|
+
* @type {Array.<Tag> || null}
|
|
2812
|
+
*/
|
|
2813
|
+
this.Tags = null;
|
|
2814
|
+
|
|
2635
2815
|
}
|
|
2636
2816
|
|
|
2637
2817
|
/**
|
|
@@ -2657,6 +2837,15 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
2657
2837
|
this.AclRuleName = 'AclRuleName' in params ? params.AclRuleName : null;
|
|
2658
2838
|
this.RetentionBytes = 'RetentionBytes' in params ? params.RetentionBytes : null;
|
|
2659
2839
|
|
|
2840
|
+
if (params.Tags) {
|
|
2841
|
+
this.Tags = new Array();
|
|
2842
|
+
for (let z in params.Tags) {
|
|
2843
|
+
let obj = new Tag();
|
|
2844
|
+
obj.deserialize(params.Tags[z]);
|
|
2845
|
+
this.Tags.push(obj);
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2660
2849
|
}
|
|
2661
2850
|
}
|
|
2662
2851
|
|
|
@@ -3609,6 +3798,20 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
3609
3798
|
*/
|
|
3610
3799
|
this.Physical = null;
|
|
3611
3800
|
|
|
3801
|
+
/**
|
|
3802
|
+
* Public network bandwidth.
|
|
3803
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3804
|
+
* @type {string || null}
|
|
3805
|
+
*/
|
|
3806
|
+
this.PublicNetwork = null;
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* Public network bandwidth configuration.
|
|
3810
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3811
|
+
* @type {string || null}
|
|
3812
|
+
*/
|
|
3813
|
+
this.PublicNetworkLimit = null;
|
|
3814
|
+
|
|
3612
3815
|
}
|
|
3613
3816
|
|
|
3614
3817
|
/**
|
|
@@ -3654,6 +3857,8 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
3654
3857
|
this.StandardS2 = 'StandardS2' in params ? params.StandardS2 : null;
|
|
3655
3858
|
this.Profession = 'Profession' in params ? params.Profession : null;
|
|
3656
3859
|
this.Physical = 'Physical' in params ? params.Physical : null;
|
|
3860
|
+
this.PublicNetwork = 'PublicNetwork' in params ? params.PublicNetwork : null;
|
|
3861
|
+
this.PublicNetworkLimit = 'PublicNetworkLimit' in params ? params.PublicNetworkLimit : null;
|
|
3657
3862
|
|
|
3658
3863
|
}
|
|
3659
3864
|
}
|
|
@@ -4036,6 +4241,12 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
|
|
|
4036
4241
|
*/
|
|
4037
4242
|
this.PublicNetwork = null;
|
|
4038
4243
|
|
|
4244
|
+
/**
|
|
4245
|
+
* Dynamic disk expansion policy configuration.
|
|
4246
|
+
* @type {DynamicDiskConfig || null}
|
|
4247
|
+
*/
|
|
4248
|
+
this.DynamicDiskConfig = null;
|
|
4249
|
+
|
|
4039
4250
|
}
|
|
4040
4251
|
|
|
4041
4252
|
/**
|
|
@@ -4063,6 +4274,12 @@ class ModifyInstanceAttributesRequest extends AbstractModel {
|
|
|
4063
4274
|
this.RebalanceTime = 'RebalanceTime' in params ? params.RebalanceTime : null;
|
|
4064
4275
|
this.PublicNetwork = 'PublicNetwork' in params ? params.PublicNetwork : null;
|
|
4065
4276
|
|
|
4277
|
+
if (params.DynamicDiskConfig) {
|
|
4278
|
+
let obj = new DynamicDiskConfig();
|
|
4279
|
+
obj.deserialize(params.DynamicDiskConfig)
|
|
4280
|
+
this.DynamicDiskConfig = obj;
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4066
4283
|
}
|
|
4067
4284
|
}
|
|
4068
4285
|
|
|
@@ -4679,7 +4896,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
4679
4896
|
this.RemainingTopics = null;
|
|
4680
4897
|
|
|
4681
4898
|
/**
|
|
4682
|
-
*
|
|
4899
|
+
* Dynamic disk expansion policy.
|
|
4900
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4683
4901
|
* @type {DynamicDiskConfig || null}
|
|
4684
4902
|
*/
|
|
4685
4903
|
this.DynamicDiskConfig = null;
|
|
@@ -4764,24 +4982,36 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
4764
4982
|
}
|
|
4765
4983
|
|
|
4766
4984
|
/**
|
|
4767
|
-
*
|
|
4985
|
+
* DescribeGroup request structure.
|
|
4768
4986
|
* @class
|
|
4769
4987
|
*/
|
|
4770
|
-
class
|
|
4988
|
+
class DescribeGroupRequest extends AbstractModel {
|
|
4771
4989
|
constructor(){
|
|
4772
4990
|
super();
|
|
4773
4991
|
|
|
4774
4992
|
/**
|
|
4775
|
-
*
|
|
4776
|
-
* @type {
|
|
4993
|
+
* Instance ID
|
|
4994
|
+
* @type {string || null}
|
|
4777
4995
|
*/
|
|
4778
|
-
this.
|
|
4996
|
+
this.InstanceId = null;
|
|
4779
4997
|
|
|
4780
4998
|
/**
|
|
4781
|
-
*
|
|
4999
|
+
* Search keyword
|
|
4782
5000
|
* @type {string || null}
|
|
4783
5001
|
*/
|
|
4784
|
-
this.
|
|
5002
|
+
this.SearchWord = null;
|
|
5003
|
+
|
|
5004
|
+
/**
|
|
5005
|
+
* Offset
|
|
5006
|
+
* @type {number || null}
|
|
5007
|
+
*/
|
|
5008
|
+
this.Offset = null;
|
|
5009
|
+
|
|
5010
|
+
/**
|
|
5011
|
+
* Maximum number of results to be returned
|
|
5012
|
+
* @type {number || null}
|
|
5013
|
+
*/
|
|
5014
|
+
this.Limit = null;
|
|
4785
5015
|
|
|
4786
5016
|
}
|
|
4787
5017
|
|
|
@@ -4792,13 +5022,10 @@ class DescribeCkafkaZoneResponse extends AbstractModel {
|
|
|
4792
5022
|
if (!params) {
|
|
4793
5023
|
return;
|
|
4794
5024
|
}
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
this.Result = obj;
|
|
4800
|
-
}
|
|
4801
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5025
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5026
|
+
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
5027
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5028
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4802
5029
|
|
|
4803
5030
|
}
|
|
4804
5031
|
}
|
|
@@ -5269,6 +5496,63 @@ Stable: each consumer in the consumer group has joined and is in stable state
|
|
|
5269
5496
|
}
|
|
5270
5497
|
}
|
|
5271
5498
|
|
|
5499
|
+
/**
|
|
5500
|
+
* BatchModifyGroupOffsets request structure.
|
|
5501
|
+
* @class
|
|
5502
|
+
*/
|
|
5503
|
+
class BatchModifyGroupOffsetsRequest extends AbstractModel {
|
|
5504
|
+
constructor(){
|
|
5505
|
+
super();
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
* Consumer group name.
|
|
5509
|
+
* @type {string || null}
|
|
5510
|
+
*/
|
|
5511
|
+
this.GroupName = null;
|
|
5512
|
+
|
|
5513
|
+
/**
|
|
5514
|
+
* Instance name.
|
|
5515
|
+
* @type {string || null}
|
|
5516
|
+
*/
|
|
5517
|
+
this.InstanceId = null;
|
|
5518
|
+
|
|
5519
|
+
/**
|
|
5520
|
+
* Partition information.
|
|
5521
|
+
* @type {Array.<Partitions> || null}
|
|
5522
|
+
*/
|
|
5523
|
+
this.Partitions = null;
|
|
5524
|
+
|
|
5525
|
+
/**
|
|
5526
|
+
* Name of the specified topic. Default value: names of all topics.
|
|
5527
|
+
* @type {Array.<string> || null}
|
|
5528
|
+
*/
|
|
5529
|
+
this.TopicName = null;
|
|
5530
|
+
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5533
|
+
/**
|
|
5534
|
+
* @private
|
|
5535
|
+
*/
|
|
5536
|
+
deserialize(params) {
|
|
5537
|
+
if (!params) {
|
|
5538
|
+
return;
|
|
5539
|
+
}
|
|
5540
|
+
this.GroupName = 'GroupName' in params ? params.GroupName : null;
|
|
5541
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5542
|
+
|
|
5543
|
+
if (params.Partitions) {
|
|
5544
|
+
this.Partitions = new Array();
|
|
5545
|
+
for (let z in params.Partitions) {
|
|
5546
|
+
let obj = new Partitions();
|
|
5547
|
+
obj.deserialize(params.Partitions[z]);
|
|
5548
|
+
this.Partitions.push(obj);
|
|
5549
|
+
}
|
|
5550
|
+
}
|
|
5551
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
5552
|
+
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5272
5556
|
/**
|
|
5273
5557
|
* Returned topic attributes result entity
|
|
5274
5558
|
* @class
|
|
@@ -5541,6 +5825,144 @@ class CreateTopicResp extends AbstractModel {
|
|
|
5541
5825
|
}
|
|
5542
5826
|
}
|
|
5543
5827
|
|
|
5828
|
+
/**
|
|
5829
|
+
* Topic parameters that can be modified in batches
|
|
5830
|
+
* @class
|
|
5831
|
+
*/
|
|
5832
|
+
class BatchModifyTopicInfo extends AbstractModel {
|
|
5833
|
+
constructor(){
|
|
5834
|
+
super();
|
|
5835
|
+
|
|
5836
|
+
/**
|
|
5837
|
+
* Topic name.
|
|
5838
|
+
* @type {string || null}
|
|
5839
|
+
*/
|
|
5840
|
+
this.TopicName = null;
|
|
5841
|
+
|
|
5842
|
+
/**
|
|
5843
|
+
* The number of partitions.
|
|
5844
|
+
* @type {number || null}
|
|
5845
|
+
*/
|
|
5846
|
+
this.PartitionNum = null;
|
|
5847
|
+
|
|
5848
|
+
/**
|
|
5849
|
+
* Remarks.
|
|
5850
|
+
* @type {string || null}
|
|
5851
|
+
*/
|
|
5852
|
+
this.Note = null;
|
|
5853
|
+
|
|
5854
|
+
/**
|
|
5855
|
+
* Number of replicas.
|
|
5856
|
+
* @type {number || null}
|
|
5857
|
+
*/
|
|
5858
|
+
this.ReplicaNum = null;
|
|
5859
|
+
|
|
5860
|
+
/**
|
|
5861
|
+
* Message deletion policy. Valid values: `delete`, `compact`.
|
|
5862
|
+
* @type {string || null}
|
|
5863
|
+
*/
|
|
5864
|
+
this.CleanUpPolicy = null;
|
|
5865
|
+
|
|
5866
|
+
/**
|
|
5867
|
+
* The minimum number of replicas specified by `min.insync.replicas` when the producer sets `request.required.acks` to `-1`.
|
|
5868
|
+
* @type {number || null}
|
|
5869
|
+
*/
|
|
5870
|
+
this.MinInsyncReplicas = null;
|
|
5871
|
+
|
|
5872
|
+
/**
|
|
5873
|
+
* Whether to allow a non-ISR replica to be the leader.
|
|
5874
|
+
* @type {boolean || null}
|
|
5875
|
+
*/
|
|
5876
|
+
this.UncleanLeaderElectionEnable = null;
|
|
5877
|
+
|
|
5878
|
+
/**
|
|
5879
|
+
* Message retention period in topic dimension in milliseconds. Value range: 1 minute to 90 days.
|
|
5880
|
+
* @type {number || null}
|
|
5881
|
+
*/
|
|
5882
|
+
this.RetentionMs = null;
|
|
5883
|
+
|
|
5884
|
+
/**
|
|
5885
|
+
* Message retention size in topic dimension. Value range: 1 MB - 1024 GB.
|
|
5886
|
+
* @type {number || null}
|
|
5887
|
+
*/
|
|
5888
|
+
this.RetentionBytes = null;
|
|
5889
|
+
|
|
5890
|
+
/**
|
|
5891
|
+
* Segment rolling duration in milliseconds. Value range: 1-90 days.
|
|
5892
|
+
* @type {number || null}
|
|
5893
|
+
*/
|
|
5894
|
+
this.SegmentMs = null;
|
|
5895
|
+
|
|
5896
|
+
/**
|
|
5897
|
+
* Message size per batch. Value range: 1 KB - 12 MB.
|
|
5898
|
+
* @type {number || null}
|
|
5899
|
+
*/
|
|
5900
|
+
this.MaxMessageBytes = null;
|
|
5901
|
+
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5904
|
+
/**
|
|
5905
|
+
* @private
|
|
5906
|
+
*/
|
|
5907
|
+
deserialize(params) {
|
|
5908
|
+
if (!params) {
|
|
5909
|
+
return;
|
|
5910
|
+
}
|
|
5911
|
+
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
5912
|
+
this.PartitionNum = 'PartitionNum' in params ? params.PartitionNum : null;
|
|
5913
|
+
this.Note = 'Note' in params ? params.Note : null;
|
|
5914
|
+
this.ReplicaNum = 'ReplicaNum' in params ? params.ReplicaNum : null;
|
|
5915
|
+
this.CleanUpPolicy = 'CleanUpPolicy' in params ? params.CleanUpPolicy : null;
|
|
5916
|
+
this.MinInsyncReplicas = 'MinInsyncReplicas' in params ? params.MinInsyncReplicas : null;
|
|
5917
|
+
this.UncleanLeaderElectionEnable = 'UncleanLeaderElectionEnable' in params ? params.UncleanLeaderElectionEnable : null;
|
|
5918
|
+
this.RetentionMs = 'RetentionMs' in params ? params.RetentionMs : null;
|
|
5919
|
+
this.RetentionBytes = 'RetentionBytes' in params ? params.RetentionBytes : null;
|
|
5920
|
+
this.SegmentMs = 'SegmentMs' in params ? params.SegmentMs : null;
|
|
5921
|
+
this.MaxMessageBytes = 'MaxMessageBytes' in params ? params.MaxMessageBytes : null;
|
|
5922
|
+
|
|
5923
|
+
}
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5926
|
+
/**
|
|
5927
|
+
* DescribeCkafkaZone response structure.
|
|
5928
|
+
* @class
|
|
5929
|
+
*/
|
|
5930
|
+
class DescribeCkafkaZoneResponse extends AbstractModel {
|
|
5931
|
+
constructor(){
|
|
5932
|
+
super();
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
* Returned results for the query
|
|
5936
|
+
* @type {ZoneResponse || null}
|
|
5937
|
+
*/
|
|
5938
|
+
this.Result = null;
|
|
5939
|
+
|
|
5940
|
+
/**
|
|
5941
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5942
|
+
* @type {string || null}
|
|
5943
|
+
*/
|
|
5944
|
+
this.RequestId = null;
|
|
5945
|
+
|
|
5946
|
+
}
|
|
5947
|
+
|
|
5948
|
+
/**
|
|
5949
|
+
* @private
|
|
5950
|
+
*/
|
|
5951
|
+
deserialize(params) {
|
|
5952
|
+
if (!params) {
|
|
5953
|
+
return;
|
|
5954
|
+
}
|
|
5955
|
+
|
|
5956
|
+
if (params.Result) {
|
|
5957
|
+
let obj = new ZoneResponse();
|
|
5958
|
+
obj.deserialize(params.Result)
|
|
5959
|
+
this.Result = obj;
|
|
5960
|
+
}
|
|
5961
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5962
|
+
|
|
5963
|
+
}
|
|
5964
|
+
}
|
|
5965
|
+
|
|
5544
5966
|
/**
|
|
5545
5967
|
* DescribeRoute response structure.
|
|
5546
5968
|
* @class
|
|
@@ -5820,6 +6242,49 @@ class ModifyGroupOffsetsRequest extends AbstractModel {
|
|
|
5820
6242
|
}
|
|
5821
6243
|
}
|
|
5822
6244
|
|
|
6245
|
+
/**
|
|
6246
|
+
* BatchModifyTopicAttributes request structure.
|
|
6247
|
+
* @class
|
|
6248
|
+
*/
|
|
6249
|
+
class BatchModifyTopicAttributesRequest extends AbstractModel {
|
|
6250
|
+
constructor(){
|
|
6251
|
+
super();
|
|
6252
|
+
|
|
6253
|
+
/**
|
|
6254
|
+
* Instance ID.
|
|
6255
|
+
* @type {string || null}
|
|
6256
|
+
*/
|
|
6257
|
+
this.InstanceId = null;
|
|
6258
|
+
|
|
6259
|
+
/**
|
|
6260
|
+
* Topic attribute list
|
|
6261
|
+
* @type {Array.<BatchModifyTopicInfo> || null}
|
|
6262
|
+
*/
|
|
6263
|
+
this.Topic = null;
|
|
6264
|
+
|
|
6265
|
+
}
|
|
6266
|
+
|
|
6267
|
+
/**
|
|
6268
|
+
* @private
|
|
6269
|
+
*/
|
|
6270
|
+
deserialize(params) {
|
|
6271
|
+
if (!params) {
|
|
6272
|
+
return;
|
|
6273
|
+
}
|
|
6274
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6275
|
+
|
|
6276
|
+
if (params.Topic) {
|
|
6277
|
+
this.Topic = new Array();
|
|
6278
|
+
for (let z in params.Topic) {
|
|
6279
|
+
let obj = new BatchModifyTopicInfo();
|
|
6280
|
+
obj.deserialize(params.Topic[z]);
|
|
6281
|
+
this.Topic.push(obj);
|
|
6282
|
+
}
|
|
6283
|
+
}
|
|
6284
|
+
|
|
6285
|
+
}
|
|
6286
|
+
}
|
|
6287
|
+
|
|
5823
6288
|
/**
|
|
5824
6289
|
* CreateTopicIpWhiteList request structure.
|
|
5825
6290
|
* @class
|
|
@@ -6198,6 +6663,12 @@ class ModifyTopicAttributesRequest extends AbstractModel {
|
|
|
6198
6663
|
*/
|
|
6199
6664
|
this.RetentionBytes = null;
|
|
6200
6665
|
|
|
6666
|
+
/**
|
|
6667
|
+
* Tag list.
|
|
6668
|
+
* @type {Array.<Tag> || null}
|
|
6669
|
+
*/
|
|
6670
|
+
this.Tags = null;
|
|
6671
|
+
|
|
6201
6672
|
}
|
|
6202
6673
|
|
|
6203
6674
|
/**
|
|
@@ -6222,6 +6693,15 @@ class ModifyTopicAttributesRequest extends AbstractModel {
|
|
|
6222
6693
|
this.AclRuleName = 'AclRuleName' in params ? params.AclRuleName : null;
|
|
6223
6694
|
this.RetentionBytes = 'RetentionBytes' in params ? params.RetentionBytes : null;
|
|
6224
6695
|
|
|
6696
|
+
if (params.Tags) {
|
|
6697
|
+
this.Tags = new Array();
|
|
6698
|
+
for (let z in params.Tags) {
|
|
6699
|
+
let obj = new Tag();
|
|
6700
|
+
obj.deserialize(params.Tags[z]);
|
|
6701
|
+
this.Tags.push(obj);
|
|
6702
|
+
}
|
|
6703
|
+
}
|
|
6704
|
+
|
|
6225
6705
|
}
|
|
6226
6706
|
}
|
|
6227
6707
|
|
|
@@ -6265,55 +6745,6 @@ class CreateTopicResponse extends AbstractModel {
|
|
|
6265
6745
|
}
|
|
6266
6746
|
}
|
|
6267
6747
|
|
|
6268
|
-
/**
|
|
6269
|
-
* DescribeGroup request structure.
|
|
6270
|
-
* @class
|
|
6271
|
-
*/
|
|
6272
|
-
class DescribeGroupRequest extends AbstractModel {
|
|
6273
|
-
constructor(){
|
|
6274
|
-
super();
|
|
6275
|
-
|
|
6276
|
-
/**
|
|
6277
|
-
* Instance ID
|
|
6278
|
-
* @type {string || null}
|
|
6279
|
-
*/
|
|
6280
|
-
this.InstanceId = null;
|
|
6281
|
-
|
|
6282
|
-
/**
|
|
6283
|
-
* Search keyword
|
|
6284
|
-
* @type {string || null}
|
|
6285
|
-
*/
|
|
6286
|
-
this.SearchWord = null;
|
|
6287
|
-
|
|
6288
|
-
/**
|
|
6289
|
-
* Offset
|
|
6290
|
-
* @type {number || null}
|
|
6291
|
-
*/
|
|
6292
|
-
this.Offset = null;
|
|
6293
|
-
|
|
6294
|
-
/**
|
|
6295
|
-
* Maximum number of results to be returned
|
|
6296
|
-
* @type {number || null}
|
|
6297
|
-
*/
|
|
6298
|
-
this.Limit = null;
|
|
6299
|
-
|
|
6300
|
-
}
|
|
6301
|
-
|
|
6302
|
-
/**
|
|
6303
|
-
* @private
|
|
6304
|
-
*/
|
|
6305
|
-
deserialize(params) {
|
|
6306
|
-
if (!params) {
|
|
6307
|
-
return;
|
|
6308
|
-
}
|
|
6309
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
6310
|
-
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
6311
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
6312
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
6313
|
-
|
|
6314
|
-
}
|
|
6315
|
-
}
|
|
6316
|
-
|
|
6317
6748
|
/**
|
|
6318
6749
|
* DeleteTopicIpWhiteList request structure.
|
|
6319
6750
|
* @class
|
|
@@ -6901,7 +7332,7 @@ module.exports = {
|
|
|
6901
7332
|
DeleteUserRequest: DeleteUserRequest,
|
|
6902
7333
|
PartitionOffset: PartitionOffset,
|
|
6903
7334
|
DescribeACLRequest: DescribeACLRequest,
|
|
6904
|
-
|
|
7335
|
+
BatchModifyTopicResultDTO: BatchModifyTopicResultDTO,
|
|
6905
7336
|
DescribeTopicAttributesRequest: DescribeTopicAttributesRequest,
|
|
6906
7337
|
DescribeInstanceAttributesRequest: DescribeInstanceAttributesRequest,
|
|
6907
7338
|
ConsumerGroup: ConsumerGroup,
|
|
@@ -6910,6 +7341,7 @@ module.exports = {
|
|
|
6910
7341
|
DeleteTopicRequest: DeleteTopicRequest,
|
|
6911
7342
|
DescribeInstancesResponse: DescribeInstancesResponse,
|
|
6912
7343
|
FetchMessageByOffsetResponse: FetchMessageByOffsetResponse,
|
|
7344
|
+
BatchModifyTopicAttributesResponse: BatchModifyTopicAttributesResponse,
|
|
6913
7345
|
GroupInfoTopics: GroupInfoTopics,
|
|
6914
7346
|
TopicResult: TopicResult,
|
|
6915
7347
|
Region: Region,
|
|
@@ -6924,6 +7356,7 @@ module.exports = {
|
|
|
6924
7356
|
SaleInfo: SaleInfo,
|
|
6925
7357
|
Topic: Topic,
|
|
6926
7358
|
Tag: Tag,
|
|
7359
|
+
BatchModifyGroupOffsetsResponse: BatchModifyGroupOffsetsResponse,
|
|
6927
7360
|
GroupResponse: GroupResponse,
|
|
6928
7361
|
DescribeTopicAttributesResponse: DescribeTopicAttributesResponse,
|
|
6929
7362
|
DeleteRouteTriggerTimeRequest: DeleteRouteTriggerTimeRequest,
|
|
@@ -6937,7 +7370,9 @@ module.exports = {
|
|
|
6937
7370
|
ClusterInfo: ClusterInfo,
|
|
6938
7371
|
DeleteUserResponse: DeleteUserResponse,
|
|
6939
7372
|
CreateAclRequest: CreateAclRequest,
|
|
7373
|
+
DescribeTopicSyncReplicaResponse: DescribeTopicSyncReplicaResponse,
|
|
6940
7374
|
DescribeAppInfoRequest: DescribeAppInfoRequest,
|
|
7375
|
+
Partitions: Partitions,
|
|
6941
7376
|
DescribeTopicResponse: DescribeTopicResponse,
|
|
6942
7377
|
ConsumerGroupResponse: ConsumerGroupResponse,
|
|
6943
7378
|
CreateTopicIpWhiteListResponse: CreateTopicIpWhiteListResponse,
|
|
@@ -6983,7 +7418,7 @@ module.exports = {
|
|
|
6983
7418
|
DeleteTopicResponse: DeleteTopicResponse,
|
|
6984
7419
|
DescribeInstancesRequest: DescribeInstancesRequest,
|
|
6985
7420
|
InstanceAttributesResponse: InstanceAttributesResponse,
|
|
6986
|
-
|
|
7421
|
+
DescribeGroupRequest: DescribeGroupRequest,
|
|
6987
7422
|
Filter: Filter,
|
|
6988
7423
|
GroupOffsetResponse: GroupOffsetResponse,
|
|
6989
7424
|
BatchCreateAclResponse: BatchCreateAclResponse,
|
|
@@ -6994,16 +7429,20 @@ module.exports = {
|
|
|
6994
7429
|
DescribeRouteRequest: DescribeRouteRequest,
|
|
6995
7430
|
TopicInSyncReplicaResult: TopicInSyncReplicaResult,
|
|
6996
7431
|
GroupInfoResponse: GroupInfoResponse,
|
|
7432
|
+
BatchModifyGroupOffsetsRequest: BatchModifyGroupOffsetsRequest,
|
|
6997
7433
|
TopicAttributesResponse: TopicAttributesResponse,
|
|
6998
7434
|
InstanceResponse: InstanceResponse,
|
|
6999
7435
|
DescribeGroup: DescribeGroup,
|
|
7000
7436
|
TopicPartitionDO: TopicPartitionDO,
|
|
7001
7437
|
CreateTopicResp: CreateTopicResp,
|
|
7438
|
+
BatchModifyTopicInfo: BatchModifyTopicInfo,
|
|
7439
|
+
DescribeCkafkaZoneResponse: DescribeCkafkaZoneResponse,
|
|
7002
7440
|
DescribeRouteResponse: DescribeRouteResponse,
|
|
7003
7441
|
DescribeTopicDetailRequest: DescribeTopicDetailRequest,
|
|
7004
7442
|
DescribeGroupOffsetsResponse: DescribeGroupOffsetsResponse,
|
|
7005
7443
|
ConsumerRecord: ConsumerRecord,
|
|
7006
7444
|
ModifyGroupOffsetsRequest: ModifyGroupOffsetsRequest,
|
|
7445
|
+
BatchModifyTopicAttributesRequest: BatchModifyTopicAttributesRequest,
|
|
7007
7446
|
CreateTopicIpWhiteListRequest: CreateTopicIpWhiteListRequest,
|
|
7008
7447
|
Route: Route,
|
|
7009
7448
|
AclRuleInfo: AclRuleInfo,
|
|
@@ -7011,7 +7450,6 @@ module.exports = {
|
|
|
7011
7450
|
TopicRetentionTimeConfigRsp: TopicRetentionTimeConfigRsp,
|
|
7012
7451
|
ModifyTopicAttributesRequest: ModifyTopicAttributesRequest,
|
|
7013
7452
|
CreateTopicResponse: CreateTopicResponse,
|
|
7014
|
-
DescribeGroupRequest: DescribeGroupRequest,
|
|
7015
7453
|
DeleteTopicIpWhiteListRequest: DeleteTopicIpWhiteListRequest,
|
|
7016
7454
|
DescribeGroupOffsetsRequest: DescribeGroupOffsetsRequest,
|
|
7017
7455
|
DescribeUserRequest: DescribeUserRequest,
|