tccli 3.0.1048.1__py2.py3-none-any.whl → 3.0.1050.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 (88) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/antiddos/v20200309/DescribeBGPIPL7Rules.md +87 -0
  3. tccli/examples/ckafka/v20190819/DescribeGroup.md +6 -5
  4. tccli/examples/csip/v20221121/ModifyOrganizationAccountStatus.md +21 -0
  5. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +41 -0
  6. tccli/examples/cynosdb/v20190107/AddInstances.md +2 -2
  7. tccli/examples/cynosdb/v20190107/DescribeClusterInstanceGrps.md +235 -79
  8. tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +3 -1
  9. tccli/examples/cynosdb/v20190107/DescribeClusterPasswordComplexity.md +18 -6
  10. tccli/examples/cynosdb/v20190107/DescribeInstances.md +63 -55
  11. tccli/examples/cynosdb/v20190107/DescribeParamTemplateDetail.md +3 -1
  12. tccli/examples/cynosdb/v20190107/ModifyVipVport.md +3 -3
  13. tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +2 -2
  14. tccli/examples/hunyuan/v20230901/ChatPro.md +76 -0
  15. tccli/examples/hunyuan/v20230901/ChatStd.md +37 -0
  16. tccli/examples/live/v20180801/DescribeLiveTranscodeTemplates.md +8 -8
  17. tccli/examples/oceanus/v20190422/CopyJobs.md +11 -20
  18. tccli/examples/redis/v20180412/CreateInstanceAccount.md +7 -6
  19. tccli/examples/teo/v20220901/DescribeDefaultCertificates.md +2 -1
  20. tccli/examples/tke/v20180525/ForwardApplicationRequestV3.md +2 -2
  21. tccli/examples/trocket/v20230308/CreateMQTTInsPublicEndpoint.md +26 -0
  22. tccli/examples/trocket/v20230308/CreateMQTTInstance.md +31 -0
  23. tccli/examples/trocket/v20230308/CreateMQTTTopic.md +25 -0
  24. tccli/examples/trocket/v20230308/CreateMQTTUser.md +27 -0
  25. tccli/examples/trocket/v20230308/DeleteMQTTInsPublicEndpoint.md +22 -0
  26. tccli/examples/trocket/v20230308/DeleteMQTTInstance.md +22 -0
  27. tccli/examples/trocket/v20230308/DeleteMQTTTopic.md +23 -0
  28. tccli/examples/trocket/v20230308/DeleteMQTTUser.md +23 -0
  29. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +82 -0
  30. tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +26 -0
  31. tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +40 -0
  32. tccli/examples/trocket/v20230308/DescribeMQTTInstance.md +34 -0
  33. tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md +25 -0
  34. tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +176 -0
  35. tccli/examples/trocket/v20230308/DescribeMQTTMessage.md +83 -0
  36. tccli/examples/trocket/v20230308/DescribeMQTTMessageList.md +54 -0
  37. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +94 -0
  38. tccli/examples/trocket/v20230308/DescribeMQTTTopic.md +27 -0
  39. tccli/examples/trocket/v20230308/DescribeMQTTTopicList.md +127 -0
  40. tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +36 -0
  41. tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md +26 -0
  42. tccli/examples/trocket/v20230308/ModifyMQTTInstance.md +24 -0
  43. tccli/examples/trocket/v20230308/ModifyMQTTInstanceCertBinding.md +24 -0
  44. tccli/examples/trocket/v20230308/ModifyMQTTTopic.md +24 -0
  45. tccli/examples/trocket/v20230308/ModifyMQTTUser.md +26 -0
  46. tccli/examples/wedata/v20210820/DeleteProjectUsers.md +36 -0
  47. tccli/services/antiddos/antiddos_client.py +53 -0
  48. tccli/services/antiddos/v20200309/api.json +439 -0
  49. tccli/services/antiddos/v20200309/examples.json +8 -0
  50. tccli/services/cfg/v20210820/api.json +21 -10
  51. tccli/services/ckafka/v20190819/api.json +6 -5
  52. tccli/services/ckafka/v20190819/examples.json +1 -1
  53. tccli/services/cls/v20201016/api.json +48 -19
  54. tccli/services/csip/csip_client.py +106 -0
  55. tccli/services/csip/v20221121/api.json +188 -0
  56. tccli/services/csip/v20221121/examples.json +16 -0
  57. tccli/services/cynosdb/v20190107/api.json +415 -87
  58. tccli/services/cynosdb/v20190107/examples.json +12 -12
  59. tccli/services/ess/v20201111/api.json +1 -1
  60. tccli/services/essbasic/v20210526/examples.json +2 -2
  61. tccli/services/hunyuan/v20230901/api.json +2 -2
  62. tccli/services/hunyuan/v20230901/examples.json +18 -0
  63. tccli/services/live/v20180801/api.json +13 -3
  64. tccli/services/live/v20180801/examples.json +1 -1
  65. tccli/services/oceanus/v20190422/api.json +32 -3
  66. tccli/services/oceanus/v20190422/examples.json +1 -1
  67. tccli/services/privatedns/v20201028/api.json +29 -19
  68. tccli/services/redis/v20180412/api.json +13 -10
  69. tccli/services/redis/v20180412/examples.json +2 -2
  70. tccli/services/ssl/ssl_client.py +0 -53
  71. tccli/services/ssl/v20191205/api.json +0 -99
  72. tccli/services/ssl/v20191205/examples.json +0 -8
  73. tccli/services/teo/v20220901/api.json +14 -3
  74. tccli/services/teo/v20220901/examples.json +1 -1
  75. tccli/services/tke/v20180525/api.json +26 -22
  76. tccli/services/tke/v20180525/examples.json +1 -1
  77. tccli/services/trocket/trocket_client.py +1377 -52
  78. tccli/services/trocket/v20230308/api.json +2946 -502
  79. tccli/services/trocket/v20230308/examples.json +212 -0
  80. tccli/services/ump/v20200918/api.json +2 -2
  81. tccli/services/wedata/v20210820/api.json +24 -0
  82. tccli/services/wedata/v20210820/examples.json +14 -0
  83. tccli/services/wedata/wedata_client.py +53 -0
  84. {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/METADATA +2 -2
  85. {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/RECORD +88 -59
  86. {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/WHEEL +0 -0
  87. {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/entry_points.txt +0 -0
  88. {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/license_files/LICENSE +0 -0
@@ -22,6 +22,38 @@
22
22
  "title": "创建实例"
23
23
  }
24
24
  ],
25
+ "CreateMQTTInsPublicEndpoint": [
26
+ {
27
+ "document": "示例",
28
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Bandwidth\": 2,\n \"Rules\": [\n {\n \"IpRule\": \"1.1.1.1\",\n \"Allow\": true,\n \"Remark\": \"remark\"\n }\n ]\n}",
29
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"416510a6-f614-487d-bbca-e7fdbf72fc29\"\n }\n}",
30
+ "title": "示例"
31
+ }
32
+ ],
33
+ "CreateMQTTInstance": [
34
+ {
35
+ "document": "示例",
36
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"sunjianxiong-1\",\n \"SkuCode\": \"basic_1k\",\n \"Remark\": \"this is remark\",\n \"VpcList\": [\n {\n \"VpcId\": \"vpc-9a5wnirv\",\n \"SubnetId\": \"subnet-0tw6tlfi\"\n }\n ],\n \"IpRules\": [\n {\n \"Ip\": \"1.1.1.1\",\n \"Allow\": true,\n \"Remark\": \"11111111\"\n }\n ]\n}",
37
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"RequestId\": \"02107c9d-cbea-418c-bafc-740300fdefad\"\n }\n}",
38
+ "title": "示例"
39
+ }
40
+ ],
41
+ "CreateMQTTTopic": [
42
+ {
43
+ "document": "示例",
44
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Topic\": \"topic1\"\n}",
45
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"RequestId\": \"dff879db-cb6f-4ffb-b820-ea6f391a8da7\",\n \"Topic\": \"topic1\"\n }\n}",
46
+ "title": "示例"
47
+ }
48
+ ],
49
+ "CreateMQTTUser": [
50
+ {
51
+ "document": "示例",
52
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"33333\",\n \"PermWrite\": true,\n \"PermRead\": true,\n \"Username\": \"123\",\n \"Password\": \"456\"\n}",
53
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"25cb77a7-2add-4086-8fd2-a05b5bd34776\"\n }\n}",
54
+ "title": "示例"
55
+ }
56
+ ],
25
57
  "CreateRole": [
26
58
  {
27
59
  "document": "添加角色",
@@ -54,6 +86,38 @@
54
86
  "title": "删除实例"
55
87
  }
56
88
  ],
89
+ "DeleteMQTTInsPublicEndpoint": [
90
+ {
91
+ "document": "示例",
92
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\"\n}",
93
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"de89c7dd-7c3e-4546-a2ca-91c5baa0415f\"\n }\n}",
94
+ "title": "示例"
95
+ }
96
+ ],
97
+ "DeleteMQTTInstance": [
98
+ {
99
+ "document": "示例",
100
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-wjgxr8jg\"\n}",
101
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"84afeb76-9175-47ec-a6f1-8d0af0c0aae6\"\n }\n}",
102
+ "title": "示例"
103
+ }
104
+ ],
105
+ "DeleteMQTTTopic": [
106
+ {
107
+ "document": "示例",
108
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"111\"\n}",
109
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"f3a081b8-dc97-4d62-bb1a-d1aa9fe80da8\"\n }\n}",
110
+ "title": "示例"
111
+ }
112
+ ],
113
+ "DeleteMQTTUser": [
114
+ {
115
+ "document": "示例",
116
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"123\"\n}",
117
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"74625f9b-ce92-43d5-ba0b-9a85ddb99041\"\n }\n}",
118
+ "title": "示例"
119
+ }
120
+ ],
57
121
  "DeleteRole": [
58
122
  {
59
123
  "document": "删除角色",
@@ -102,6 +166,114 @@
102
166
  "title": "查询实例列表"
103
167
  }
104
168
  ],
169
+ "DescribeMQTTClient": [
170
+ {
171
+ "document": "标准请求",
172
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTClient\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-25m2jz9j\",\n \"ClientId\": \"recv01\"\n}",
173
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientAddress\": \"/11.176.16.157:43440\",\n \"ClientId\": \"recv01\",\n \"ConnectTime\": 1703581008199,\n \"ConnectionStatus\": \"CONNECTED\",\n \"CreateTime\": 1703581008198,\n \"DisconnectTime\": 0,\n \"Keepalive\": 60,\n \"MQTTClientSubscriptions\": [\n {\n \"Qos\": 1,\n \"TopicFilter\": \"mqtt-25m2jz9j%111/r1/\"\n },\n {\n \"Qos\": 1,\n \"TopicFilter\": \"mqtt-25m2jz9j%111/r/+/\"\n },\n {\n \"Qos\": 2,\n \"TopicFilter\": \"mqtt-25m2jz9j%111/r2/\"\n }\n ],\n \"ProtocolVersion\": 4,\n \"RequestId\": \"b0f34768-130d-4a15-89d3-d3ca1976b4b7\"\n }\n}",
174
+ "title": "标准请求"
175
+ },
176
+ {
177
+ "document": "示例",
178
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTClient\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"ClientId\": \"subscribe_client\"\n}",
179
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientAddress\": \"11.176.16.153:37360\",\n \"ClientId\": \"subscribe_client\",\n \"ConnectTime\": 1705632841108,\n \"ConnectionStatus\": \"CONNECTED\",\n \"CreateTime\": 1705632841106,\n \"DisconnectTime\": 0,\n \"Keepalive\": 60,\n \"MQTTClientSubscriptions\": [\n {\n \"Qos\": 0,\n \"TopicFilter\": \"mqtt-47ka4rdr%topic24\"\n }\n ],\n \"ProtocolVersion\": 4,\n \"RequestId\": \"4ec9c58c-e6ac-4149-9673-b8f0d526a6aa\"\n }\n}",
180
+ "title": "示例"
181
+ }
182
+ ],
183
+ "DescribeMQTTInsPublicEndpoints": [
184
+ {
185
+ "document": "示例",
186
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInsPublicEndpoints\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\"\n}",
187
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Bandwidth\": 0,\n \"Endpoints\": [],\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"RequestId\": \"2cbe9dbc-57a3-4624-9ab8-30d25b54c70b\",\n \"Rules\": []\n }\n}",
188
+ "title": "示例"
189
+ }
190
+ ],
191
+ "DescribeMQTTInsVPCEndpoints": [
192
+ {
193
+ "document": "示例",
194
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInsVPCEndpoints\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\"\n}",
195
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Endpoints\": [\n {\n \"Host\": \"mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com\",\n \"Port\": 1883,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tcp\",\n \"Url\": \"mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com:1883\",\n \"VpcId\": null\n },\n {\n \"Host\": \"mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com\",\n \"Port\": 8888,\n \"SubnetId\": null,\n \"Type\": \"mqtt-ws\",\n \"Url\": \"mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com:8888\",\n \"VpcId\": null\n }\n ],\n \"RequestId\": \"31911506-4e35-45b6-8261-a51bf3d85bd5\"\n }\n}",
196
+ "title": "示例"
197
+ }
198
+ ],
199
+ "DescribeMQTTInstance": [
200
+ {
201
+ "document": "示例",
202
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\"\n}",
203
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientNumLimit\": 1000,\n \"CreatedTime\": 1705562417,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"InstanceName\": \"sunjianxiong-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"RequestId\": \"2251b9cf-aedd-4457-ac8d-bc705f48ccb8\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n}",
204
+ "title": "示例"
205
+ }
206
+ ],
207
+ "DescribeMQTTInstanceCert": [
208
+ {
209
+ "document": "示例",
210
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstanceCert\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\"\n}",
211
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": null,\n \"RequestId\": \"a07a950a-43ea-4c13-a812-7ba4337d186a\",\n \"SSLCaCertId\": null,\n \"SSLServerCertId\": null\n }\n}",
212
+ "title": "示例"
213
+ }
214
+ ],
215
+ "DescribeMQTTInstanceList": [
216
+ {
217
+ "document": "示例",
218
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}",
219
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ClientNumLimit\": 1,\n \"CreateTime\": 1705565760,\n \"InstanceId\": \"mqtt-wjgxr8jg\",\n \"InstanceName\": \"sunjianxiong-0118-no-pub\",\n \"InstanceStatus\": \"CREATE_FAILURE\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"mqtt_1k\",\n \"SubscriptionNumLimit\": 1,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705562417,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"InstanceName\": \"sunjianxiong-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705562390,\n \"InstanceId\": \"mqtt-92vrwg7q\",\n \"InstanceName\": \"sunjianxiong-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705562343,\n \"InstanceId\": \"mqtt-mzjj8pwq\",\n \"InstanceName\": \"sunjianxiong-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705562309,\n \"InstanceId\": \"mqtt-r8wq2qbr\",\n \"InstanceName\": \"sunjianxiong\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705481574,\n \"InstanceId\": \"mqtt-o98e9db4\",\n \"InstanceName\": \"sunjianxiong-0117\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705391046,\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"InstanceName\": \"sun-0116\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 25,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705386756,\n \"InstanceId\": \"mqtt-3jaepn74\",\n \"InstanceName\": \"sunjianxiong\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705305132,\n \"InstanceId\": \"mqtt-x4r9v2xq\",\n \"InstanceName\": \"sunjianxiong-0115\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1704962679,\n \"InstanceId\": \"mqtt-o47zowaz\",\n \"InstanceName\": \"sjx-0111\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 0,\n \"TopicNumLimit\": 1000,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n }\n ],\n \"RequestId\": \"9424369d-904f-4fa2-b407-0bd5e536e989\",\n \"TotalCount\": 10\n }\n}",
220
+ "title": "示例"
221
+ }
222
+ ],
223
+ "DescribeMQTTMessage": [
224
+ {
225
+ "document": "示例",
226
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTMessage\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Topic\": \"topic24\",\n \"MsgId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n}",
227
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"Hello MQTT111111\",\n \"MessageId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\",\n \"ProduceTime\": \"2024-01-17 14:22:57\",\n \"ProducerAddr\": \"11.176.16.153:51134\",\n \"Properties\": [\n {\n \"Key\": \"TRACE_ON\",\n \"Value\": \"true\"\n },\n {\n \"Key\": \"originMqttTopic\",\n \"Value\": \"mqtt-47ka4rdr%topic24/1\"\n },\n {\n \"Key\": \"INNER_MULTI_DISPATCH\",\n \"Value\": \"%LMQ%mqtt-47ka4rdr%topic24%1%\"\n },\n {\n \"Key\": \"IS_EMPTY_MSG\",\n \"Value\": \"false\"\n },\n {\n \"Key\": \"INNER_MULTI_QUEUE_OFFSET\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"retryTimes\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"extData\",\n \"Value\": \"{\\\"qosLevel\\\":\\\"1\\\"}\"\n },\n {\n \"Key\": \"MSG_REGION\",\n \"Value\": \"cd\"\n },\n {\n \"Key\": \"qosLevel\",\n \"Value\": \"1\"\n },\n {\n \"Key\": \"UNIQ_KEY\",\n \"Value\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n },\n {\n \"Key\": \"CLUSTER\",\n \"Value\": \"rmqbk-mqtt\"\n },\n {\n \"Key\": \"TAGS\",\n \"Value\": \"MQTT_COMMON\"\n },\n {\n \"Key\": \"__CLIENT_HOST\",\n \"Value\": \"11.176.16.153:51134\"\n }\n ],\n \"RequestId\": \"e658afc8-e2c0-463e-bf90-3103d881d59f\",\n \"ShowTopicName\": \"topic24\"\n }\n}",
228
+ "title": "示例"
229
+ }
230
+ ],
231
+ "DescribeMQTTMessageList": [
232
+ {
233
+ "document": "示例",
234
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTMessageList\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Topic\": \"topic24\",\n \"Offset\": 0,\n \"Limit\": 20,\n \"StartTime\": 1705373755266,\n \"EndTime\": 1705632955266,\n \"TaskRequestId\": \" \"\n}",
235
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"DeadLetterResendSuccessTimes\": null,\n \"DeadLetterResendTimes\": null,\n \"Keys\": null,\n \"MsgId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\",\n \"ProduceTime\": \"2024-01-17 14:22:57\",\n \"ProducerAddr\": \"11.176.16.153:51134\",\n \"Qos\": \"1\",\n \"SubTopic\": \"/1/\",\n \"Tags\": \"MQTT_COMMON\"\n },\n {\n \"DeadLetterResendSuccessTimes\": null,\n \"DeadLetterResendTimes\": null,\n \"Keys\": null,\n \"MsgId\": \"0B8D67F0002D6ACBCFC0557B1A980000\",\n \"ProduceTime\": \"2024-01-17 14:22:11\",\n \"ProducerAddr\": \"11.176.16.153:44044\",\n \"Qos\": \"0\",\n \"SubTopic\": \"\",\n \"Tags\": \"MQTT_COMMON\"\n }\n ],\n \"RequestId\": \"116cd3f5-668f-42fe-8572-fcd5d3a31377\",\n \"TaskRequestId\": \"e3d14393-4701-4f62-8a7d-b52bd59b5ace\",\n \"TotalCount\": 2\n }\n}",
236
+ "title": "示例"
237
+ }
238
+ ],
239
+ "DescribeMQTTProductSKUList": [
240
+ {
241
+ "document": "标志示例",
242
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTProductSKUList\n<公共请求参数>\n\n{}",
243
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"MQTTProductSkuList\": [\n {\n \"ClientNumLimit\": 1,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 2,\n \"ProxySpecCount\": 1,\n \"ProxySpecMemory\": 4,\n \"SkuCode\": \"mqtt_1k\",\n \"SubscriptionNumLimit\": 1,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1\n },\n {\n \"ClientNumLimit\": 1000,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 1,\n \"ProxySpecCount\": 2,\n \"ProxySpecMemory\": 2,\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n ],\n \"RequestId\": \"2be05982-b125-4259-b965-c487949cd896\",\n \"TotalCount\": 2\n }\n}",
244
+ "title": "标志示例"
245
+ },
246
+ {
247
+ "document": "示例",
248
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTProductSKUList\n<公共请求参数>\n\n{}",
249
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"MQTTProductSkuList\": [\n {\n \"ClientNumLimit\": 1,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 2,\n \"ProxySpecCount\": 1,\n \"ProxySpecMemory\": 4,\n \"SkuCode\": \"mqtt_1k\",\n \"SubscriptionNumLimit\": 1,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1\n },\n {\n \"ClientNumLimit\": 1000,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 1,\n \"ProxySpecCount\": 2,\n \"ProxySpecMemory\": 2,\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n ],\n \"RequestId\": \"73a1275e-26ce-494c-90d0-d7f9d0510730\",\n \"TotalCount\": 2\n }\n}",
250
+ "title": "示例"
251
+ }
252
+ ],
253
+ "DescribeMQTTTopic": [
254
+ {
255
+ "document": "示例",
256
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Topic\": \"topic1\"\n}",
257
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1705567642,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"\",\n \"RequestId\": \"acf7faf2-b2a9-431c-96b9-f589262da8f7\",\n \"Topic\": \"topic1\"\n }\n}",
258
+ "title": "示例"
259
+ }
260
+ ],
261
+ "DescribeMQTTTopicList": [
262
+ {
263
+ "document": "示例",
264
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTTopicList\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
265
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"1111\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic24\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic23\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic22\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic21\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic20\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic19\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic18\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic17\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic16\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic15\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic14\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic13\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic12\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic11\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic10\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic9\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic8\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic7\"\n },\n {\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Remark\": \"\",\n \"Topic\": \"topic6\"\n }\n ],\n \"RequestId\": \"d9042e88-c70e-4158-958c-8bb57d6c809f\",\n \"TotalCount\": 25\n }\n}",
266
+ "title": "示例"
267
+ }
268
+ ],
269
+ "DescribeMQTTUserList": [
270
+ {
271
+ "document": "示例",
272
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTUserList\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
273
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"CreatedTime\": 1705392159000,\n \"ModifiedTime\": 1705392159000,\n \"Password\": \"sunjianxiong\",\n \"PermRead\": true,\n \"PermWrite\": true,\n \"Remark\": \"\",\n \"Username\": \"sunjianxiong\"\n }\n ],\n \"RequestId\": \"8e86117c-a56c-4598-9e1f-4a039eed6e3a\",\n \"TotalCount\": 1\n }\n}",
274
+ "title": "示例"
275
+ }
276
+ ],
105
277
  "DescribeRoleList": [
106
278
  {
107
279
  "document": "查询角色列表",
@@ -166,6 +338,46 @@
166
338
  "title": "修改实例配置"
167
339
  }
168
340
  ],
341
+ "ModifyMQTTInsPublicEndpoint": [
342
+ {
343
+ "document": "示例",
344
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Bandwidth\": 2,\n \"Rules\": [\n {\n \"IpRule\": \"2.2.2.2\",\n \"Allow\": true,\n \"Remark\": \"555\"\n }\n ]\n}",
345
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"02eb3529-3440-44e9-b2c8-1e65c7017c09\"\n }\n}",
346
+ "title": "示例"
347
+ }
348
+ ],
349
+ "ModifyMQTTInstance": [
350
+ {
351
+ "document": "示例",
352
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Name\": \"sjx0119\",\n \"Remark\": \"555\"\n}",
353
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"9955522b-ac27-46c1-8a16-3ed6f98f9c5c\"\n }\n}",
354
+ "title": "示例"
355
+ }
356
+ ],
357
+ "ModifyMQTTInstanceCertBinding": [
358
+ {
359
+ "document": "示例",
360
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstanceCertBinding\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"SSLServerCertId\": \" \",\n \"SSLCaCertId\": \" \"\n}",
361
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"1d2d027f-1701-4bc6-8a2a-cede24d9c9ed\"\n }\n}",
362
+ "title": "示例"
363
+ }
364
+ ],
365
+ "ModifyMQTTTopic": [
366
+ {
367
+ "document": "示例",
368
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"222\",\n \"Remark\": \"444\"\n}",
369
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"29a02c3b-66ee-4442-acb7-3545b8e044b7\"\n }\n}",
370
+ "title": "示例"
371
+ }
372
+ ],
373
+ "ModifyMQTTUser": [
374
+ {
375
+ "document": "示例",
376
+ "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"222\",\n \"Remark\": \"3333\",\n \"PermRead\": true,\n \"PermWrite\": true\n}",
377
+ "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"85d3aeee-ba25-47cc-8c17-7ad837b877ba\"\n }\n}",
378
+ "title": "示例"
379
+ }
380
+ ],
169
381
  "ModifyRole": [
170
382
  {
171
383
  "document": "修改角色",
@@ -15,11 +15,11 @@
15
15
  "status": "online"
16
16
  },
17
17
  "CreateCapture": {
18
- "document": "场内抓拍上报接口",
18
+ "document": "优mall产品下线\n\n场内抓拍上报接口",
19
19
  "input": "CreateCaptureRequest",
20
20
  "name": "抓拍上报接口",
21
21
  "output": "CreateCaptureResponse",
22
- "status": "online"
22
+ "status": "deprecated"
23
23
  },
24
24
  "CreateMultiBizAlert": {
25
25
  "document": "集团广场的多经点位告警",
@@ -455,6 +455,13 @@
455
455
  "output": "DeleteProjectParamDsResponse",
456
456
  "status": "online"
457
457
  },
458
+ "DeleteProjectUsers": {
459
+ "document": "删除项目用户",
460
+ "input": "DeleteProjectUsersRequest",
461
+ "name": "删除项目用户",
462
+ "output": "DeleteProjectUsersResponse",
463
+ "status": "online"
464
+ },
458
465
  "DeleteResource": {
459
466
  "document": "资源管理删除资源",
460
467
  "input": "DeleteResourceRequest",
@@ -12254,6 +12261,23 @@
12254
12261
  ],
12255
12262
  "type": "object"
12256
12263
  },
12264
+ "DeleteProjectUsersRequest": {
12265
+ "document": "DeleteProjectUsers请求参数结构体",
12266
+ "members": [],
12267
+ "type": "object"
12268
+ },
12269
+ "DeleteProjectUsersResponse": {
12270
+ "document": "DeleteProjectUsers返回参数结构体",
12271
+ "members": [
12272
+ {
12273
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
12274
+ "member": "string",
12275
+ "name": "RequestId",
12276
+ "type": "string"
12277
+ }
12278
+ ],
12279
+ "type": "object"
12280
+ },
12257
12281
  "DeleteResourceFileRequest": {
12258
12282
  "document": "DeleteResourceFile请求参数结构体",
12259
12283
  "members": [
@@ -568,6 +568,20 @@
568
568
  "title": "删除项目参数"
569
569
  }
570
570
  ],
571
+ "DeleteProjectUsers": [
572
+ {
573
+ "document": "",
574
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProjectUsers\n<公共请求参数>\n\n{}",
575
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
576
+ "title": "删除项目用户"
577
+ },
578
+ {
579
+ "document": "",
580
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProjectUsers\n<公共请求参数>\n\n{}",
581
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eb621c29-6ee3-49d2-a4e0-cb84b46e2590\"\n }\n}",
582
+ "title": "成功示例"
583
+ }
584
+ ],
571
585
  "DeleteResource": [
572
586
  {
573
587
  "document": "",
@@ -9897,6 +9897,58 @@ def doModifyMonitorStatus(args, parsed_globals):
9897
9897
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9898
9898
 
9899
9899
 
9900
+ def doDeleteProjectUsers(args, parsed_globals):
9901
+ g_param = parse_global_arg(parsed_globals)
9902
+
9903
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
9904
+ cred = credential.CVMRoleCredential()
9905
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
9906
+ cred = credential.STSAssumeRoleCredential(
9907
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
9908
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
9909
+ )
9910
+ 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):
9911
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
9912
+ else:
9913
+ cred = credential.Credential(
9914
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
9915
+ )
9916
+ http_profile = HttpProfile(
9917
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
9918
+ reqMethod="POST",
9919
+ endpoint=g_param[OptionsDefine.Endpoint],
9920
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
9921
+ )
9922
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
9923
+ if g_param[OptionsDefine.Language]:
9924
+ profile.language = g_param[OptionsDefine.Language]
9925
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
9926
+ client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
9927
+ client._sdkVersion += ("_CLI_" + __version__)
9928
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
9929
+ model = models.DeleteProjectUsersRequest()
9930
+ model.from_json_string(json.dumps(args))
9931
+ start_time = time.time()
9932
+ while True:
9933
+ rsp = client.DeleteProjectUsers(model)
9934
+ result = rsp.to_json_string()
9935
+ try:
9936
+ json_obj = json.loads(result)
9937
+ except TypeError as e:
9938
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
9939
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
9940
+ break
9941
+ cur_time = time.time()
9942
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
9943
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
9944
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
9945
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
9946
+ else:
9947
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
9948
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
9949
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
9950
+
9951
+
9900
9952
  def doDescribeTableMetas(args, parsed_globals):
9901
9953
  g_param = parse_global_arg(parsed_globals)
9902
9954
 
@@ -16702,6 +16754,7 @@ ACTION_MAP = {
16702
16754
  "DescribeRulesByPage": doDescribeRulesByPage,
16703
16755
  "CountOpsInstanceState": doCountOpsInstanceState,
16704
16756
  "ModifyMonitorStatus": doModifyMonitorStatus,
16757
+ "DeleteProjectUsers": doDeleteProjectUsers,
16705
16758
  "DescribeTableMetas": doDescribeTableMetas,
16706
16759
  "DescribeAllTaskType": doDescribeAllTaskType,
16707
16760
  "DeleteFile": doDeleteFile,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1048.1
3
+ Version: 3.0.1050.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1048
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1050
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介