tccli 3.0.1375.1__py2.py3-none-any.whl → 3.0.1377.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 (69) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/bi/bi_client.py +53 -0
  3. tccli/services/bi/v20220105/api.json +101 -0
  4. tccli/services/bi/v20220105/examples.json +8 -0
  5. tccli/services/cdb/v20170320/api.json +18 -8
  6. tccli/services/cdb/v20170320/examples.json +1 -1
  7. tccli/services/cdwdoris/v20211228/api.json +31 -1
  8. tccli/services/cfs/v20190719/api.json +10 -1
  9. tccli/services/chc/v20230418/examples.json +1 -1
  10. tccli/services/clb/v20180317/api.json +20 -0
  11. tccli/services/cls/v20201016/api.json +21 -21
  12. tccli/services/cls/v20201016/examples.json +1 -1
  13. tccli/services/csip/v20221121/api.json +14 -14
  14. tccli/services/ctem/v20231128/api.json +22 -3
  15. tccli/services/ctem/v20231128/examples.json +2 -2
  16. tccli/services/cwp/v20180228/api.json +39 -9
  17. tccli/services/cwp/v20180228/examples.json +6 -0
  18. tccli/services/cynosdb/v20190107/api.json +1 -1
  19. tccli/services/dc/v20180410/api.json +18 -0
  20. tccli/services/dlc/v20210125/api.json +27 -8
  21. tccli/services/dlc/v20210125/examples.json +2 -2
  22. tccli/services/dts/dts_client.py +79 -26
  23. tccli/services/dts/v20211206/api.json +34 -0
  24. tccli/services/dts/v20211206/examples.json +8 -0
  25. tccli/services/ess/ess_client.py +106 -0
  26. tccli/services/ess/v20201111/api.json +142 -7
  27. tccli/services/ess/v20201111/examples.json +16 -0
  28. tccli/services/essbasic/v20210526/api.json +8 -8
  29. tccli/services/faceid/v20180301/api.json +1 -1
  30. tccli/services/ioa/ioa_client.py +106 -0
  31. tccli/services/ioa/v20220601/api.json +545 -10
  32. tccli/services/ioa/v20220601/examples.json +20 -10
  33. tccli/services/iotexplorer/v20190423/api.json +52 -1
  34. tccli/services/iotexplorer/v20190423/examples.json +78 -6
  35. tccli/services/iss/iss_client.py +53 -0
  36. tccli/services/iss/v20230517/api.json +60 -0
  37. tccli/services/iss/v20230517/examples.json +8 -0
  38. tccli/services/live/v20180801/api.json +1 -1
  39. tccli/services/lkeap/v20240522/api.json +17 -7
  40. tccli/services/mna/v20210119/api.json +1 -1
  41. tccli/services/mongodb/v20190725/api.json +22 -10
  42. tccli/services/mps/v20190612/api.json +112 -2
  43. tccli/services/mqtt/mqtt_client.py +265 -0
  44. tccli/services/mqtt/v20240516/api.json +480 -0
  45. tccli/services/mqtt/v20240516/examples.json +40 -0
  46. tccli/services/oceanus/v20190422/api.json +5 -5
  47. tccli/services/ocr/v20181119/api.json +5 -5
  48. tccli/services/omics/v20221128/api.json +1 -1
  49. tccli/services/organization/organization_client.py +69 -16
  50. tccli/services/organization/v20210331/api.json +216 -0
  51. tccli/services/organization/v20210331/examples.json +8 -0
  52. tccli/services/partners/v20180321/api.json +7 -7
  53. tccli/services/rce/v20201103/api.json +1 -1
  54. tccli/services/smh/v20210712/api.json +43 -12
  55. tccli/services/smh/v20210712/examples.json +1 -1
  56. tccli/services/tdmq/v20200217/api.json +1 -1
  57. tccli/services/tione/v20211111/api.json +200 -20
  58. tccli/services/tione/v20211111/examples.json +1 -1
  59. tccli/services/tke/v20180525/api.json +10 -0
  60. tccli/services/tke/v20220501/api.json +20 -2
  61. tccli/services/trtc/v20190722/api.json +6 -6
  62. tccli/services/tsf/v20180326/api.json +59 -59
  63. tccli/services/tsf/v20180326/examples.json +2 -2
  64. tccli/services/vpc/v20170312/api.json +11 -2
  65. {tccli-3.0.1375.1.dist-info → tccli-3.0.1377.1.dist-info}/METADATA +2 -2
  66. {tccli-3.0.1375.1.dist-info → tccli-3.0.1377.1.dist-info}/RECORD +69 -69
  67. {tccli-3.0.1375.1.dist-info → tccli-3.0.1377.1.dist-info}/WHEEL +0 -0
  68. {tccli-3.0.1375.1.dist-info → tccli-3.0.1377.1.dist-info}/entry_points.txt +0 -0
  69. {tccli-3.0.1375.1.dist-info → tccli-3.0.1377.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:200px\"><a href=\"https://cloud.tencent.com/document/product/866/33526\">【荐】通用印刷体识别</a></th>\n <th><a href=\"https://cloud.tencent.com/document/product/866/37831\">通用印刷体识别(精简版)</a></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> 适用场景</td>\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 <td>91%</td>\n </tr>\n <tr>\n <td>价格</td>\n <td>高</td>\n <td>中</td>\n <td>低</td>\n </tr>\n <tr>\n <td>支持的语言</td>\n <td>中文、英文、中英文</td>\n <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td> \n <td>中文、英文、中英文</td>\n </tr>\n <tr>\n <td>自动语言检测</td>\n <td>支持</td>\n <td>支持</td> \n <td>支持</td>\n </tr>\n <tr>\n <td>返回文本行坐标</td>\n <td>支持</td>\n <td>支持</td>\n <td>支持</td>\n </tr>\n <tr>\n <td>自动旋转纠正</td>\n <td>支持旋转识别,返回角度信息</td>\n <td>支持旋转识别,返回角度信息</td>\n <td>支持旋转识别,返回角度信息</td>\n </tr>\n </tbody>\n </table>\n\n默认接口请求频率限制:10次/秒。",
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:200px\">【荐】通用印刷体识别</th>\n <th ><a href=\"https://cloud.tencent.com/document/product/866/34937\">【荐】通用印刷体识别(高精度版)</a></th>\n <th><a href=\"https://cloud.tencent.com/document/product/866/37831\">通用印刷体识别(精简版)</a></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> 适用场景</td>\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 <td>91%</td>\n </tr>\n <tr>\n <td>价格</td>\n <td>中</td>\n <td>高</td>\n <td>低</td>\n </tr>\n <tr>\n <td>支持的语言</td>\n <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>\n <td>中文、英文、中英文</td>\n <td>中文、英文、中英文</td>\n </tr>\n <tr>\n <td>自动语言检测</td>\n <td>支持</td>\n <td>支持</td>\n <td>支持</td>\n </tr>\n <tr>\n <td>返回文本行坐标</td>\n <td>支持</td>\n <td>支持</td>\n <td>支持</td>\n </tr>\n <tr>\n <td>自动旋转纠正</td>\n <td>支持旋转识别,返回角度信息</td>\n <td>支持旋转识别,返回角度信息</td>\n <td>支持旋转识别,返回角度信息</td>\n </tr>\n </tbody>\n </table>\n\n默认接口请求频率限制:20次/秒。",
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格式。图片支持的像素范围:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
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格式。图片支持的像素范围:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
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",
@@ -143,7 +143,7 @@
143
143
  },
144
144
  "metadata": {
145
145
  "apiVersion": "2022-11-28",
146
- "api_brief": "腾讯健康组学平台API",
146
+ "api_brief": "# API简介\n\n## 概述\n腾讯健康组学平台(Tencent HealthCare Omics Platform)为生命科学行业用户提供具备行业特征的一键上云整体解决方案。具备弹性云计算、任务调度及管理能力,助力大数据分析用户快速、便捷、高效的利用腾讯云资源进行组学相关数据分析。平台支持用户自定义工作流 WDL(Workflow Description Language)语言,通过工作流管理引擎 Cromwell、Nextflow 和自研任务调度引擎精细化管理和编排任务作业,有效而广泛连接不同数据分析应用场景。\n\n本章节介绍的腾讯健康组学平台API 接口均为 [API 3.0/API 2.0等] 接口。 \n您可以调用 API 对腾讯健康组学平台进行操作,例如运行工作流。 \n腾讯健康组学平台支持的所有接口信息,请参见 [API概览](https://cloud.tencent.com/document/product/1643/89110) 。\n\n## 术语表\n腾讯健康组学平台 API 接口的常见术语请参见下表:\n\n| 术语 | 描述 |\n|------|------|\n| 环境 (Environment) | 指应用运行所需云资源的集合,包含了若干台云服务器、对象存储、文件存储等资源。为工作流和应用提供隔离的、可复现的运行条件。 |\n| 缓存卷 (Volume) | 用于在任务运行期间缓存中间数据或持久化存储结果文件。缓存卷可以独立于计算环境存在,实现数据的复用与共享。提供了可扩展的共享文件存储服务。提供了标准的 NFS 文件系统访问协议,为多个实例提供共享的数据源,支持弹性容量和性能的扩展。 |\n| 任务批次 (Run Group) | 一次应用/工作流执行的逻辑集合。通常,一次提交运行会创建一个任务批次,其中包含一个或多个任务(Run)。 |\n| 任务 (Run) | 工作流或应用的单次执行实例。每个任务都有独立的生命周期状态(如运行中、成功、失败),并产生相应的日志和结果数据。 |\n| 工作流 (Workflow) | 一系列预定义的、按特定顺序执行的计算步骤或工具的组合,用于完成一个完整的组学分析流程(如基因测序数据比对、变异检测等)。在组学平台场景下, 特指由 WDL、Nextflow 等语言编写的生信分析工作流。 |\n| 应用 (Application) | 通常指一个封装好的、用于执行特定分析功能的单个工具或脚本。 |\n| 表格 (Table) | 用于结构化存储和管理输入数据的实体。例如样本数据表等。 |\n\n## 使用限制\nAPI 调用频率限制为 20次/秒。\n\n## API 快速入门\n您可以使用 API Explorer 工具在线调用 API。\n本文以运行工作流 [RunWorkflow]( https://cloud.tencent.com/document/api/1643/100857) 为例,通过 API Explorer 工具调用 API 接口的步骤如下:\n1.进入 [使用 API Explorer]( https://console.cloud.tencent.com/api/explorer) 工具页面。更多 API Explorer 工具使用信息,请参见 [使用 API Explorer]( https://cloud.tencent.com/document/product/1278/46697) 。\n2.调用 [RunWorkflow]( https://cloud.tencent.com/document/api/1643/100857) 接口,运行指定工作流。\n3.运行工作流后即可在组学平台网站对应工作项目页面查看到正在运行的工作流批次。",
147
147
  "serviceNameCN": "腾讯健康组学平台",
148
148
  "serviceShortName": "omics"
149
149
  },
@@ -851,7 +851,7 @@ def doOpenIdentityCenter(args, parsed_globals):
851
851
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
852
852
 
853
853
 
854
- def doDeleteUser(args, parsed_globals):
854
+ def doListGroups(args, parsed_globals):
855
855
  g_param = parse_global_arg(parsed_globals)
856
856
 
857
857
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -880,11 +880,11 @@ def doDeleteUser(args, parsed_globals):
880
880
  client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
881
881
  client._sdkVersion += ("_CLI_" + __version__)
882
882
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
883
- model = models.DeleteUserRequest()
883
+ model = models.ListGroupsRequest()
884
884
  model.from_json_string(json.dumps(args))
885
885
  start_time = time.time()
886
886
  while True:
887
- rsp = client.DeleteUser(model)
887
+ rsp = client.ListGroups(model)
888
888
  result = rsp.to_json_string()
889
889
  try:
890
890
  json_obj = json.loads(result)
@@ -955,7 +955,7 @@ def doGetRoleConfiguration(args, parsed_globals):
955
955
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
956
956
 
957
957
 
958
- def doDescribeShareUnitResources(args, parsed_globals):
958
+ def doCreateOrganizationMember(args, parsed_globals):
959
959
  g_param = parse_global_arg(parsed_globals)
960
960
 
961
961
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -984,11 +984,11 @@ def doDescribeShareUnitResources(args, parsed_globals):
984
984
  client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
985
985
  client._sdkVersion += ("_CLI_" + __version__)
986
986
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
987
- model = models.DescribeShareUnitResourcesRequest()
987
+ model = models.CreateOrganizationMemberRequest()
988
988
  model.from_json_string(json.dumps(args))
989
989
  start_time = time.time()
990
990
  while True:
991
- rsp = client.DescribeShareUnitResources(model)
991
+ rsp = client.CreateOrganizationMember(model)
992
992
  result = rsp.to_json_string()
993
993
  try:
994
994
  json_obj = json.loads(result)
@@ -4855,7 +4855,7 @@ def doUpdateSCIMSynchronizationStatus(args, parsed_globals):
4855
4855
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4856
4856
 
4857
4857
 
4858
- def doListGroups(args, parsed_globals):
4858
+ def doDeleteUser(args, parsed_globals):
4859
4859
  g_param = parse_global_arg(parsed_globals)
4860
4860
 
4861
4861
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4884,11 +4884,11 @@ def doListGroups(args, parsed_globals):
4884
4884
  client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
4885
4885
  client._sdkVersion += ("_CLI_" + __version__)
4886
4886
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4887
- model = models.ListGroupsRequest()
4887
+ model = models.DeleteUserRequest()
4888
4888
  model.from_json_string(json.dumps(args))
4889
4889
  start_time = time.time()
4890
4890
  while True:
4891
- rsp = client.ListGroups(model)
4891
+ rsp = client.DeleteUser(model)
4892
4892
  result = rsp.to_json_string()
4893
4893
  try:
4894
4894
  json_obj = json.loads(result)
@@ -4907,7 +4907,7 @@ def doListGroups(args, parsed_globals):
4907
4907
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4908
4908
 
4909
4909
 
4910
- def doCreateOrganizationMember(args, parsed_globals):
4910
+ def doDescribeShareUnitResources(args, parsed_globals):
4911
4911
  g_param = parse_global_arg(parsed_globals)
4912
4912
 
4913
4913
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4936,11 +4936,11 @@ def doCreateOrganizationMember(args, parsed_globals):
4936
4936
  client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
4937
4937
  client._sdkVersion += ("_CLI_" + __version__)
4938
4938
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4939
- model = models.CreateOrganizationMemberRequest()
4939
+ model = models.DescribeShareUnitResourcesRequest()
4940
4940
  model.from_json_string(json.dumps(args))
4941
4941
  start_time = time.time()
4942
4942
  while True:
4943
- rsp = client.CreateOrganizationMember(model)
4943
+ rsp = client.DescribeShareUnitResources(model)
4944
4944
  result = rsp.to_json_string()
4945
4945
  try:
4946
4946
  json_obj = json.loads(result)
@@ -5115,6 +5115,58 @@ def doCreatePolicy(args, parsed_globals):
5115
5115
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5116
5116
 
5117
5117
 
5118
+ def doDescribeOrganizationMembersAuthPolicy(args, parsed_globals):
5119
+ g_param = parse_global_arg(parsed_globals)
5120
+
5121
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5122
+ cred = credential.CVMRoleCredential()
5123
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5124
+ cred = credential.STSAssumeRoleCredential(
5125
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5126
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5127
+ )
5128
+ 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):
5129
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5130
+ else:
5131
+ cred = credential.Credential(
5132
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5133
+ )
5134
+ http_profile = HttpProfile(
5135
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5136
+ reqMethod="POST",
5137
+ endpoint=g_param[OptionsDefine.Endpoint],
5138
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5139
+ )
5140
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5141
+ if g_param[OptionsDefine.Language]:
5142
+ profile.language = g_param[OptionsDefine.Language]
5143
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5144
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
5145
+ client._sdkVersion += ("_CLI_" + __version__)
5146
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5147
+ model = models.DescribeOrganizationMembersAuthPolicyRequest()
5148
+ model.from_json_string(json.dumps(args))
5149
+ start_time = time.time()
5150
+ while True:
5151
+ rsp = client.DescribeOrganizationMembersAuthPolicy(model)
5152
+ result = rsp.to_json_string()
5153
+ try:
5154
+ json_obj = json.loads(result)
5155
+ except TypeError as e:
5156
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5157
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5158
+ break
5159
+ cur_time = time.time()
5160
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5161
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5162
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5163
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5164
+ else:
5165
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5166
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5167
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5168
+
5169
+
5118
5170
  def doGetProvisioningTaskStatus(args, parsed_globals):
5119
5171
  g_param = parse_global_arg(parsed_globals)
5120
5172
 
@@ -7328,9 +7380,9 @@ ACTION_MAP = {
7328
7380
  "SendOrganizationInvitation": doSendOrganizationInvitation,
7329
7381
  "CreateOrganizationMemberAuthIdentity": doCreateOrganizationMemberAuthIdentity,
7330
7382
  "OpenIdentityCenter": doOpenIdentityCenter,
7331
- "DeleteUser": doDeleteUser,
7383
+ "ListGroups": doListGroups,
7332
7384
  "GetRoleConfiguration": doGetRoleConfiguration,
7333
- "DescribeShareUnitResources": doDescribeShareUnitResources,
7385
+ "CreateOrganizationMember": doCreateOrganizationMember,
7334
7386
  "DenyOrganizationInvitation": doDenyOrganizationInvitation,
7335
7387
  "DescribeOrganizationMemberEmailBind": doDescribeOrganizationMemberEmailBind,
7336
7388
  "DeleteShareUnitResources": doDeleteShareUnitResources,
@@ -7405,11 +7457,12 @@ ACTION_MAP = {
7405
7457
  "DescribeOrganization": doDescribeOrganization,
7406
7458
  "ListOrganizationMembers": doListOrganizationMembers,
7407
7459
  "UpdateSCIMSynchronizationStatus": doUpdateSCIMSynchronizationStatus,
7408
- "ListGroups": doListGroups,
7409
- "CreateOrganizationMember": doCreateOrganizationMember,
7460
+ "DeleteUser": doDeleteUser,
7461
+ "DescribeShareUnitResources": doDescribeShareUnitResources,
7410
7462
  "BindOrganizationMemberAuthAccount": doBindOrganizationMemberAuthAccount,
7411
7463
  "UpdateGroup": doUpdateGroup,
7412
7464
  "CreatePolicy": doCreatePolicy,
7465
+ "DescribeOrganizationMembersAuthPolicy": doDescribeOrganizationMembersAuthPolicy,
7413
7466
  "GetProvisioningTaskStatus": doGetProvisioningTaskStatus,
7414
7467
  "UpdateOrganizationNode": doUpdateOrganizationNode,
7415
7468
  "UpdateShareUnit": doUpdateShareUnit,
@@ -420,6 +420,13 @@
420
420
  "output": "DescribeOrganizationMembersResponse",
421
421
  "status": "online"
422
422
  },
423
+ "DescribeOrganizationMembersAuthPolicy": {
424
+ "document": "查询组织成员访问策略列表",
425
+ "input": "DescribeOrganizationMembersAuthPolicyRequest",
426
+ "name": "查询组织成员访问策略列表",
427
+ "output": "DescribeOrganizationMembersAuthPolicyResponse",
428
+ "status": "online"
429
+ },
423
430
  "DescribeOrganizationNodes": {
424
431
  "document": "获取组织节点列表",
425
432
  "input": "DescribeOrganizationNodesRequest",
@@ -4173,6 +4180,89 @@
4173
4180
  ],
4174
4181
  "type": "object"
4175
4182
  },
4183
+ "DescribeOrganizationMembersAuthPolicyRequest": {
4184
+ "document": "DescribeOrganizationMembersAuthPolicy请求参数结构体",
4185
+ "members": [
4186
+ {
4187
+ "disabled": false,
4188
+ "document": "偏移量。取值是limit的整数倍。默认值 : 0。",
4189
+ "example": "0",
4190
+ "member": "int64",
4191
+ "name": "Offset",
4192
+ "required": true,
4193
+ "type": "int"
4194
+ },
4195
+ {
4196
+ "disabled": false,
4197
+ "document": "限制数目。取值范围:1~50。默认值:10。",
4198
+ "example": "10",
4199
+ "member": "int64",
4200
+ "name": "Limit",
4201
+ "required": true,
4202
+ "type": "int"
4203
+ },
4204
+ {
4205
+ "disabled": false,
4206
+ "document": "成员uin。",
4207
+ "example": "0",
4208
+ "member": "int64",
4209
+ "name": "MemberUin",
4210
+ "required": false,
4211
+ "type": "int"
4212
+ },
4213
+ {
4214
+ "disabled": false,
4215
+ "document": "集团管理员子账号uin。",
4216
+ "example": "0",
4217
+ "member": "int64",
4218
+ "name": "OrgSubAccountUin",
4219
+ "required": false,
4220
+ "type": "int"
4221
+ },
4222
+ {
4223
+ "disabled": false,
4224
+ "document": "成员访问策略Id。",
4225
+ "example": "0",
4226
+ "member": "int64",
4227
+ "name": "PolicyId",
4228
+ "required": false,
4229
+ "type": "int"
4230
+ }
4231
+ ],
4232
+ "type": "object"
4233
+ },
4234
+ "DescribeOrganizationMembersAuthPolicyResponse": {
4235
+ "document": "DescribeOrganizationMembersAuthPolicy返回参数结构体",
4236
+ "members": [
4237
+ {
4238
+ "disabled": false,
4239
+ "document": "访问授权策略列表。\n注意:此字段可能返回 null,表示取不到有效值。",
4240
+ "example": "无",
4241
+ "member": "OrgMembersAuthPolicy",
4242
+ "name": "Items",
4243
+ "output_required": true,
4244
+ "type": "list",
4245
+ "value_allowed_null": true
4246
+ },
4247
+ {
4248
+ "disabled": false,
4249
+ "document": "总数目。\n注意:此字段可能返回 null,表示取不到有效值。",
4250
+ "example": "1",
4251
+ "member": "uint64",
4252
+ "name": "Total",
4253
+ "output_required": true,
4254
+ "type": "int",
4255
+ "value_allowed_null": true
4256
+ },
4257
+ {
4258
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4259
+ "member": "string",
4260
+ "name": "RequestId",
4261
+ "type": "string"
4262
+ }
4263
+ ],
4264
+ "type": "object"
4265
+ },
4176
4266
  "DescribeOrganizationMembersRequest": {
4177
4267
  "document": "DescribeOrganizationMembers请求参数结构体",
4178
4268
  "members": [
@@ -9336,6 +9426,132 @@
9336
9426
  ],
9337
9427
  "usage": "out"
9338
9428
  },
9429
+ "OrgMembersAuthPolicy": {
9430
+ "document": "组织成员访问授权策略",
9431
+ "members": [
9432
+ {
9433
+ "disabled": false,
9434
+ "document": "身份Id。\n注意:此字段可能返回 null,表示取不到有效值。",
9435
+ "example": "111",
9436
+ "member": "int64",
9437
+ "name": "IdentityId",
9438
+ "output_required": true,
9439
+ "type": "int",
9440
+ "value_allowed_null": true
9441
+ },
9442
+ {
9443
+ "disabled": false,
9444
+ "document": "身份的角色名。\n注意:此字段可能返回 null,表示取不到有效值。",
9445
+ "example": "test",
9446
+ "member": "string",
9447
+ "name": "IdentityRoleName",
9448
+ "output_required": true,
9449
+ "type": "string",
9450
+ "value_allowed_null": true
9451
+ },
9452
+ {
9453
+ "disabled": false,
9454
+ "document": "身份的角色别名。\n注意:此字段可能返回 null,表示取不到有效值。",
9455
+ "example": "test",
9456
+ "member": "string",
9457
+ "name": "IdentityRoleAliasName",
9458
+ "output_required": true,
9459
+ "type": "string",
9460
+ "value_allowed_null": true
9461
+ },
9462
+ {
9463
+ "disabled": false,
9464
+ "document": "创建时间。\n注意:此字段可能返回 null,表示取不到有效值。",
9465
+ "example": "2021-02-12 12:12:10",
9466
+ "member": "string",
9467
+ "name": "CreateTime",
9468
+ "output_required": true,
9469
+ "type": "string",
9470
+ "value_allowed_null": true
9471
+ },
9472
+ {
9473
+ "disabled": false,
9474
+ "document": "成员访问策略Id。\n注意:此字段可能返回 null,表示取不到有效值。",
9475
+ "example": "222",
9476
+ "member": "int64",
9477
+ "name": "PolicyId",
9478
+ "output_required": true,
9479
+ "type": "int",
9480
+ "value_allowed_null": true
9481
+ },
9482
+ {
9483
+ "disabled": false,
9484
+ "document": "成员访问策略名称。\n注意:此字段可能返回 null,表示取不到有效值。",
9485
+ "example": "policy-test",
9486
+ "member": "string",
9487
+ "name": "PolicyName",
9488
+ "output_required": true,
9489
+ "type": "string",
9490
+ "value_allowed_null": true
9491
+ },
9492
+ {
9493
+ "disabled": false,
9494
+ "document": "成员uin。\n注意:此字段可能返回 null,表示取不到有效值。",
9495
+ "example": "111111111111",
9496
+ "member": "int64",
9497
+ "name": "MemberUin",
9498
+ "output_required": true,
9499
+ "type": "int",
9500
+ "value_allowed_null": true
9501
+ },
9502
+ {
9503
+ "disabled": false,
9504
+ "document": "成员名称。\n注意:此字段可能返回 null,表示取不到有效值。",
9505
+ "example": "member-name",
9506
+ "member": "string",
9507
+ "name": "MemberName",
9508
+ "output_required": true,
9509
+ "type": "string",
9510
+ "value_allowed_null": true
9511
+ },
9512
+ {
9513
+ "disabled": false,
9514
+ "document": "子账号uin或者用户组Id。\n注意:此字段可能返回 null,表示取不到有效值。",
9515
+ "example": "222222222222",
9516
+ "member": "int64",
9517
+ "name": "OrgSubAccountUin",
9518
+ "output_required": true,
9519
+ "type": "int",
9520
+ "value_allowed_null": true
9521
+ },
9522
+ {
9523
+ "disabled": false,
9524
+ "document": "子账号名称或者用户组名称。\n注意:此字段可能返回 null,表示取不到有效值。",
9525
+ "example": "sub-name",
9526
+ "member": "string",
9527
+ "name": "OrgSubAccountName",
9528
+ "output_required": true,
9529
+ "type": "string",
9530
+ "value_allowed_null": true
9531
+ },
9532
+ {
9533
+ "disabled": false,
9534
+ "document": "绑定类型。1-子账号、2-用户组\n注意:此字段可能返回 null,表示取不到有效值。",
9535
+ "example": "1",
9536
+ "member": "uint64",
9537
+ "name": "BindType",
9538
+ "output_required": true,
9539
+ "type": "int",
9540
+ "value_allowed_null": true
9541
+ },
9542
+ {
9543
+ "disabled": false,
9544
+ "document": "成员信息。\n注意:此字段可能返回 null,表示取不到有效值。",
9545
+ "example": "[{\"MemberUin\":111111111111},\"MemberName\":\"member-name\"]",
9546
+ "member": "MemberMainInfo",
9547
+ "name": "Members",
9548
+ "output_required": false,
9549
+ "type": "list",
9550
+ "value_allowed_null": true
9551
+ }
9552
+ ],
9553
+ "usage": "out"
9554
+ },
9339
9555
  "OrgNode": {
9340
9556
  "document": "企业组织单元",
9341
9557
  "members": [
@@ -480,6 +480,14 @@
480
480
  "title": "获取成员列表"
481
481
  }
482
482
  ],
483
+ "DescribeOrganizationMembersAuthPolicy": [
484
+ {
485
+ "document": "查询组织成员访问授权策略列表",
486
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListOrganizationMembersAuthPolicy\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}",
487
+ "output": "{\n \"Response\": {\n \"Items\": [\n {\n \"CreateTime\": \"2022-01-13 10:27:11\",\n \"IdentityId\": 1,\n \"IdentityRoleAliasName\": \"Admin\",\n \"IdentityRoleName\": \"TestRole\",\n \"MemberName\": \"\",\n \"MemberUin\": 111111111111,\n \"OrgSubAccountName\": \"test001\",\n \"OrgSubAccountUin\": 222222222222,\n \"PolicyId\": 111,\n \"PolicyName\": \"pocy01131027\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"ab3628b0-cce5-4337-9a01-e68f5242931e\"\n }\n}",
488
+ "title": "查询组织成员访问授权策略列表"
489
+ }
490
+ ],
483
491
  "DescribeOrganizationNodes": [
484
492
  {
485
493
  "document": "",
@@ -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",
@@ -1435,7 +1435,7 @@
1435
1435
  },
1436
1436
  {
1437
1437
  "disabled": false,
1438
- "document": "偏移量 请保持必传",
1438
+ "document": "*偏移量 【请保持必传】",
1439
1439
  "example": "0",
1440
1440
  "member": "uint64",
1441
1441
  "name": "Offset",
@@ -1444,7 +1444,7 @@
1444
1444
  },
1445
1445
  {
1446
1446
  "disabled": false,
1447
- "document": "限制数目 请保持必传,最大2000",
1447
+ "document": "*限制数目 【请保持必传】最大2000",
1448
1448
  "example": "10",
1449
1449
  "member": "uint64",
1450
1450
  "name": "Limit",
@@ -2006,7 +2006,7 @@
2006
2006
  },
2007
2007
  {
2008
2008
  "disabled": false,
2009
- "document": "下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)",
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,100002]",
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": "下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)",
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": "全栈式风控引擎(RiskControlEngine,RCE)是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。",
60
+ "document": "通用业务欺诈保护是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。",
61
61
  "input": "ManageMarketingRiskRequest",
62
62
  "name": "通用业务欺诈保护",
63
63
  "output": "ManageMarketingRiskResponse",