tccli 3.0.1244.1__py2.py3-none-any.whl → 3.0.1245.1__py2.py3-none-any.whl

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.
Files changed (34) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/dbbrain/dbbrain_client.py +57 -4
  3. tccli/services/dbbrain/v20210527/api.json +145 -0
  4. tccli/services/dbbrain/v20210527/examples.json +8 -0
  5. tccli/services/essbasic/v20210526/api.json +1 -1
  6. tccli/services/hunyuan/v20230901/api.json +1 -1
  7. tccli/services/lighthouse/v20200324/api.json +1 -1
  8. tccli/services/lke/v20231130/api.json +30 -0
  9. tccli/services/monitor/v20180724/api.json +55 -0
  10. tccli/services/ocr/ocr_client.py +91 -38
  11. tccli/services/ocr/v20181119/api.json +187 -0
  12. tccli/services/ocr/v20181119/examples.json +8 -0
  13. tccli/services/scf/v20180416/examples.json +2 -2
  14. tccli/services/tcm/v20210413/api.json +9 -3
  15. tccli/services/tcm/v20210413/examples.json +7 -7
  16. tccli/services/tcr/v20190924/api.json +36 -36
  17. tccli/services/tcr/v20190924/examples.json +17 -17
  18. tccli/services/teo/v20220901/api.json +3 -3
  19. tccli/services/tke/v20180525/api.json +874 -688
  20. tccli/services/tke/v20180525/examples.json +40 -40
  21. tccli/services/tke/v20220501/api.json +16 -16
  22. tccli/services/tke/v20220501/examples.json +2 -2
  23. tccli/services/trocket/trocket_client.py +57 -4
  24. tccli/services/trocket/v20230308/api.json +143 -51
  25. tccli/services/trocket/v20230308/examples.json +11 -3
  26. tccli/services/vclm/v20240523/api.json +3 -3
  27. tccli/services/vpc/v20170312/api.json +20 -20
  28. tccli/services/vpc/v20170312/examples.json +9 -31
  29. tccli/services/waf/v20180125/api.json +1 -1
  30. {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/METADATA +2 -2
  31. {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/RECORD +34 -34
  32. {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/WHEEL +0 -0
  33. {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/entry_points.txt +0 -0
  34. {tccli-3.0.1244.1.dist-info → tccli-3.0.1245.1.dist-info}/license_files/LICENSE +0 -0
@@ -173,6 +173,58 @@ def doModifyTopic(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
+ def doDescribeConsumerClient(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.DescribeConsumerClientRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.DescribeConsumerClient(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
176
228
  def doModifyMQTTTopic(args, parsed_globals):
177
229
  g_param = parse_global_arg(parsed_globals)
178
230
 
@@ -1005,7 +1057,7 @@ def doDescribeMQTTInsVPCEndpoints(args, parsed_globals):
1005
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
1058
 
1007
1059
 
1008
- def doDescribeConsumerClient(args, parsed_globals):
1060
+ def doDescribeTopicListByGroup(args, parsed_globals):
1009
1061
  g_param = parse_global_arg(parsed_globals)
1010
1062
 
1011
1063
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1034,11 +1086,11 @@ def doDescribeConsumerClient(args, parsed_globals):
1034
1086
  client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
1035
1087
  client._sdkVersion += ("_CLI_" + __version__)
1036
1088
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1037
- model = models.DescribeConsumerClientRequest()
1089
+ model = models.DescribeTopicListByGroupRequest()
1038
1090
  model.from_json_string(json.dumps(args))
1039
1091
  start_time = time.time()
1040
1092
  while True:
1041
- rsp = client.DescribeConsumerClient(model)
1093
+ rsp = client.DescribeTopicListByGroup(model)
1042
1094
  result = rsp.to_json_string()
1043
1095
  try:
1044
1096
  json_obj = json.loads(result)
@@ -2839,6 +2891,7 @@ ACTION_MAP = {
2839
2891
  "DescribeMQTTMessageList": doDescribeMQTTMessageList,
2840
2892
  "DescribeMessageTrace": doDescribeMessageTrace,
2841
2893
  "ModifyTopic": doModifyTopic,
2894
+ "DescribeConsumerClient": doDescribeConsumerClient,
2842
2895
  "ModifyMQTTTopic": doModifyMQTTTopic,
2843
2896
  "ResendDeadLetterMessage": doResendDeadLetterMessage,
2844
2897
  "DeleteMQTTUser": doDeleteMQTTUser,
@@ -2855,7 +2908,7 @@ ACTION_MAP = {
2855
2908
  "DescribeMQTTMessage": doDescribeMQTTMessage,
2856
2909
  "ModifyConsumerGroup": doModifyConsumerGroup,
2857
2910
  "DescribeMQTTInsVPCEndpoints": doDescribeMQTTInsVPCEndpoints,
2858
- "DescribeConsumerClient": doDescribeConsumerClient,
2911
+ "DescribeTopicListByGroup": doDescribeTopicListByGroup,
2859
2912
  "DeleteRole": doDeleteRole,
2860
2913
  "DescribeMQTTUserList": doDescribeMQTTUserList,
2861
2914
  "DescribeProductSKUs": doDescribeProductSKUs,
@@ -294,6 +294,13 @@
294
294
  "output": "DescribeTopicListResponse",
295
295
  "status": "online"
296
296
  },
297
+ "DescribeTopicListByGroup": {
298
+ "document": "根据消费组获取主题列表,Filter参数使用说明如下:\n\nTopicName,主题名称过滤",
299
+ "input": "DescribeTopicListByGroupRequest",
300
+ "name": "查询消费组订阅的主题列表",
301
+ "output": "DescribeTopicListByGroupResponse",
302
+ "status": "online"
303
+ },
297
304
  "ImportSourceClusterConsumerGroups": {
298
305
  "document": "导入消费者组列表",
299
306
  "input": "ImportSourceClusterConsumerGroupsRequest",
@@ -508,50 +515,50 @@
508
515
  {
509
516
  "disabled": false,
510
517
  "document": "客户端ID",
511
- "example": "test",
518
+ "example": "11.139.244.248@75043#6734858812769343",
512
519
  "member": "string",
513
520
  "name": "ClientId",
514
- "required": false,
521
+ "output_required": true,
515
522
  "type": "string",
516
523
  "value_allowed_null": false
517
524
  },
518
525
  {
519
526
  "disabled": false,
520
527
  "document": "客户端地址",
521
- "example": "",
528
+ "example": "11.139.244.248",
522
529
  "member": "string",
523
530
  "name": "ClientAddr",
524
- "required": false,
531
+ "output_required": true,
525
532
  "type": "string",
526
533
  "value_allowed_null": false
527
534
  },
528
535
  {
529
536
  "disabled": false,
530
537
  "document": "客户端SDK语言",
531
- "example": "",
538
+ "example": "JAVA",
532
539
  "member": "string",
533
540
  "name": "Language",
534
- "required": false,
541
+ "output_required": true,
535
542
  "type": "string",
536
543
  "value_allowed_null": false
537
544
  },
538
545
  {
539
546
  "disabled": false,
540
547
  "document": "客户端SDK版本",
541
- "example": "",
548
+ "example": "V4_9_3",
542
549
  "member": "string",
543
550
  "name": "Version",
544
- "required": false,
551
+ "output_required": true,
545
552
  "type": "string",
546
553
  "value_allowed_null": false
547
554
  },
548
555
  {
549
556
  "disabled": false,
550
557
  "document": "客户端消费堆积\n注意:此字段可能返回 null,表示取不到有效值。",
551
- "example": "",
558
+ "example": "100",
552
559
  "member": "int64",
553
560
  "name": "ConsumerLag",
554
- "required": false,
561
+ "output_required": true,
555
562
  "type": "int",
556
563
  "value_allowed_null": true
557
564
  }
@@ -1600,7 +1607,7 @@
1600
1607
  {
1601
1608
  "disabled": false,
1602
1609
  "document": "客户端ID",
1603
- "example": "",
1610
+ "example": "11.139.244.247@75043#6734858812769343",
1604
1611
  "member": "string",
1605
1612
  "name": "ClientId",
1606
1613
  "required": true,
@@ -1654,6 +1661,7 @@
1654
1661
  "example": "无",
1655
1662
  "member": "ConsumerClient",
1656
1663
  "name": "Client",
1664
+ "output_required": true,
1657
1665
  "type": "object",
1658
1666
  "value_allowed_null": true
1659
1667
  },
@@ -1663,6 +1671,7 @@
1663
1671
  "example": "无",
1664
1672
  "member": "TopicConsumeStats",
1665
1673
  "name": "TopicList",
1674
+ "output_required": true,
1666
1675
  "type": "list",
1667
1676
  "value_allowed_null": true
1668
1677
  },
@@ -3851,7 +3860,7 @@
3851
3860
  {
3852
3861
  "disabled": false,
3853
3862
  "document": "展示Topic名",
3854
- "example": "",
3863
+ "example": "test_topic",
3855
3864
  "member": "string",
3856
3865
  "name": "ShowTopicName",
3857
3866
  "output_required": true,
@@ -3978,6 +3987,89 @@
3978
3987
  ],
3979
3988
  "type": "object"
3980
3989
  },
3990
+ "DescribeTopicListByGroupRequest": {
3991
+ "document": "DescribeTopicListByGroup请求参数结构体",
3992
+ "members": [
3993
+ {
3994
+ "disabled": false,
3995
+ "document": "集群ID",
3996
+ "example": "rmq-72mo3a9o",
3997
+ "member": "string",
3998
+ "name": "InstanceId",
3999
+ "required": true,
4000
+ "type": "string"
4001
+ },
4002
+ {
4003
+ "disabled": false,
4004
+ "document": "查询起始位置",
4005
+ "example": "0",
4006
+ "member": "int64",
4007
+ "name": "Offset",
4008
+ "required": false,
4009
+ "type": "int"
4010
+ },
4011
+ {
4012
+ "disabled": false,
4013
+ "document": "查询结果限制数量",
4014
+ "example": "20",
4015
+ "member": "int64",
4016
+ "name": "Limit",
4017
+ "required": false,
4018
+ "type": "int"
4019
+ },
4020
+ {
4021
+ "disabled": false,
4022
+ "document": "消费组名称",
4023
+ "example": "test_group",
4024
+ "member": "string",
4025
+ "name": "ConsumerGroup",
4026
+ "required": false,
4027
+ "type": "string"
4028
+ },
4029
+ {
4030
+ "disabled": false,
4031
+ "document": "查询条件列表",
4032
+ "example": "无",
4033
+ "member": "Filter",
4034
+ "name": "Filters",
4035
+ "required": false,
4036
+ "type": "list"
4037
+ }
4038
+ ],
4039
+ "type": "object"
4040
+ },
4041
+ "DescribeTopicListByGroupResponse": {
4042
+ "document": "DescribeTopicListByGroup返回参数结构体",
4043
+ "members": [
4044
+ {
4045
+ "disabled": false,
4046
+ "document": "查询总数\n注意:此字段可能返回 null,表示取不到有效值。",
4047
+ "example": "10",
4048
+ "member": "int64",
4049
+ "name": "TotalCount",
4050
+ "output_required": false,
4051
+ "type": "int",
4052
+ "value_allowed_null": true
4053
+ },
4054
+ {
4055
+ "disabled": false,
4056
+ "document": "主题列表",
4057
+ "example": "无",
4058
+ "member": "SubscriptionData",
4059
+ "name": "Data",
4060
+ "output_required": true,
4061
+ "type": "list",
4062
+ "value_allowed_null": false
4063
+ },
4064
+ {
4065
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4066
+ "member": "string",
4067
+ "name": "RequestId",
4068
+ "type": "string"
4069
+ }
4070
+ ],
4071
+ "type": "object"
4072
+ },
3981
4073
  "DescribeTopicListRequest": {
3982
4074
  "document": "DescribeTopicList请求参数结构体",
3983
4075
  "members": [
@@ -5509,70 +5601,70 @@
5509
5601
  {
5510
5602
  "disabled": false,
5511
5603
  "document": "消息ID\n注意:此字段可能返回 null,表示取不到有效值。",
5512
- "example": "test",
5604
+ "example": "AC120002063E0DC37B1104461E710001",
5513
5605
  "member": "string",
5514
5606
  "name": "MsgId",
5515
- "required": false,
5607
+ "output_required": true,
5516
5608
  "type": "string",
5517
5609
  "value_allowed_null": true
5518
5610
  },
5519
5611
  {
5520
5612
  "disabled": false,
5521
5613
  "document": "消息tag\n注意:此字段可能返回 null,表示取不到有效值。",
5522
- "example": "",
5614
+ "example": "test_tag",
5523
5615
  "member": "string",
5524
5616
  "name": "Tags",
5525
- "required": false,
5617
+ "output_required": true,
5526
5618
  "type": "string",
5527
5619
  "value_allowed_null": true
5528
5620
  },
5529
5621
  {
5530
5622
  "disabled": false,
5531
5623
  "document": "消息key\n注意:此字段可能返回 null,表示取不到有效值。",
5532
- "example": "",
5624
+ "example": "test_key",
5533
5625
  "member": "string",
5534
5626
  "name": "Keys",
5535
- "required": false,
5627
+ "output_required": true,
5536
5628
  "type": "string",
5537
5629
  "value_allowed_null": true
5538
5630
  },
5539
5631
  {
5540
5632
  "disabled": false,
5541
5633
  "document": "客户端地址\t\n注意:此字段可能返回 null,表示取不到有效值。",
5542
- "example": "",
5634
+ "example": "10.103.40.30:53573",
5543
5635
  "member": "string",
5544
5636
  "name": "ProducerAddr",
5545
- "required": false,
5637
+ "output_required": true,
5546
5638
  "type": "string",
5547
5639
  "value_allowed_null": true
5548
5640
  },
5549
5641
  {
5550
5642
  "disabled": false,
5551
5643
  "document": "消息发送时间\t\n注意:此字段可能返回 null,表示取不到有效值。",
5552
- "example": "",
5644
+ "example": "2024-01-01 00:00:01",
5553
5645
  "member": "string",
5554
5646
  "name": "ProduceTime",
5555
- "required": false,
5647
+ "output_required": true,
5556
5648
  "type": "string",
5557
5649
  "value_allowed_null": true
5558
5650
  },
5559
5651
  {
5560
5652
  "disabled": false,
5561
5653
  "document": "死信重发次数\t\n注意:此字段可能返回 null,表示取不到有效值。",
5562
- "example": "",
5654
+ "example": "2",
5563
5655
  "member": "int64",
5564
5656
  "name": "DeadLetterResendTimes",
5565
- "required": false,
5657
+ "output_required": true,
5566
5658
  "type": "int",
5567
5659
  "value_allowed_null": true
5568
5660
  },
5569
5661
  {
5570
5662
  "disabled": false,
5571
5663
  "document": "死信重发成功次数\n注意:此字段可能返回 null,表示取不到有效值。",
5572
- "example": "",
5664
+ "example": "1",
5573
5665
  "member": "int64",
5574
5666
  "name": "DeadLetterResendSuccessTimes",
5575
- "required": false,
5667
+ "output_required": true,
5576
5668
  "type": "int",
5577
5669
  "value_allowed_null": true
5578
5670
  }
@@ -5585,20 +5677,20 @@
5585
5677
  {
5586
5678
  "disabled": false,
5587
5679
  "document": "步骤\n注意:此字段可能返回 null,表示取不到有效值。",
5588
- "example": "",
5680
+ "example": "{ \"MsgId\": \"1EAE3915000721B8D17C2C5BB31638D1\", \"Status\": 0, }",
5589
5681
  "member": "string",
5590
5682
  "name": "Stage",
5591
- "required": false,
5683
+ "output_required": true,
5592
5684
  "type": "string",
5593
5685
  "value_allowed_null": true
5594
5686
  },
5595
5687
  {
5596
5688
  "disabled": false,
5597
5689
  "document": "轨迹详情\n注意:此字段可能返回 null,表示取不到有效值。",
5598
- "example": "",
5690
+ "example": "produce",
5599
5691
  "member": "string",
5600
5692
  "name": "Data",
5601
- "required": false,
5693
+ "output_required": true,
5602
5694
  "type": "string",
5603
5695
  "value_allowed_null": true
5604
5696
  }
@@ -5611,40 +5703,40 @@
5611
5703
  {
5612
5704
  "disabled": false,
5613
5705
  "document": "消费组名称",
5614
- "example": "test",
5706
+ "example": "test_group",
5615
5707
  "member": "string",
5616
5708
  "name": "ConsumerGroup",
5617
- "required": false,
5709
+ "output_required": true,
5618
5710
  "type": "string",
5619
5711
  "value_allowed_null": false
5620
5712
  },
5621
5713
  {
5622
5714
  "disabled": false,
5623
5715
  "document": "消费状态, CONSUMED: 已消费 CONSUMED_BUT_FILTERED: 已过滤 NOT_CONSUME: 未消费 ENTER_RETRY: 进入重试队列 ENTER_DLQ: 进入死信队列 UNKNOWN: 查询不到消费状态",
5624
- "example": "",
5716
+ "example": "CONSUMED",
5625
5717
  "member": "string",
5626
5718
  "name": "ConsumeStatus",
5627
- "required": false,
5719
+ "output_required": true,
5628
5720
  "type": "string",
5629
5721
  "value_allowed_null": false
5630
5722
  },
5631
5723
  {
5632
5724
  "disabled": false,
5633
5725
  "document": "track类型",
5634
- "example": "",
5726
+ "example": "CONSUMED",
5635
5727
  "member": "string",
5636
5728
  "name": "TrackType",
5637
- "required": false,
5729
+ "output_required": true,
5638
5730
  "type": "string",
5639
5731
  "value_allowed_null": false
5640
5732
  },
5641
5733
  {
5642
5734
  "disabled": false,
5643
5735
  "document": "异常信息\n注意:此字段可能返回 null,表示取不到有效值。",
5644
- "example": "",
5736
+ "example": "No Exception",
5645
5737
  "member": "string",
5646
5738
  "name": "ExceptionDesc",
5647
- "required": false,
5739
+ "output_required": true,
5648
5740
  "type": "string",
5649
5741
  "value_allowed_null": true
5650
5742
  }
@@ -6476,7 +6568,7 @@
6476
6568
  {
6477
6569
  "disabled": false,
6478
6570
  "document": "重发消息结果\n注意:此字段可能返回 null,表示取不到有效值。",
6479
- "example": "",
6571
+ "example": "true",
6480
6572
  "member": "bool",
6481
6573
  "name": "ResendResult",
6482
6574
  "output_required": false,
@@ -7047,60 +7139,60 @@
7047
7139
  {
7048
7140
  "disabled": false,
7049
7141
  "document": "主题名称",
7050
- "example": "test",
7142
+ "example": "test_topic",
7051
7143
  "member": "string",
7052
7144
  "name": "Topic",
7053
- "required": false,
7145
+ "output_required": true,
7054
7146
  "type": "string",
7055
7147
  "value_allowed_null": false
7056
7148
  },
7057
7149
  {
7058
7150
  "disabled": false,
7059
7151
  "document": "主题类型",
7060
- "example": "",
7152
+ "example": "NORMAL",
7061
7153
  "member": "string",
7062
7154
  "name": "TopicType",
7063
- "required": false,
7155
+ "output_required": true,
7064
7156
  "type": "string",
7065
7157
  "value_allowed_null": false
7066
7158
  },
7067
7159
  {
7068
7160
  "disabled": false,
7069
7161
  "document": "单节点主题队列数量",
7070
- "example": "",
7162
+ "example": "3",
7071
7163
  "member": "int64",
7072
7164
  "name": "QueueNum",
7073
- "required": false,
7165
+ "output_required": true,
7074
7166
  "type": "int",
7075
7167
  "value_allowed_null": false
7076
7168
  },
7077
7169
  {
7078
7170
  "disabled": false,
7079
7171
  "document": "消费堆积",
7080
- "example": "",
7172
+ "example": "10",
7081
7173
  "member": "int64",
7082
7174
  "name": "ConsumerLag",
7083
- "required": false,
7175
+ "output_required": true,
7084
7176
  "type": "int",
7085
7177
  "value_allowed_null": false
7086
7178
  },
7087
7179
  {
7088
7180
  "disabled": false,
7089
7181
  "document": "订阅规则",
7090
- "example": "",
7182
+ "example": "test_tag",
7091
7183
  "member": "string",
7092
7184
  "name": "SubString",
7093
- "required": false,
7185
+ "output_required": true,
7094
7186
  "type": "string",
7095
7187
  "value_allowed_null": false
7096
7188
  },
7097
7189
  {
7098
7190
  "disabled": false,
7099
7191
  "document": "最后消费进度更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
7100
- "example": "",
7192
+ "example": "1736050534095",
7101
7193
  "member": "int64",
7102
7194
  "name": "LastUpdateTime",
7103
- "required": false,
7195
+ "output_required": true,
7104
7196
  "type": "int",
7105
7197
  "value_allowed_null": true
7106
7198
  }
@@ -132,7 +132,7 @@
132
132
  {
133
133
  "document": "查询消费者客户端详情",
134
134
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerClient\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1,\n \"ConsumerGroup\": \"group\",\n \"ClientId\": \"11.139.244.247@75043#6734858812769343\"\n}",
135
- "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Client\": {\n \"ClientAddr\": \"11.139.244.247:58330\",\n \"ClientId\": \"11.139.244.247@75043#6734858812769343\",\n \"ConsumerLag\": 0,\n \"Language\": \"JAVA\",\n \"Version\": \"399\"\n },\n \"RequestId\": \"7e3acbab-5b5f-457f-b276-68c2f7e16f5e\",\n \"TopicList\": [\n {\n \"ConsumerLag\": 0,\n \"LastUpdateTime\": 1683614607184,\n \"QueueNum\": 16,\n \"SubString\": \"*\",\n \"Topic\": \"topic\",\n \"TopicType\": \"NORMAL\"\n }\n ]\n }\n}",
135
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Client\": {\n \"ClientAddr\": \"11.139.244.247:58330\",\n \"ClientId\": \"11.139.244.247@75043#6734858812769343\",\n \"ConsumerLag\": 0,\n \"Language\": \"JAVA\",\n \"Version\": \"399\"\n },\n \"RequestId\": \"7e3acbab-5b5f-457f-b276-68c2f7e16f5e\",\n \"TopicList\": [\n {\n \"ConsumerLag\": 0,\n \"LastUpdateTime\": 1683614607184,\n \"QueueNum\": 16,\n \"SubString\": \"test_tag\",\n \"Topic\": \"topic\",\n \"TopicType\": \"NORMAL\"\n }\n ]\n }\n}",
136
136
  "title": "查询消费者客户端详情"
137
137
  }
138
138
  ],
@@ -300,13 +300,13 @@
300
300
  {
301
301
  "document": "",
302
302
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessageTrace\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"topic\",\n \"MsgId\": \"1EAE3915000721B8D17C2C5BB31638D1\"\n}",
303
- "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"Status\\\":0,\\\"ProduceTime\\\":\\\"2023-05-09 14:43:27,127\\\",\\\"ProducerAddr\\\":\\\"30.174.57.21\\\",\\\"MsgKey\\\":\\\"testKey\\\",\\\"MsgTags\\\":\\\"testTag\\\",\\\"Duration\\\":76}\",\n \"Stage\": \"produce\"\n },\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"Status\\\":0,\\\"PersistTime\\\":\\\"2023-05-09 14:43:27,184\\\"}\",\n \"Stage\": \"persist\"\n },\n {\n \"Data\": \"{\\\"TotalCount\\\":1,\\\"RocketMqConsumeLogs\\\":[{\\\"MsgId\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"Status\\\":2,\\\"PushTime\\\":\\\"2023-05-09 14:43:27,205\\\",\\\"ConsumerAddr\\\":\\\"11.139.244.247\\\",\\\"ConsumerGroup\\\":\\\"group\\\",\\\"RetryTimes\\\":1}]}\",\n \"Stage\": \"consume\"\n }\n ],\n \"RequestId\": \"0112153a-8cba-44f1-b7a5-5e412d493940\",\n \"ShowTopicName\": \"topic\"\n }\n}",
303
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"Status\\\":0,\\\"ProduceTime\\\":\\\"2023-05-09 14:43:27,127\\\",\\\"ProducerAddr\\\":\\\"30.174.57.21\\\",\\\"MsgKey\\\":\\\"testKey\\\",\\\"MsgTags\\\":\\\"testTag\\\",\\\"Duration\\\":76}\",\n \"Stage\": \"produce\"\n },\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"Status\\\":0,\\\"PersistTime\\\":\\\"2023-05-09 14:43:27,184\\\"}\",\n \"Stage\": \"persist\"\n },\n {\n \"Data\": \"{\\\"TotalCount\\\":1,\\\"RocketMqConsumeLogs\\\":[{\\\"MsgId\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"Status\\\":2,\\\"PushTime\\\":\\\"2023-05-09 14:43:27,205\\\",\\\"ConsumerAddr\\\":\\\"11.139.244.247\\\",\\\"ConsumerGroup\\\":\\\"group\\\",\\\"RetryTimes\\\":1}]}\",\n \"Stage\": \"consume\"\n }\n ],\n \"RequestId\": \"0112153a-8cba-44f1-b7a5-5e412d493940\",\n \"ShowTopicName\": \"test_topic\"\n }\n}",
304
304
  "title": "查询普通消息的轨迹"
305
305
  },
306
306
  {
307
307
  "document": "",
308
308
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessageTrace\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-cdqzmmgz8o\",\n \"Topic\": \"\",\n \"MsgId\": \"010242ECB90067325E06F41EFF00000000\",\n \"QueryDelayMessage\": true\n}",
309
- "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"010242ECB90067325E06F41EFF00000000\\\",\\\"Status\\\":0,\\\"ProduceTime\\\":\\\"2024-09-12 14:06:55,591\\\",\\\"ProducerAddr\\\":\\\"9.218.232.160:32038\\\",\\\"MsgKey\\\":\\\"topic1\\\",\\\"MsgTags\\\":\\\"tag0\\\",\\\"Duration\\\":2}\",\n \"Stage\": \"produce\"\n },\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"010242ECB90067325E06F41EFF00000000\\\",\\\"Status\\\":0,\\\"PersistTime\\\":\\\"2024-09-12 14:06:55,590\\\"}\",\n \"Stage\": \"persist\"\n },\n {\n \"Data\": \"{\\\"TotalCount\\\":0,\\\"RocketMqConsumeLogs\\\":[]}\",\n \"Stage\": \"consume\"\n }\n ],\n \"RequestId\": \"2e4374f9-0c98-4d77-af20-2bc414ccaefd\",\n \"ShowTopicName\": \"\"\n }\n}",
309
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"010242ECB90067325E06F41EFF00000000\\\",\\\"Status\\\":0,\\\"ProduceTime\\\":\\\"2024-09-12 14:06:55,591\\\",\\\"ProducerAddr\\\":\\\"9.218.232.160:32038\\\",\\\"MsgKey\\\":\\\"topic1\\\",\\\"MsgTags\\\":\\\"tag0\\\",\\\"Duration\\\":2}\",\n \"Stage\": \"produce\"\n },\n {\n \"Data\": \"{\\\"MsgId\\\":\\\"010242ECB90067325E06F41EFF00000000\\\",\\\"Status\\\":0,\\\"PersistTime\\\":\\\"2024-09-12 14:06:55,590\\\"}\",\n \"Stage\": \"persist\"\n },\n {\n \"Data\": \"{\\\"TotalCount\\\":0,\\\"RocketMqConsumeLogs\\\":[]}\",\n \"Stage\": \"consume\"\n }\n ],\n \"RequestId\": \"2e4374f9-0c98-4d77-af20-2bc414ccaefd\",\n \"ShowTopicName\": \"test_topic\"\n }\n}",
310
310
  "title": "查询延迟消息的轨迹"
311
311
  }
312
312
  ],
@@ -342,6 +342,14 @@
342
342
  "title": "查询主题列表"
343
343
  }
344
344
  ],
345
+ "DescribeTopicListByGroup": [
346
+ {
347
+ "document": "",
348
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicListByGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"ConsumerGroup\": \"test_group\"\n}",
349
+ "output": "{\n \"Response\": {\n \"RequestId\": \"fcf7340b-b7b8-48fd-afe2-b061df13a290\",\n \"TotalCount\": 1,\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\",\n \"TopicQueueNum\": 3,\n \"ConsumerGroup\": \"test_group\",\n \"IsOnline\": true,\n \"ConsumeType\": \"PUSH\",\n \"SubString\": \"test_tag\",\n \"ExpressionType\": \"TAG\",\n \"Consistency\": 0,\n \"ConsumerLag\": 20,\n \"LastUpdateTime\": 1736935187759,\n \"MaxRetryTimes\": 16,\n \"ConsumeMessageOrderly\": false,\n \"MessageModel\": \"CLUSTERING\"\n }\n ]\n }\n}",
350
+ "title": "查询消费组订阅的主题列表"
351
+ }
352
+ ],
345
353
  "ImportSourceClusterConsumerGroups": [
346
354
  {
347
355
  "document": "",
@@ -1005,7 +1005,7 @@
1005
1005
  "members": [
1006
1006
  {
1007
1007
  "disabled": false,
1008
- "document": "视频地址URL。\n格式要求:支持 mp4、mov、avi 。\n时长要求:【5-600】秒。\nfps 要求:【15-60】fps\n分辨率要求:单边像素要求在 【360~4096】 之间。\n大小要求:不超过500MB\n",
1008
+ "document": "视频地址URL。\n格式要求:支持 mp4、mov、avi 。\n时长要求:【5-600】秒。\nfps 要求:【15-60】fps\n分辨率要求:单边像素要求在 【360~4096】 之间。\n大小要求:不超过500MB\n请保证文件的下载速度,否则会下载失败。",
1009
1009
  "example": "http://console.cloud.tencent.com/cos/video.mp4",
1010
1010
  "member": "string",
1011
1011
  "name": "VideoUrl",
@@ -1023,7 +1023,7 @@
1023
1023
  },
1024
1024
  {
1025
1025
  "disabled": false,
1026
- "document": "当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。\n格式要求:支持 mp3、m4a、aac、wav 格式。\n时长要求:【5~600】秒,音频时长要匹配视频时长。\n大小要求:不超过 100MB",
1026
+ "document": "当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。\n格式要求:支持 mp3、m4a、aac、wav 格式。\n时长要求:【5~600】秒,音频时长要匹配视频时长。\n大小要求:不超过 100MB。\n请保证文件的下载速度,否则会下载失败。",
1027
1027
  "example": "http://console.cloud.tencent.com/cos/audio.mp3",
1028
1028
  "member": "string",
1029
1029
  "name": "AudioUrl",
@@ -1032,7 +1032,7 @@
1032
1032
  },
1033
1033
  {
1034
1034
  "disabled": false,
1035
- "document": "输出视频中翻译语种\n目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)",
1035
+ "document": "输出视频中翻译语种。默认是en(英语)。\n目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)",
1036
1036
  "example": "ar(阿拉伯语)",
1037
1037
  "member": "string",
1038
1038
  "name": "DstLang",