tccli 3.0.1340.1__py2.py3-none-any.whl → 3.0.1342.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 (68) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/plugins/sso/__init__.py +14 -0
  3. tccli/plugins/sso/login.py +23 -6
  4. tccli/plugins/sso/texts.py +4 -0
  5. tccli/services/__init__.py +3 -0
  6. tccli/services/ams/v20201229/api.json +195 -185
  7. tccli/services/apm/v20210622/api.json +10 -0
  8. tccli/services/bh/bh_client.py +326 -8
  9. tccli/services/bh/v20230418/api.json +537 -0
  10. tccli/services/bh/v20230418/examples.json +48 -0
  11. tccli/services/ccc/v20200210/api.json +1 -1
  12. tccli/services/cdb/v20170320/api.json +159 -159
  13. tccli/services/cdb/v20170320/examples.json +21 -21
  14. tccli/services/cdn/v20180606/examples.json +1 -1
  15. tccli/services/ctem/__init__.py +4 -0
  16. tccli/services/ctem/ctem_client.py +1479 -0
  17. tccli/services/ctem/v20231128/api.json +6138 -0
  18. tccli/services/ctem/v20231128/examples.json +205 -0
  19. tccli/services/cwp/v20180228/api.json +106 -2
  20. tccli/services/cwp/v20180228/examples.json +12 -0
  21. tccli/services/cynosdb/v20190107/api.json +29 -2
  22. tccli/services/cynosdb/v20190107/examples.json +1 -1
  23. tccli/services/dlc/v20210125/api.json +15 -6
  24. tccli/services/dsgc/v20190723/api.json +215 -17
  25. tccli/services/emr/v20190103/api.json +93 -0
  26. tccli/services/ess/v20201111/api.json +14 -3
  27. tccli/services/hunyuan/v20230901/api.json +10 -1
  28. tccli/services/ims/v20200713/api.json +1 -1
  29. tccli/services/ims/v20200713/examples.json +1 -1
  30. tccli/services/ims/v20201229/api.json +30 -30
  31. tccli/services/iotexplorer/v20190423/api.json +2 -2
  32. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  33. tccli/services/iotvideo/v20201215/api.json +2 -2
  34. tccli/services/iotvideo/v20201215/examples.json +1 -1
  35. tccli/services/iotvideo/v20211125/api.json +1 -1
  36. tccli/services/iotvideo/v20211125/examples.json +1 -1
  37. tccli/services/kms/kms_client.py +915 -120
  38. tccli/services/kms/v20190118/api.json +1104 -27
  39. tccli/services/kms/v20190118/examples.json +126 -0
  40. tccli/services/lke/lke_client.py +228 -16
  41. tccli/services/lke/v20231130/api.json +1513 -219
  42. tccli/services/lke/v20231130/examples.json +33 -1
  43. tccli/services/mongodb/v20190725/api.json +10 -0
  44. tccli/services/mps/v20190612/api.json +113 -25
  45. tccli/services/mqtt/mqtt_client.py +53 -0
  46. tccli/services/mqtt/v20240516/api.json +150 -0
  47. tccli/services/mqtt/v20240516/examples.json +8 -0
  48. tccli/services/redis/v20180412/api.json +3 -3
  49. tccli/services/redis/v20180412/examples.json +19 -1
  50. tccli/services/ses/v20201002/api.json +8 -8
  51. tccli/services/tcss/v20201101/api.json +10 -0
  52. tccli/services/thpc/v20230321/api.json +32 -2
  53. tccli/services/tione/v20211111/api.json +11 -0
  54. tccli/services/tke/v20180525/api.json +10 -0
  55. tccli/services/trocket/trocket_client.py +53 -0
  56. tccli/services/trocket/v20230308/api.json +294 -204
  57. tccli/services/trocket/v20230308/examples.json +18 -10
  58. tccli/services/vm/v20210922/api.json +363 -333
  59. tccli/services/vpc/v20170312/api.json +9 -0
  60. tccli/services/waf/v20180125/api.json +59 -21
  61. tccli/services/wedata/v20210820/api.json +560 -10
  62. tccli/services/wedata/v20210820/examples.json +25 -1
  63. tccli/services/wedata/wedata_client.py +167 -8
  64. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/METADATA +2 -2
  65. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/RECORD +68 -64
  66. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/WHEEL +0 -0
  67. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/entry_points.txt +0 -0
  68. {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/license_files/LICENSE +0 -0
@@ -84,7 +84,7 @@
84
84
  {
85
85
  "document": "删除 RocketMQ 5.x 集群",
86
86
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\"\n}",
87
- "output": "{\n \"Response\": {\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\"\n }\n}",
87
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\"\n }\n}",
88
88
  "title": "删除集群"
89
89
  }
90
90
  ],
@@ -148,10 +148,18 @@
148
148
  {
149
149
  "document": "查询消费者客户端详情",
150
150
  "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}",
151
- "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}",
151
+ "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\": \"V4_9_3\"\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}",
152
152
  "title": "查询消费者客户端详情"
153
153
  }
154
154
  ],
155
+ "DescribeConsumerClientList": [
156
+ {
157
+ "document": "查询消费组下的客户端连接",
158
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerClientList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"group\",\n \"Offset\": 0,\n \"Limit\": 1\n}",
159
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [],\n \"RequestId\": \"c2d581fa-d7b2-453c-ba1a-65c0e507a533\",\n \"TotalCount\": 0\n }\n}",
160
+ "title": "查询消费组下的客户端连接"
161
+ }
162
+ ],
155
163
  "DescribeConsumerGroup": [
156
164
  {
157
165
  "document": "查询消费者详情",
@@ -164,7 +172,7 @@
164
172
  {
165
173
  "document": "获取消费组列表",
166
174
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerGroupList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1\n}",
167
- "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"ConsumerGroup\": \"test_group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试消费组\"\n }\n ],\n \"RequestId\": \"318142bf-0dd1-4b81-9444-a40f988619a1\",\n \"TotalCount\": 1\n }\n}",
175
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"ConsumerGroup\": \"test_group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试消费组\",\n \"ClusterIdV4\": null,\n \"NamespaceV4\": null,\n \"ConsumerGroupV4\": null,\n \"FullNamespaceV4\": null\n }\n ],\n \"RequestId\": \"318142bf-0dd1-4b81-9444-a40f988619a1\",\n \"TotalCount\": 1\n }\n}",
168
176
  "title": "获取消费组列表"
169
177
  }
170
178
  ],
@@ -300,7 +308,7 @@
300
308
  {
301
309
  "document": "",
302
310
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessage\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 \"Body\": \"testBody\",\n \"MessageId\": \"1EAE3915000721B8D17C2C5BB31638D1\",\n \"MessageTracks\": [\n {\n \"ConsumeStatus\": \"CONSUMED\",\n \"ConsumerGroup\": \"group\",\n \"ExceptionDesc\": null,\n \"TrackType\": \"CONSUMED\"\n }\n ],\n \"ProduceTime\": \"2023-05-09 14:43:27\",\n \"ProducerAddr\": \"30.174.57.21\",\n \"Properties\": \"{\\\"TRACE_ON\\\":\\\"true\\\",\\\"MSG_REGION\\\":\\\"cd\\\",\\\"KEYS\\\":\\\"testKey\\\",\\\"UNIQ_KEY\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"CLUSTER\\\":\\\"rmqbroker-cd-1\\\",\\\"WAIT\\\":\\\"true\\\",\\\"TAGS\\\":\\\"testTag\\\"}\",\n \"RequestId\": \"8e97b978-376b-4d94-96cc-db0ead5f2f99\",\n \"ShowTopicName\": \"topic\"\n }\n}",
311
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"testBody\",\n \"MessageId\": \"1EAE3915000721B8D17C2C5BB31638D1\",\n \"MessageTracksCount\": 1,\n \"MessageTracks\": [\n {\n \"ConsumeStatus\": \"CONSUMED\",\n \"ConsumerGroup\": \"group\",\n \"ExceptionDesc\": null,\n \"TrackType\": \"CONSUMED\"\n }\n ],\n \"ProduceTime\": \"2023-05-09 14:43:27\",\n \"ProducerAddr\": \"30.174.57.21\",\n \"Properties\": \"{\\\"TRACE_ON\\\":\\\"true\\\",\\\"MSG_REGION\\\":\\\"cd\\\",\\\"KEYS\\\":\\\"testKey\\\",\\\"UNIQ_KEY\\\":\\\"1EAE3915000721B8D17C2C5BB31638D1\\\",\\\"CLUSTER\\\":\\\"rmqbroker-cd-1\\\",\\\"WAIT\\\":\\\"true\\\",\\\"TAGS\\\":\\\"testTag\\\"}\",\n \"RequestId\": \"8e97b978-376b-4d94-96cc-db0ead5f2f99\",\n \"ShowTopicName\": \"topic\"\n }\n}",
304
312
  "title": "查询普通消息"
305
313
  }
306
314
  ],
@@ -338,7 +346,7 @@
338
346
  {
339
347
  "document": "",
340
348
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMigratingTopicList\n<公共请求参数>\n\n{\n \"Filters\": [],\n \"Offset\": 0,\n \"Limit\": 10,\n \"TaskId\": \"02f6c31a-9707-4244-8dd3-35ad868ef92a\"\n}",
341
- "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"TotalCount\": 10,\n \"MigrateTopics\": [\n {\n \"TopicName\": \"topic-a\",\n \"MigrationStatus\": \"S_RW_D_NA\",\n \"HealthCheckPassed\": true,\n \"HealthCheckError\": \"\",\n \"Namespace\": \"\",\n \"FullNamespaceV4\": null,\n \"NamespaceV4\": null,\n \"TopicNameV4\": null\n }\n ],\n \"RequestId\": \"02f6c31a-9707-4244-8dd3-35ad868ef92a\"\n }\n}",
349
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"TotalCount\": 10,\n \"MigrateTopics\": [\n {\n \"TopicName\": \"topic-a\",\n \"MigrationStatus\": \"S_RW_D_NA\",\n \"HealthCheckPassed\": true,\n \"HealthCheckError\": \"\",\n \"Namespace\": \"\",\n \"FullNamespaceV4\": null,\n \"NamespaceV4\": null,\n \"TopicNameV4\": null,\n \"HealthCheckErrorList\": []\n }\n ],\n \"RequestId\": \"02f6c31a-9707-4244-8dd3-35ad868ef92a\"\n }\n}",
342
350
  "title": "查询迁移主题列表"
343
351
  }
344
352
  ],
@@ -370,7 +378,7 @@
370
378
  {
371
379
  "document": "查询角色列表成功",
372
380
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoleList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
373
- "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\",\n \"TotalCount\": 1,\n \"Data\": [\n {\n \"RoleName\": \"test_role_name\",\n \"AccessKey\": \"ak4ae3zkj2zea6741a2a709\",\n \"SecretKey\": \"skd68607c7dc2be6a4\",\n \"PermRead\": true,\n \"PermWrite\": true,\n \"Remark\": \"\",\n \"CreatedTime\": 1729153015000,\n \"ModifiedTime\": 1729153015000\n }\n ]\n }\n}",
381
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\",\n \"TotalCount\": 1,\n \"Data\": [\n {\n \"RoleName\": \"test_role_name\",\n \"AccessKey\": \"ak0000aaaa\",\n \"SecretKey\": \"sk0000aaaa\",\n \"PermRead\": true,\n \"PermWrite\": true,\n \"Remark\": \"\",\n \"CreatedTime\": 1729153015000,\n \"ModifiedTime\": 1729153015000\n }\n ]\n }\n}",
374
382
  "title": "查询角色列表"
375
383
  }
376
384
  ],
@@ -410,7 +418,7 @@
410
418
  {
411
419
  "document": "",
412
420
  "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}",
413
- "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}",
421
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"06a6649b-76ec-4c5d-b4c8-8a48d24be07f\",\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 \"ClientSubscriptionInfos\": [],\n \"ConsumerLag\": 0,\n \"LastUpdateTime\": 1750853702996,\n \"MaxRetryTimes\": 16,\n \"ConsumeMessageOrderly\": false,\n \"MessageModel\": \"CLUSTERING\"\n }\n ]\n }\n}",
414
422
  "title": "查询消费组订阅的主题列表"
415
423
  }
416
424
  ],
@@ -458,7 +466,7 @@
458
466
  {
459
467
  "document": "修改实例公网配置",
460
468
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-cdrgxq94om\",\n \"Type\": \"PUBLIC\",\n \"Bandwidth\": 2,\n \"IpRules\": [\n {\n \"Ip\": \"1.2.3.4\",\n \"Allow\": true,\n \"Remark\": \"test remark\"\n }\n ]\n}",
461
- "output": "{\n \"Response\": {\n \"RequestId\": \"999bc587-90d9-4ec2-97e3-3ef170e1da96\"\n }\n}",
469
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"999bc587-90d9-4ec2-97e3-3ef170e1da96\"\n }\n}",
462
470
  "title": "修改实例公网配置"
463
471
  }
464
472
  ],
@@ -513,7 +521,7 @@
513
521
  "ModifyTopic": [
514
522
  {
515
523
  "document": "修改主题属性",
516
- "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"QueueNum\": 1\n}",
524
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"QueueNum\": 6\n}",
517
525
  "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"945afc69-1c24-4891-a2ce-c5fa6032ba75\"\n }\n}",
518
526
  "title": "修改主题属性"
519
527
  }
@@ -538,7 +546,7 @@
538
546
  {
539
547
  "document": "",
540
548
  "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetConsumerGroupOffset\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\",\n \"Topic\": \"test_topic\",\n \"ResetTimestamp\": -1\n}",
541
- "output": "{\n \"Response\": {\n \"RequestId\": \"707a78e5-019d-41f6-80fc-15743d99c81a\"\n }\n}",
549
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"707a78e5-019d-41f6-80fc-15743d99c81a\"\n }\n}",
542
550
  "title": "重置消费位点"
543
551
  }
544
552
  ],