tccli 3.0.1243.1__py2.py3-none-any.whl → 3.0.1245.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 (47) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aca/v20210323/api.json +107 -107
  3. tccli/services/aca/v20210323/examples.json +5 -5
  4. tccli/services/asr/v20190614/examples.json +6 -6
  5. tccli/services/cbs/v20170312/api.json +9 -0
  6. tccli/services/cdwdoris/v20211228/api.json +22 -2
  7. tccli/services/cdwdoris/v20211228/examples.json +1 -1
  8. tccli/services/cls/v20201016/api.json +185 -156
  9. tccli/services/cls/v20201016/examples.json +5 -5
  10. tccli/services/cvm/v20170312/api.json +8 -8
  11. tccli/services/cvm/v20170312/examples.json +4 -4
  12. tccli/services/dbbrain/dbbrain_client.py +57 -4
  13. tccli/services/dbbrain/v20210527/api.json +145 -0
  14. tccli/services/dbbrain/v20210527/examples.json +8 -0
  15. tccli/services/dts/v20211206/api.json +9 -0
  16. tccli/services/dts/v20211206/examples.json +1 -1
  17. tccli/services/essbasic/v20210526/api.json +1 -1
  18. tccli/services/hunyuan/v20230901/api.json +1 -1
  19. tccli/services/lighthouse/v20200324/api.json +1 -1
  20. tccli/services/lke/v20231130/api.json +30 -0
  21. tccli/services/mna/v20210119/examples.json +1 -1
  22. tccli/services/monitor/v20180724/api.json +55 -0
  23. tccli/services/scf/scf_client.py +118 -65
  24. tccli/services/scf/v20180416/api.json +570 -475
  25. tccli/services/scf/v20180416/examples.json +52 -44
  26. tccli/services/tcb/v20180608/api.json +13 -13
  27. tccli/services/tcm/v20210413/api.json +52 -48
  28. tccli/services/tcm/v20210413/examples.json +7 -7
  29. tccli/services/tcr/v20190924/api.json +435 -407
  30. tccli/services/tcr/v20190924/examples.json +49 -49
  31. tccli/services/teo/v20220901/api.json +3 -3
  32. tccli/services/tke/v20180525/api.json +1544 -1258
  33. tccli/services/tke/v20180525/examples.json +165 -165
  34. tccli/services/tke/v20220501/api.json +16 -16
  35. tccli/services/tke/v20220501/examples.json +2 -2
  36. tccli/services/trocket/trocket_client.py +57 -4
  37. tccli/services/trocket/v20230308/api.json +143 -51
  38. tccli/services/trocket/v20230308/examples.json +11 -3
  39. tccli/services/vclm/v20240523/api.json +3 -3
  40. tccli/services/vpc/v20170312/api.json +182 -154
  41. tccli/services/vpc/v20170312/examples.json +12 -34
  42. tccli/services/waf/v20180125/api.json +1 -1
  43. {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/METADATA +2 -2
  44. {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/RECORD +47 -47
  45. {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/WHEEL +0 -0
  46. {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/entry_points.txt +0 -0
  47. {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/license_files/LICENSE +0 -0
@@ -179,7 +179,7 @@
179
179
  {
180
180
  "disabled": false,
181
181
  "document": "正在加入中的节点数量",
182
- "example": "",
182
+ "example": "1",
183
183
  "member": "int64",
184
184
  "name": "Joining",
185
185
  "output_required": true,
@@ -189,7 +189,7 @@
189
189
  {
190
190
  "disabled": false,
191
191
  "document": "初始化中的节点数量",
192
- "example": "",
192
+ "example": "1",
193
193
  "member": "int64",
194
194
  "name": "Initializing",
195
195
  "output_required": true,
@@ -199,7 +199,7 @@
199
199
  {
200
200
  "disabled": false,
201
201
  "document": "正常的节点数量",
202
- "example": "",
202
+ "example": "1",
203
203
  "member": "int64",
204
204
  "name": "Normal",
205
205
  "output_required": true,
@@ -209,7 +209,7 @@
209
209
  {
210
210
  "disabled": false,
211
211
  "document": "节点总数",
212
- "example": "",
212
+ "example": "1",
213
213
  "member": "int64",
214
214
  "name": "Total",
215
215
  "output_required": true,
@@ -772,7 +772,7 @@
772
772
  {
773
773
  "disabled": false,
774
774
  "document": "集群ID",
775
- "example": "cls-xxxxxx",
775
+ "example": "cls-4h43fuxj",
776
776
  "member": "string",
777
777
  "name": "ClusterId",
778
778
  "required": true,
@@ -823,7 +823,7 @@
823
823
  {
824
824
  "disabled": false,
825
825
  "document": "集群中实例总数",
826
- "example": "1",
826
+ "example": "10",
827
827
  "member": "uint64",
828
828
  "name": "TotalCount",
829
829
  "output_required": true,
@@ -843,7 +843,7 @@
843
843
  {
844
844
  "disabled": false,
845
845
  "document": "错误信息集合\n注意:此字段可能返回 null,表示取不到有效值。",
846
- "example": "",
846
+ "example": "eks not support",
847
847
  "member": "string",
848
848
  "name": "Errors",
849
849
  "output_required": true,
@@ -1256,7 +1256,7 @@
1256
1256
  {
1257
1257
  "disabled": false,
1258
1258
  "document": "属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。",
1259
- "example": "test",
1259
+ "example": "cls-l6gtb5p0",
1260
1260
  "member": "string",
1261
1261
  "name": "Values",
1262
1262
  "required": true,
@@ -1419,7 +1419,7 @@
1419
1419
  {
1420
1420
  "disabled": false,
1421
1421
  "document": "关联节点池数组",
1422
- "example": "",
1422
+ "example": "[\"np-l6gtb5p0\"]",
1423
1423
  "member": "string",
1424
1424
  "name": "NodePools",
1425
1425
  "output_required": true,
@@ -1799,7 +1799,7 @@
1799
1799
  {
1800
1800
  "disabled": false,
1801
1801
  "document": "kubelet自定义参数,参数格式为[\"k1=v1\", \"k1=v2\"], 例如[\"root-dir=/var/lib/kubelet\",\"feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true\"]\n注意:此字段可能返回 null,表示取不到有效值。",
1802
- "example": "",
1802
+ "example": "[\"--max-pods=110\"]",
1803
1803
  "member": "string",
1804
1804
  "name": "Kubelet",
1805
1805
  "output_required": true,
@@ -1922,7 +1922,7 @@
1922
1922
  {
1923
1923
  "disabled": false,
1924
1924
  "document": "节点初始化前自定义脚本\n注意:此字段可能返回 null,表示取不到有效值。",
1925
- "example": "",
1925
+ "example": "aGVsbG8gd29ybGQK",
1926
1926
  "member": "string",
1927
1927
  "name": "PreInit",
1928
1928
  "output_required": true,
@@ -1933,7 +1933,7 @@
1933
1933
  {
1934
1934
  "disabled": false,
1935
1935
  "document": "节点初始化后自定义脚本\n注意:此字段可能返回 null,表示取不到有效值。",
1936
- "example": "",
1936
+ "example": "aGVsbG8gd29ybGQK",
1937
1937
  "member": "string",
1938
1938
  "name": "PostInit",
1939
1939
  "output_required": true,
@@ -2584,7 +2584,7 @@
2584
2584
  {
2585
2585
  "disabled": false,
2586
2586
  "document": "密钥 ID 列表\n注意:此字段可能返回 null,表示取不到有效值。",
2587
- "example": "",
2587
+ "example": "[\"key-l6gtb5p0\"]",
2588
2588
  "member": "string",
2589
2589
  "name": "KeyIds",
2590
2590
  "output_required": true,
@@ -2664,7 +2664,7 @@
2664
2664
  {
2665
2665
  "disabled": false,
2666
2666
  "document": "机型列表",
2667
- "example": "",
2667
+ "example": "S2.4XLARGE48",
2668
2668
  "member": "string",
2669
2669
  "name": "InstanceTypes",
2670
2670
  "output_required": true,
@@ -3635,7 +3635,7 @@
3635
3635
  {
3636
3636
  "disabled": false,
3637
3637
  "document": "机型列表",
3638
- "example": "",
3638
+ "example": "S2.4XLARGE48",
3639
3639
  "member": "string",
3640
3640
  "name": "InstanceTypes",
3641
3641
  "required": false,
@@ -3662,7 +3662,7 @@
3662
3662
  {
3663
3663
  "disabled": false,
3664
3664
  "document": "ssh公钥id数组",
3665
- "example": "[\"sky-test\",\"sky-test2\"]",
3665
+ "example": "[\"sky-l6gtb5p0\",\"sky-l6gtb5p1\"]",
3666
3666
  "member": "string",
3667
3667
  "name": "KeyIds",
3668
3668
  "required": false,
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "document": "查询集群实例信息",
38
38
  "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInstances\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-7ph3twqe\"\n}",
39
- "output": "{\n \"Response\": {\n \"TotalCount\": 4,\n \"InstanceSet\": [\n {\n \"CreatedTime\": \"2023-08-17 13:17:57 +0000 UTC\",\n \"External\": {\n \"CPU\": 2,\n \"K8SVersion\": \"v1.26.1-tke.1\",\n \"Memory\": 1,\n \"Name\": \"node-10.0.6.x\"\n },\n \"FailedReason\": \"\",\n \"InstanceId\": \"node-10.0.6.x\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"10.0.6.x\",\n \"Native\": null,\n \"NodePoolId\": \"np-xxxxx\",\n \"NodeType\": \"External\",\n \"Regular\": null,\n \"Super\": null,\n \"Unschedulable\": false\n },\n {\n \"CreatedTime\": \"2023-08-17 20:47:35 +0800 CST\",\n \"External\": null,\n \"FailedReason\": null,\n \"InstanceId\": \"eklet-subnet-xxxx-yyyy\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"a.b.c.d\",\n \"Native\": null,\n \"NodePoolId\": \"np-yyyyy\",\n \"NodeType\": \"Super\",\n \"Regular\": null,\n \"Super\": {\n \"ActiveAt\": null,\n \"AutoRenewFlag\": null,\n \"CPU\": null,\n \"ExpireAt\": null,\n \"InstanceAttribute\": null,\n \"MaxCPUScheduledPod\": null,\n \"Memory\": null,\n \"Name\": \"\",\n \"ResourceType\": null,\n \"SubnetId\": \"subnet-xxxxx\",\n \"UsedCPU\": null,\n \"UsedMemory\": null,\n \"VpcId\": null,\n \"Zone\": null\n },\n \"Unschedulable\": false\n },\n {\n \"CreatedTime\": \"2023-08-17 12:46:40 +0000 UTC\",\n \"External\": null,\n \"FailedReason\": \"=\",\n \"InstanceId\": \"np-xxxx-yyyy\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"10.0.0.x\",\n \"Native\": {\n \"CPU\": 2,\n \"CreatedAt\": \"2023-08-17 20:46:39\",\n \"DisplayName\": \"tke-np-xxxx-worker\",\n \"ExpiredTime\": \"\",\n \"GPU\": 0,\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceFamily\": \"S2\",\n \"InstanceType\": \"S2.MEDIUM2\",\n \"InternetAccessible\": {\n \"BandwidthPackageId\": \"\",\n \"ChargeType\": \"\",\n \"MaxBandwidthOut\": 0\n },\n \"IsProtectedFromScaleIn\": false,\n \"LanIp\": \"10.0.0.x\",\n \"LoginStatus\": \"Opened\",\n \"MachineName\": \"np-xxxx-yyyy\",\n \"MachineState\": \"Running\",\n \"Memory\": 2,\n \"OsImage\": \"TencentOS Server 3.1 (Final)\",\n \"PayMode\": \"POSTPAID_BY_HOUR\",\n \"RenewFlag\": \"\",\n \"SecurityGroupIDs\": [\n \"sg-ccccc\"\n ],\n \"SubnetId\": \"subnet-nqx1ymwm\",\n \"VpcId\": \"vpc-zzzzz\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"NodePoolId\": \"np-xxxx\",\n \"NodeType\": \"Native\",\n \"Regular\": null,\n \"Super\": null,\n \"Unschedulable\": false\n },\n {\n \"CreatedTime\": \"2023-08-17 12:35:42 +0000 UTC\",\n \"External\": null,\n \"FailedReason\": \"=Ready:True\",\n \"InstanceId\": \"ins-aaaaaa\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"10.0.0.x\",\n \"Native\": null,\n \"NodePoolId\": \"\",\n \"NodeType\": \"Regular\",\n \"Regular\": {\n \"AutoscalingGroupId\": \"\",\n \"InstanceAdvancedSettings\": {\n \"DesiredPodNumber\": 64,\n \"ExtraArgs\": {\n \"Kubelet\": null\n },\n \"PreStartUserScript\": null,\n \"RuntimeConfig\": null,\n \"UserScript\": \"\"\n }\n },\n \"Super\": null,\n \"Unschedulable\": false\n }\n ],\n \"Errors\": [],\n \"RequestId\": \"42c27fd7-e2ca-48b2-9f4e-acdb9eef6ee7\"\n }\n}",
39
+ "output": "{\n \"Response\": {\n \"TotalCount\": 4,\n \"InstanceSet\": [\n {\n \"CreatedTime\": \"2023-08-17 13:17:57 +0000 UTC\",\n \"External\": {\n \"CPU\": 2,\n \"K8SVersion\": \"v1.26.1-tke.1\",\n \"Memory\": 1,\n \"Name\": \"node-10.0.6.x\"\n },\n \"FailedReason\": \"\",\n \"InstanceId\": \"node-10.0.6.x\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"10.0.6.x\",\n \"Native\": null,\n \"NodePoolId\": \"np-4h43fuxj\",\n \"NodeType\": \"External\",\n \"Regular\": null,\n \"Super\": null,\n \"Unschedulable\": false\n },\n {\n \"CreatedTime\": \"2023-08-17 20:47:35 +0800 CST\",\n \"External\": null,\n \"FailedReason\": null,\n \"InstanceId\": \"eklet-subnet-4h43fuxjx-yyyy\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"a.b.c.d\",\n \"Native\": null,\n \"NodePoolId\": \"np-yyyyy\",\n \"NodeType\": \"Super\",\n \"Regular\": null,\n \"Super\": {\n \"ActiveAt\": null,\n \"AutoRenewFlag\": null,\n \"CPU\": null,\n \"ExpireAt\": null,\n \"InstanceAttribute\": null,\n \"MaxCPUScheduledPod\": null,\n \"Memory\": null,\n \"Name\": \"\",\n \"ResourceType\": null,\n \"SubnetId\": \"subnet-4h43fuxj\",\n \"UsedCPU\": null,\n \"UsedMemory\": null,\n \"VpcId\": null,\n \"Zone\": null\n },\n \"Unschedulable\": false\n },\n {\n \"CreatedTime\": \"2023-08-17 12:46:40 +0000 UTC\",\n \"External\": null,\n \"FailedReason\": \"=\",\n \"InstanceId\": \"np-4h43fuxj-4h43fuxj\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"10.0.0.x\",\n \"Native\": {\n \"CPU\": 2,\n \"CreatedAt\": \"2023-08-17 20:46:39\",\n \"DisplayName\": \"tke-np-4h43fuxj-worker\",\n \"ExpiredTime\": \"\",\n \"GPU\": 0,\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceFamily\": \"S2\",\n \"InstanceType\": \"S2.MEDIUM2\",\n \"InternetAccessible\": {\n \"BandwidthPackageId\": \"\",\n \"ChargeType\": \"\",\n \"MaxBandwidthOut\": 0\n },\n \"IsProtectedFromScaleIn\": false,\n \"LanIp\": \"10.0.0.x\",\n \"LoginStatus\": \"Opened\",\n \"MachineName\": \"np-4h43fuxj-4h43fuxj\",\n \"MachineState\": \"Running\",\n \"Memory\": 2,\n \"OsImage\": \"TencentOS Server 3.1 (Final)\",\n \"PayMode\": \"POSTPAID_BY_HOUR\",\n \"RenewFlag\": \"\",\n \"SecurityGroupIDs\": [\n \"sg-ccccc\"\n ],\n \"SubnetId\": \"subnet-nqx1ymwm\",\n \"VpcId\": \"vpc-zzzzz\",\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"NodePoolId\": \"np-4h43fuxj\",\n \"NodeType\": \"Native\",\n \"Regular\": null,\n \"Super\": null,\n \"Unschedulable\": false\n },\n {\n \"CreatedTime\": \"2023-08-17 12:35:42 +0000 UTC\",\n \"External\": null,\n \"FailedReason\": \"=Ready:True\",\n \"InstanceId\": \"ins-aaaaaa\",\n \"InstanceRole\": \"WORKER\",\n \"InstanceState\": \"running\",\n \"LanIP\": \"10.0.0.x\",\n \"Native\": null,\n \"NodePoolId\": \"\",\n \"NodeType\": \"Regular\",\n \"Regular\": {\n \"AutoscalingGroupId\": \"\",\n \"InstanceAdvancedSettings\": {\n \"DesiredPodNumber\": 64,\n \"ExtraArgs\": {\n \"Kubelet\": null\n },\n \"PreStartUserScript\": null,\n \"RuntimeConfig\": null,\n \"UserScript\": \"\"\n }\n },\n \"Super\": null,\n \"Unschedulable\": false\n }\n ],\n \"Errors\": [],\n \"RequestId\": \"42c27fd7-e2ca-48b2-9f4e-acdb9eef6ee7\"\n }\n}",
40
40
  "title": "查询集群实例信息"
41
41
  }
42
42
  ],
@@ -60,7 +60,7 @@
60
60
  {
61
61
  "document": "",
62
62
  "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckTemplate\n<公共请求参数>\n\n{}",
63
- "output": "{\n \"Response\": {\n \"HealthCheckTemplate\": {\n \"Rules\": [\n {\n \"Name\": \"A\",\n \"Description\": \"\",\n \"RepairAction\": \"restart\",\n \"RepairEffect\": \"\",\n \"ShouldEnable\": true,\n \"ShouldRepair\": false,\n \"Severity\": \"123\"\n }\n ]\n },\n \"RequestId\": \"123\"\n }\n}",
63
+ "output": "{\n \"Response\": {\n \"HealthCheckTemplate\": {\n \"Rules\": [\n {\n \"Name\": \"A\",\n \"Description\": \"\",\n \"RepairAction\": \"restart\",\n \"RepairEffect\": \"\",\n \"ShouldEnable\": true,\n \"ShouldRepair\": false,\n \"Severity\": \"general\"\n }\n ]\n },\n \"RequestId\": \"123\"\n }\n}",
64
64
  "title": "查询原生节点池健康检测策略模板"
65
65
  }
66
66
  ],
@@ -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,