tccli 3.0.1084.1__py2.py3-none-any.whl → 3.0.1085.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 (199) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/QueryTextToImageProJob.md +30 -0
  3. tccli/examples/aiart/v20221229/SubmitTextToImageProJob.md +22 -0
  4. tccli/examples/billing/v20180709/DescribeCostDetail.md +36 -33
  5. tccli/examples/billing/v20180709/DescribeCostSummaryByProject.md +25 -80
  6. tccli/examples/billing/v20180709/DescribeCostSummaryByRegion.md +23 -14
  7. tccli/examples/billing/v20180709/DescribeCostSummaryByResource.md +53 -27
  8. tccli/examples/ccc/v20200210/CreateCompanyApply.md +36 -0
  9. tccli/examples/ccc/v20200210/DescribeCompanyList.md +33 -0
  10. tccli/examples/ccc/v20200210/ModifyCompanyApply.md +36 -0
  11. tccli/examples/ckafka/v20190819/CreateInstancePost.md +9 -6
  12. tccli/examples/ckafka/v20190819/CreatePrometheus.md +29 -0
  13. tccli/examples/ckafka/v20190819/DescribePrometheus.md +25 -0
  14. tccli/examples/cynosdb/v20190107/RollbackToNewCluster.md +62 -0
  15. tccli/examples/dlc/v20210125/QueryTaskCostDetail.md +20 -0
  16. tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +1 -1
  17. tccli/examples/faceid/v20180301/GetFaceIdResult.md +4 -4
  18. tccli/examples/iotexplorer/v20190423/BindCloudStorageUser.md +22 -0
  19. tccli/examples/iotexplorer/v20190423/CreateIotVideoCloudStorage.md +22 -0
  20. tccli/examples/iotexplorer/v20190423/DeleteCloudStorageEvent.md +26 -0
  21. tccli/examples/iotexplorer/v20190423/DescribeCloudStorage.md +27 -0
  22. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageDate.md +24 -0
  23. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageEvents.md +87 -0
  24. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageMultiThumbnail.md +28 -0
  25. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageOrder.md +25 -0
  26. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeDetails.md +21 -0
  27. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeStats.md +44 -0
  28. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageStreamData.md +24 -0
  29. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnail.md +24 -0
  30. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnailList.md +28 -0
  31. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageTime.md +43 -0
  32. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageUsers.md +29 -0
  33. tccli/examples/iotexplorer/v20190423/DescribeDevicePackages.md +37 -0
  34. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTask.md +21 -0
  35. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTasks.md +39 -0
  36. tccli/examples/iotexplorer/v20190423/GenerateSignedVideoURL.md +22 -0
  37. tccli/examples/iotexplorer/v20190423/InheritCloudStorageUser.md +23 -0
  38. tccli/examples/iotexplorer/v20190423/ResetCloudStorage.md +21 -0
  39. tccli/examples/iotexplorer/v20190423/ResetCloudStorageEvent.md +22 -0
  40. tccli/examples/iotexplorer/v20190423/TransferCloudStorage.md +22 -0
  41. tccli/examples/monitor/v20180724/CreateExporterIntegration.md +626 -2
  42. tccli/examples/ocr/v20181119/ReconstructDocument.md +2263 -0
  43. tccli/examples/pts/v20210728/CreateEnvironment.md +18 -0
  44. tccli/examples/pts/v20210728/DeleteEnvironments.md +18 -0
  45. tccli/examples/pts/v20210728/DescribeEnvironments.md +18 -0
  46. tccli/examples/pts/v20210728/UpdateEnvironment.md +18 -0
  47. tccli/examples/ssl/v20191205/UploadCertificate.md +48 -3
  48. tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
  49. tccli/examples/tione/v20211111/CreateModelService.md +3 -1
  50. tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
  51. tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
  52. tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
  53. tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
  54. tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
  55. tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
  56. tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
  57. tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
  58. tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
  59. tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
  60. tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
  61. tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
  62. tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
  63. tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
  64. tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
  65. tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
  66. tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
  67. tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
  68. tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
  69. tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
  70. tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
  71. tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
  72. tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
  73. tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
  74. tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
  75. tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
  76. tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
  77. tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
  78. tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
  79. tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
  80. tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
  81. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
  82. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
  83. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
  84. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
  85. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
  86. tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
  87. tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
  88. tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
  89. tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
  90. tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
  91. tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
  92. tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
  93. tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
  94. tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
  95. tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
  96. tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
  97. tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
  98. tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
  99. tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
  100. tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
  101. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
  102. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
  103. tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
  104. tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
  105. tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
  106. tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
  107. tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
  108. tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
  109. tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
  110. tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
  111. tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
  112. tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
  113. tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
  114. tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
  115. tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
  116. tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
  117. tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
  118. tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
  119. tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
  120. tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
  121. tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
  122. tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
  123. tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
  124. tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
  125. tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
  126. tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
  127. tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
  128. tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
  129. tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
  130. tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
  131. tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
  132. tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
  133. tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
  134. tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
  135. tccli/examples/wedata/v20210820/TaskLog.md +5 -15
  136. tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
  137. tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
  138. tccli/services/aiart/aiart_client.py +106 -0
  139. tccli/services/aiart/v20221229/api.json +174 -0
  140. tccli/services/aiart/v20221229/examples.json +16 -0
  141. tccli/services/asr/v20190614/api.json +4 -4
  142. tccli/services/bi/v20220105/api.json +27 -0
  143. tccli/services/billing/v20180709/api.json +365 -130
  144. tccli/services/billing/v20180709/examples.json +4 -4
  145. tccli/services/ccc/ccc_client.py +159 -0
  146. tccli/services/ccc/v20200210/api.json +442 -0
  147. tccli/services/ccc/v20200210/examples.json +24 -0
  148. tccli/services/cdb/v20170320/api.json +3 -3
  149. tccli/services/cdwpg/v20201230/api.json +9 -0
  150. tccli/services/ckafka/ckafka_client.py +106 -0
  151. tccli/services/ckafka/v20190819/api.json +190 -12
  152. tccli/services/ckafka/v20190819/examples.json +17 -1
  153. tccli/services/clb/v20180317/api.json +2 -2
  154. tccli/services/cloudstudio/v20230508/api.json +40 -4
  155. tccli/services/cls/v20201016/api.json +30 -30
  156. tccli/services/csip/v20221121/api.json +76 -76
  157. tccli/services/cwp/v20180228/api.json +124 -8
  158. tccli/services/cynosdb/cynosdb_client.py +53 -0
  159. tccli/services/cynosdb/v20190107/api.json +255 -0
  160. tccli/services/cynosdb/v20190107/examples.json +8 -0
  161. tccli/services/dlc/dlc_client.py +53 -0
  162. tccli/services/dlc/v20210125/api.json +103 -4
  163. tccli/services/dlc/v20210125/examples.json +8 -0
  164. tccli/services/dsgc/v20190723/api.json +20 -0
  165. tccli/services/dts/v20211206/api.json +56 -2
  166. tccli/services/es/v20180416/api.json +127 -24
  167. tccli/services/ess/v20201111/api.json +19 -19
  168. tccli/services/essbasic/v20210526/api.json +13 -4
  169. tccli/services/essbasic/v20210526/examples.json +1 -1
  170. tccli/services/faceid/v20180301/api.json +23 -13
  171. tccli/services/faceid/v20180301/examples.json +1 -1
  172. tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
  173. tccli/services/iotexplorer/v20190423/api.json +2179 -117
  174. tccli/services/iotexplorer/v20190423/examples.json +184 -0
  175. tccli/services/lcic/v20220817/api.json +62 -4
  176. tccli/services/monitor/v20180724/examples.json +111 -3
  177. tccli/services/mps/v20190612/api.json +53 -27
  178. tccli/services/ms/v20180408/api.json +14 -14
  179. tccli/services/ocr/ocr_client.py +53 -0
  180. tccli/services/ocr/v20181119/api.json +276 -0
  181. tccli/services/ocr/v20181119/examples.json +8 -0
  182. tccli/services/pts/pts_client.py +212 -0
  183. tccli/services/pts/v20210728/api.json +96 -0
  184. tccli/services/pts/v20210728/examples.json +32 -0
  185. tccli/services/ssl/v20191205/examples.json +9 -3
  186. tccli/services/tag/v20180813/examples.json +1 -1
  187. tccli/services/tione/v20211111/api.json +77 -3
  188. tccli/services/tione/v20211111/examples.json +2 -2
  189. tccli/services/tms/v20201229/api.json +1 -1
  190. tccli/services/trtc/v20190722/api.json +1 -1
  191. tccli/services/tts/v20190823/api.json +10 -1
  192. tccli/services/vod/v20180717/api.json +6 -6
  193. tccli/services/wedata/v20210820/api.json +621 -198
  194. tccli/services/wedata/v20210820/examples.json +146 -146
  195. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/METADATA +2 -2
  196. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/RECORD +199 -162
  197. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/WHEEL +0 -0
  198. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/entry_points.txt +0 -0
  199. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/license_files/LICENSE +0 -0
@@ -260,7 +260,7 @@
260
260
  {
261
261
  "document": "",
262
262
  "input": "https://billing.tencentcloudapi.com/?Action=DescribeCostDetail\n&Offset=0\n&Limit=10\n&BeginTime=2018-11-01 00:00:00\n&EndTime=2018-11-01 23:59:59\n&NeedRecordNum=1\n&<公共请求参数>",
263
- "output": "{\n \"Response\": {\n \"DetailSet\": {\n \"PayerUin\": \"20548499\",\n \"BusinessCodeName\": \"人脸核身-云智慧眼\",\n \"ProductCodeName\": \"人脸核身·云智慧眼-银行卡信息核验\",\n \"PayModeName\": \"按量计费\",\n \"ProjectName\": \"默认项目\",\n \"RegionName\": \"华南地区(广州)\",\n \"ZoneName\": \"-\",\n \"ResourceName\": \"-\",\n \"ActionTypeName\": \"月结\",\n \"OrderId\": \"201907\",\n \"BillId\": \"20190612020000003179923224518398\",\n \"FeeBeginTime\": \"2019-06-01 00:00:00\",\n \"FeeEndTime\": \"2019-06-30 23:59:59\",\n \"ProductCode\": \"sp_ai_image_huiyan_idbankcard\",\n \"ComponentSet\": [\n {\n \"ComponentCodeName\": \"银行卡三要素\",\n \"ItemCodeName\": \"人脸核身·云智慧眼-银行卡三要素\",\n \"SinglePrice\": \"0.4\",\n \"PriceUnit\": \"元/次/月\",\n \"UsedAmount\": \"5\",\n \"UsedAmountUnit\": \"次\",\n \"Cost\": \"2\",\n \"Discount\": \"1\",\n \"RealCost\": \"2\",\n \"VoucherPayAmount\": \"0\",\n \"CashPayAmount\": \"2\",\n \"IncentivePayAmount\": \"0\"\n }\n ]\n },\n \"Total\": 1,\n \"RequestId\": \"d11d7149-3a4a-496c-999a-9287adf0962e\"\n }\n}",
263
+ "output": "{\n \"Response\": {\n \"DetailSet\": [\n {\n \"PayerUin\": \"abc\",\n \"BusinessCodeName\": \"abc\",\n \"ProductCodeName\": \"abc\",\n \"PayModeName\": \"abc\",\n \"ProjectName\": \"abc\",\n \"RegionName\": \"abc\",\n \"ZoneName\": \"abc\",\n \"ResourceId\": \"abc\",\n \"ResourceName\": \"abc\",\n \"ActionTypeName\": \"abc\",\n \"OrderId\": \"abc\",\n \"BillId\": \"abc\",\n \"FeeBeginTime\": \"abc\",\n \"FeeEndTime\": \"abc\",\n \"ComponentSet\": [\n {\n \"ComponentCodeName\": \"abc\",\n \"ItemCodeName\": \"abc\",\n \"SinglePrice\": \"abc\",\n \"PriceUnit\": \"abc\",\n \"UsedAmount\": \"abc\",\n \"UsedAmountUnit\": \"abc\",\n \"Cost\": \"abc\",\n \"Discount\": \"abc\",\n \"RealCost\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"CashPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\"\n }\n ],\n \"ProductCode\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
264
264
  "title": "查询消耗明细数据"
265
265
  }
266
266
  ],
@@ -284,7 +284,7 @@
284
284
  {
285
285
  "document": "获取按项目汇总消耗详情",
286
286
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCostSummaryByProject\n<公共请求参数>\n\n{\n \"NeedRecordNum\": \"1\",\n \"EndTime\": \"2018-11\",\n \"Limit\": \"1\",\n \"BeginTime\": \"2018-11\",\n \"Offset\": \"0\"\n}",
287
- "output": "{\n \"Response\": {\n \"Total\": {\n \"RealTotalCost\": \"510.15\"\n },\n \"Data\": [\n {\n \"ProjectId\": \"0\",\n \"ProjectName\": \"默认项目\",\n \"RealTotalCost\": \"318.77\",\n \"Trend\": {\n \"Type\": \"downward\",\n \"Value\": \"0.92\"\n },\n \"Business\": [\n {\n \"BusinessCode\": \"p_ai_image_authentication\",\n \"BusinessCodeName\": \"\",\n \"RealTotalCost\": \"3.00\",\n \"Trend\": {\n \"Type\": \"downward\",\n \"Value\": \"0.78\"\n }\n },\n {\n \"BusinessCode\": \"p_blackstone_eip\",\n \"BusinessCodeName\": \"黑石弹性IP\",\n \"RealTotalCost\": \"148.81\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"0.03\"\n }\n },\n {\n \"BusinessCode\": \"p_blackstone_lb\",\n \"BusinessCodeName\": \"黑石负载均衡\",\n \"RealTotalCost\": \"31.00\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"1.79\"\n }\n },\n {\n \"BusinessCode\": \"p_cas\",\n \"BusinessCodeName\": \"归档存储\",\n \"RealTotalCost\": \"0.02\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"0.00\"\n }\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"RealTotalCost\": \"17.03\",\n \"Trend\": {\n \"Type\": \"downward\",\n \"Value\": \"0.23\"\n }\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"对象存储COS\",\n \"RealTotalCost\": \"78.34\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"0.00\"\n }\n },\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"云服务器CVM\",\n \"RealTotalCost\": \"34.74\",\n \"Trend\": {\n \"Type\": \"downward\",\n \"Value\": \"0.67\"\n }\n },\n {\n \"BusinessCode\": \"p_vod\",\n \"BusinessCodeName\": \"点播VOD\",\n \"RealTotalCost\": \"6.52\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"0.03\"\n }\n }\n ]\n }\n ],\n \"RecordNum\": 6,\n \"Ready\": 1,\n \"RequestId\": \"59a408bc-5d95-4d40-bf21-58e5e8d48dd0\"\n }\n}",
287
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"Total\": {\n \"RealTotalCost\": \"abc\"\n },\n \"Data\": [\n {\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\",\n \"RealTotalCost\": \"abc\",\n \"Trend\": {\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n },\n \"Business\": [\n {\n \"BusinessCode\": \"abc\",\n \"BusinessCodeName\": \"abc\",\n \"RealTotalCost\": \"abc\",\n \"Trend\": {\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n },\n \"CashPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"TransferPayAmount\": \"abc\"\n }\n ],\n \"CashPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"TransferPayAmount\": \"abc\"\n }\n ],\n \"RecordNum\": 1,\n \"RequestId\": \"abc\"\n }\n}",
288
288
  "title": "获取按项目汇总消耗详情"
289
289
  }
290
290
  ],
@@ -292,7 +292,7 @@
292
292
  {
293
293
  "document": "获取按地域汇总消耗详情",
294
294
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCostSummaryByRegion\n<公共请求参数>\n\n{\n \"NeedRecordNum\": \"1\",\n \"EndTime\": \"2018-11\",\n \"Limit\": \"1\",\n \"BeginTime\": \"2018-11\",\n \"Offset\": \"0\"\n}",
295
- "output": "{\n \"Response\": {\n \"Total\": {\n \"RealTotalCost\": \"510.15\"\n },\n \"Data\": [\n {\n \"RegionId\": \"0\",\n \"RegionName\": \"其他\",\n \"RealTotalCost\": \"-0.69\",\n \"Trend\": {\n \"Type\": \"downward\",\n \"Value\": \"0\"\n },\n \"Business\": [\n {\n \"BusinessCode\": \"billVirtualId\",\n \"BusinessCodeName\": \"月度计费精度差异\",\n \"RealTotalCost\": \"-0.69\",\n \"Trend\": {\n \"Type\": \"downward\",\n \"Value\": \"0\"\n }\n }\n ]\n }\n ],\n \"RecordNum\": 8,\n \"Ready\": 1,\n \"RequestId\": \"59a408bc-5d95-4d40-bf21-58e5e8d48dd0\"\n }\n}",
295
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RecordNum\": 0,\n \"Total\": {\n \"RealTotalCost\": \"91.04\"\n },\n \"Data\": [\n {\n \"RegionId\": \"18\",\n \"RegionName\": \"Asia Pacific (Seoul)\",\n \"RealTotalCost\": \"67.00\",\n \"CashPayAmount\": \"66.99654091\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"Trend\": {\n \"Type\": \"none\",\n \"Value\": null\n },\n \"Business\": [\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"Cloud Object Storage\",\n \"RegionName\": \"Asia Pacific (Seoul)\",\n \"RealTotalCost\": \"66.99654091\",\n \"CashPayAmount\": \"66.99654091\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"Trend\": {\n \"Type\": \"none\",\n \"Value\": null\n }\n }\n ]\n }\n ],\n \"RequestId\": \"cdf3ef28-5ec7-4915-9cc8-a07210dc1f28\"\n }\n}",
296
296
  "title": "获取按地域汇总消耗详情"
297
297
  }
298
298
  ],
@@ -300,7 +300,7 @@
300
300
  {
301
301
  "document": "获取按资源汇总消耗详情",
302
302
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCostSummaryByResource\n<公共请求参数>\n\n{\n \"EndTime\": \"2018-11\",\n \"Limit\": \"1\",\n \"BeginTime\": \"2018-11\",\n \"Offset\": \"0\"\n}",
303
- "output": "{\n \"Response\": {\n \"ConditionValue\": {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cdb\",\n \"BusinessCodeName\": \"云数据库MySQL\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": \"1003540\",\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": \"1\",\n \"RegionName\": \"华南地区(广州)\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"prePay\",\n \"PayModeName\": \"包年包月\"\n }\n ]\n },\n \"Total\": {\n \"RealTotalCost\": \"510.15\"\n },\n \"Data\": [\n {\n \"BusinessCode\": \"billVirtualId\",\n \"BusinessCodeName\": \"月度计费精度差异\",\n \"ConsumptionTypeName\": \"新购\",\n \"ResourceId\": \"billVirtualId\",\n \"ResourceName\": \"扣费精度补偿\",\n \"RealTotalCost\": \"-0.69\",\n \"CashPayAmount\": \"-0.69\",\n \"RegionId\": \"0\",\n \"RegionName\": \"其他\",\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\",\n \"ProjectId\": \"0\",\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"RecordNum\": 29,\n \"Ready\": 1,\n \"RequestId\": \"59a408bc-5d95-4d40-bf21-58e5e8d48dd0\"\n }\n}",
303
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"Total\": {\n \"RealTotalCost\": \"abc\"\n },\n \"ConditionValue\": {\n \"Business\": [\n {\n \"BusinessCode\": \"abc\",\n \"BusinessCodeName\": \"abc\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"abc\",\n \"PayModeName\": \"abc\"\n }\n ]\n },\n \"RecordNum\": 1,\n \"Data\": [\n {\n \"ResourceId\": \"abc\",\n \"ResourceName\": \"abc\",\n \"RealTotalCost\": \"abc\",\n \"CashPayAmount\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\",\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\",\n \"PayMode\": \"abc\",\n \"PayModeName\": \"abc\",\n \"BusinessCode\": \"abc\",\n \"BusinessCodeName\": \"abc\",\n \"ConsumptionTypeName\": \"abc\",\n \"RealCost\": \"abc\",\n \"FeeBeginTime\": \"abc\",\n \"FeeEndTime\": \"abc\",\n \"DayDiff\": \"abc\",\n \"DailyTotalCost\": \"abc\",\n \"OrderId\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\",\n \"TransferPayAmount\": \"abc\",\n \"PayerUin\": \"abc\",\n \"OwnerUin\": \"abc\",\n \"OperateUin\": \"abc\",\n \"ProductCode\": \"abc\",\n \"ProductCodeName\": \"abc\",\n \"RegionType\": \"abc\",\n \"RegionTypeName\": \"abc\",\n \"Extend1\": \"abc\",\n \"Extend2\": \"abc\",\n \"Extend3\": \"abc\",\n \"Extend4\": \"abc\",\n \"Extend5\": \"abc\",\n \"InstanceType\": \"abc\",\n \"InstanceTypeName\": \"abc\",\n \"PayTime\": \"abc\",\n \"ZoneName\": \"abc\",\n \"ComponentConfig\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
304
304
  "title": "获取按资源汇总消耗详情"
305
305
  }
306
306
  ],
@@ -17,6 +17,58 @@ from tencentcloud.ccc.v20200210 import models as models_v20200210
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doModifyCompanyApply(args, parsed_globals):
21
+ g_param = parse_global_arg(parsed_globals)
22
+
23
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
24
+ cred = credential.CVMRoleCredential()
25
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
+ cred = credential.STSAssumeRoleCredential(
27
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
+ )
30
+ 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):
31
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
+ else:
33
+ cred = credential.Credential(
34
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
35
+ )
36
+ http_profile = HttpProfile(
37
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
38
+ reqMethod="POST",
39
+ endpoint=g_param[OptionsDefine.Endpoint],
40
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
+ )
42
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
43
+ if g_param[OptionsDefine.Language]:
44
+ profile.language = g_param[OptionsDefine.Language]
45
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
46
+ client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
47
+ client._sdkVersion += ("_CLI_" + __version__)
48
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
+ model = models.ModifyCompanyApplyRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.ModifyCompanyApply(model)
54
+ result = rsp.to_json_string()
55
+ try:
56
+ json_obj = json.loads(result)
57
+ except TypeError as e:
58
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
59
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
60
+ break
61
+ cur_time = time.time()
62
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
63
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
64
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
65
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
66
+ else:
67
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
68
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
69
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
+
71
+
20
72
  def doUnbindNumberCallOutSkillGroup(args, parsed_globals):
21
73
  g_param = parse_global_arg(parsed_globals)
22
74
 
@@ -1109,6 +1161,58 @@ def doDescribePredictiveDialingSessions(args, parsed_globals):
1109
1161
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
1162
 
1111
1163
 
1164
+ def doCreateCompanyApply(args, parsed_globals):
1165
+ g_param = parse_global_arg(parsed_globals)
1166
+
1167
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1168
+ cred = credential.CVMRoleCredential()
1169
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1170
+ cred = credential.STSAssumeRoleCredential(
1171
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1172
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1173
+ )
1174
+ 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):
1175
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1176
+ else:
1177
+ cred = credential.Credential(
1178
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1179
+ )
1180
+ http_profile = HttpProfile(
1181
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1182
+ reqMethod="POST",
1183
+ endpoint=g_param[OptionsDefine.Endpoint],
1184
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1185
+ )
1186
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1187
+ if g_param[OptionsDefine.Language]:
1188
+ profile.language = g_param[OptionsDefine.Language]
1189
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1190
+ client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
1191
+ client._sdkVersion += ("_CLI_" + __version__)
1192
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1193
+ model = models.CreateCompanyApplyRequest()
1194
+ model.from_json_string(json.dumps(args))
1195
+ start_time = time.time()
1196
+ while True:
1197
+ rsp = client.CreateCompanyApply(model)
1198
+ result = rsp.to_json_string()
1199
+ try:
1200
+ json_obj = json.loads(result)
1201
+ except TypeError as e:
1202
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1203
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1204
+ break
1205
+ cur_time = time.time()
1206
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1207
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1208
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1209
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1210
+ else:
1211
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1212
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1213
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1214
+
1215
+
1112
1216
  def doResumePredictiveDialingCampaign(args, parsed_globals):
1113
1217
  g_param = parse_global_arg(parsed_globals)
1114
1218
 
@@ -2565,6 +2669,58 @@ def doAbortPredictiveDialingCampaign(args, parsed_globals):
2565
2669
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2566
2670
 
2567
2671
 
2672
+ def doDescribeCompanyList(args, parsed_globals):
2673
+ g_param = parse_global_arg(parsed_globals)
2674
+
2675
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2676
+ cred = credential.CVMRoleCredential()
2677
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2678
+ cred = credential.STSAssumeRoleCredential(
2679
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2680
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2681
+ )
2682
+ 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):
2683
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2684
+ else:
2685
+ cred = credential.Credential(
2686
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2687
+ )
2688
+ http_profile = HttpProfile(
2689
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2690
+ reqMethod="POST",
2691
+ endpoint=g_param[OptionsDefine.Endpoint],
2692
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2693
+ )
2694
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2695
+ if g_param[OptionsDefine.Language]:
2696
+ profile.language = g_param[OptionsDefine.Language]
2697
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2698
+ client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
2699
+ client._sdkVersion += ("_CLI_" + __version__)
2700
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2701
+ model = models.DescribeCompanyListRequest()
2702
+ model.from_json_string(json.dumps(args))
2703
+ start_time = time.time()
2704
+ while True:
2705
+ rsp = client.DescribeCompanyList(model)
2706
+ result = rsp.to_json_string()
2707
+ try:
2708
+ json_obj = json.loads(result)
2709
+ except TypeError as e:
2710
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2711
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2712
+ break
2713
+ cur_time = time.time()
2714
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2715
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2716
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2717
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2718
+ else:
2719
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2720
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2721
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2722
+
2723
+
2568
2724
  def doDeletePredictiveDialingCampaign(args, parsed_globals):
2569
2725
  g_param = parse_global_arg(parsed_globals)
2570
2726
 
@@ -2680,6 +2836,7 @@ MODELS_MAP = {
2680
2836
  }
2681
2837
 
2682
2838
  ACTION_MAP = {
2839
+ "ModifyCompanyApply": doModifyCompanyApply,
2683
2840
  "UnbindNumberCallOutSkillGroup": doUnbindNumberCallOutSkillGroup,
2684
2841
  "DescribeExtensions": doDescribeExtensions,
2685
2842
  "DescribeAutoCalloutTasks": doDescribeAutoCalloutTasks,
@@ -2701,6 +2858,7 @@ ACTION_MAP = {
2701
2858
  "DescribePredictiveDialingCampaigns": doDescribePredictiveDialingCampaigns,
2702
2859
  "DescribeAutoCalloutTask": doDescribeAutoCalloutTask,
2703
2860
  "DescribePredictiveDialingSessions": doDescribePredictiveDialingSessions,
2861
+ "CreateCompanyApply": doCreateCompanyApply,
2704
2862
  "ResumePredictiveDialingCampaign": doResumePredictiveDialingCampaign,
2705
2863
  "DescribeSkillGroupInfoList": doDescribeSkillGroupInfoList,
2706
2864
  "StopAutoCalloutTask": doStopAutoCalloutTask,
@@ -2729,6 +2887,7 @@ ACTION_MAP = {
2729
2887
  "CreateSDKLoginToken": doCreateSDKLoginToken,
2730
2888
  "DescribeNumbers": doDescribeNumbers,
2731
2889
  "AbortPredictiveDialingCampaign": doAbortPredictiveDialingCampaign,
2890
+ "DescribeCompanyList": doDescribeCompanyList,
2732
2891
  "DeletePredictiveDialingCampaign": doDeletePredictiveDialingCampaign,
2733
2892
  "UpdatePredictiveDialingCampaign": doUpdatePredictiveDialingCampaign,
2734
2893