tccli 3.0.1236.1__py2.py3-none-any.whl → 3.0.1238.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 (149) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/aca/__init__.py +4 -0
  4. tccli/services/aca/aca_client.py +578 -0
  5. tccli/services/aca/v20210323/api.json +3715 -0
  6. tccli/services/aca/v20210323/examples.json +69 -0
  7. tccli/services/aiart/v20221229/api.json +18 -9
  8. tccli/services/aiart/v20221229/examples.json +2 -2
  9. tccli/services/apm/v20210622/api.json +25 -22
  10. tccli/services/apm/v20210622/examples.json +16 -22
  11. tccli/services/ba/v20200720/api.json +3 -2
  12. tccli/services/batch/v20170312/api.json +641 -566
  13. tccli/services/batch/v20170312/examples.json +7 -7
  14. tccli/services/bi/v20220105/api.json +9 -0
  15. tccli/services/billing/v20180709/api.json +2 -2
  16. tccli/services/bpaas/v20181217/examples.json +1 -1
  17. tccli/services/cam/v20190116/api.json +116 -99
  18. tccli/services/cam/v20190116/examples.json +11 -11
  19. tccli/services/ccc/v20200210/api.json +40 -1
  20. tccli/services/ccc/v20200210/examples.json +1 -1
  21. tccli/services/cdb/cdb_client.py +53 -0
  22. tccli/services/cdb/v20170320/api.json +257 -207
  23. tccli/services/cdb/v20170320/examples.json +18 -10
  24. tccli/services/cdwch/v20200915/api.json +6 -6
  25. tccli/services/cdwdoris/v20211228/api.json +16 -5
  26. tccli/services/cdwdoris/v20211228/examples.json +1 -1
  27. tccli/services/cfg/v20210820/api.json +29 -13
  28. tccli/services/cfg/v20210820/examples.json +1 -1
  29. tccli/services/cfs/v20190719/api.json +84 -84
  30. tccli/services/cfs/v20190719/examples.json +6 -6
  31. tccli/services/chdfs/v20201112/api.json +18 -17
  32. tccli/services/chdfs/v20201112/examples.json +2 -2
  33. tccli/services/clb/v20180317/api.json +184 -162
  34. tccli/services/cloudapp/v20220530/api.json +11 -1
  35. tccli/services/cloudapp/v20220530/examples.json +3 -3
  36. tccli/services/cloudaudit/v20190319/api.json +64 -53
  37. tccli/services/cloudaudit/v20190319/examples.json +5 -5
  38. tccli/services/cls/v20201016/api.json +21 -21
  39. tccli/services/cls/v20201016/examples.json +1 -1
  40. tccli/services/config/v20220802/api.json +2 -0
  41. tccli/services/config/v20220802/examples.json +2 -2
  42. tccli/services/cvm/v20170312/api.json +5 -5
  43. tccli/services/cynosdb/cynosdb_client.py +53 -0
  44. tccli/services/cynosdb/v20190107/api.json +110 -0
  45. tccli/services/cynosdb/v20190107/examples.json +8 -0
  46. tccli/services/dcdb/v20180411/api.json +390 -387
  47. tccli/services/dcdb/v20180411/examples.json +14 -14
  48. tccli/services/dlc/v20210125/api.json +162 -7
  49. tccli/services/dlc/v20210125/examples.json +1 -1
  50. tccli/services/domain/v20180808/api.json +55 -54
  51. tccli/services/domain/v20180808/examples.json +38 -32
  52. tccli/services/dsgc/v20190723/api.json +1796 -1623
  53. tccli/services/dsgc/v20190723/examples.json +217 -211
  54. tccli/services/dts/v20180330/api.json +143 -106
  55. tccli/services/dts/v20211206/api.json +57 -46
  56. tccli/services/dts/v20211206/examples.json +1 -1
  57. tccli/services/ecm/v20190719/api.json +6 -6
  58. tccli/services/emr/v20190103/api.json +80 -20
  59. tccli/services/ess/ess_client.py +118 -12
  60. tccli/services/ess/v20201111/api.json +320 -37
  61. tccli/services/ess/v20201111/examples.json +19 -3
  62. tccli/services/essbasic/essbasic_client.py +167 -8
  63. tccli/services/essbasic/v20210526/api.json +528 -55
  64. tccli/services/essbasic/v20210526/examples.json +46 -16
  65. tccli/services/facefusion/v20220927/api.json +12 -1
  66. tccli/services/fmu/v20191213/api.json +8 -8
  67. tccli/services/gaap/v20180529/api.json +200 -209
  68. tccli/services/gwlb/v20240906/api.json +16 -16
  69. tccli/services/gwlb/v20240906/examples.json +2 -2
  70. tccli/services/hai/v20230812/api.json +1 -1
  71. tccli/services/hunyuan/v20230901/api.json +6 -6
  72. tccli/services/iss/v20230517/api.json +11 -11
  73. tccli/services/iss/v20230517/examples.json +31 -31
  74. tccli/services/keewidb/v20220308/api.json +92 -82
  75. tccli/services/keewidb/v20220308/examples.json +5 -5
  76. tccli/services/lcic/v20220817/api.json +3 -3
  77. tccli/services/lcic/v20220817/examples.json +2 -2
  78. tccli/services/lighthouse/v20200324/api.json +18 -18
  79. tccli/services/lighthouse/v20200324/examples.json +6 -6
  80. tccli/services/live/v20180801/api.json +32 -14
  81. tccli/services/lke/v20231130/examples.json +1 -1
  82. tccli/services/mariadb/v20170312/api.json +285 -263
  83. tccli/services/mariadb/v20170312/examples.json +12 -12
  84. tccli/services/mongodb/v20180408/api.json +52 -40
  85. tccli/services/mongodb/v20180408/examples.json +4 -4
  86. tccli/services/mongodb/v20190725/api.json +119 -109
  87. tccli/services/mongodb/v20190725/examples.json +5 -5
  88. tccli/services/monitor/monitor_client.py +106 -0
  89. tccli/services/monitor/v20180724/api.json +222 -0
  90. tccli/services/monitor/v20180724/examples.json +17 -1
  91. tccli/services/mps/mps_client.py +228 -16
  92. tccli/services/mps/v20190612/api.json +385 -23
  93. tccli/services/mps/v20190612/examples.json +32 -0
  94. tccli/services/mqtt/v20240516/api.json +1 -1
  95. tccli/services/mqtt/v20240516/examples.json +1 -1
  96. tccli/services/msp/v20180319/api.json +2 -2
  97. tccli/services/ocr/v20181119/api.json +11 -1
  98. tccli/services/omics/v20221128/api.json +14 -2
  99. tccli/services/organization/v20210331/api.json +45 -18
  100. tccli/services/privatedns/v20201028/api.json +90 -81
  101. tccli/services/privatedns/v20201028/examples.json +18 -18
  102. tccli/services/pts/v20210728/api.json +8 -0
  103. tccli/services/redis/redis_client.py +106 -0
  104. tccli/services/redis/v20180412/api.json +178 -16
  105. tccli/services/redis/v20180412/examples.json +16 -0
  106. tccli/services/region/v20220627/api.json +5 -3
  107. tccli/services/region/v20220627/examples.json +1 -1
  108. tccli/services/ssl/v20191205/api.json +6 -4
  109. tccli/services/ssl/v20191205/examples.json +1 -1
  110. tccli/services/sts/v20180813/examples.json +1 -1
  111. tccli/services/tag/v20180813/api.json +4 -5
  112. tccli/services/tcb/v20180608/api.json +36 -16
  113. tccli/services/tdid/v20210519/api.json +30 -38
  114. tccli/services/tdid/v20210519/examples.json +5 -5
  115. tccli/services/tdmq/tdmq_client.py +53 -0
  116. tccli/services/tdmq/v20200217/api.json +64 -1
  117. tccli/services/tdmq/v20200217/examples.json +9 -1
  118. tccli/services/teo/teo_client.py +485 -8
  119. tccli/services/teo/v20220901/api.json +837 -39
  120. tccli/services/teo/v20220901/examples.json +108 -0
  121. tccli/services/thpc/v20211109/api.json +32 -34
  122. tccli/services/thpc/v20220401/api.json +31 -33
  123. tccli/services/thpc/v20230321/api.json +55 -57
  124. tccli/services/thpc/v20230321/examples.json +1 -1
  125. tccli/services/tiia/v20190529/api.json +307 -293
  126. tccli/services/tiia/v20190529/examples.json +41 -41
  127. tccli/services/tione/v20211111/api.json +4 -4
  128. tccli/services/tione/v20211111/examples.json +2 -2
  129. tccli/services/tke/v20180525/api.json +1 -1
  130. tccli/services/trocket/trocket_client.py +53 -0
  131. tccli/services/trocket/v20230308/api.json +119 -3
  132. tccli/services/trocket/v20230308/examples.json +14 -0
  133. tccli/services/tse/v20201207/api.json +188 -120
  134. tccli/services/tse/v20201207/examples.json +30 -30
  135. tccli/services/tsf/v20180326/api.json +826 -745
  136. tccli/services/tsf/v20180326/examples.json +99 -111
  137. tccli/services/vclm/v20240523/api.json +1 -1
  138. tccli/services/vdb/v20230616/api.json +80 -80
  139. tccli/services/vdb/v20230616/examples.json +1 -1
  140. tccli/services/vpc/v20170312/api.json +64 -44
  141. tccli/services/vpc/v20170312/examples.json +6 -6
  142. tccli/services/vrs/v20200824/api.json +3 -2
  143. tccli/services/wedata/v20210820/api.json +550 -40
  144. tccli/services/wedata/v20210820/examples.json +10 -4
  145. {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
  146. {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +149 -145
  147. {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
  148. {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
  149. {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/license_files/LICENSE +0 -0
@@ -107,7 +107,7 @@
107
107
  "CreateRole": [
108
108
  {
109
109
  "document": "以下示例将创建一个以日志服务和操作审计为载体的角色",
110
- "input": "https://cam.tencentcloudapi.com/?Action=CreateRole\n&RoleName=test_1234544\n&PolicyDocument=%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22action%22%3A%22name%2Fsts%3AAssumeRole%22%2C%22effect%22%3A%22allow%22%2C%22principal%22%3A%7B%22service%22%3A%5B%22cloudaudit.cloud.tencent.com%22%2C%22cls.cloud.tencent.com%22%5D%7D%7D%5D%7D\n&Description=abc\n&<公共请求参数>",
110
+ "input": "https://cam.tencentcloudapi.com/?Action=CreateRole\n&RoleName=test_1234544\n&PolicyDocument=%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22action%22%3A%22name%2Fsts%3AAssumeRole%22%2C%22effect%22%3A%22allow%22%2C%22principal%22%3A%7B%22service%22%3A%5B%22cloudaudit.cloud.tencent.com%22%2C%22cls.cloud.tencent.com%22%5D%7D%7D%5D%7D\n&Description=adminRole remark\n&<公共请求参数>",
111
111
  "output": "{\n \"Response\": {\n \"RoleId\": \"123456789000\",\n \"RequestId\": \"0bac591a-6cc7-4e9d-8d01-74618f1a9611\"\n }\n}",
112
112
  "title": "创建一个角色"
113
113
  }
@@ -123,8 +123,8 @@
123
123
  "CreateServiceLinkedRole": [
124
124
  {
125
125
  "document": "",
126
- "input": "https://cam.tencentcloudapi.com/?Action=CreateServiceLinkedRole\n&QCSServiceName.0=ccs.qcloud.com\n&CustomSuffix=forTest\n&Description=ccsLinkedRole\n&<公共请求参数>",
127
- "output": "{\n \"Response\": {\n \"RoleId\": \"4611686018427411525\",\n \"RequestId\": \"c3da1c1c-df35-467d-9335-99c68d993e0a\"\n }\n}",
126
+ "input": "https://cam.tencentcloudapi.com/?Action=CreateServiceLinkedRole\n&QCSServiceName.0=ccs.qcloud.com\n&CustomSuffix=forAdmin\n&Description=ccsLinkedRole\n&<公共请求参数>",
127
+ "output": "{\n \"Response\": {\n \"RoleId\": \"4611**************1\",\n \"RequestId\": \"c3da1c1c-df35-467d-9335-99c68d993e0a\"\n }\n}",
128
128
  "title": "创建服务相关角色"
129
129
  }
130
130
  ],
@@ -418,7 +418,7 @@
418
418
  {
419
419
  "document": "",
420
420
  "input": "https://cam.tencentcloudapi.com/?Action=GetServiceLinkedRoleDeletionStatus\r\n&DeletionTaskId=100\r\n&<公共请求参数>",
421
- "output": "{\n \"Response\": {\n \"Status\": \"SUCCEEDED\",\n \"ServiceType\": \"cam\",\n \"ServiceName\": \"访问管理\",\n \"Reason\": \"{}\",\n \"RequestId\": \"c3da1c1c-df35-467d-9335-99c68d993e0a\"\n }\n}",
421
+ "output": "{\n \"Response\": {\n \"Status\": \"SUCCEEDED\",\n \"ServiceType\": \"cam\",\n \"ServiceName\": \"访问管理\",\n \"Reason\": \"ok\",\n \"RequestId\": \"c3da1c1c-df35-467d-9335-99c68d993e0a\"\n }\n}",
422
422
  "title": "获取服务相关角色删除状态"
423
423
  }
424
424
  ],
@@ -458,7 +458,7 @@
458
458
  {
459
459
  "document": "查询用户组3349关联的策略列表",
460
460
  "input": "https://cam.tencentcloudapi.com/?Action=ListAttachedGroupPolicies\n&TargetGroupId=3349\n&Page=1\n&Rp=10\n&<公共请求参数>",
461
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"OperateOwnerUin\": \"10001\",\n \"PolicyName\": \"AdministratorAccess\",\n \"Remark\": \"test policy remark\",\n \"OperateUinType\": 1,\n \"CreateMode\": 1,\n \"Deactived\": 1,\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"PolicyType\": \"User\",\n \"PolicyId\": 1,\n \"DeactivedDetail\": [\n \"test\"\n ],\n \"OperateUin\": \"10001\"\n }\n ],\n \"RequestId\": \"836d7034-9854-44f0-9d4a-ee57842f8644\",\n \"TotalNum\": 1\n }\n}",
461
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"OperateOwnerUin\": \"10001\",\n \"PolicyName\": \"AdministratorAccess\",\n \"Remark\": \"test policy remark\",\n \"OperateUinType\": 1,\n \"CreateMode\": 1,\n \"Deactived\": 1,\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"PolicyType\": \"User\",\n \"PolicyId\": 1,\n \"DeactivedDetail\": [\n \"ccs\"\n ],\n \"OperateUin\": \"10001\"\n }\n ],\n \"RequestId\": \"836d7034-9854-44f0-9d4a-ee57842f8644\",\n \"TotalNum\": 1\n }\n}",
462
462
  "title": "查询用户组关联的策略列表"
463
463
  }
464
464
  ],
@@ -466,7 +466,7 @@
466
466
  {
467
467
  "document": "",
468
468
  "input": "https://cam.tencentcloudapi.com/?Action=ListAttachedRolePolicies\n&RoleId=4611686018427397905\n&Page=1\n&Rp=10\n&<公共请求参数>",
469
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PolicyName\": \"QcloudAccessForASRole\",\n \"Description\": \"xx\",\n \"CreateMode\": 1,\n \"Deactived\": 1,\n \"AddTime\": \"2019-07-10 11:17:41\",\n \"PolicyType\": \"QCS\",\n \"PolicyId\": 13847366,\n \"DeactivedDetail\": [\n \"xx\"\n ]\n }\n ],\n \"RequestId\": \"60dc7f3f-5d8b-45e9-b703-5feefac9960c\",\n \"TotalNum\": 1\n }\n}",
469
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PolicyName\": \"QcloudAccessForASRole\",\n \"Description\": \"Free Access to AS Product\",\n \"CreateMode\": 1,\n \"Deactived\": 1,\n \"AddTime\": \"2019-07-10 11:17:41\",\n \"PolicyType\": \"QCS\",\n \"PolicyId\": 13847366,\n \"DeactivedDetail\": [\n \"bbs\"\n ]\n }\n ],\n \"RequestId\": \"60dc7f3f-5d8b-45e9-b703-5feefac9960c\",\n \"TotalNum\": 1\n }\n}",
470
470
  "title": "获取角色绑定的策略列表"
471
471
  }
472
472
  ],
@@ -482,7 +482,7 @@
482
482
  {
483
483
  "document": "查询绑定到子账号3449203261的策略列表",
484
484
  "input": "https://cam.tencentcloudapi.com/?Action=ListAttachedUserPolicies\n&TargetUin=3449203261\n&Page=1\n&Rp=10\n&<公共请求参数>",
485
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PolicyId\": 109360057,\n \"PolicyName\": \"test-0103\",\n \"AddTime\": \"2022-01-03 10:38:28\",\n \"CreateMode\": 3,\n \"Remark\": \"\",\n \"OperateOwnerUin\": null,\n \"OperateUin\": null,\n \"OperateUinType\": null,\n \"PolicyType\": \"\",\n \"Deactived\": 0,\n \"DeactivedDetail\": []\n }\n ],\n \"TotalNum\": 1,\n \"RequestId\": \"db1cdf3f-9b1a-47c5-88b3-c49089aaa811\"\n }\n}",
485
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PolicyId\": 109360057,\n \"PolicyName\": \"policygen-20240909141614\",\n \"AddTime\": \"2024-09-09 15:51:40\",\n \"CreateMode\": 3,\n \"Remark\": \"cos policy\",\n \"OperateOwnerUin\": \"100008847111\",\n \"OperateUin\": \"100008847111\",\n \"OperateUinType\": 0,\n \"PolicyType\": \"User\",\n \"Deactived\": 0,\n \"DeactivedDetail\": [\n \"ccs\"\n ]\n }\n ],\n \"TotalNum\": 1,\n \"RequestId\": \"db1cdf3f-9b1a-47c5-88b3-c49089aaa811\"\n }\n}",
486
486
  "title": "查询子账号关联的策略列表"
487
487
  }
488
488
  ],
@@ -522,7 +522,7 @@
522
522
  {
523
523
  "document": "",
524
524
  "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListPolicies\n<公共请求参数>\n\n{\n \"Rp\": \"1\",\n \"Page\": \"10\"\n}",
525
- "output": "{\n \"Response\": {\n \"ServiceTypeList\": [\n \"scf\"\n ],\n \"List\": [\n {\n \"PolicyId\": 16313162,\n \"PolicyName\": \"QcloudAccessForCDNRole\",\n \"AddTime\": \"2019-04-19 10:55:31\",\n \"Type\": 2,\n \"Description\": \"腾讯云内容分发网络(CDN)操作权限含日志服务(CLS)的增删改查日志集,增删改查日志主题,搜索下载上传日志。\",\n \"CreateMode\": 2,\n \"Attachments\": 0,\n \"ServiceType\": \"cooperator\",\n \"IsAttached\": 1,\n \"Deactived\": 1,\n \"DeactivedDetail\": [\n \"cvm\"\n ],\n \"IsServiceLinkedPolicy\": 1,\n \"UpdateTime\": \"2019-04-19 10:55:31\",\n \"AttachEntityCount\": 0,\n \"AttachEntityBoundaryCount\": 0\n }\n ],\n \"TotalNum\": 239,\n \"RequestId\": \"ae2bd2b7-1d55-4b0a-8154-e02407a2b390\"\n }\n}",
525
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"PolicyId\": 16313162,\n \"PolicyName\": \"QcloudAccessForCDNRole\",\n \"AddTime\": \"2019-04-19 10:55:31\",\n \"Type\": 2,\n \"Description\": \"腾讯云内容分发网络(CDN)操作权限含日志服务(CLS)的增删改查日志集,增删改查日志主题,搜索下载上传日志。\",\n \"CreateMode\": 2,\n \"Attachments\": 0,\n \"ServiceType\": \"cooperator\",\n \"IsAttached\": 1,\n \"Deactived\": 1,\n \"DeactivedDetail\": [\n \"cvm\"\n ],\n \"IsServiceLinkedPolicy\": 1,\n \"UpdateTime\": \"2019-04-19 10:55:31\",\n \"AttachEntityCount\": 0,\n \"AttachEntityBoundaryCount\": 0\n }\n ],\n \"ServiceTypeList\": [\n \"scf\"\n ],\n \"TotalNum\": 239,\n \"RequestId\": \"ae2bd2b7-1d55-4b0a-8154-e02407a2b390\"\n }\n}",
526
526
  "title": "查看策略列表"
527
527
  }
528
528
  ],
@@ -530,13 +530,13 @@
530
530
  {
531
531
  "document": "",
532
532
  "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListPoliciesGrantingServiceAccess\n<公共请求参数>\n\n{\n \"TargetUin\": 100000001\n}",
533
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Service\": {\n \"ServiceType\": \"cvm\",\n \"ServiceName\": \"云服务器\"\n },\n \"Action\": [],\n \"Policy\": [\n {\n \"PolicyId\": \"73019980\",\n \"PolicyName\": \"policygen-20210xxxxxxx\",\n \"PolicyDescription\": \"-\",\n \"PolicyType\": \"Custom\"\n }\n ]\n }\n ],\n \"RequestId\": \"6de4c96b-60be-4422-8fe8-5ac09707a116\"\n }\n}",
533
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Service\": {\n \"ServiceType\": \"cvm\",\n \"ServiceName\": \"云服务器\"\n },\n \"Action\": [\n {\n \"Name\": \"AddInstanceInDeployGroup\",\n \"Description\": \"新增实例部署组\"\n }\n ],\n \"Policy\": [\n {\n \"PolicyId\": \"73019980\",\n \"PolicyName\": \"policygen-20210xxxxxxx\",\n \"PolicyDescription\": \"cvm custom policy\",\n \"PolicyType\": \"Custom\"\n }\n ]\n }\n ],\n \"RequestId\": \"6de4c96b-60be-4422-8fe8-5ac09707a116\"\n }\n}",
534
534
  "title": "所有已授权服务"
535
535
  },
536
536
  {
537
537
  "document": "",
538
538
  "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListPoliciesGrantingServiceAccess\n<公共请求参数>\n\n{\n \"TargetUin\": 100000001,\n \"ServiceType\": \"cvm\"\n}",
539
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Service\": {\n \"ServiceType\": \"cvm\",\n \"ServiceName\": \"云服务器\"\n },\n \"Action\": [\n {\n \"Name\": \"AddInstanceInDeployGroup\",\n \"Description\": \"新增实例部署组\"\n }\n ],\n \"Policy\": [\n {\n \"PolicyId\": \"73019980\",\n \"PolicyName\": \"policygen-20210xxxxxxx\",\n \"PolicyDescription\": \"-\",\n \"PolicyType\": \"Custom\"\n }\n ]\n }\n ],\n \"RequestId\": \"6de4c96b-60be-4422-8fe8-5ac09707a116\"\n }\n}",
539
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Service\": {\n \"ServiceType\": \"cvm\",\n \"ServiceName\": \"云服务器\"\n },\n \"Action\": [\n {\n \"Name\": \"AddInstanceInDeployGroup\",\n \"Description\": \"新增实例部署组\"\n }\n ],\n \"Policy\": [\n {\n \"PolicyId\": \"73019980\",\n \"PolicyName\": \"policygen-20210xxxxxxx\",\n \"PolicyDescription\": \"cvm custom policy\",\n \"PolicyType\": \"Custom\"\n }\n ]\n }\n ],\n \"RequestId\": \"6de4c96b-60be-4422-8fe8-5ac09707a116\"\n }\n}",
540
540
  "title": "查看已授权服务中所有已授权接口"
541
541
  }
542
542
  ],
@@ -584,7 +584,7 @@
584
584
  {
585
585
  "document": "",
586
586
  "input": "https://cam.tencentcloudapi.com/?Action=ListWeChatWorkSubAccounts\n&Offset=0\n&Limit=10\n&<公共请求参数>",
587
- "output": "{\n \"Response\": {\n \"TotalCount\": 100,\n \"Data\": [\n {\n \"Uin\": 100000546533,\n \"Name\": \"test124\",\n \"Uid\": 1001774,\n \"Remark\": \"test\",\n \"ConsoleLogin\": 1,\n \"PhoneNum\": \"10086\",\n \"CountryCode\": \"86\",\n \"Email\": \"123@qq.com\",\n \"WeChatWorkUserId\": \"xxx\",\n \"CreateTime\": \"2020-10-10 00:00:00\"\n }\n ],\n \"RequestId\": \"33674182-e53d-416b-b6ce-bd7e7536b5d6\"\n }\n}",
587
+ "output": "{\n \"Response\": {\n \"TotalCount\": 100,\n \"Data\": [\n {\n \"Uin\": 100000546533,\n \"Name\": \"test124\",\n \"Uid\": 1001774,\n \"Remark\": \"account_test\",\n \"ConsoleLogin\": 1,\n \"PhoneNum\": \"10086\",\n \"CountryCode\": \"86\",\n \"Email\": \"123@qq.com\",\n \"WeChatWorkUserId\": \"2343455\",\n \"CreateTime\": \"2020-10-10 00:00:00\"\n }\n ],\n \"RequestId\": \"33674182-e53d-416b-b6ce-bd7e7536b5d6\"\n }\n}",
588
588
  "title": "拉取企业微信子用户"
589
589
  }
590
590
  ],
@@ -1692,6 +1692,15 @@
1692
1692
  "required": false,
1693
1693
  "type": "string"
1694
1694
  },
1695
+ {
1696
+ "disabled": false,
1697
+ "document": "最大触发AI提示音次数,默认为不限制",
1698
+ "example": "1",
1699
+ "member": "uint64",
1700
+ "name": "NotifyMaxCount",
1701
+ "required": false,
1702
+ "type": "int"
1703
+ },
1695
1704
  {
1696
1705
  "disabled": false,
1697
1706
  "document": "<p>和VoiceType字段需要选填一个,这里是使用自己自定义的TTS,VoiceType是系统内置的一些音色</p>\n<ul>\n<li>Tencent TTS<br>\n配置请参考<a href=\"https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823\" target=\"_blank\">腾讯云TTS文档链接</a></li>\n</ul>\n<div><div class=\"v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class\"><pre class=\"v-md-prism-\"><code>{ \n &quot;TTSType&quot;: &quot;tencent&quot;, // String TTS类型, 目前支持&quot;tencent&quot; 和 “minixmax”, 其他的厂商支持中\n   &quot;AppId&quot;: &quot;您的应用ID&quot;, // String 必填\n   &quot;SecretId&quot;: &quot;您的密钥ID&quot;, // String 必填\n   &quot;SecretKey&quot;: &quot;您的密钥Key&quot;, // String 必填\n   &quot;VoiceType&quot;: 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见语音合成计费概述。完整的音色 ID 列表请参见语音合成音色列表。\n   &quot;Speed&quot;: 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 语速转换\n   &quot;Volume&quot;: 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。\n   &quot;PrimaryLanguage&quot;: 1, // Integer 可选 主要语言 1-中文(默认) 2-英文 3-日文\n &quot;FastVoiceType&quot;: &quot;xxxx&quot; // 可选参数, 快速声音复刻的参数 \n  }\n</code></pre>\n\n </div></div><ul>\n<li>Minimax TTS<br>\n配置请参考<a href=\"https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643\" target=\"_blank\">Minimax TTS文档链接</a>。注意Minimax TTS存在频率限制,超频可能会导致回答卡顿,<a href=\"https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572\" target=\"_blank\">Minimax TTS频率限制相关文档链接</a>。</li>\n</ul>\n<div><div class=\"v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class\"><pre class=\"v-md-prism-\"><code>{\n &quot;TTSType&quot;: &quot;minimax&quot;, // String TTS类型, \n &quot;Model&quot;: &quot;speech-01-turbo&quot;,\n &quot;APIUrl&quot;: &quot;https://api.minimax.chat/v1/t2a_v2&quot;,\n &quot;APIKey&quot;: &quot;eyxxxx&quot;,\n &quot;GroupId&quot;: &quot;181000000000000&quot;,\n &quot;VoiceType&quot;:&quot;female-tianmei-jingpin&quot;,\n &quot;Speed&quot;: 1.2\n}\n</code></pre>\n</div></div><ul>\n<li>火山 TTS</li>\n</ul>\n<p>配置音色类型参考<a href=\"https://www.volcengine.com/docs/6561/162929\" target=\"_blank\">火山TTS文档链接</a><br>\n语音合成音色列表–语音技术-火山引擎<br>\n大模型语音合成音色列表–语音技术-火山引擎</p>\n<div><div class=\"v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class\"><pre class=\"v-md-prism-\"><code>{\n &quot;TTSType&quot;: &quot;volcengine&quot;, // 必填:String TTS类型\n &quot;AppId&quot; : &quot;xxxxxxxx&quot;, // 必填:String 火山引擎分配的Appid\n &quot;Token&quot; : &quot;TY9d4sQXHxxxxxxx&quot;, // 必填: String类型 火山引擎的访问token\n &quot;Speed&quot; : 1.0, // 可选参数 语速,默认为1.0\n &quot;Volume&quot;: 1.0, // 可选参数, 音量大小, 默认为1.0\n &quot;Cluster&quot; : &quot;volcano_tts&quot;, // 可选参数,业务集群, 默认是 volcano_tts\n &quot;VoiceType&quot; : &quot;zh_male_aojiaobazong_moon_bigtts&quot; // 音色类型, 默认为大模型语音合成的音色。 如果使用普通语音合成,则需要填写对应的音色类型。 音色类型填写错误会导致没有声音。\n}\n</code></pre>\n\n</div></div><ul>\n<li>Azure TTS<br>\n配置请参考<a href=\"https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice\" target=\"_blank\">AzureTTS文档链接</a></li>\n</ul>\n<div><div class=\"v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class\"><pre class=\"v-md-prism-\"><code>{\n &quot;TTSType&quot;: &quot;azure&quot;, // 必填:String TTS类型\n &quot;SubscriptionKey&quot;: &quot;xxxxxxxx&quot;, // 必填:String 订阅的Key\n &quot;Region&quot;: &quot;chinanorth3&quot;, // 必填:String 订阅的地区\n &quot;VoiceName&quot;: &quot;zh-CN-XiaoxiaoNeural&quot;, // 必填:String 音色名必填\n &quot;Language&quot;: &quot;zh-CN&quot;, // 必填:String 合成的语言 \n &quot;Rate&quot;: 1 // 选填:float 语速 0.5~2 默认为 1\n}\n</code></pre>\n\n</div></div><ul>\n<li>自定义</li>\n</ul>\n<p>TTS<br>\n具体协议规范请参考<a href=\"https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw\" target=\"_blank\">腾讯文档</a></p>\n<div><div class=\"v-md-pre-wrapper copy-code-mode v-md-pre-wrapper- extra-class\"><pre class=\"v-md-prism-\"><code>{\n &quot;TTSType&quot;: &quot;custom&quot;, // String 必填\n &quot;APIKey&quot;: &quot;ApiKey&quot;, // String 必填 用来鉴权\n &quot;APIUrl&quot;: &quot;http://0.0.0.0:8080/stream-audio&quot; // String,必填,TTS API URL\n &quot;AudioFormat&quot;: &quot;wav&quot;, // String, 非必填,期望输出的音频格式,如mp3, ogg_opus,pcm,wav,默认为 wav,目前只支持pcm和wav,\n &quot;SampleRate&quot;: 16000, // Integer,非必填,音频采样率,默认为16000(16k),推荐值为16000\n &quot;AudioChannel&quot;: 1, // Integer,非必填,音频通道数,取值:1 或 2 默认为1 \n}\n</code></pre>\n\n</div></div>",
@@ -6038,6 +6047,15 @@
6038
6047
  "name": "UseMobileAccept",
6039
6048
  "required": false,
6040
6049
  "type": "int"
6050
+ },
6051
+ {
6052
+ "disabled": false,
6053
+ "document": "座席分机号(1 到 8 打头,4 - 6 位)",
6054
+ "example": "1003",
6055
+ "member": "string",
6056
+ "name": "ExtensionNumber",
6057
+ "required": false,
6058
+ "type": "string"
6041
6059
  }
6042
6060
  ],
6043
6061
  "type": "object"
@@ -6821,7 +6839,7 @@
6821
6839
  {
6822
6840
  "disabled": false,
6823
6841
  "document": "座席关联的技能组列表",
6824
- "example": "\"\"",
6842
+ "example": "[\"测试技能组\"]",
6825
6843
  "member": "string",
6826
6844
  "name": "SkillGroupNameList",
6827
6845
  "output_required": true,
@@ -6839,6 +6857,17 @@
6839
6857
  "required": false,
6840
6858
  "type": "int",
6841
6859
  "value_allowed_null": false
6860
+ },
6861
+ {
6862
+ "disabled": false,
6863
+ "document": "座席分机号(1 到 8 打头,4 - 6 位)",
6864
+ "example": "1003",
6865
+ "member": "string",
6866
+ "name": "ExtensionNumber",
6867
+ "output_required": false,
6868
+ "required": false,
6869
+ "type": "string",
6870
+ "value_allowed_null": false
6842
6871
  }
6843
6872
  ],
6844
6873
  "usage": "both"
@@ -7299,6 +7328,16 @@
7299
7328
  "output_required": true,
7300
7329
  "type": "int",
7301
7330
  "value_allowed_null": false
7331
+ },
7332
+ {
7333
+ "disabled": false,
7334
+ "document": "座席分机号(1 到 8 打头,4 - 6 位)",
7335
+ "example": "1003",
7336
+ "member": "string",
7337
+ "name": "ExtensionNumber",
7338
+ "output_required": false,
7339
+ "type": "string",
7340
+ "value_allowed_null": false
7302
7341
  }
7303
7342
  ],
7304
7343
  "usage": "out"
@@ -27,7 +27,7 @@
27
27
  "CreateAICall": [
28
28
  {
29
29
  "document": "本示例模拟某医院调用大模型对手术出院患者家长进行电话随访调查。",
30
- "input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"你是人民医院友善、和蔼的的随访医生李医生,正在给患者小明的家长打电话。\",\n \"WelcomeMessage\": \"您好\",\n \"LLMType\": \"openai\",\n \"Model\": \"gpt-4o-mini\",\n \"APIKey\": \"sk-proj-xxxxx\",\n \"APIUrl\": \"https://api.openai.com/v1/\",\n \"VoiceType\": \"ZhiXi\",\n \"EndFunctionEnable\": true\n}",
30
+ "input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"你是人民医院友善、和蔼的随访医生李医生,正在给患者小明的家长打电话。\",\n \"WelcomeMessage\": \"您好\",\n \"LLMType\": \"openai\",\n \"Model\": \"gpt-4o-mini\",\n \"APIKey\": \"sk-proj-xxxxx\",\n \"APIUrl\": \"https://api.openai.com/v1/\",\n \"VoiceType\": \"ZhiXi\",\n \"EndFunctionEnable\": true\n}",
31
31
  "output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"SessionId\": \"6bb56a09278740bc80c5dc6dab783eff\"\n }\n}",
32
32
  "title": "创建AI通话示例(患者随访场景)"
33
33
  }
@@ -5529,6 +5529,58 @@ def doCloseCDBProxy(args, parsed_globals):
5529
5529
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5530
5530
 
5531
5531
 
5532
+ def doModifyProtectMode(args, parsed_globals):
5533
+ g_param = parse_global_arg(parsed_globals)
5534
+
5535
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5536
+ cred = credential.CVMRoleCredential()
5537
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5538
+ cred = credential.STSAssumeRoleCredential(
5539
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5540
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5541
+ )
5542
+ 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):
5543
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5544
+ else:
5545
+ cred = credential.Credential(
5546
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5547
+ )
5548
+ http_profile = HttpProfile(
5549
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5550
+ reqMethod="POST",
5551
+ endpoint=g_param[OptionsDefine.Endpoint],
5552
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5553
+ )
5554
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5555
+ if g_param[OptionsDefine.Language]:
5556
+ profile.language = g_param[OptionsDefine.Language]
5557
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5558
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
5559
+ client._sdkVersion += ("_CLI_" + __version__)
5560
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5561
+ model = models.ModifyProtectModeRequest()
5562
+ model.from_json_string(json.dumps(args))
5563
+ start_time = time.time()
5564
+ while True:
5565
+ rsp = client.ModifyProtectMode(model)
5566
+ result = rsp.to_json_string()
5567
+ try:
5568
+ json_obj = json.loads(result)
5569
+ except TypeError as e:
5570
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5571
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5572
+ break
5573
+ cur_time = time.time()
5574
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5575
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5576
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5577
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5578
+ else:
5579
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5580
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5581
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5582
+
5583
+
5532
5584
  def doDescribeAsyncRequestInfo(args, parsed_globals):
5533
5585
  g_param = parse_global_arg(parsed_globals)
5534
5586
 
@@ -8974,6 +9026,7 @@ ACTION_MAP = {
8974
9026
  "ResetPassword": doResetPassword,
8975
9027
  "ModifyLocalBinlogConfig": doModifyLocalBinlogConfig,
8976
9028
  "CloseCDBProxy": doCloseCDBProxy,
9029
+ "ModifyProtectMode": doModifyProtectMode,
8977
9030
  "DescribeAsyncRequestInfo": doDescribeAsyncRequestInfo,
8978
9031
  "DescribeAuditLogs": doDescribeAuditLogs,
8979
9032
  "DescribeDBInstanceRebootTime": doDescribeDBInstanceRebootTime,