tccli 3.0.1051.1__py2.py3-none-any.whl → 3.0.1053.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 (339) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/ccc/v20200210/BindNumberCallOutSkillGroup.md +5 -1
  3. tccli/examples/ccc/v20200210/DescribeActiveCarrierPrivilegeNumber.md +9 -7
  4. tccli/examples/ccc/v20200210/DescribeCCCBuyInfoList.md +19 -38
  5. tccli/examples/ccc/v20200210/UnbindNumberCallOutSkillGroup.md +5 -1
  6. tccli/examples/cdb/v20170320/DescribeInstanceAlarmEvents.md +18 -0
  7. tccli/examples/cdb/v20170320/ModifyDBInstanceLogToCLS.md +1 -1
  8. tccli/examples/cfw/v20190904/AddVpcAcRule.md +1 -1
  9. tccli/examples/cfw/v20190904/DescribeBlockIgnoreList.md +22 -2
  10. tccli/examples/cynosdb/v20190107/DescribeAuditInstanceList.md +51 -0
  11. tccli/examples/ess/v20201111/CreateFlow.md +22 -33
  12. tccli/examples/ess/v20201111/CreateFlowByFiles.md +0 -76
  13. tccli/examples/ess/v20201111/ModifyFlowDeadline.md +99 -0
  14. tccli/examples/ess/v20201111/StartFlow.md +6 -6
  15. tccli/examples/essbasic/v20210526/ChannelCreateFlowSignReview.md +8 -7
  16. tccli/examples/essbasic/v20210526/CreateFlowsByTemplates.md +208 -74
  17. tccli/examples/essbasic/v20210526/ModifyFlowDeadline.md +111 -0
  18. tccli/examples/iotvideo/v20211125/DescribeDevicePackages.md +1 -0
  19. tccli/examples/iss/v20230517/DescribeVideoDownloadUrl.md +4 -4
  20. tccli/examples/mongodb/v20190725/DescribeDBInstances.md +2 -1
  21. tccli/examples/mongodb/v20190725/ModifyDBInstanceSpec.md +64 -0
  22. tccli/examples/ocr/v20181119/RecognizeEncryptedIDCardOCR.md +48 -0
  23. tccli/examples/postgres/v20170312/ModifyDBInstanceSpec.md +1 -1
  24. tccli/examples/ssl/v20191205/DeleteCertificate.md +23 -0
  25. tccli/examples/svp/v20240125/CreateSavingPlanOrder.md +29 -0
  26. tccli/examples/tag/v20180813/DescribeProjects.md +2 -2
  27. tccli/examples/teo/v20220901/CreateL4Proxy.md +47 -0
  28. tccli/examples/teo/v20220901/CreateL4ProxyRules.md +33 -0
  29. tccli/examples/teo/v20220901/DeleteL4Proxy.md +21 -0
  30. tccli/examples/teo/v20220901/DeleteL4ProxyRules.md +22 -0
  31. tccli/examples/teo/v20220901/DescribeBillingData.md +102 -14
  32. tccli/examples/teo/v20220901/DescribeL4Proxy.md +38 -0
  33. tccli/examples/teo/v20220901/DescribeL4ProxyRules.md +43 -0
  34. tccli/examples/teo/v20220901/ModifyL4Proxy.md +22 -0
  35. tccli/examples/teo/v20220901/ModifyL4ProxyRules.md +25 -0
  36. tccli/examples/teo/v20220901/ModifyL4ProxyRulesStatus.md +23 -0
  37. tccli/examples/teo/v20220901/ModifyL4ProxyStatus.md +22 -0
  38. tccli/examples/tione/v20211111/CreateBatchTask.md +1 -5
  39. tccli/examples/tione/v20211111/DeleteBatchTask.md +1 -1
  40. tccli/examples/tione/v20211111/DescribeBatchTask.md +101 -105
  41. tccli/examples/tione/v20211111/DescribeBatchTaskInstances.md +8 -6
  42. tccli/examples/tione/v20211111/DescribeBatchTasks.md +44 -75
  43. tccli/examples/tione/v20211111/StopBatchTask.md +2 -2
  44. tccli/examples/trtc/v20190722/DescribeStreamIngest.md +1 -1
  45. tccli/examples/trtc/v20190722/StartStreamIngest.md +2 -2
  46. tccli/examples/trtc/v20190722/StopStreamIngest.md +1 -1
  47. tccli/examples/waf/v20180125/AddAttackWhiteRule.md +7 -7
  48. tccli/examples/waf/v20180125/DeleteHost.md +4 -2
  49. tccli/examples/waf/v20180125/DescribeCertificateVerifyResult.md +5 -5
  50. tccli/examples/waf/v20180125/DescribeUserDomainInfo.md +13 -471
  51. tccli/examples/waf/v20180125/ModifyAttackWhiteRule.md +6 -6
  52. tccli/examples/waf/v20180125/ModifyDomainPostAction.md +22 -0
  53. tccli/examples/waf/v20180125/ModifyHost.md +1 -1
  54. tccli/examples/waf/v20180125/ModifyHostFlowMode.md +1 -1
  55. tccli/examples/waf/v20180125/ModifyObject.md +5 -3
  56. tccli/examples/wedata/v20210820/AcquireLock.md +80 -0
  57. tccli/examples/wedata/v20210820/AnalyzeDependentTasks.md +33 -0
  58. tccli/examples/wedata/v20210820/BatchCreateTaskVersionAsync.md +57 -0
  59. tccli/examples/wedata/v20210820/BatchCreateTaskVersionDs.md +249 -4
  60. tccli/examples/wedata/v20210820/BatchCreateVirtualTaskDs.md +64 -0
  61. tccli/examples/wedata/v20210820/BatchDeleteTasksDsAsync.md +51 -0
  62. tccli/examples/wedata/v20210820/BatchRunTasksDs.md +27 -0
  63. tccli/examples/wedata/v20210820/BatchUpdateTasksDs.md +620 -0
  64. tccli/examples/wedata/v20210820/CheckCustomFunctionPremise.md +24 -0
  65. tccli/examples/wedata/v20210820/CheckTaskNameExistDs.md +27 -0
  66. tccli/examples/wedata/v20210820/CheckTaskPriorityDs.md +23 -0
  67. tccli/examples/wedata/v20210820/ClearRecycleTask.md +21 -0
  68. tccli/examples/wedata/v20210820/CommitWorkflow.md +26 -0
  69. tccli/examples/wedata/v20210820/CompareDsTaskVersionInfo.md +695 -0
  70. tccli/examples/wedata/v20210820/CopyTaskDs.md +51 -0
  71. tccli/examples/wedata/v20210820/CopyWorkflowDs.md +25 -0
  72. tccli/examples/wedata/v20210820/CreateBrowsingHistory.md +28 -0
  73. tccli/examples/wedata/v20210820/CreateFileVersion.md +34 -0
  74. tccli/examples/wedata/v20210820/CreateLink.md +24 -0
  75. tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +6 -6
  76. tccli/examples/wedata/v20210820/CreatePath.md +23 -0
  77. tccli/examples/wedata/v20210820/CreateProjectParamDs.md +36 -0
  78. tccli/examples/wedata/v20210820/CreateResourceDirectory.md +23 -0
  79. tccli/examples/wedata/v20210820/CreateResourcePath.md +1 -1
  80. tccli/examples/wedata/v20210820/CreateScriptsImportTasksDs.md +628 -0
  81. tccli/examples/wedata/v20210820/CreateTaskDs.md +50 -0
  82. tccli/examples/wedata/v20210820/CreateTaskFolder.md +24 -0
  83. tccli/examples/wedata/v20210820/CreateTaskInParamDs.md +29 -0
  84. tccli/examples/wedata/v20210820/CreateTaskOutParamDs.md +28 -0
  85. tccli/examples/wedata/v20210820/CreateTaskOutputRegistries.md +48 -0
  86. tccli/examples/wedata/v20210820/CreateTaskOutputRegistry.md +47 -0
  87. tccli/examples/wedata/v20210820/CreateTaskParamDs.md +27 -0
  88. tccli/examples/wedata/v20210820/CreateWorkflowDs.md +23 -0
  89. tccli/examples/wedata/v20210820/DeleteBatchWorkflowDs.md +26 -0
  90. tccli/examples/wedata/v20210820/DeleteCustomFunction.md +2 -2
  91. tccli/examples/wedata/v20210820/DeleteDsEvent.md +32 -0
  92. tccli/examples/wedata/v20210820/DeleteDsEventListener.md +25 -0
  93. tccli/examples/wedata/v20210820/DeleteDsEventPublisher.md +23 -0
  94. tccli/examples/wedata/v20210820/DeleteEventListenerByTaskId.md +25 -0
  95. tccli/examples/wedata/v20210820/DeleteLink.md +25 -0
  96. tccli/examples/wedata/v20210820/DeleteProjectParamVersionDs.md +23 -0
  97. tccli/examples/wedata/v20210820/DeleteRecordList.md +21 -0
  98. tccli/examples/wedata/v20210820/DeleteRecycleTask.md +21 -0
  99. tccli/examples/wedata/v20210820/DeleteResource.md +1 -1
  100. tccli/examples/wedata/v20210820/DeleteResourcePath.md +22 -0
  101. tccli/examples/wedata/v20210820/DeleteTaskFolder.md +23 -0
  102. tccli/examples/wedata/v20210820/DeleteTaskInParamDs.md +23 -0
  103. tccli/examples/wedata/v20210820/DeleteTaskOutParamDs.md +23 -0
  104. tccli/examples/wedata/v20210820/DeleteTaskOutputRegistry.md +46 -0
  105. tccli/examples/wedata/v20210820/DescribeAllParamDs.md +38 -0
  106. tccli/examples/wedata/v20210820/DescribeBatchTestRun.md +30 -0
  107. tccli/examples/wedata/v20210820/DescribeBrowsingHistories.md +31 -0
  108. tccli/examples/wedata/v20210820/DescribeChildrenDs.md +661 -0
  109. tccli/examples/wedata/v20210820/DescribeChildrenPathTrees.md +177 -0
  110. tccli/examples/wedata/v20210820/DescribeCodeDetail.md +33 -0
  111. tccli/examples/wedata/v20210820/DescribeCodeDetailV2.md +34 -0
  112. tccli/examples/wedata/v20210820/DescribeCodeSearchAuditInfo.md +98 -0
  113. tccli/examples/wedata/v20210820/DescribeCodeSearchAuditInfoV2.md +36 -0
  114. tccli/examples/wedata/v20210820/DescribeCodeSearchCount.md +28 -0
  115. tccli/examples/wedata/v20210820/DescribeCodeSearchInfo.md +51 -0
  116. tccli/examples/wedata/v20210820/DescribeCodeSearchInfoV2.md +65 -0
  117. tccli/examples/wedata/v20210820/DescribeCrontabTopNDs.md +25 -0
  118. tccli/examples/wedata/v20210820/DescribeCustomFunctionVersionList.md +33 -0
  119. tccli/examples/wedata/v20210820/DescribeDataDevelopTaskType.md +78 -0
  120. tccli/examples/wedata/v20210820/DescribeDataTableImportProgress.md +37 -0
  121. tccli/examples/wedata/v20210820/DescribeDependTasksDevDs.md +72 -0
  122. tccli/examples/wedata/v20210820/DescribeDependencyTasksForProjectClone.md +67 -0
  123. tccli/examples/wedata/v20210820/DescribeDependencyWorkflowForProjectClone.md +38 -0
  124. tccli/examples/wedata/v20210820/DescribeDevelopmentSpaceSupportType.md +24 -0
  125. tccli/examples/wedata/v20210820/DescribeDsEvent.md +106 -0
  126. tccli/examples/wedata/v20210820/DescribeDsEventDetail.md +58 -0
  127. tccli/examples/wedata/v20210820/DescribeDsEventListener.md +34 -0
  128. tccli/examples/wedata/v20210820/DescribeDsEventListenerList.md +34 -0
  129. tccli/examples/wedata/v20210820/DescribeDsEventPublisher.md +33 -0
  130. tccli/examples/wedata/v20210820/DescribeDsEventPublisherList.md +34 -0
  131. tccli/examples/wedata/v20210820/DescribeDsKettleServerFolderTree.md +54 -0
  132. tccli/examples/wedata/v20210820/DescribeDsLatestTaskVersionInfo.md +692 -0
  133. tccli/examples/wedata/v20210820/DescribeDsNotSubmitTasksAndCanRunByWorkflow.md +654 -0
  134. tccli/examples/wedata/v20210820/DescribeDsTaskVersionInfo.md +693 -0
  135. tccli/examples/wedata/v20210820/DescribeDsTaskVersionList.md +694 -0
  136. tccli/examples/wedata/v20210820/DescribeEtlTaskType.md +44 -0
  137. tccli/examples/wedata/v20210820/DescribeEventListenerByTaskId.md +25 -0
  138. tccli/examples/wedata/v20210820/DescribeEventListenerTask.md +27 -0
  139. tccli/examples/wedata/v20210820/DescribeExecutionLog.md +28 -0
  140. tccli/examples/wedata/v20210820/DescribeFatherDatasourceInfoDs.md +37 -0
  141. tccli/examples/wedata/v20210820/DescribeFileVersions.md +21 -0
  142. tccli/examples/wedata/v20210820/DescribeFunctionKinds.md +5 -5
  143. tccli/examples/wedata/v20210820/DescribeFunctionTypes.md +5 -5
  144. tccli/examples/wedata/v20210820/DescribeGlobalWorkflowDs.md +182 -0
  145. tccli/examples/wedata/v20210820/DescribeImportableOfflineTask.md +31 -0
  146. tccli/examples/wedata/v20210820/DescribeInfoTransByTypeIdDs.md +1031 -0
  147. tccli/examples/wedata/v20210820/DescribeLock.md +27 -0
  148. tccli/examples/wedata/v20210820/DescribeNewSqlTaskResult.md +28 -0
  149. tccli/examples/wedata/v20210820/DescribeOrganizationalFunctions.md +33 -29
  150. tccli/examples/wedata/v20210820/DescribeParentTask.md +652 -0
  151. tccli/examples/wedata/v20210820/DescribePathTrees.md +122 -0
  152. tccli/examples/wedata/v20210820/DescribeProdWorkflowCanvasInfoDs.md +36 -0
  153. tccli/examples/wedata/v20210820/DescribeProjectParamDs.md +38 -0
  154. tccli/examples/wedata/v20210820/DescribeProjectParamDsPage.md +48 -0
  155. tccli/examples/wedata/v20210820/DescribeProjectParamVersionDs.md +34 -0
  156. tccli/examples/wedata/v20210820/DescribeProjectParamVersionInfoDs.md +37 -0
  157. tccli/examples/wedata/v20210820/DescribeRecordList.md +50 -0
  158. tccli/examples/wedata/v20210820/DescribeRecycleTaskDetail.md +651 -0
  159. tccli/examples/wedata/v20210820/DescribeRecycleTaskList.md +62 -0
  160. tccli/examples/wedata/v20210820/DescribeResourceManagePathTrees.md +3 -3
  161. tccli/examples/wedata/v20210820/DescribeScriptsImportTaskType.md +78 -0
  162. tccli/examples/wedata/v20210820/DescribeSqlTaskResult.md +28 -0
  163. tccli/examples/wedata/v20210820/DescribeTaskBindVirtualTask.md +39 -0
  164. tccli/examples/wedata/v20210820/DescribeTaskDetailDs.md +653 -0
  165. tccli/examples/wedata/v20210820/DescribeTaskInParamDs.md +36 -0
  166. tccli/examples/wedata/v20210820/DescribeTaskLatestRunTime.md +49 -0
  167. tccli/examples/wedata/v20210820/DescribeTaskListByConditionDs.md +662 -0
  168. tccli/examples/wedata/v20210820/DescribeTaskOutParamDs.md +36 -0
  169. tccli/examples/wedata/v20210820/DescribeTaskOutputRegistries.md +35 -0
  170. tccli/examples/wedata/v20210820/DescribeTaskParamDs.md +63 -0
  171. tccli/examples/wedata/v20210820/DescribeTaskParentRunTime.md +46 -0
  172. tccli/examples/wedata/v20210820/DescribeTaskTypeByScriptType.md +79 -0
  173. tccli/examples/wedata/v20210820/DescribeTasksForProjectClone.md +74 -0
  174. tccli/examples/wedata/v20210820/DescribeTestRun.md +26 -0
  175. tccli/examples/wedata/v20210820/DescribeToken.md +19 -0
  176. tccli/examples/wedata/v20210820/DescribeWorkflowByFordIds.md +668 -0
  177. tccli/examples/wedata/v20210820/DescribeWorkflowCanvasInfoDs.md +272 -0
  178. tccli/examples/wedata/v20210820/DescribeWorkflowCanvasOpLogs.md +61 -0
  179. tccli/examples/wedata/v20210820/DescribeWorkflowCanvasOperators.md +27 -0
  180. tccli/examples/wedata/v20210820/DescribeWorkflowForProjectClone.md +59 -0
  181. tccli/examples/wedata/v20210820/DescribeWorkflowParamDs.md +39 -0
  182. tccli/examples/wedata/v20210820/DescribeWorkflowSchedulerInfoDs.md +44 -0
  183. tccli/examples/wedata/v20210820/DescribeWorkflowTasksForProjectClone.md +48 -0
  184. tccli/examples/wedata/v20210820/DownloadNewSqlResult.md +25 -0
  185. tccli/examples/wedata/v20210820/DownloadSqlResult.md +25 -0
  186. tccli/examples/wedata/v20210820/ExportDsEvent.md +57 -0
  187. tccli/examples/wedata/v20210820/ExportFiles.md +24 -0
  188. tccli/examples/wedata/v20210820/ExportProjectParamDs.md +34 -0
  189. tccli/examples/wedata/v20210820/ExportWorkflowXml.md +40 -0
  190. tccli/examples/wedata/v20210820/ExportWorkflowZip.md +40 -0
  191. tccli/examples/wedata/v20210820/FindDependTaskListDs.md +654 -0
  192. tccli/examples/wedata/v20210820/FindDependTaskListsDs.md +654 -0
  193. tccli/examples/wedata/v20210820/FindFuzzyTasksDs.md +661 -0
  194. tccli/examples/wedata/v20210820/FindTaskByRemotePath.md +238 -0
  195. tccli/examples/wedata/v20210820/GetAdvanceRunParams.md +50 -0
  196. tccli/examples/wedata/v20210820/GetBatchDetailErrorLog.md +22 -0
  197. tccli/examples/wedata/v20210820/GetCosToken.md +39 -0
  198. tccli/examples/wedata/v20210820/GetLatestAnalyseInfo.md +32 -0
  199. tccli/examples/wedata/v20210820/GetLatestTestRunInfo.md +36 -0
  200. tccli/examples/wedata/v20210820/GetPathTrees.md +57 -0
  201. tccli/examples/wedata/v20210820/GetResourceCosPath.md +23 -0
  202. tccli/examples/wedata/v20210820/GetResourcePathTree.md +84 -0
  203. tccli/examples/wedata/v20210820/GetRunSonListDs.md +25 -0
  204. tccli/examples/wedata/v20210820/GetTestRunTaskInstancesStatusInfo.md +31 -0
  205. tccli/examples/wedata/v20210820/HeartBeat.md +58 -0
  206. tccli/examples/wedata/v20210820/ImportDsEvent.md +22 -0
  207. tccli/examples/wedata/v20210820/ImportFiles.md +47 -0
  208. tccli/examples/wedata/v20210820/ImportOfflineTask.md +26 -0
  209. tccli/examples/wedata/v20210820/ImportProjectParamDs.md +25 -0
  210. tccli/examples/wedata/v20210820/ImportTableData.md +83 -0
  211. tccli/examples/wedata/v20210820/ImportWorkflowXml.md +23 -0
  212. tccli/examples/wedata/v20210820/ImportWorkflowZip.md +22 -0
  213. tccli/examples/wedata/v20210820/JudgeResourceFile.md +22 -0
  214. tccli/examples/wedata/v20210820/JudgeTaskListenEvent.md +24 -0
  215. tccli/examples/wedata/v20210820/KillTasksTestRun.md +29 -0
  216. tccli/examples/wedata/v20210820/ListBatchDetail.md +48 -0
  217. tccli/examples/wedata/v20210820/ListBatchJob.md +45 -0
  218. tccli/examples/wedata/v20210820/ModifyTaskFolder.md +25 -0
  219. tccli/examples/wedata/v20210820/ModifyTaskInfoDs.md +69 -0
  220. tccli/examples/wedata/v20210820/ModifyTaskLinksDs.md +56 -0
  221. tccli/examples/wedata/v20210820/ModifyTaskScriptDs.md +49 -0
  222. tccli/examples/wedata/v20210820/MoveFile.md +23 -0
  223. tccli/examples/wedata/v20210820/MoveTasksToFolder.md +24 -0
  224. tccli/examples/wedata/v20210820/PreviewDataTableCsv.md +981 -0
  225. tccli/examples/wedata/v20210820/QueryWorkflowVersion.md +33 -0
  226. tccli/examples/wedata/v20210820/RegisterDsEvent.md +68 -0
  227. tccli/examples/wedata/v20210820/RegisterDsEventListener.md +49 -0
  228. tccli/examples/wedata/v20210820/RegisterDsEventPublisher.md +37 -0
  229. tccli/examples/wedata/v20210820/ReleaseLock.md +44 -0
  230. tccli/examples/wedata/v20210820/RemoveWorkflowDs.md +25 -0
  231. tccli/examples/wedata/v20210820/RenameFile.md +25 -0
  232. tccli/examples/wedata/v20210820/RenameResource.md +24 -0
  233. tccli/examples/wedata/v20210820/RenameResourceFile.md +29 -0
  234. tccli/examples/wedata/v20210820/RenameResourcePath.md +23 -0
  235. tccli/examples/wedata/v20210820/RenameTaskDs.md +25 -0
  236. tccli/examples/wedata/v20210820/RenewWorkflowDs.md +25 -0
  237. tccli/examples/wedata/v20210820/RenewWorkflowFolderDs.md +23 -0
  238. tccli/examples/wedata/v20210820/RenewWorkflowOwnerDs.md +28 -0
  239. tccli/examples/wedata/v20210820/RenewWorkflowSchedulerInfoDs.md +33 -0
  240. tccli/examples/wedata/v20210820/ReplaceProjectParamVersionDs.md +23 -0
  241. tccli/examples/wedata/v20210820/RestoreRecycleTask.md +28 -0
  242. tccli/examples/wedata/v20210820/RollbackCustomFunctionVersion.md +24 -0
  243. tccli/examples/wedata/v20210820/SaveCustomFunction.md +17 -17
  244. tccli/examples/wedata/v20210820/SavePositionsDs.md +601 -0
  245. tccli/examples/wedata/v20210820/ScriptUsedByOtherTaskDs.md +21 -0
  246. tccli/examples/wedata/v20210820/StopAdhocTask.md +66 -0
  247. tccli/examples/wedata/v20210820/StopTestRun.md +21 -0
  248. tccli/examples/wedata/v20210820/SubmitBatchTestRun.md +28 -0
  249. tccli/examples/wedata/v20210820/SubmitCustomFunction.md +7 -7
  250. tccli/examples/wedata/v20210820/SubmitIntegrationTask.md +43 -0
  251. tccli/examples/wedata/v20210820/SubmitPySparkTask.md +45 -0
  252. tccli/examples/wedata/v20210820/SubmitPythonTask.md +85 -0
  253. tccli/examples/wedata/v20210820/SubmitShellTask.md +85 -0
  254. tccli/examples/wedata/v20210820/SubmitTestRun.md +24 -0
  255. tccli/examples/wedata/v20210820/UpdateBatchTaskAdvancedSettings.md +113 -0
  256. tccli/examples/wedata/v20210820/UpdateBatchTaskDatasource.md +104 -0
  257. tccli/examples/wedata/v20210820/UpdateBatchTaskInCharge.md +25 -0
  258. tccli/examples/wedata/v20210820/UpdateBatchTaskParameter.md +58 -0
  259. tccli/examples/wedata/v20210820/UpdateBatchTaskParams.md +79 -0
  260. tccli/examples/wedata/v20210820/UpdateBatchTaskResourceGroup.md +25 -0
  261. tccli/examples/wedata/v20210820/UpdateBatchTaskSchedule.md +154 -0
  262. tccli/examples/wedata/v20210820/UpdateDsEvent.md +25 -0
  263. tccli/examples/wedata/v20210820/UpdateEventListener.md +27 -0
  264. tccli/examples/wedata/v20210820/UpdateTaskDs.md +705 -0
  265. tccli/examples/wedata/v20210820/UpdateWorkflowInfo.md +34 -0
  266. tccli/examples/wedata/v20210820/UploadAdvanceRunParams.md +24 -0
  267. tccli/examples/wedata/v20210820/UploadFilesDs.md +51 -0
  268. tccli/examples/wedata/v20210820/UploadResource.md +53 -0
  269. tccli/services/__init__.py +3 -0
  270. tccli/services/apigateway/v20180808/api.json +1 -1
  271. tccli/services/ccc/v20200210/api.json +15 -12
  272. tccli/services/ccc/v20200210/examples.json +5 -5
  273. tccli/services/cdb/cdb_client.py +53 -0
  274. tccli/services/cdb/v20170320/api.json +54 -2
  275. tccli/services/cdb/v20170320/examples.json +9 -1
  276. tccli/services/cdwdoris/v20211228/api.json +30 -0
  277. tccli/services/cfw/v20190904/api.json +277 -21
  278. tccli/services/cfw/v20190904/examples.json +2 -2
  279. tccli/services/ckafka/v20190819/api.json +2 -1
  280. tccli/services/cynosdb/cynosdb_client.py +53 -0
  281. tccli/services/cynosdb/v20190107/api.json +288 -0
  282. tccli/services/cynosdb/v20190107/examples.json +8 -0
  283. tccli/services/dasb/v20191018/api.json +25 -4
  284. tccli/services/emr/v20190103/api.json +91 -61
  285. tccli/services/es/v20180416/api.json +9 -0
  286. tccli/services/ess/ess_client.py +53 -0
  287. tccli/services/ess/v20201111/api.json +109 -21
  288. tccli/services/ess/v20201111/examples.json +37 -11
  289. tccli/services/essbasic/essbasic_client.py +53 -0
  290. tccli/services/essbasic/v20210526/api.json +117 -29
  291. tccli/services/essbasic/v20210526/examples.json +48 -16
  292. tccli/services/ioa/v20220601/api.json +6 -6
  293. tccli/services/iotvideo/v20211125/api.json +19 -0
  294. tccli/services/iotvideo/v20211125/examples.json +1 -1
  295. tccli/services/iss/v20230517/api.json +10 -10
  296. tccli/services/iss/v20230517/examples.json +2 -2
  297. tccli/services/kms/v20190118/api.json +3 -3
  298. tccli/services/mna/v20210119/api.json +3 -3
  299. tccli/services/mongodb/v20190725/api.json +10 -0
  300. tccli/services/mongodb/v20190725/examples.json +13 -1
  301. tccli/services/monitor/v20180724/api.json +31 -11
  302. tccli/services/mps/v20190612/api.json +55 -20
  303. tccli/services/ocr/ocr_client.py +53 -0
  304. tccli/services/ocr/v20181119/api.json +320 -3
  305. tccli/services/ocr/v20181119/examples.json +8 -0
  306. tccli/services/postgres/v20170312/api.json +7 -7
  307. tccli/services/postgres/v20170312/examples.json +2 -2
  308. tccli/services/redis/v20180412/api.json +42 -12
  309. tccli/services/rum/v20210622/api.json +2 -2
  310. tccli/services/scf/v20180416/api.json +9 -0
  311. tccli/services/ssl/v20191205/api.json +24 -4
  312. tccli/services/ssl/v20191205/examples.json +6 -0
  313. tccli/services/svp/__init__.py +4 -0
  314. tccli/services/svp/svp_client.py +195 -0
  315. tccli/services/svp/v20240125/api.json +129 -0
  316. tccli/services/svp/v20240125/examples.json +13 -0
  317. tccli/services/tag/v20180813/api.json +20 -2
  318. tccli/services/tag/v20180813/examples.json +1 -1
  319. tccli/services/teo/teo_client.py +878 -295
  320. tccli/services/teo/v20220901/api.json +1267 -152
  321. tccli/services/teo/v20220901/examples.json +94 -0
  322. tccli/services/tione/v20211111/api.json +130 -126
  323. tccli/services/tione/v20211111/examples.json +15 -15
  324. tccli/services/tmt/v20180321/api.json +5 -3
  325. tccli/services/trtc/v20190722/api.json +25 -16
  326. tccli/services/trtc/v20190722/examples.json +4 -4
  327. tccli/services/tse/v20201207/api.json +1 -1
  328. tccli/services/vod/v20180717/api.json +39 -1
  329. tccli/services/vpc/v20170312/api.json +11 -1
  330. tccli/services/waf/v20180125/api.json +564 -248
  331. tccli/services/waf/v20180125/examples.json +20 -20
  332. tccli/services/waf/waf_client.py +53 -0
  333. tccli/services/wedata/v20210820/api.json +165 -93
  334. tccli/services/wedata/v20210820/examples.json +34 -16
  335. {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/METADATA +2 -2
  336. {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/RECORD +339 -117
  337. {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/WHEEL +0 -0
  338. {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/entry_points.txt +0 -0
  339. {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,34 @@
1
+ **Example 1: 工作流更新整合接口**
2
+
3
+ 更新工作流通用配置(基本信息 & 参数)
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli wedata UpdateWorkflowInfo --cli-unfold-argument \
9
+ --ProjectId abc \
10
+ --OperatorName abc \
11
+ --WorkflowId abc \
12
+ --Owner abc \
13
+ --OwnerId abc \
14
+ --WorkflowDesc abc \
15
+ --WorkflowName abc \
16
+ --FolderId abc \
17
+ --UserGroupId abc \
18
+ --UserGroupName abc \
19
+ --WorkflowParams.0.ParamKey abc \
20
+ --WorkflowParams.0.ParamValue abc \
21
+ --GeneralTaskParams.0.Type abc \
22
+ --GeneralTaskParams.0.Value abc
23
+ ```
24
+
25
+ Output:
26
+ ```
27
+ {
28
+ "Response": {
29
+ "Data": true,
30
+ "RequestId": "abc"
31
+ }
32
+ }
33
+ ```
34
+
@@ -0,0 +1,24 @@
1
+ **Example 1: 成功示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli wedata UploadAdvanceRunParams --cli-unfold-argument \
9
+ --ProjectId 1 \
10
+ --RemotePath /datastudio/project/1/chengg_test/test_sql.sql \
11
+ --AdvanceRunParam eyJhIjoiMSJ9
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "97dcb306-17d4-4d64-a5ea-d1648365691d",
19
+ "Result": true,
20
+ "Data": null
21
+ }
22
+ }
23
+ ```
24
+
@@ -0,0 +1,51 @@
1
+ **Example 1: 示例1**
2
+
3
+ demo_3.csv 文件已经存在,生成了新的文件名,上传时使用新的文件名
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli wedata UploadFilesDs --cli-unfold-argument \
9
+ --ProjectId 1460947878944567296 \
10
+ --FileNames demo_3.csv demo_4.csv demo_5.csv \
11
+ --OriginDomain
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "Data": {
19
+ "BucketName": "wedata-fusion-dev-1257305158",
20
+ "BucketRegion": "ap-nanjing",
21
+ "FileExpireTime": -1,
22
+ "FileMappings": [
23
+ {
24
+ "AbsoluteTargetFilePath": "/datastudio/tmp/import/1460947878944567296/demo_5.csv",
25
+ "OriginFileName": "demo_5.csv",
26
+ "TargetFileName": "demo_5.csv"
27
+ },
28
+ {
29
+ "AbsoluteTargetFilePath": "/datastudio/tmp/import/1460947878944567296/demo_4.csv",
30
+ "OriginFileName": "demo_4.csv",
31
+ "TargetFileName": "demo_4.csv"
32
+ },
33
+ {
34
+ "AbsoluteTargetFilePath": "/datastudio/tmp/import/1460947878944567296/demo_3_269989484935.csv",
35
+ "OriginFileName": "demo_3.csv",
36
+ "TargetFileName": "demo_3_269989484935.csv"
37
+ }
38
+ ],
39
+ "SecretId": "AKIDf31QcTcNY1Wv4lKpx567890",
40
+ "SecretKey": "12u32bi+f/Efo3xCBtxqIPQ7890",
41
+ "ShareStorageEndPoint": "service.cos.myqcloud.com",
42
+ "ShareStorageType": "COS",
43
+ "Token": "35A7Jdz9uwbijSzVBYYZKcgpOFn1yBDa6928bbdd4a9412f0e3a6f6cf8372a346G_cfFo-D8aDzgnLMh2krQH5B39nlTnrxD4",
44
+ "TokenCreateTime": 1687509957,
45
+ "TokenExpiredTime": 1687517157
46
+ },
47
+ "RequestId": "51d424e8-8da8-4f32-9cf1-aca230d571f7"
48
+ }
49
+ }
50
+ ```
51
+
@@ -0,0 +1,53 @@
1
+ **Example 1: 资源上传接口示例**
2
+
3
+ 资源上传
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli wedata UploadResource --cli-unfold-argument \
9
+ --UploadResourceRequestInfo.ProjectId abc \
10
+ --UploadResourceRequestInfo.FileList abc \
11
+ --UploadResourceRequestInfo.FilePath abc \
12
+ --UploadResourceRequestInfo.BucketName abc \
13
+ --UploadResourceRequestInfo.Region abc \
14
+ --UploadResourceRequestInfo.NewFile True \
15
+ --UploadResourceRequestInfo.FileSizeList abc
16
+ ```
17
+
18
+ Output:
19
+ ```
20
+ {
21
+ "Response": {
22
+ "Data": [
23
+ {
24
+ "ResourceId": "abc",
25
+ "FileName": "abc",
26
+ "FileExtensionType": "abc",
27
+ "Type": "abc",
28
+ "Md5Value": "abc",
29
+ "CreateTime": "abc",
30
+ "UpdateTime": "abc",
31
+ "Size": 1,
32
+ "LocalPath": "abc",
33
+ "LocalTempPath": "abc",
34
+ "RemotePath": "abc",
35
+ "OwnerName": "abc",
36
+ "Owner": "abc",
37
+ "PathDepth": "abc",
38
+ "ProjectId": "abc",
39
+ "ExtraInfo": "abc",
40
+ "ZipPath": "abc",
41
+ "Bucket": "abc",
42
+ "Region": "abc",
43
+ "DeleteName": "abc",
44
+ "DeleteOwner": "abc",
45
+ "Operator": "abc",
46
+ "OperatorName": "abc"
47
+ }
48
+ ],
49
+ "RequestId": "abc"
50
+ }
51
+ }
52
+ ```
53
+
@@ -587,6 +587,9 @@ SERVICE_VERSIONS = {
587
587
  "sts": [
588
588
  "2018-08-13"
589
589
  ],
590
+ "svp": [
591
+ "2024-01-25"
592
+ ],
590
593
  "taf": [
591
594
  "2020-02-10"
592
595
  ],
@@ -10082,7 +10082,7 @@
10082
10082
  },
10083
10083
  {
10084
10084
  "disabled": false,
10085
- "document": "API 的前端请求类型,如 HTTP 或 HTTPS 或者 HTTP 和 HTTPS",
10085
+ "document": "API 的前端请求类型,如 HTTP 或 HTTPS 或者 HTTP 和 HTTPS。修改api时推荐必填",
10086
10086
  "example": "HTTP",
10087
10087
  "member": "string",
10088
10088
  "name": "Protocol",
@@ -29,9 +29,9 @@
29
29
  "status": "online"
30
30
  },
31
31
  "CreateCCCSkillGroup": {
32
- "document": "创建技能组",
32
+ "document": "新建技能组",
33
33
  "input": "CreateCCCSkillGroupRequest",
34
- "name": "创建技能组",
34
+ "name": "新建技能组",
35
35
  "output": "CreateCCCSkillGroupResponse",
36
36
  "status": "online"
37
37
  },
@@ -1102,7 +1102,7 @@
1102
1102
  "example": "10",
1103
1103
  "member": "int64",
1104
1104
  "name": "SkillGroupId",
1105
- "required": true,
1105
+ "output_required": true,
1106
1106
  "type": "int",
1107
1107
  "value_allowed_null": false
1108
1108
  },
@@ -1669,6 +1669,7 @@
1669
1669
  "example": "1",
1670
1670
  "member": "uint64",
1671
1671
  "name": "TotalCount",
1672
+ "output_required": true,
1672
1673
  "type": "int",
1673
1674
  "value_allowed_null": false
1674
1675
  },
@@ -1678,6 +1679,7 @@
1678
1679
  "example": "[]",
1679
1680
  "member": "ActiveCarrierPrivilegeNumber",
1680
1681
  "name": "ActiveCarrierPrivilegeNumbers",
1682
+ "output_required": true,
1681
1683
  "type": "list",
1682
1684
  "value_allowed_null": false
1683
1685
  },
@@ -1687,6 +1689,7 @@
1687
1689
  "example": "[]",
1688
1690
  "member": "uint64",
1689
1691
  "name": "PendingApplicantIds",
1692
+ "output_required": true,
1690
1693
  "type": "list",
1691
1694
  "value_allowed_null": false
1692
1695
  },
@@ -1904,7 +1907,7 @@
1904
1907
  "example": "10",
1905
1908
  "member": "int64",
1906
1909
  "name": "TotalCount",
1907
- "required": true,
1910
+ "output_required": true,
1908
1911
  "type": "int",
1909
1912
  "value_allowed_null": false
1910
1913
  },
@@ -1914,7 +1917,7 @@
1914
1917
  "example": "[]",
1915
1918
  "member": "SdkAppIdBuyInfo",
1916
1919
  "name": "SdkAppIdBuyList",
1917
- "required": true,
1920
+ "output_required": true,
1918
1921
  "type": "list",
1919
1922
  "value_allowed_null": false
1920
1923
  },
@@ -1924,7 +1927,7 @@
1924
1927
  "example": "[]",
1925
1928
  "member": "PackageBuyInfo",
1926
1929
  "name": "PackageBuyList",
1927
- "required": true,
1930
+ "output_required": true,
1928
1931
  "type": "list",
1929
1932
  "value_allowed_null": false
1930
1933
  },
@@ -2239,7 +2242,7 @@
2239
2242
  "example": "1001",
2240
2243
  "member": "string",
2241
2244
  "name": "ExtensionId",
2242
- "required": true,
2245
+ "output_required": true,
2243
2246
  "type": "string",
2244
2247
  "value_allowed_null": false
2245
2248
  },
@@ -2249,7 +2252,7 @@
2249
2252
  "example": "14000000.tccc.qcloud.com",
2250
2253
  "member": "string",
2251
2254
  "name": "ExtensionDomain",
2252
- "required": true,
2255
+ "output_required": true,
2253
2256
  "type": "string",
2254
2257
  "value_allowed_null": false
2255
2258
  },
@@ -2259,7 +2262,7 @@
2259
2262
  "example": "xxxxx",
2260
2263
  "member": "string",
2261
2264
  "name": "Password",
2262
- "required": true,
2265
+ "output_required": true,
2263
2266
  "type": "string",
2264
2267
  "value_allowed_null": false
2265
2268
  },
@@ -2269,7 +2272,7 @@
2269
2272
  "example": "sip.tcc.qcloud.com",
2270
2273
  "member": "string",
2271
2274
  "name": "OutboundProxy",
2272
- "required": true,
2275
+ "output_required": true,
2273
2276
  "type": "string",
2274
2277
  "value_allowed_null": false
2275
2278
  },
@@ -2279,7 +2282,7 @@
2279
2282
  "example": "tls",
2280
2283
  "member": "string",
2281
2284
  "name": "Transport",
2282
- "required": true,
2285
+ "output_required": true,
2283
2286
  "type": "string",
2284
2287
  "value_allowed_null": false
2285
2288
  },
@@ -4492,7 +4495,7 @@
4492
4495
  "example": "xxxx",
4493
4496
  "member": "string",
4494
4497
  "name": "Password",
4495
- "required": true,
4498
+ "output_required": true,
4496
4499
  "type": "string",
4497
4500
  "value_allowed_null": false
4498
4501
  },
@@ -3,7 +3,7 @@
3
3
  "BindNumberCallOutSkillGroup": [
4
4
  {
5
5
  "document": "绑定号码和技能组",
6
- "input": "{\n\"Number\":\"0086075512345678\",\n\"SkillGroupIds\": [1,2,3],\n\"SdkAppId\": 1400000000\n}",
6
+ "input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindNumberCallOutSkillGroup\n<公共请求参数>\n\n{\n \"Number\": \"0086075512345678\",\n \"SkillGroupIds\": [\n 1,\n 2,\n 3\n ],\n \"SdkAppId\": 1400000000\n}",
7
7
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
8
8
  "title": "绑定号码和技能组"
9
9
  }
@@ -107,8 +107,8 @@
107
107
  "DescribeActiveCarrierPrivilegeNumber": [
108
108
  {
109
109
  "document": "查询生效的白名单规则",
110
- "input": "{\n \"SdkAppId\": 1400000000\n}",
111
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ActiveCarrierPrivilegeNumbers\": [\n {\n \"SdkAppId\": 140000000,\n \"Caller\": \"00860101234\",\n \"Callee\": \"008618612341234\"\n }\n ],\n \"PendingApplicantIds\": [\n 1,\n 2\n ],\n \"RequestId\": \"xxxxX\"\n }\n}",
110
+ "input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeActiveCarrierPrivilegeNumber\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000000\n}",
111
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ActiveCarrierPrivilegeNumbers\": [\n {\n \"SdkAppId\": 1,\n \"Caller\": \"abc\",\n \"Callee\": \"abc\",\n \"CreateTime\": 0\n }\n ],\n \"PendingApplicantIds\": [\n 1\n ],\n \"RequestId\": \"abc\"\n }\n}",
112
112
  "title": "查询生效的白名单规则"
113
113
  }
114
114
  ],
@@ -132,7 +132,7 @@
132
132
  {
133
133
  "document": "",
134
134
  "input": "https://ccc.tencentcloudapi.com/?Action=DescribeCCCBuyInfoList\n&SdkAppIds.0=1400000000\n&<公共请求参数>",
135
- "output": "{\n \"Response\": {\n \"RequestId\": \"5ac74e13-ef15-41a6-9639-f1bc8c9896bd\",\n \"TotalCount\": 602,\n \"SdkAppIdBuyList\": [\n {\n \"SdkAppId\": 1400000000,\n \"Name\": \"xiao\",\n \"StaffBuyNum\": 2,\n \"StaffBuyList\": [\n {\n \"Num\": 50,\n \"BuyTime\": 1613988825,\n \"EndTime\": 1623988825\n },\n {\n \"Num\": 10,\n \"BuyTime\": 1623988825,\n \"EndTime\": 1624988825\n }\n ],\n \"PhoneNumBuyList\": [\n {\n \"PhoneNum\": \"86020111111\",\n \"Type\": 1,\n \"CallType\": 1,\n \"State\": 1,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825\n },\n {\n \"PhoneNum\": \"86020111112\",\n \"Type\": 1,\n \"CallType\": 1,\n \"State\": 1,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825\n }\n ]\n }\n ],\n \"PackageBuyList\": [\n {\n \"PackageId\": \"1001\",\n \"Type\": 1,\n \"CapacitySize\": 10000,\n \"CapacityRemain\": 189,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825\n },\n {\n \"PackageId\": \"2001\",\n \"Type\": 1,\n \"CapacitySize\": 10000,\n \"CapacityRemain\": 189,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825\n }\n ]\n }\n}",
135
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SdkAppIdBuyList\": [\n {\n \"SdkAppId\": 1400000000,\n \"Name\": \"abc\",\n \"StaffBuyNum\": 0,\n \"StaffBuyList\": [\n {\n \"Num\": 0,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825,\n \"SipNum\": 0\n }\n ],\n \"PhoneNumBuyList\": [\n {\n \"PhoneNum\": \"abc\",\n \"Type\": 0,\n \"CallType\": 0,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825,\n \"State\": 0\n }\n ],\n \"SipBuyNum\": 0\n }\n ],\n \"PackageBuyList\": [\n {\n \"PackageId\": \"abc\",\n \"Type\": 0,\n \"CapacitySize\": 0,\n \"CapacityRemain\": 0,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
136
136
  "title": "获取用户购买信息列表示例"
137
137
  }
138
138
  ],
@@ -315,7 +315,7 @@
315
315
  "UnbindNumberCallOutSkillGroup": [
316
316
  {
317
317
  "document": "解绑号码外呼技能组",
318
- "input": "{\n\"Number\":\"0086075512345678\",\n\"SkillGroupIds\": [1,2,3],\n\"SdkAppId\": 1400000000\n}",
318
+ "input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindNumberCallOutSkillGroup\n<公共请求参数>\n\n{\n \"Number\": \"0086075512345678\",\n \"SkillGroupIds\": [\n 1,\n 2,\n 3\n ],\n \"SdkAppId\": 1400000000\n}",
319
319
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
320
320
  "title": "解绑号码外呼技能组"
321
321
  }
@@ -6309,6 +6309,58 @@ def doModifyAccountPassword(args, parsed_globals):
6309
6309
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6310
6310
 
6311
6311
 
6312
+ def doDescribeInstanceAlarmEvents(args, parsed_globals):
6313
+ g_param = parse_global_arg(parsed_globals)
6314
+
6315
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6316
+ cred = credential.CVMRoleCredential()
6317
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6318
+ cred = credential.STSAssumeRoleCredential(
6319
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6320
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6321
+ )
6322
+ 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):
6323
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6324
+ else:
6325
+ cred = credential.Credential(
6326
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6327
+ )
6328
+ http_profile = HttpProfile(
6329
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6330
+ reqMethod="POST",
6331
+ endpoint=g_param[OptionsDefine.Endpoint],
6332
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6333
+ )
6334
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6335
+ if g_param[OptionsDefine.Language]:
6336
+ profile.language = g_param[OptionsDefine.Language]
6337
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6338
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
6339
+ client._sdkVersion += ("_CLI_" + __version__)
6340
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6341
+ model = models.DescribeInstanceAlarmEventsRequest()
6342
+ model.from_json_string(json.dumps(args))
6343
+ start_time = time.time()
6344
+ while True:
6345
+ rsp = client.DescribeInstanceAlarmEvents(model)
6346
+ result = rsp.to_json_string()
6347
+ try:
6348
+ json_obj = json.loads(result)
6349
+ except TypeError as e:
6350
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6351
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6352
+ break
6353
+ cur_time = time.time()
6354
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6355
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6356
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6357
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6358
+ else:
6359
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6360
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6361
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6362
+
6363
+
6312
6364
  def doDescribeUploadedFiles(args, parsed_globals):
6313
6365
  g_param = parse_global_arg(parsed_globals)
6314
6366
 
@@ -8365,6 +8417,7 @@ ACTION_MAP = {
8365
8417
  "ResetRootAccount": doResetRootAccount,
8366
8418
  "ModifyAuditRuleTemplates": doModifyAuditRuleTemplates,
8367
8419
  "ModifyAccountPassword": doModifyAccountPassword,
8420
+ "DescribeInstanceAlarmEvents": doDescribeInstanceAlarmEvents,
8368
8421
  "DescribeUploadedFiles": doDescribeUploadedFiles,
8369
8422
  "ModifyAccountDescription": doModifyAccountDescription,
8370
8423
  "DescribeSlowLogData": doDescribeSlowLogData,
@@ -463,7 +463,7 @@
463
463
  "status": "online"
464
464
  },
465
465
  "DescribeDBInstanceLogToCLS": {
466
- "document": "本接口(DescribeDBInstanceLogToCLS)用于查询实例慢日志、错误日志投递CLS的配置,通过appId、Region以及实例ID过滤出当前实例日志投递CLS的配置。",
466
+ "document": "本接口(DescribeDBInstanceLogToCLS)用于查询实例慢日志、错误日志投递CLS的配置,通过AppId、Region以及实例ID过滤出当前实例日志投递CLS的配置。",
467
467
  "input": "DescribeDBInstanceLogToCLSRequest",
468
468
  "name": "查询实例日志投递CLS的配置",
469
469
  "output": "DescribeDBInstanceLogToCLSResponse",
@@ -546,6 +546,13 @@
546
546
  "output": "DescribeErrorLogDataResponse",
547
547
  "status": "online"
548
548
  },
549
+ "DescribeInstanceAlarmEvents": {
550
+ "document": "查询实例发生的事件信息",
551
+ "input": "DescribeInstanceAlarmEventsRequest",
552
+ "name": "查询实例发生的事件信息",
553
+ "output": "DescribeInstanceAlarmEventsResponse",
554
+ "status": "online"
555
+ },
549
556
  "DescribeInstanceParamRecords": {
550
557
  "document": "该接口(DescribeInstanceParamRecords)用于查询实例参数修改历史。",
551
558
  "input": "DescribeInstanceParamRecordsRequest",
@@ -9059,6 +9066,15 @@
9059
9066
  "name": "InstanceId",
9060
9067
  "required": true,
9061
9068
  "type": "string"
9069
+ },
9070
+ {
9071
+ "disabled": false,
9072
+ "document": "CLS服务所在地域",
9073
+ "example": "ap-guangzhou",
9074
+ "member": "string",
9075
+ "name": "ClsRegion",
9076
+ "required": false,
9077
+ "type": "string"
9062
9078
  }
9063
9079
  ],
9064
9080
  "type": "object"
@@ -10313,6 +10329,23 @@
10313
10329
  ],
10314
10330
  "type": "object"
10315
10331
  },
10332
+ "DescribeInstanceAlarmEventsRequest": {
10333
+ "document": "DescribeInstanceAlarmEvents请求参数结构体",
10334
+ "members": [],
10335
+ "type": "object"
10336
+ },
10337
+ "DescribeInstanceAlarmEventsResponse": {
10338
+ "document": "DescribeInstanceAlarmEvents返回参数结构体",
10339
+ "members": [
10340
+ {
10341
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
10342
+ "member": "string",
10343
+ "name": "RequestId",
10344
+ "type": "string"
10345
+ }
10346
+ ],
10347
+ "type": "object"
10348
+ },
10316
10349
  "DescribeInstanceParamRecordsRequest": {
10317
10350
  "document": "DescribeInstanceParamRecords请求参数结构体",
10318
10351
  "members": [
@@ -13489,6 +13522,16 @@
13489
13522
  "output_required": false,
13490
13523
  "type": "string",
13491
13524
  "value_allowed_null": true
13525
+ },
13526
+ {
13527
+ "disabled": false,
13528
+ "document": "CLS服务所在地域\n注意:此字段可能返回 null,表示取不到有效值。",
13529
+ "example": "ap-guangzhou",
13530
+ "member": "string",
13531
+ "name": "ClsRegion",
13532
+ "output_required": false,
13533
+ "type": "string",
13534
+ "value_allowed_null": true
13492
13535
  }
13493
13536
  ],
13494
13537
  "usage": "out"
@@ -14778,7 +14821,7 @@
14778
14821
  },
14779
14822
  {
14780
14823
  "disabled": false,
14781
- "document": "日志类型:error/slowLog",
14824
+ "document": "日志类型:error/slowlog",
14782
14825
  "example": "error",
14783
14826
  "member": "string",
14784
14827
  "name": "LogType",
@@ -14847,6 +14890,15 @@
14847
14890
  "name": "CreateIndex",
14848
14891
  "required": false,
14849
14892
  "type": "bool"
14893
+ },
14894
+ {
14895
+ "disabled": false,
14896
+ "document": "CLS所在地域",
14897
+ "example": "ap-guangzhou",
14898
+ "member": "string",
14899
+ "name": "ClsRegion",
14900
+ "required": false,
14901
+ "type": "string"
14850
14902
  }
14851
14903
  ],
14852
14904
  "type": "object"
@@ -666,6 +666,14 @@
666
666
  "title": "查询实例错误日志"
667
667
  }
668
668
  ],
669
+ "DescribeInstanceAlarmEvents": [
670
+ {
671
+ "document": "",
672
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceAlarmEvents\n<公共请求参数>\n\n{}",
673
+ "output": "{\n \"Response\": {\n \"RequestId\": \"mnksadas-cb0d-4943-9b17-c3306ed3d\"\n }\n}",
674
+ "title": "查询实例事件信息"
675
+ }
676
+ ],
669
677
  "DescribeInstanceParamRecords": [
670
678
  {
671
679
  "document": "",
@@ -997,7 +1005,7 @@
997
1005
  "ModifyDBInstanceLogToCLS": [
998
1006
  {
999
1007
  "document": "CDB实例慢日志、错误日志投递到CLS",
1000
- "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceLogToCLS\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-ewa3b\",\n \"LogType\": \"errorLog\",\n \"Status\": \"ON\",\n \"CreateLogset\": true,\n \"Logset\": \"sub_fyrtjbqw\",\n \"CreateLogTopic\": true,\n \"LogTopic\": \"my_test\",\n \"Period\": \"1\",\n \"CreateIndex\": true\n}",
1008
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceLogToCLS\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-ewa3b\",\n \"LogType\": \"error\",\n \"Status\": \"ON\",\n \"CreateLogset\": true,\n \"Logset\": \"sub_fyrtjbqw\",\n \"CreateLogTopic\": true,\n \"LogTopic\": \"my_test\",\n \"Period\": \"1\",\n \"CreateIndex\": true\n}",
1001
1009
  "output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
1002
1010
  "title": "开启或关闭CDB日志投递CLS"
1003
1011
  }
@@ -2956,6 +2956,36 @@
2956
2956
  "output_required": false,
2957
2957
  "type": "int",
2958
2958
  "value_allowed_null": true
2959
+ },
2960
+ {
2961
+ "disabled": false,
2962
+ "document": "ResultBytes的MB格式\n注意:此字段可能返回 null,表示取不到有效值。",
2963
+ "example": "3.415",
2964
+ "member": "float",
2965
+ "name": "ResultBytesMB",
2966
+ "output_required": false,
2967
+ "type": "float",
2968
+ "value_allowed_null": true
2969
+ },
2970
+ {
2971
+ "disabled": false,
2972
+ "document": "MemoryUsage的MB表示\n注意:此字段可能返回 null,表示取不到有效值。",
2973
+ "example": "99.863",
2974
+ "member": "float",
2975
+ "name": "MemoryUsageMB",
2976
+ "output_required": false,
2977
+ "type": "float",
2978
+ "value_allowed_null": true
2979
+ },
2980
+ {
2981
+ "disabled": false,
2982
+ "document": "DurationMs的秒表示\n注意:此字段可能返回 null,表示取不到有效值。",
2983
+ "example": "0.361",
2984
+ "member": "float",
2985
+ "name": "DurationSec",
2986
+ "output_required": false,
2987
+ "type": "float",
2988
+ "value_allowed_null": true
2959
2989
  }
2960
2990
  ],
2961
2991
  "usage": "out"