tccli 3.0.1376.1__py2.py3-none-any.whl → 3.0.1378.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.
- tccli/__init__.py +1 -1
- tccli/services/autoscaling/v20180419/api.json +3 -3
- tccli/services/bi/bi_client.py +53 -0
- tccli/services/bi/v20220105/api.json +101 -0
- tccli/services/bi/v20220105/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +16 -6
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +1 -1
- tccli/services/cls/v20201016/api.json +19 -17
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +12 -12
- tccli/services/cwp/v20180228/api.json +39 -9
- tccli/services/cwp/v20180228/examples.json +6 -0
- tccli/services/cynosdb/v20190107/api.json +12 -12
- tccli/services/dc/v20180410/api.json +18 -0
- tccli/services/dlc/v20210125/api.json +28 -9
- tccli/services/dlc/v20210125/examples.json +2 -2
- tccli/services/dts/dts_client.py +79 -26
- tccli/services/dts/v20211206/api.json +34 -0
- tccli/services/dts/v20211206/examples.json +8 -0
- tccli/services/ess/ess_client.py +106 -0
- tccli/services/ess/v20201111/api.json +267 -11
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/v20210526/api.json +6 -6
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/ioa/ioa_client.py +106 -0
- tccli/services/ioa/v20220601/api.json +498 -0
- tccli/services/ioa/v20220601/examples.json +16 -0
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +261 -1
- tccli/services/iotexplorer/v20190423/examples.json +86 -6
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lkeap/v20240522/api.json +17 -7
- tccli/services/mna/v20210119/api.json +1 -1
- tccli/services/mongodb/v20190725/api.json +22 -10
- tccli/services/mps/v20190612/api.json +112 -2
- tccli/services/mqtt/mqtt_client.py +265 -0
- tccli/services/mqtt/v20240516/api.json +480 -0
- tccli/services/mqtt/v20240516/examples.json +40 -0
- tccli/services/ocr/v20181119/api.json +5 -5
- tccli/services/partners/v20180321/api.json +15 -15
- tccli/services/rce/v20201103/api.json +1 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +156 -1
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tione/v20211111/api.json +200 -20
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +10 -0
- tccli/services/tke/v20220501/api.json +20 -2
- tccli/services/trtc/v20190722/api.json +22 -11
- tccli/services/tsf/v20180326/api.json +4 -4
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +11 -2
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/RECORD +58 -58
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1376.1.dist-info → tccli-3.0.1378.1.dist-info}/license_files/LICENSE +0 -0
@@ -162,14 +162,14 @@
|
|
162
162
|
"status": "online"
|
163
163
|
},
|
164
164
|
"GeneralAccurateOCR": {
|
165
|
-
"document": "本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。\n\n适用于文字较多、版式复杂、对识别准召率要求较高的场景,如试卷试题、网络图片、街景店招牌、法律卷宗等场景。\n\n产品优势:与通用印刷体识别接口相比,本接口提供更高精度的通用文字识别服务,在手写体、文字较多、长串数字、小字、模糊字、倾斜文本等困难场景下,高精度版的准确率和召回率更高。\n\n通用文字识别不同版本的差异如下:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:150px\"></th>\n <th >【荐】通用印刷体识别(高精度版)</th>\n <th style=\"width:
|
165
|
+
"document": "本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。\n\n适用于文字较多、版式复杂、对识别准召率要求较高的场景,如试卷试题、网络图片、街景店招牌、法律卷宗等场景。\n\n产品优势:与通用印刷体识别接口相比,本接口提供更高精度的通用文字识别服务,在手写体、文字较多、长串数字、小字、模糊字、倾斜文本等困难场景下,高精度版的准确率和召回率更高。\n\n通用文字识别不同版本的差异如下:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:150px\"></th>\n <th >【荐】通用印刷体识别(高精度版)</th>\n <th style=\"width:300px\"><a href=\"https://cloud.tencent.com/document/product/866/33526\">【荐】通用印刷体识别</a></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> 适用场景</td>\n <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>\n <td>适用于所有通用场景的印刷体识别</td>\n </tr>\n <tr>\n <td>识别准确率</td>\n <td>99%</td>\n <td>96%</td>\n </tr>\n <tr>\n <td>价格</td>\n <td>中</td>\n <td>低</td>\n </tr>\n <tr>\n <td>支持的语言</td>\n <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>\n <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td> \n </tr>\n <tr>\n <td>自动语言检测</td>\n <td>中英文支持;其他语言需要调整输入参数</td>\n <td>支持</td>\n </tr>\n <tr>\n <td>返回文本行坐标</td>\n <td>支持</td>\n <td>支持</td>\n </tr>\n <tr>\n <td>自动旋转纠正</td>\n <td>支持旋转识别,返回角度信息</td>\n <td>支持旋转识别,返回角度信息</td>\n </tr>\n </tbody>\n </table>\n\n默认接口请求频率限制:10次/秒。",
|
166
166
|
"input": "GeneralAccurateOCRRequest",
|
167
167
|
"name": "通用印刷体识别(高精度版)",
|
168
168
|
"output": "GeneralAccurateOCRResponse",
|
169
169
|
"status": "online"
|
170
170
|
},
|
171
171
|
"GeneralBasicOCR": {
|
172
|
-
"document": "本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。\n\n适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。\n\n产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。\n\n通用印刷体识别不同版本的差异如下:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:150px\"></th>\n <th style=\"width:
|
172
|
+
"document": "本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。\n\n适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。\n\n产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。\n\n通用印刷体识别不同版本的差异如下:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:150px\"></th>\n <th style=\"width:250px\">【荐】通用印刷体识别</th>\n <th ><a href=\"https://cloud.tencent.com/document/product/866/34937\">【荐】通用印刷体识别(高精度版)</a></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> 适用场景</td>\n <td>适用于所有通用场景的印刷体识别</td>\n <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>\n </tr>\n <tr>\n <td>识别准确率</td>\n <td>96%</td>\n <td>99%</td>\n </tr>\n <tr>\n <td>价格</td>\n <td>低</td>\n <td>中</td>\n </tr>\n <tr>\n <td>支持的语言</td>\n <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>\n <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>\n </tr>\n <tr>\n <td>自动语言检测</td>\n <td>支持</td>\n <td>中英文支持;其他语种需要调整输入参数</td>\n </tr>\n <tr>\n <td>返回文本行坐标</td>\n <td>支持</td>\n <td>支持</td>\n </tr>\n <tr>\n <td>自动旋转纠正</td>\n <td>支持旋转识别,返回角度信息</td>\n <td>支持旋转识别,返回角度信息</td>\n </tr>\n </tbody>\n </table>\n\n默认接口请求频率限制:20次/秒。",
|
173
173
|
"input": "GeneralBasicOCRRequest",
|
174
174
|
"name": "通用印刷体识别",
|
175
175
|
"output": "GeneralBasicOCRResponse",
|
@@ -6535,7 +6535,7 @@
|
|
6535
6535
|
{
|
6536
6536
|
"disabled": false,
|
6537
6537
|
"document": "保留字段。",
|
6538
|
-
"example": "
|
6538
|
+
"example": "scene",
|
6539
6539
|
"member": "string",
|
6540
6540
|
"name": "Scene",
|
6541
6541
|
"required": false,
|
@@ -14787,7 +14787,7 @@
|
|
14787
14787
|
"members": [
|
14788
14788
|
{
|
14789
14789
|
"disabled": false,
|
14790
|
-
"document": "图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF
|
14790
|
+
"document": "图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
14791
14791
|
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
14792
14792
|
"member": "string",
|
14793
14793
|
"name": "ImageBase64",
|
@@ -14796,7 +14796,7 @@
|
|
14796
14796
|
},
|
14797
14797
|
{
|
14798
14798
|
"disabled": false,
|
14799
|
-
"document": "图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF
|
14799
|
+
"document": "图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
|
14800
14800
|
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/TableOCRDDS/TableOCRDDS1.png",
|
14801
14801
|
"member": "string",
|
14802
14802
|
"name": "ImageUrl",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"status": "online"
|
79
79
|
},
|
80
80
|
"DescribeAgentPayDealsV2": {
|
81
|
-
"document": "
|
81
|
+
"document": "查询最近15天内的代理商代付订单",
|
82
82
|
"input": "DescribeAgentPayDealsV2Request",
|
83
83
|
"name": "代理商代付订单查询接口(预付费)",
|
84
84
|
"output": "DescribeAgentPayDealsV2Response",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
"status": "online"
|
93
93
|
},
|
94
94
|
"DescribeAgentSelfPayDealsV2": {
|
95
|
-
"document": "
|
95
|
+
"document": "查询代理商名下指定代客最近15天内的自付订单(预付费)",
|
96
96
|
"input": "DescribeAgentSelfPayDealsV2Request",
|
97
97
|
"name": "代理商自付订单查询接口(预付费)",
|
98
98
|
"output": "DescribeAgentSelfPayDealsV2Response",
|
@@ -612,8 +612,8 @@
|
|
612
612
|
"members": [
|
613
613
|
{
|
614
614
|
"disabled": false,
|
615
|
-
"document": "
|
616
|
-
"example": "
|
615
|
+
"document": " ID【请勿依赖该字段作为唯一标识】",
|
616
|
+
"example": "12231",
|
617
617
|
"member": "string",
|
618
618
|
"name": "DealId",
|
619
619
|
"output_required": true,
|
@@ -623,7 +623,7 @@
|
|
623
623
|
{
|
624
624
|
"disabled": false,
|
625
625
|
"document": "订单号【订单唯一键】",
|
626
|
-
"example": "
|
626
|
+
"example": "2020081592126562",
|
627
627
|
"member": "string",
|
628
628
|
"name": "DealName",
|
629
629
|
"output_required": true,
|
@@ -673,7 +673,7 @@
|
|
673
673
|
{
|
674
674
|
"disabled": false,
|
675
675
|
"document": "价格详情",
|
676
|
-
"example": "
|
676
|
+
"example": "无",
|
677
677
|
"member": "DealGoodsPriceNewElem",
|
678
678
|
"name": "GoodsPrice",
|
679
679
|
"output_required": true,
|
@@ -713,7 +713,7 @@
|
|
713
713
|
{
|
714
714
|
"disabled": false,
|
715
715
|
"document": "扣费流水号",
|
716
|
-
"example": "
|
716
|
+
"example": "2020081592126562",
|
717
717
|
"member": "string",
|
718
718
|
"name": "BillId",
|
719
719
|
"output_required": true,
|
@@ -742,7 +742,7 @@
|
|
742
742
|
},
|
743
743
|
{
|
744
744
|
"disabled": false,
|
745
|
-
"document": "
|
745
|
+
"document": "子订单状态(1-待支付,2-已支付,3-发货中,4-已发货,5-发货失败,6-已退款,7-已取消,8-已过期,9-已失效,12-支付中,13-退款中,30-处理中)\n\n控制台订单状态为大订单状态,是以上状态的聚合:未支付(1) 处理中(2,3,5,12,13,30) 已取消(7) 交易成功(4) 已过期(8) 已退款(6) 订单错误(9)",
|
746
746
|
"example": "1",
|
747
747
|
"member": "string",
|
748
748
|
"name": "Status",
|
@@ -793,7 +793,7 @@
|
|
793
793
|
{
|
794
794
|
"disabled": false,
|
795
795
|
"document": "大订单号",
|
796
|
-
"example": "
|
796
|
+
"example": "20200815921265621",
|
797
797
|
"member": "string",
|
798
798
|
"name": "BigDealId",
|
799
799
|
"output_required": true,
|
@@ -863,7 +863,7 @@
|
|
863
863
|
{
|
864
864
|
"disabled": false,
|
865
865
|
"document": "产品详情",
|
866
|
-
"example": "
|
866
|
+
"example": "无",
|
867
867
|
"member": "ProductInfoElem",
|
868
868
|
"name": "ProductInfo",
|
869
869
|
"output_required": true,
|
@@ -893,7 +893,7 @@
|
|
893
893
|
{
|
894
894
|
"disabled": false,
|
895
895
|
"document": "资源id",
|
896
|
-
"example": "[
|
896
|
+
"example": "[\"700000942629_20240110893045198634\"]",
|
897
897
|
"member": "string",
|
898
898
|
"name": "ResourceIds",
|
899
899
|
"output_required": true,
|
@@ -903,7 +903,7 @@
|
|
903
903
|
{
|
904
904
|
"disabled": false,
|
905
905
|
"document": "退款单的原订单信息。当前仅 DescribeClientDealsByCache 接口会返回该字段",
|
906
|
-
"example": "
|
906
|
+
"example": "无",
|
907
907
|
"member": "RefundMap",
|
908
908
|
"name": "RefundMap",
|
909
909
|
"output_required": false,
|
@@ -2006,7 +2006,7 @@
|
|
2006
2006
|
},
|
2007
2007
|
{
|
2008
2008
|
"disabled": false,
|
2009
|
-
"document": "下单时间范围起始点(
|
2009
|
+
"document": "下单时间范围起始点(不传时会默认查最近15天内订单,传值时需要传最近15天内的起始时间)",
|
2010
2010
|
"example": "2020-01-01 00:00:00",
|
2011
2011
|
"member": "datetime",
|
2012
2012
|
"name": "CreatTimeRangeStart",
|
@@ -2043,7 +2043,7 @@
|
|
2043
2043
|
{
|
2044
2044
|
"disabled": false,
|
2045
2045
|
"document": "下单人账号ID列表",
|
2046
|
-
"example": "[100001
|
2046
|
+
"example": "[\"100001\",\"100002\"]",
|
2047
2047
|
"member": "string",
|
2048
2048
|
"name": "OwnerUins",
|
2049
2049
|
"required": false,
|
@@ -2171,7 +2171,7 @@
|
|
2171
2171
|
},
|
2172
2172
|
{
|
2173
2173
|
"disabled": false,
|
2174
|
-
"document": "下单时间范围起始点(
|
2174
|
+
"document": "下单时间范围起始点(不传时会默认查最近15天内订单,传值时需要传最近15天内的起始时间)",
|
2175
2175
|
"example": "2020-01-01 00:00:00",
|
2176
2176
|
"member": "datetime",
|
2177
2177
|
"name": "CreatTimeRangeStart",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
59
|
"ManageMarketingRisk": {
|
60
|
-
"document": "
|
60
|
+
"document": "通用业务欺诈保护是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。",
|
61
61
|
"input": "ManageMarketingRiskRequest",
|
62
62
|
"name": "通用业务欺诈保护",
|
63
63
|
"output": "ManageMarketingRiskResponse",
|
@@ -1733,6 +1733,58 @@ def doDescribeRocketMQTopicMsgs(args, parsed_globals):
|
|
1733
1733
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
1734
|
|
1735
1735
|
|
1736
|
+
def doDescribeRocketMQProducers(args, parsed_globals):
|
1737
|
+
g_param = parse_global_arg(parsed_globals)
|
1738
|
+
|
1739
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1740
|
+
cred = credential.CVMRoleCredential()
|
1741
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1742
|
+
cred = credential.STSAssumeRoleCredential(
|
1743
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1744
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1745
|
+
)
|
1746
|
+
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):
|
1747
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1748
|
+
else:
|
1749
|
+
cred = credential.Credential(
|
1750
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1751
|
+
)
|
1752
|
+
http_profile = HttpProfile(
|
1753
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1754
|
+
reqMethod="POST",
|
1755
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1756
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1757
|
+
)
|
1758
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1759
|
+
if g_param[OptionsDefine.Language]:
|
1760
|
+
profile.language = g_param[OptionsDefine.Language]
|
1761
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1762
|
+
client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
|
1763
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1764
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1765
|
+
model = models.DescribeRocketMQProducersRequest()
|
1766
|
+
model.from_json_string(json.dumps(args))
|
1767
|
+
start_time = time.time()
|
1768
|
+
while True:
|
1769
|
+
rsp = client.DescribeRocketMQProducers(model)
|
1770
|
+
result = rsp.to_json_string()
|
1771
|
+
try:
|
1772
|
+
json_obj = json.loads(result)
|
1773
|
+
except TypeError as e:
|
1774
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1775
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1776
|
+
break
|
1777
|
+
cur_time = time.time()
|
1778
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1779
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1780
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1781
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1782
|
+
else:
|
1783
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1784
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1785
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1786
|
+
|
1787
|
+
|
1736
1788
|
def doDescribeEnvironmentAttributes(args, parsed_globals):
|
1737
1789
|
g_param = parse_global_arg(parsed_globals)
|
1738
1790
|
|
@@ -7809,6 +7861,7 @@ ACTION_MAP = {
|
|
7809
7861
|
"ModifyRocketMQTopic": doModifyRocketMQTopic,
|
7810
7862
|
"ExecuteDisasterRecovery": doExecuteDisasterRecovery,
|
7811
7863
|
"DescribeRocketMQTopicMsgs": doDescribeRocketMQTopicMsgs,
|
7864
|
+
"DescribeRocketMQProducers": doDescribeRocketMQProducers,
|
7812
7865
|
"DescribeEnvironmentAttributes": doDescribeEnvironmentAttributes,
|
7813
7866
|
"GetTopicList": doGetTopicList,
|
7814
7867
|
"DescribePublisherSummary": doDescribePublisherSummary,
|
@@ -630,6 +630,13 @@
|
|
630
630
|
"output": "DescribeRocketMQNamespacesResponse",
|
631
631
|
"status": "online"
|
632
632
|
},
|
633
|
+
"DescribeRocketMQProducers": {
|
634
|
+
"document": "查询 RocketMQ 指定主题下的生产者客户端列表。",
|
635
|
+
"input": "DescribeRocketMQProducersRequest",
|
636
|
+
"name": "查询生产者客户端列表",
|
637
|
+
"output": "DescribeRocketMQProducersResponse",
|
638
|
+
"status": "online"
|
639
|
+
},
|
633
640
|
"DescribeRocketMQPublicAccessMonitorData": {
|
634
641
|
"document": "从腾讯云可观测平台拉取公网指标监控数据,目前仅支持客户端到 LB 的入带宽和出宽带指标。",
|
635
642
|
"input": "DescribeRocketMQPublicAccessMonitorDataRequest",
|
@@ -1016,7 +1023,7 @@
|
|
1016
1023
|
"status": "online"
|
1017
1024
|
},
|
1018
1025
|
"SendRocketMQMessage": {
|
1019
|
-
"document": "发送RocketMQ
|
1026
|
+
"document": "发送 RocketMQ 消息,该接口仅用于控制台发送少量测试消息,不保证SLA,且云 API 存在限流,在真实业务场景下,请使用 RocketMQ SDK 发送消息。",
|
1020
1027
|
"input": "SendRocketMQMessageRequest",
|
1021
1028
|
"name": "发送RocketMQ消息",
|
1022
1029
|
"output": "SendRocketMQMessageResponse",
|
@@ -10188,6 +10195,98 @@
|
|
10188
10195
|
],
|
10189
10196
|
"type": "object"
|
10190
10197
|
},
|
10198
|
+
"DescribeRocketMQProducersRequest": {
|
10199
|
+
"document": "DescribeRocketMQProducers请求参数结构体",
|
10200
|
+
"members": [
|
10201
|
+
{
|
10202
|
+
"disabled": false,
|
10203
|
+
"document": "集群ID",
|
10204
|
+
"example": "rocketmq-5kze4gr222mx",
|
10205
|
+
"member": "string",
|
10206
|
+
"name": "ClusterId",
|
10207
|
+
"required": true,
|
10208
|
+
"type": "string"
|
10209
|
+
},
|
10210
|
+
{
|
10211
|
+
"disabled": false,
|
10212
|
+
"document": "命名空间",
|
10213
|
+
"example": "test_ns",
|
10214
|
+
"member": "string",
|
10215
|
+
"name": "NamespaceId",
|
10216
|
+
"required": true,
|
10217
|
+
"type": "string"
|
10218
|
+
},
|
10219
|
+
{
|
10220
|
+
"disabled": false,
|
10221
|
+
"document": "主题名",
|
10222
|
+
"example": "test_topic",
|
10223
|
+
"member": "string",
|
10224
|
+
"name": "Topic",
|
10225
|
+
"required": true,
|
10226
|
+
"type": "string"
|
10227
|
+
},
|
10228
|
+
{
|
10229
|
+
"disabled": false,
|
10230
|
+
"document": "分页offset",
|
10231
|
+
"example": "0",
|
10232
|
+
"member": "int64",
|
10233
|
+
"name": "Offset",
|
10234
|
+
"required": true,
|
10235
|
+
"type": "int"
|
10236
|
+
},
|
10237
|
+
{
|
10238
|
+
"disabled": false,
|
10239
|
+
"document": "分页limit",
|
10240
|
+
"example": "20",
|
10241
|
+
"member": "int64",
|
10242
|
+
"name": "Limit",
|
10243
|
+
"required": true,
|
10244
|
+
"type": "int"
|
10245
|
+
},
|
10246
|
+
{
|
10247
|
+
"disabled": false,
|
10248
|
+
"document": "过滤查询条件列表,支持以下过滤参数:\n\n- ClientId:生产者客户端ID\n- ClientIp:生产者客户端IP",
|
10249
|
+
"example": "无",
|
10250
|
+
"member": "Filter",
|
10251
|
+
"name": "Filters",
|
10252
|
+
"required": false,
|
10253
|
+
"type": "list"
|
10254
|
+
}
|
10255
|
+
],
|
10256
|
+
"type": "object"
|
10257
|
+
},
|
10258
|
+
"DescribeRocketMQProducersResponse": {
|
10259
|
+
"document": "DescribeRocketMQProducers返回参数结构体",
|
10260
|
+
"members": [
|
10261
|
+
{
|
10262
|
+
"disabled": false,
|
10263
|
+
"document": "生产者客户端列表",
|
10264
|
+
"example": "无",
|
10265
|
+
"member": "ProducerInfo",
|
10266
|
+
"name": "Producers",
|
10267
|
+
"output_required": false,
|
10268
|
+
"type": "list",
|
10269
|
+
"value_allowed_null": false
|
10270
|
+
},
|
10271
|
+
{
|
10272
|
+
"disabled": false,
|
10273
|
+
"document": "总数",
|
10274
|
+
"example": "10",
|
10275
|
+
"member": "int64",
|
10276
|
+
"name": "TotalCount",
|
10277
|
+
"output_required": true,
|
10278
|
+
"type": "int",
|
10279
|
+
"value_allowed_null": false
|
10280
|
+
},
|
10281
|
+
{
|
10282
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10283
|
+
"member": "string",
|
10284
|
+
"name": "RequestId",
|
10285
|
+
"type": "string"
|
10286
|
+
}
|
10287
|
+
],
|
10288
|
+
"type": "object"
|
10289
|
+
},
|
10191
10290
|
"DescribeRocketMQPublicAccessMonitorDataRequest": {
|
10192
10291
|
"document": "DescribeRocketMQPublicAccessMonitorData请求参数结构体",
|
10193
10292
|
"members": [
|
@@ -14806,6 +14905,62 @@
|
|
14806
14905
|
],
|
14807
14906
|
"usage": "out"
|
14808
14907
|
},
|
14908
|
+
"ProducerInfo": {
|
14909
|
+
"document": "生产者客户端详情",
|
14910
|
+
"members": [
|
14911
|
+
{
|
14912
|
+
"disabled": false,
|
14913
|
+
"document": "客户端ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
14914
|
+
"example": "169.254.165.243@a3c02f03-5b27-425f-8632-83d1e9f7010b",
|
14915
|
+
"member": "string",
|
14916
|
+
"name": "ClientId",
|
14917
|
+
"output_required": true,
|
14918
|
+
"type": "string",
|
14919
|
+
"value_allowed_null": true
|
14920
|
+
},
|
14921
|
+
{
|
14922
|
+
"disabled": false,
|
14923
|
+
"document": "客户端IP\n注意:此字段可能返回 null,表示取不到有效值。",
|
14924
|
+
"example": "10.0.0.0",
|
14925
|
+
"member": "string",
|
14926
|
+
"name": "ClientIp",
|
14927
|
+
"output_required": false,
|
14928
|
+
"type": "string",
|
14929
|
+
"value_allowed_null": true
|
14930
|
+
},
|
14931
|
+
{
|
14932
|
+
"disabled": false,
|
14933
|
+
"document": "客户端语言\nJAVA((byte) 0),\n CPP((byte) 1),\n DOTNET((byte) 2),\n PYTHON((byte) 3),\n DELPHI((byte) 4),\n ERLANG((byte) 5),\n RUBY((byte) 6),\n OTHER((byte) 7),\n HTTP((byte) 8),\n GO((byte) 9),\n PHP((byte) 10),\n OMS((byte) 11);\n注意:此字段可能返回 null,表示取不到有效值。",
|
14934
|
+
"example": "JAVA",
|
14935
|
+
"member": "string",
|
14936
|
+
"name": "Language",
|
14937
|
+
"output_required": false,
|
14938
|
+
"type": "string",
|
14939
|
+
"value_allowed_null": true
|
14940
|
+
},
|
14941
|
+
{
|
14942
|
+
"disabled": false,
|
14943
|
+
"document": "客户端版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
14944
|
+
"example": "5",
|
14945
|
+
"member": "string",
|
14946
|
+
"name": "Version",
|
14947
|
+
"output_required": false,
|
14948
|
+
"type": "string",
|
14949
|
+
"value_allowed_null": true
|
14950
|
+
},
|
14951
|
+
{
|
14952
|
+
"disabled": false,
|
14953
|
+
"document": "最后生产时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
14954
|
+
"example": "34872358347",
|
14955
|
+
"member": "int64",
|
14956
|
+
"name": "LastUpdateTimestamp",
|
14957
|
+
"output_required": false,
|
14958
|
+
"type": "int",
|
14959
|
+
"value_allowed_null": true
|
14960
|
+
}
|
14961
|
+
],
|
14962
|
+
"usage": "out"
|
14963
|
+
},
|
14809
14964
|
"ProducerLog": {
|
14810
14965
|
"document": "消息生产信息",
|
14811
14966
|
"members": [
|
@@ -732,6 +732,14 @@
|
|
732
732
|
"title": "获取用户命名空间列表"
|
733
733
|
}
|
734
734
|
],
|
735
|
+
"DescribeRocketMQProducers": [
|
736
|
+
{
|
737
|
+
"document": "查询生产者客户端列表成功。",
|
738
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQProducers\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-5kze4gr222mx\",\n \"NamespaceId\": \"test_ns\",\n \"Topic\": \"test_topic\",\n \"Offset\": 0,\n \"Limit\": 0,\n \"Filters\": [\n {\n \"Name\": \"CliendId\",\n \"Values\": [\n \"10.10.10.10@abc\"\n ]\n }\n ]\n}",
|
739
|
+
"output": "{\n \"Response\": {\n \"Producers\": [\n {\n \"ClientId\": \"10.10.10.10@abc\",\n \"ClientIp\": \"10.10.10.10\",\n \"Language\": \"JAVA\",\n \"Version\": \"v5_0_5\",\n \"LastUpdateTimestamp\": 1723195366688\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
740
|
+
"title": "正常响应"
|
741
|
+
}
|
742
|
+
],
|
735
743
|
"DescribeRocketMQPublicAccessMonitorData": [
|
736
744
|
{
|
737
745
|
"document": "",
|