tccli 3.0.1241.1__py2.py3-none-any.whl → 3.0.1242.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +216 -216
  3. tccli/services/apm/v20210622/examples.json +5 -5
  4. tccli/services/bh/v20230418/api.json +9 -0
  5. tccli/services/bh/v20230418/examples.json +2 -2
  6. tccli/services/cfs/v20190719/api.json +20 -20
  7. tccli/services/cfs/v20190719/examples.json +5 -5
  8. tccli/services/ckafka/v20190819/api.json +27 -0
  9. tccli/services/clb/v20180317/api.json +84 -64
  10. tccli/services/cls/cls_client.py +220 -8
  11. tccli/services/cls/v20201016/api.json +417 -39
  12. tccli/services/cls/v20201016/examples.json +89 -45
  13. tccli/services/cwp/v20180228/api.json +3 -3
  14. tccli/services/cwp/v20180228/examples.json +2 -2
  15. tccli/services/cynosdb/v20190107/api.json +18 -18
  16. tccli/services/dbbrain/v20210527/api.json +1 -1
  17. tccli/services/dnspod/v20210323/api.json +173 -119
  18. tccli/services/dnspod/v20210323/examples.json +18 -18
  19. tccli/services/ess/v20201111/api.json +16 -7
  20. tccli/services/ess/v20201111/examples.json +6 -0
  21. tccli/services/essbasic/v20210526/api.json +78 -0
  22. tccli/services/gaap/v20180529/api.json +13 -13
  23. tccli/services/goosefs/v20220519/api.json +17 -17
  24. tccli/services/goosefs/v20220519/examples.json +4 -4
  25. tccli/services/iotvideoindustry/v20201201/api.json +84 -84
  26. tccli/services/iotvideoindustry/v20201201/examples.json +29 -29
  27. tccli/services/live/v20180801/api.json +1 -1
  28. tccli/services/mna/v20210119/api.json +32 -29
  29. tccli/services/mna/v20210119/examples.json +49 -49
  30. tccli/services/mps/v20190612/api.json +9 -0
  31. tccli/services/ocr/ocr_client.py +110 -4
  32. tccli/services/ocr/v20181119/api.json +360 -6
  33. tccli/services/ocr/v20181119/examples.json +18 -2
  34. tccli/services/pts/v20210728/api.json +1 -1
  35. tccli/services/pts/v20210728/examples.json +1 -1
  36. tccli/services/sqlserver/v20180328/api.json +38 -5
  37. tccli/services/ssl/v20191205/api.json +52 -50
  38. tccli/services/ssl/v20191205/examples.json +7 -7
  39. tccli/services/tbaas/v20180416/api.json +9 -6
  40. tccli/services/tbaas/v20180416/examples.json +2 -2
  41. tccli/services/tcb/v20180608/api.json +211 -171
  42. tccli/services/tcb/v20180608/examples.json +21 -21
  43. tccli/services/tcm/v20210413/api.json +2 -2
  44. tccli/services/tcm/v20210413/examples.json +2 -2
  45. tccli/services/tcr/v20190924/api.json +8 -8
  46. tccli/services/tcr/v20190924/examples.json +4 -4
  47. tccli/services/tdmq/tdmq_client.py +167 -8
  48. tccli/services/tdmq/v20200217/api.json +307 -0
  49. tccli/services/tdmq/v20200217/examples.json +24 -0
  50. tccli/services/tem/v20210701/api.json +1 -1
  51. tccli/services/tem/v20210701/examples.json +2 -2
  52. tccli/services/teo/v20220901/api.json +2 -2
  53. tccli/services/teo/v20220901/examples.json +3 -3
  54. tccli/services/thpc/v20211109/api.json +46 -58
  55. tccli/services/thpc/v20211109/examples.json +2 -2
  56. tccli/services/thpc/v20220401/api.json +168 -181
  57. tccli/services/thpc/v20220401/examples.json +1 -1
  58. tccli/services/thpc/v20230321/api.json +99 -102
  59. tccli/services/thpc/v20230321/examples.json +3 -3
  60. tccli/services/tke/v20220501/api.json +146 -97
  61. tccli/services/tke/v20220501/examples.json +15 -21
  62. tccli/services/trocket/trocket_client.py +53 -0
  63. tccli/services/trocket/v20230308/api.json +219 -0
  64. tccli/services/trocket/v20230308/examples.json +8 -0
  65. tccli/services/trtc/v20190722/api.json +31 -20
  66. tccli/services/trtc/v20190722/examples.json +11 -11
  67. tccli/services/tse/v20201207/api.json +141 -113
  68. tccli/services/tse/v20201207/examples.json +5 -5
  69. tccli/services/tsf/v20180326/examples.json +1 -1
  70. tccli/services/vpc/v20170312/api.json +304 -254
  71. tccli/services/vpc/v20170312/examples.json +19 -19
  72. tccli/services/waf/v20180125/api.json +2 -2
  73. {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/METADATA +2 -2
  74. {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/RECORD +77 -77
  75. {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/WHEEL +0 -0
  76. {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/entry_points.txt +0 -0
  77. {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,9 +3,9 @@
3
3
  "CreateHealthCheckPolicy": [
4
4
  {
5
5
  "document": "",
6
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
7
- "output": "{\n \"Response\": {\n \"HealthCheckPolicyName\": \"NP1\",\n \"RequestId\": \"xx\"\n }\n}",
8
- "title": "创建托管节点池健康检测策略"
6
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
7
+ "output": "{\n \"Response\": {\n \"HealthCheckPolicyName\": \"NP1\",\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
8
+ "title": "创建原生节点池健康检测策略"
9
9
  }
10
10
  ],
11
11
  "CreateNodePool": [
@@ -19,16 +19,16 @@
19
19
  "DeleteHealthCheckPolicy": [
20
20
  {
21
21
  "document": "",
22
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"HealthCheckPolicyName\": \"NP1\"\n}",
23
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"HealthCheckPolicyName\": \"NP1\"\n}",
23
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
24
24
  "title": "创建托管节点池健康检测策略"
25
25
  }
26
26
  ],
27
27
  "DeleteNodePool": [
28
28
  {
29
29
  "document": "",
30
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"NodePoolId\": \"xx\"\n}",
31
- "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx\"\n }\n}",
30
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"NodePoolId\": \"np-4h43fuxj\"\n}",
31
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
32
32
  "title": "删除 TKE 节点池"
33
33
  }
34
34
  ],
@@ -43,22 +43,16 @@
43
43
  "DescribeHealthCheckPolicies": [
44
44
  {
45
45
  "document": "",
46
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicies\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"A\"\n ],\n \"Name\": \"HealthCheckPolicyName\"\n }\n ],\n \"ClusterId\": \"xx\"\n}",
47
- "output": "{\n \"Response\": {\n \"HealthCheckPolicies\": [\n {\n \"Name\": \"NP1\",\n \"Rules\": [\n {\n \"Name\": \"A\",\n \"Enabled\": true,\n \"AutoRepairEnabled\": false\n }\n ]\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"xx\"\n }\n}",
46
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicies\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"A\"\n ],\n \"Name\": \"HealthCheckPolicyName\"\n }\n ],\n \"ClusterId\": \"cls-4h43fuxj\"\n}",
47
+ "output": "{\n \"Response\": {\n \"HealthCheckPolicies\": [\n {\n \"Name\": \"NP1\",\n \"Rules\": [\n {\n \"Name\": \"A\",\n \"Enabled\": true,\n \"AutoRepairEnabled\": false\n }\n ]\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
48
48
  "title": "创建托管节点池健康检测规则"
49
49
  }
50
50
  ],
51
51
  "DescribeHealthCheckPolicyBindings": [
52
52
  {
53
53
  "document": "",
54
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicyBindings\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxx\",\n \"Limit\": \"1\",\n \"Offset\": \"2\"\n}",
55
- "output": "{\n \"RequestId\": \"xx\",\n \"Response\": {\n \"HealthCheckPolicyBindings\": [\n {\n \"CreatedAt\": \"xx\",\n \"NodePools\": [\n \"node-pool1\",\n \"node-pool2\"\n ],\n \"Name\": \"NP1\"\n }\n ],\n \"RequestId\": \"372ba519-daa2-4abc-9da7-0857970c998c\",\n \"TotalCount\": 1\n }\n}",
56
- "title": "1"
57
- },
58
- {
59
- "document": "",
60
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicyBindings\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"ClusterId\": \"xx\",\n \"Filter\": [\n {\n \"Values\": [\n \"xx\"\n ],\n \"Name\": \"xx\"\n }\n ],\n \"Offset\": 0\n}",
61
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"HealthCheckPolicyBindings\": [\n {\n \"NodePools\": [\n \"xx\"\n ],\n \"Name\": \"xx\",\n \"CreatedAt\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
54
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicyBindings\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"Limit\": \"1\",\n \"Offset\": \"2\"\n}",
55
+ "output": "{\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\",\n \"Response\": {\n \"HealthCheckPolicyBindings\": [\n {\n \"CreatedAt\": \"2023-08-17 20:46:39\",\n \"NodePools\": [\n \"node-pool1\",\n \"node-pool2\"\n ],\n \"Name\": \"NP1\"\n }\n ],\n \"RequestId\": \"372ba519-daa2-4abc-9da7-0857970c998c\",\n \"TotalCount\": 1\n }\n}",
62
56
  "title": "查询健康检测策略绑定关系"
63
57
  }
64
58
  ],
@@ -81,16 +75,16 @@
81
75
  "ModifyHealthCheckPolicy": [
82
76
  {
83
77
  "document": "",
84
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
85
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
78
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
79
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
86
80
  "title": "修改托管节点池健康检测规则"
87
81
  }
88
82
  ],
89
83
  "ModifyNodePool": [
90
84
  {
91
85
  "document": "用户更新节点池",
92
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNodePool\n<公共请求参数>\n\n{\n \"DeletionProtection\": true,\n \"Name\": \"abc\",\n \"Tags\": [\n {\n \"ResourceType\": \"abc\",\n \"Tags\": [\n {\n \"Value\": \"abc\",\n \"Key\": \"abc\"\n }\n ]\n }\n ],\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"ClusterId\": \"abc\",\n \"Taints\": [\n {\n \"Value\": \"abc\",\n \"Key\": \"abc\",\n \"Effect\": \"abc\"\n }\n ],\n \"NodePoolId\": \"abc\",\n \"Unschedulable\": true\n}",
93
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
86
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-6sukkvyx\",\n \"Native\": {\n \"EnableAutoscaling\": true,\n \"Scaling\": {\n \"CreatePolicy\": \"ZonePriority\",\n \"MaxReplicas\": 1,\n \"MinReplicas\": 0\n }\n },\n \"NodePoolId\": \"np-00igpu9y\"\n}",
87
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
94
88
  "title": "更新 TKE 节点池"
95
89
  }
96
90
  ],
@@ -1005,6 +1005,58 @@ def doDescribeMQTTInsVPCEndpoints(args, parsed_globals):
1005
1005
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
1006
 
1007
1007
 
1008
+ def doDescribeConsumerClient(args, parsed_globals):
1009
+ g_param = parse_global_arg(parsed_globals)
1010
+
1011
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1012
+ cred = credential.CVMRoleCredential()
1013
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1014
+ cred = credential.STSAssumeRoleCredential(
1015
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1016
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1017
+ )
1018
+ 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):
1019
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1020
+ else:
1021
+ cred = credential.Credential(
1022
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1023
+ )
1024
+ http_profile = HttpProfile(
1025
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1026
+ reqMethod="POST",
1027
+ endpoint=g_param[OptionsDefine.Endpoint],
1028
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1029
+ )
1030
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1031
+ if g_param[OptionsDefine.Language]:
1032
+ profile.language = g_param[OptionsDefine.Language]
1033
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1034
+ client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
1035
+ client._sdkVersion += ("_CLI_" + __version__)
1036
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1037
+ model = models.DescribeConsumerClientRequest()
1038
+ model.from_json_string(json.dumps(args))
1039
+ start_time = time.time()
1040
+ while True:
1041
+ rsp = client.DescribeConsumerClient(model)
1042
+ result = rsp.to_json_string()
1043
+ try:
1044
+ json_obj = json.loads(result)
1045
+ except TypeError as e:
1046
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1047
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1048
+ break
1049
+ cur_time = time.time()
1050
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1051
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1052
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1053
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1054
+ else:
1055
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1056
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1057
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1058
+
1059
+
1008
1060
  def doDeleteRole(args, parsed_globals):
1009
1061
  g_param = parse_global_arg(parsed_globals)
1010
1062
 
@@ -2803,6 +2855,7 @@ ACTION_MAP = {
2803
2855
  "DescribeMQTTMessage": doDescribeMQTTMessage,
2804
2856
  "ModifyConsumerGroup": doModifyConsumerGroup,
2805
2857
  "DescribeMQTTInsVPCEndpoints": doDescribeMQTTInsVPCEndpoints,
2858
+ "DescribeConsumerClient": doDescribeConsumerClient,
2806
2859
  "DeleteRole": doDeleteRole,
2807
2860
  "DescribeMQTTUserList": doDescribeMQTTUserList,
2808
2861
  "DescribeProductSKUs": doDescribeProductSKUs,
@@ -112,6 +112,13 @@
112
112
  "output": "DeleteTopicResponse",
113
113
  "status": "online"
114
114
  },
115
+ "DescribeConsumerClient": {
116
+ "document": "查询消费者客户端详情",
117
+ "input": "DescribeConsumerClientRequest",
118
+ "name": "查询消费者客户端详情",
119
+ "output": "DescribeConsumerClientResponse",
120
+ "status": "online"
121
+ },
115
122
  "DescribeConsumerGroup": {
116
123
  "document": "查询消费组详情",
117
124
  "input": "DescribeConsumerGroupRequest",
@@ -495,6 +502,62 @@
495
502
  ],
496
503
  "usage": "both"
497
504
  },
505
+ "ConsumerClient": {
506
+ "document": "消费者客户端",
507
+ "members": [
508
+ {
509
+ "disabled": false,
510
+ "document": "客户端ID",
511
+ "example": "test",
512
+ "member": "string",
513
+ "name": "ClientId",
514
+ "required": false,
515
+ "type": "string",
516
+ "value_allowed_null": false
517
+ },
518
+ {
519
+ "disabled": false,
520
+ "document": "客户端地址",
521
+ "example": "无",
522
+ "member": "string",
523
+ "name": "ClientAddr",
524
+ "required": false,
525
+ "type": "string",
526
+ "value_allowed_null": false
527
+ },
528
+ {
529
+ "disabled": false,
530
+ "document": "客户端SDK语言",
531
+ "example": "无",
532
+ "member": "string",
533
+ "name": "Language",
534
+ "required": false,
535
+ "type": "string",
536
+ "value_allowed_null": false
537
+ },
538
+ {
539
+ "disabled": false,
540
+ "document": "客户端SDK版本",
541
+ "example": "无",
542
+ "member": "string",
543
+ "name": "Version",
544
+ "required": false,
545
+ "type": "string",
546
+ "value_allowed_null": false
547
+ },
548
+ {
549
+ "disabled": false,
550
+ "document": "客户端消费堆积\n注意:此字段可能返回 null,表示取不到有效值。",
551
+ "example": "无",
552
+ "member": "int64",
553
+ "name": "ConsumerLag",
554
+ "required": false,
555
+ "type": "int",
556
+ "value_allowed_null": true
557
+ }
558
+ ],
559
+ "usage": "out"
560
+ },
498
561
  "CreateConsumerGroupRequest": {
499
562
  "document": "CreateConsumerGroup请求参数结构体",
500
563
  "members": [
@@ -1522,6 +1585,96 @@
1522
1585
  ],
1523
1586
  "type": "object"
1524
1587
  },
1588
+ "DescribeConsumerClientRequest": {
1589
+ "document": "DescribeConsumerClient请求参数结构体",
1590
+ "members": [
1591
+ {
1592
+ "disabled": false,
1593
+ "document": "集群ID",
1594
+ "example": "rmq-72mo3a9o",
1595
+ "member": "string",
1596
+ "name": "InstanceId",
1597
+ "required": true,
1598
+ "type": "string"
1599
+ },
1600
+ {
1601
+ "disabled": false,
1602
+ "document": "客户端ID",
1603
+ "example": "无",
1604
+ "member": "string",
1605
+ "name": "ClientId",
1606
+ "required": true,
1607
+ "type": "string"
1608
+ },
1609
+ {
1610
+ "disabled": false,
1611
+ "document": "查询条件列表",
1612
+ "example": "无",
1613
+ "member": "Filter",
1614
+ "name": "Filters",
1615
+ "required": false,
1616
+ "type": "list"
1617
+ },
1618
+ {
1619
+ "disabled": false,
1620
+ "document": "查询起始位置",
1621
+ "example": "0",
1622
+ "member": "int64",
1623
+ "name": "Offset",
1624
+ "required": false,
1625
+ "type": "int"
1626
+ },
1627
+ {
1628
+ "disabled": false,
1629
+ "document": "查询结果限制数量",
1630
+ "example": "20",
1631
+ "member": "int64",
1632
+ "name": "Limit",
1633
+ "required": false,
1634
+ "type": "int"
1635
+ },
1636
+ {
1637
+ "disabled": false,
1638
+ "document": "消费组名称",
1639
+ "example": "test_group",
1640
+ "member": "string",
1641
+ "name": "ConsumerGroup",
1642
+ "required": false,
1643
+ "type": "string"
1644
+ }
1645
+ ],
1646
+ "type": "object"
1647
+ },
1648
+ "DescribeConsumerClientResponse": {
1649
+ "document": "DescribeConsumerClient返回参数结构体",
1650
+ "members": [
1651
+ {
1652
+ "disabled": false,
1653
+ "document": "客户端详情\n注意:此字段可能返回 null,表示取不到有效值。",
1654
+ "example": "无",
1655
+ "member": "ConsumerClient",
1656
+ "name": "Client",
1657
+ "type": "object",
1658
+ "value_allowed_null": true
1659
+ },
1660
+ {
1661
+ "disabled": false,
1662
+ "document": "主题消费信息\n注意:此字段可能返回 null,表示取不到有效值。",
1663
+ "example": "无",
1664
+ "member": "TopicConsumeStats",
1665
+ "name": "TopicList",
1666
+ "type": "list",
1667
+ "value_allowed_null": true
1668
+ },
1669
+ {
1670
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1671
+ "member": "string",
1672
+ "name": "RequestId",
1673
+ "type": "string"
1674
+ }
1675
+ ],
1676
+ "type": "object"
1677
+ },
1525
1678
  "DescribeConsumerGroupListRequest": {
1526
1679
  "document": "DescribeConsumerGroupList请求参数结构体",
1527
1680
  "members": [
@@ -6888,6 +7041,72 @@
6888
7041
  ],
6889
7042
  "usage": "in"
6890
7043
  },
7044
+ "TopicConsumeStats": {
7045
+ "document": "主题消费进度",
7046
+ "members": [
7047
+ {
7048
+ "disabled": false,
7049
+ "document": "主题名称",
7050
+ "example": "test",
7051
+ "member": "string",
7052
+ "name": "Topic",
7053
+ "required": false,
7054
+ "type": "string",
7055
+ "value_allowed_null": false
7056
+ },
7057
+ {
7058
+ "disabled": false,
7059
+ "document": "主题类型",
7060
+ "example": "无",
7061
+ "member": "string",
7062
+ "name": "TopicType",
7063
+ "required": false,
7064
+ "type": "string",
7065
+ "value_allowed_null": false
7066
+ },
7067
+ {
7068
+ "disabled": false,
7069
+ "document": "单节点主题队列数量",
7070
+ "example": "无",
7071
+ "member": "int64",
7072
+ "name": "QueueNum",
7073
+ "required": false,
7074
+ "type": "int",
7075
+ "value_allowed_null": false
7076
+ },
7077
+ {
7078
+ "disabled": false,
7079
+ "document": "消费堆积",
7080
+ "example": "无",
7081
+ "member": "int64",
7082
+ "name": "ConsumerLag",
7083
+ "required": false,
7084
+ "type": "int",
7085
+ "value_allowed_null": false
7086
+ },
7087
+ {
7088
+ "disabled": false,
7089
+ "document": "订阅规则",
7090
+ "example": "无",
7091
+ "member": "string",
7092
+ "name": "SubString",
7093
+ "required": false,
7094
+ "type": "string",
7095
+ "value_allowed_null": false
7096
+ },
7097
+ {
7098
+ "disabled": false,
7099
+ "document": "最后消费进度更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
7100
+ "example": "无",
7101
+ "member": "int64",
7102
+ "name": "LastUpdateTime",
7103
+ "required": false,
7104
+ "type": "int",
7105
+ "value_allowed_null": true
7106
+ }
7107
+ ],
7108
+ "usage": "out"
7109
+ },
6891
7110
  "TopicItem": {
6892
7111
  "document": "列表上的主题信息",
6893
7112
  "members": [
@@ -128,6 +128,14 @@
128
128
  "title": "删除主题"
129
129
  }
130
130
  ],
131
+ "DescribeConsumerClient": [
132
+ {
133
+ "document": "查询消费者客户端详情",
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}",
136
+ "title": "查询消费者客户端详情"
137
+ }
138
+ ],
131
139
  "DescribeConsumerGroup": [
132
140
  {
133
141
  "document": "查询消费者详情",
@@ -579,6 +579,17 @@
579
579
  "required": false,
580
580
  "type": "int",
581
581
  "value_allowed_null": false
582
+ },
583
+ {
584
+ "disabled": false,
585
+ "document": "是否过滤掉用户只说了一个字的句子,true表示过滤,false表示不过滤,默认值为true",
586
+ "example": "true",
587
+ "member": "bool",
588
+ "name": "FilterOneWord",
589
+ "output_required": false,
590
+ "required": false,
591
+ "type": "bool",
592
+ "value_allowed_null": false
582
593
  }
583
594
  ],
584
595
  "usage": "both"
@@ -2204,7 +2215,7 @@
2204
2215
  {
2205
2216
  "disabled": false,
2206
2217
  "document": "TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同",
2207
- "example": "1234",
2218
+ "example": "1600011111",
2208
2219
  "member": "uint64",
2209
2220
  "name": "SdkAppId",
2210
2221
  "required": true,
@@ -2213,7 +2224,7 @@
2213
2224
  {
2214
2225
  "disabled": false,
2215
2226
  "document": "任务的唯一Id,在启动任务成功后会返回。",
2216
- "example": "1234",
2227
+ "example": "HMLm5HWNuUAXSb0gTEOx0z1x+nLMZNjXrY3keyUSvu7uu8mF9O656uNtbUtvaWLkpMY134jTN2Ix4vuqgOJ68nQ8tho3ri",
2217
2228
  "member": "string",
2218
2229
  "name": "TaskId",
2219
2230
  "required": true,
@@ -3202,7 +3213,7 @@
3202
3213
  {
3203
3214
  "disabled": false,
3204
3215
  "document": "发起页面录制时传递的SdkAppId",
3205
- "example": "",
3216
+ "example": "1600011111",
3206
3217
  "member": "int64",
3207
3218
  "name": "SdkAppId",
3208
3219
  "required": false,
@@ -3236,7 +3247,7 @@
3236
3247
  {
3237
3248
  "disabled": false,
3238
3249
  "document": "在使用RecordId查询时返回\n注意:此字段可能返回 null,表示取不到有效值。",
3239
- "example": "xxx",
3250
+ "example": "HMLm5HWNuUAXSb0gTEOx0z1x+nLMZNjXrY3keyUSvu7uu8mF9O656uNtbUtvaWLkpMY134jTN2Ix4vuqgOJ68nQ8tho3ri",
3240
3251
  "member": "string",
3241
3252
  "name": "TaskId",
3242
3253
  "output_required": false,
@@ -3246,7 +3257,7 @@
3246
3257
  {
3247
3258
  "disabled": false,
3248
3259
  "document": "在使用TaskId查询时返回\n注意:此字段可能返回 null,表示取不到有效值。",
3249
- "example": "",
3260
+ "example": "record_class_1",
3250
3261
  "member": "string",
3251
3262
  "name": "RecordId",
3252
3263
  "output_required": false,
@@ -6564,7 +6575,7 @@
6564
6575
  {
6565
6576
  "disabled": false,
6566
6577
  "document": "TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。",
6567
- "example": "1234",
6578
+ "example": "1600011111",
6568
6579
  "member": "uint64",
6569
6580
  "name": "SdkAppId",
6570
6581
  "required": true,
@@ -6573,7 +6584,7 @@
6573
6584
  {
6574
6585
  "disabled": false,
6575
6586
  "document": "TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。",
6576
- "example": "1234",
6587
+ "example": "82875",
6577
6588
  "member": "string",
6578
6589
  "name": "RoomId",
6579
6590
  "required": true,
@@ -6618,7 +6629,7 @@
6618
6629
  {
6619
6630
  "disabled": false,
6620
6631
  "document": "TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。",
6621
- "example": "",
6632
+ "example": "eJwsj1FPwjAUhf**************************w8ABP--78ZKOg__",
6622
6633
  "member": "string",
6623
6634
  "name": "PrivateMapKey",
6624
6635
  "required": false,
@@ -6654,7 +6665,7 @@
6654
6665
  {
6655
6666
  "disabled": false,
6656
6667
  "document": "指定视频从某个秒时间戳播放",
6657
- "example": "",
6668
+ "example": "10",
6658
6669
  "member": "int64",
6659
6670
  "name": "SeekSecond",
6660
6671
  "required": false,
@@ -6663,7 +6674,7 @@
6663
6674
  {
6664
6675
  "disabled": false,
6665
6676
  "document": "开启自动旁路推流,请确认控制台已经开启该功能。",
6666
- "example": "",
6677
+ "example": "true",
6667
6678
  "member": "bool",
6668
6679
  "name": "AutoPush",
6669
6680
  "required": false,
@@ -6672,7 +6683,7 @@
6672
6683
  {
6673
6684
  "disabled": false,
6674
6685
  "document": "循环播放次数, 取值范围[-1, 1000], 默认1次。\n - 0 无效值\n - -1 循环播放, 需要主动调用停止接口或设置MaxDuration\n",
6675
- "example": "",
6686
+ "example": "5",
6676
6687
  "member": "int64",
6677
6688
  "name": "RepeatNum",
6678
6689
  "required": false,
@@ -6681,7 +6692,7 @@
6681
6692
  {
6682
6693
  "disabled": false,
6683
6694
  "document": "循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。",
6684
- "example": "",
6695
+ "example": "60",
6685
6696
  "member": "int64",
6686
6697
  "name": "MaxDuration",
6687
6698
  "required": false,
@@ -6705,7 +6716,7 @@
6705
6716
  {
6706
6717
  "disabled": false,
6707
6718
  "document": "输入在线媒体流的任务 ID。任务 ID 是对一次输入在线媒体流生命周期过程的唯一标识,结束任务时会失去意义。任务 ID 需要业务保存下来,作为下次针对这个任务操作的参数。",
6708
- "example": "",
6719
+ "example": "HMLm5HWNuUAXSb0gTEOx0z1x+nLMZNjXrY3keyUSvu7uu8mF9O656uNtbUtvaWLkpMY134jTN2Ix4vuqgOJ68nQ8tho3ri",
6709
6720
  "member": "string",
6710
6721
  "name": "TaskId",
6711
6722
  "output_required": false,
@@ -6763,7 +6774,7 @@
6763
6774
  {
6764
6775
  "disabled": false,
6765
6776
  "document": "【必填】TRTC的SdkAppId",
6766
- "example": "",
6777
+ "example": "1600011111",
6767
6778
  "member": "int64",
6768
6779
  "name": "SdkAppId",
6769
6780
  "required": false,
@@ -7017,7 +7028,7 @@
7017
7028
  {
7018
7029
  "disabled": false,
7019
7030
  "document": "TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同。",
7020
- "example": "1234",
7031
+ "example": "1600011111",
7021
7032
  "member": "uint64",
7022
7033
  "name": "SdkAppId",
7023
7034
  "required": true,
@@ -7026,7 +7037,7 @@
7026
7037
  {
7027
7038
  "disabled": false,
7028
7039
  "document": "任务的唯一Id,在启动任务成功后会返回。",
7029
- "example": "1234",
7040
+ "example": "HMLm5HWNuUAXSb0gTEOx0z1x+nLMZNjXrY3keyUSvu7uu8mF9O656uNtbUtvaWLkpMY134jTN2Ix4vuqgOJ68nQ8tho3ri",
7030
7041
  "member": "string",
7031
7042
  "name": "TaskId",
7032
7043
  "required": true,
@@ -7053,7 +7064,7 @@
7053
7064
  {
7054
7065
  "disabled": false,
7055
7066
  "document": "需要停止的任务Id",
7056
- "example": "xxx",
7067
+ "example": "HMLm5HWNuUAXSb0gTEOx0z1x+nLMZNjXrY3keyUSvu7uu8mF9O656uNtbUtvaWLkpMY134jTN2Ix4vuqgOJ68nQ8tho3ri",
7057
7068
  "member": "string",
7058
7069
  "name": "TaskId",
7059
7070
  "required": true,
@@ -7439,7 +7450,7 @@
7439
7450
  },
7440
7451
  {
7441
7452
  "disabled": false,
7442
- "document": "机器人订阅的用户列表",
7453
+ "document": "机器人订阅的用户列表\n仅 TranscriptionMode 为 1或者 TranscriptionMode 为无限上麦模式支持传入多个用户列表",
7443
7454
  "example": "无",
7444
7455
  "member": "string",
7445
7456
  "name": "TargetUserIdList",
@@ -7681,7 +7692,7 @@
7681
7692
  {
7682
7693
  "disabled": false,
7683
7694
  "document": "TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同",
7684
- "example": "1234",
7695
+ "example": "1600011111",
7685
7696
  "member": "uint64",
7686
7697
  "name": "SdkAppId",
7687
7698
  "required": true,
@@ -7690,7 +7701,7 @@
7690
7701
  {
7691
7702
  "disabled": false,
7692
7703
  "document": "任务的唯一Id,在启动任务成功后会返回。",
7693
- "example": "1234",
7704
+ "example": "HMLm5HWNuUAXSb0gTEOx0z1x+nLMZNjXrY3keyUSvu7uu8mF9O656uNtbUtvaWLkpMY134jTN2Ix4vuqgOJ68nQ8tho3ri",
7694
7705
  "member": "string",
7695
7706
  "name": "TaskId",
7696
7707
  "required": true,