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.
- tccli/__init__.py +1 -1
- tccli/examples/ccc/v20200210/BindNumberCallOutSkillGroup.md +5 -1
- tccli/examples/ccc/v20200210/DescribeActiveCarrierPrivilegeNumber.md +9 -7
- tccli/examples/ccc/v20200210/DescribeCCCBuyInfoList.md +19 -38
- tccli/examples/ccc/v20200210/UnbindNumberCallOutSkillGroup.md +5 -1
- tccli/examples/cdb/v20170320/DescribeInstanceAlarmEvents.md +18 -0
- tccli/examples/cdb/v20170320/ModifyDBInstanceLogToCLS.md +1 -1
- tccli/examples/cfw/v20190904/AddVpcAcRule.md +1 -1
- tccli/examples/cfw/v20190904/DescribeBlockIgnoreList.md +22 -2
- tccli/examples/cynosdb/v20190107/DescribeAuditInstanceList.md +51 -0
- tccli/examples/ess/v20201111/CreateFlow.md +22 -33
- tccli/examples/ess/v20201111/CreateFlowByFiles.md +0 -76
- tccli/examples/ess/v20201111/ModifyFlowDeadline.md +99 -0
- tccli/examples/ess/v20201111/StartFlow.md +6 -6
- tccli/examples/essbasic/v20210526/ChannelCreateFlowSignReview.md +8 -7
- tccli/examples/essbasic/v20210526/CreateFlowsByTemplates.md +208 -74
- tccli/examples/essbasic/v20210526/ModifyFlowDeadline.md +111 -0
- tccli/examples/iotvideo/v20211125/DescribeDevicePackages.md +1 -0
- tccli/examples/iss/v20230517/DescribeVideoDownloadUrl.md +4 -4
- tccli/examples/mongodb/v20190725/DescribeDBInstances.md +2 -1
- tccli/examples/mongodb/v20190725/ModifyDBInstanceSpec.md +64 -0
- tccli/examples/ocr/v20181119/RecognizeEncryptedIDCardOCR.md +48 -0
- tccli/examples/postgres/v20170312/ModifyDBInstanceSpec.md +1 -1
- tccli/examples/ssl/v20191205/DeleteCertificate.md +23 -0
- tccli/examples/svp/v20240125/CreateSavingPlanOrder.md +29 -0
- tccli/examples/tag/v20180813/DescribeProjects.md +2 -2
- tccli/examples/teo/v20220901/CreateL4Proxy.md +47 -0
- tccli/examples/teo/v20220901/CreateL4ProxyRules.md +33 -0
- tccli/examples/teo/v20220901/DeleteL4Proxy.md +21 -0
- tccli/examples/teo/v20220901/DeleteL4ProxyRules.md +22 -0
- tccli/examples/teo/v20220901/DescribeBillingData.md +102 -14
- tccli/examples/teo/v20220901/DescribeL4Proxy.md +38 -0
- tccli/examples/teo/v20220901/DescribeL4ProxyRules.md +43 -0
- tccli/examples/teo/v20220901/ModifyL4Proxy.md +22 -0
- tccli/examples/teo/v20220901/ModifyL4ProxyRules.md +25 -0
- tccli/examples/teo/v20220901/ModifyL4ProxyRulesStatus.md +23 -0
- tccli/examples/teo/v20220901/ModifyL4ProxyStatus.md +22 -0
- tccli/examples/tione/v20211111/CreateBatchTask.md +1 -5
- tccli/examples/tione/v20211111/DeleteBatchTask.md +1 -1
- tccli/examples/tione/v20211111/DescribeBatchTask.md +101 -105
- tccli/examples/tione/v20211111/DescribeBatchTaskInstances.md +8 -6
- tccli/examples/tione/v20211111/DescribeBatchTasks.md +44 -75
- tccli/examples/tione/v20211111/StopBatchTask.md +2 -2
- tccli/examples/trtc/v20190722/DescribeStreamIngest.md +1 -1
- tccli/examples/trtc/v20190722/StartStreamIngest.md +2 -2
- tccli/examples/trtc/v20190722/StopStreamIngest.md +1 -1
- tccli/examples/waf/v20180125/AddAttackWhiteRule.md +7 -7
- tccli/examples/waf/v20180125/DeleteHost.md +4 -2
- tccli/examples/waf/v20180125/DescribeCertificateVerifyResult.md +5 -5
- tccli/examples/waf/v20180125/DescribeUserDomainInfo.md +13 -471
- tccli/examples/waf/v20180125/ModifyAttackWhiteRule.md +6 -6
- tccli/examples/waf/v20180125/ModifyDomainPostAction.md +22 -0
- tccli/examples/waf/v20180125/ModifyHost.md +1 -1
- tccli/examples/waf/v20180125/ModifyHostFlowMode.md +1 -1
- tccli/examples/waf/v20180125/ModifyObject.md +5 -3
- tccli/examples/wedata/v20210820/AcquireLock.md +80 -0
- tccli/examples/wedata/v20210820/AnalyzeDependentTasks.md +33 -0
- tccli/examples/wedata/v20210820/BatchCreateTaskVersionAsync.md +57 -0
- tccli/examples/wedata/v20210820/BatchCreateTaskVersionDs.md +249 -4
- tccli/examples/wedata/v20210820/BatchCreateVirtualTaskDs.md +64 -0
- tccli/examples/wedata/v20210820/BatchDeleteTasksDsAsync.md +51 -0
- tccli/examples/wedata/v20210820/BatchRunTasksDs.md +27 -0
- tccli/examples/wedata/v20210820/BatchUpdateTasksDs.md +620 -0
- tccli/examples/wedata/v20210820/CheckCustomFunctionPremise.md +24 -0
- tccli/examples/wedata/v20210820/CheckTaskNameExistDs.md +27 -0
- tccli/examples/wedata/v20210820/CheckTaskPriorityDs.md +23 -0
- tccli/examples/wedata/v20210820/ClearRecycleTask.md +21 -0
- tccli/examples/wedata/v20210820/CommitWorkflow.md +26 -0
- tccli/examples/wedata/v20210820/CompareDsTaskVersionInfo.md +695 -0
- tccli/examples/wedata/v20210820/CopyTaskDs.md +51 -0
- tccli/examples/wedata/v20210820/CopyWorkflowDs.md +25 -0
- tccli/examples/wedata/v20210820/CreateBrowsingHistory.md +28 -0
- tccli/examples/wedata/v20210820/CreateFileVersion.md +34 -0
- tccli/examples/wedata/v20210820/CreateLink.md +24 -0
- tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +6 -6
- tccli/examples/wedata/v20210820/CreatePath.md +23 -0
- tccli/examples/wedata/v20210820/CreateProjectParamDs.md +36 -0
- tccli/examples/wedata/v20210820/CreateResourceDirectory.md +23 -0
- tccli/examples/wedata/v20210820/CreateResourcePath.md +1 -1
- tccli/examples/wedata/v20210820/CreateScriptsImportTasksDs.md +628 -0
- tccli/examples/wedata/v20210820/CreateTaskDs.md +50 -0
- tccli/examples/wedata/v20210820/CreateTaskFolder.md +24 -0
- tccli/examples/wedata/v20210820/CreateTaskInParamDs.md +29 -0
- tccli/examples/wedata/v20210820/CreateTaskOutParamDs.md +28 -0
- tccli/examples/wedata/v20210820/CreateTaskOutputRegistries.md +48 -0
- tccli/examples/wedata/v20210820/CreateTaskOutputRegistry.md +47 -0
- tccli/examples/wedata/v20210820/CreateTaskParamDs.md +27 -0
- tccli/examples/wedata/v20210820/CreateWorkflowDs.md +23 -0
- tccli/examples/wedata/v20210820/DeleteBatchWorkflowDs.md +26 -0
- tccli/examples/wedata/v20210820/DeleteCustomFunction.md +2 -2
- tccli/examples/wedata/v20210820/DeleteDsEvent.md +32 -0
- tccli/examples/wedata/v20210820/DeleteDsEventListener.md +25 -0
- tccli/examples/wedata/v20210820/DeleteDsEventPublisher.md +23 -0
- tccli/examples/wedata/v20210820/DeleteEventListenerByTaskId.md +25 -0
- tccli/examples/wedata/v20210820/DeleteLink.md +25 -0
- tccli/examples/wedata/v20210820/DeleteProjectParamVersionDs.md +23 -0
- tccli/examples/wedata/v20210820/DeleteRecordList.md +21 -0
- tccli/examples/wedata/v20210820/DeleteRecycleTask.md +21 -0
- tccli/examples/wedata/v20210820/DeleteResource.md +1 -1
- tccli/examples/wedata/v20210820/DeleteResourcePath.md +22 -0
- tccli/examples/wedata/v20210820/DeleteTaskFolder.md +23 -0
- tccli/examples/wedata/v20210820/DeleteTaskInParamDs.md +23 -0
- tccli/examples/wedata/v20210820/DeleteTaskOutParamDs.md +23 -0
- tccli/examples/wedata/v20210820/DeleteTaskOutputRegistry.md +46 -0
- tccli/examples/wedata/v20210820/DescribeAllParamDs.md +38 -0
- tccli/examples/wedata/v20210820/DescribeBatchTestRun.md +30 -0
- tccli/examples/wedata/v20210820/DescribeBrowsingHistories.md +31 -0
- tccli/examples/wedata/v20210820/DescribeChildrenDs.md +661 -0
- tccli/examples/wedata/v20210820/DescribeChildrenPathTrees.md +177 -0
- tccli/examples/wedata/v20210820/DescribeCodeDetail.md +33 -0
- tccli/examples/wedata/v20210820/DescribeCodeDetailV2.md +34 -0
- tccli/examples/wedata/v20210820/DescribeCodeSearchAuditInfo.md +98 -0
- tccli/examples/wedata/v20210820/DescribeCodeSearchAuditInfoV2.md +36 -0
- tccli/examples/wedata/v20210820/DescribeCodeSearchCount.md +28 -0
- tccli/examples/wedata/v20210820/DescribeCodeSearchInfo.md +51 -0
- tccli/examples/wedata/v20210820/DescribeCodeSearchInfoV2.md +65 -0
- tccli/examples/wedata/v20210820/DescribeCrontabTopNDs.md +25 -0
- tccli/examples/wedata/v20210820/DescribeCustomFunctionVersionList.md +33 -0
- tccli/examples/wedata/v20210820/DescribeDataDevelopTaskType.md +78 -0
- tccli/examples/wedata/v20210820/DescribeDataTableImportProgress.md +37 -0
- tccli/examples/wedata/v20210820/DescribeDependTasksDevDs.md +72 -0
- tccli/examples/wedata/v20210820/DescribeDependencyTasksForProjectClone.md +67 -0
- tccli/examples/wedata/v20210820/DescribeDependencyWorkflowForProjectClone.md +38 -0
- tccli/examples/wedata/v20210820/DescribeDevelopmentSpaceSupportType.md +24 -0
- tccli/examples/wedata/v20210820/DescribeDsEvent.md +106 -0
- tccli/examples/wedata/v20210820/DescribeDsEventDetail.md +58 -0
- tccli/examples/wedata/v20210820/DescribeDsEventListener.md +34 -0
- tccli/examples/wedata/v20210820/DescribeDsEventListenerList.md +34 -0
- tccli/examples/wedata/v20210820/DescribeDsEventPublisher.md +33 -0
- tccli/examples/wedata/v20210820/DescribeDsEventPublisherList.md +34 -0
- tccli/examples/wedata/v20210820/DescribeDsKettleServerFolderTree.md +54 -0
- tccli/examples/wedata/v20210820/DescribeDsLatestTaskVersionInfo.md +692 -0
- tccli/examples/wedata/v20210820/DescribeDsNotSubmitTasksAndCanRunByWorkflow.md +654 -0
- tccli/examples/wedata/v20210820/DescribeDsTaskVersionInfo.md +693 -0
- tccli/examples/wedata/v20210820/DescribeDsTaskVersionList.md +694 -0
- tccli/examples/wedata/v20210820/DescribeEtlTaskType.md +44 -0
- tccli/examples/wedata/v20210820/DescribeEventListenerByTaskId.md +25 -0
- tccli/examples/wedata/v20210820/DescribeEventListenerTask.md +27 -0
- tccli/examples/wedata/v20210820/DescribeExecutionLog.md +28 -0
- tccli/examples/wedata/v20210820/DescribeFatherDatasourceInfoDs.md +37 -0
- tccli/examples/wedata/v20210820/DescribeFileVersions.md +21 -0
- tccli/examples/wedata/v20210820/DescribeFunctionKinds.md +5 -5
- tccli/examples/wedata/v20210820/DescribeFunctionTypes.md +5 -5
- tccli/examples/wedata/v20210820/DescribeGlobalWorkflowDs.md +182 -0
- tccli/examples/wedata/v20210820/DescribeImportableOfflineTask.md +31 -0
- tccli/examples/wedata/v20210820/DescribeInfoTransByTypeIdDs.md +1031 -0
- tccli/examples/wedata/v20210820/DescribeLock.md +27 -0
- tccli/examples/wedata/v20210820/DescribeNewSqlTaskResult.md +28 -0
- tccli/examples/wedata/v20210820/DescribeOrganizationalFunctions.md +33 -29
- tccli/examples/wedata/v20210820/DescribeParentTask.md +652 -0
- tccli/examples/wedata/v20210820/DescribePathTrees.md +122 -0
- tccli/examples/wedata/v20210820/DescribeProdWorkflowCanvasInfoDs.md +36 -0
- tccli/examples/wedata/v20210820/DescribeProjectParamDs.md +38 -0
- tccli/examples/wedata/v20210820/DescribeProjectParamDsPage.md +48 -0
- tccli/examples/wedata/v20210820/DescribeProjectParamVersionDs.md +34 -0
- tccli/examples/wedata/v20210820/DescribeProjectParamVersionInfoDs.md +37 -0
- tccli/examples/wedata/v20210820/DescribeRecordList.md +50 -0
- tccli/examples/wedata/v20210820/DescribeRecycleTaskDetail.md +651 -0
- tccli/examples/wedata/v20210820/DescribeRecycleTaskList.md +62 -0
- tccli/examples/wedata/v20210820/DescribeResourceManagePathTrees.md +3 -3
- tccli/examples/wedata/v20210820/DescribeScriptsImportTaskType.md +78 -0
- tccli/examples/wedata/v20210820/DescribeSqlTaskResult.md +28 -0
- tccli/examples/wedata/v20210820/DescribeTaskBindVirtualTask.md +39 -0
- tccli/examples/wedata/v20210820/DescribeTaskDetailDs.md +653 -0
- tccli/examples/wedata/v20210820/DescribeTaskInParamDs.md +36 -0
- tccli/examples/wedata/v20210820/DescribeTaskLatestRunTime.md +49 -0
- tccli/examples/wedata/v20210820/DescribeTaskListByConditionDs.md +662 -0
- tccli/examples/wedata/v20210820/DescribeTaskOutParamDs.md +36 -0
- tccli/examples/wedata/v20210820/DescribeTaskOutputRegistries.md +35 -0
- tccli/examples/wedata/v20210820/DescribeTaskParamDs.md +63 -0
- tccli/examples/wedata/v20210820/DescribeTaskParentRunTime.md +46 -0
- tccli/examples/wedata/v20210820/DescribeTaskTypeByScriptType.md +79 -0
- tccli/examples/wedata/v20210820/DescribeTasksForProjectClone.md +74 -0
- tccli/examples/wedata/v20210820/DescribeTestRun.md +26 -0
- tccli/examples/wedata/v20210820/DescribeToken.md +19 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowByFordIds.md +668 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowCanvasInfoDs.md +272 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowCanvasOpLogs.md +61 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowCanvasOperators.md +27 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowForProjectClone.md +59 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowParamDs.md +39 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowSchedulerInfoDs.md +44 -0
- tccli/examples/wedata/v20210820/DescribeWorkflowTasksForProjectClone.md +48 -0
- tccli/examples/wedata/v20210820/DownloadNewSqlResult.md +25 -0
- tccli/examples/wedata/v20210820/DownloadSqlResult.md +25 -0
- tccli/examples/wedata/v20210820/ExportDsEvent.md +57 -0
- tccli/examples/wedata/v20210820/ExportFiles.md +24 -0
- tccli/examples/wedata/v20210820/ExportProjectParamDs.md +34 -0
- tccli/examples/wedata/v20210820/ExportWorkflowXml.md +40 -0
- tccli/examples/wedata/v20210820/ExportWorkflowZip.md +40 -0
- tccli/examples/wedata/v20210820/FindDependTaskListDs.md +654 -0
- tccli/examples/wedata/v20210820/FindDependTaskListsDs.md +654 -0
- tccli/examples/wedata/v20210820/FindFuzzyTasksDs.md +661 -0
- tccli/examples/wedata/v20210820/FindTaskByRemotePath.md +238 -0
- tccli/examples/wedata/v20210820/GetAdvanceRunParams.md +50 -0
- tccli/examples/wedata/v20210820/GetBatchDetailErrorLog.md +22 -0
- tccli/examples/wedata/v20210820/GetCosToken.md +39 -0
- tccli/examples/wedata/v20210820/GetLatestAnalyseInfo.md +32 -0
- tccli/examples/wedata/v20210820/GetLatestTestRunInfo.md +36 -0
- tccli/examples/wedata/v20210820/GetPathTrees.md +57 -0
- tccli/examples/wedata/v20210820/GetResourceCosPath.md +23 -0
- tccli/examples/wedata/v20210820/GetResourcePathTree.md +84 -0
- tccli/examples/wedata/v20210820/GetRunSonListDs.md +25 -0
- tccli/examples/wedata/v20210820/GetTestRunTaskInstancesStatusInfo.md +31 -0
- tccli/examples/wedata/v20210820/HeartBeat.md +58 -0
- tccli/examples/wedata/v20210820/ImportDsEvent.md +22 -0
- tccli/examples/wedata/v20210820/ImportFiles.md +47 -0
- tccli/examples/wedata/v20210820/ImportOfflineTask.md +26 -0
- tccli/examples/wedata/v20210820/ImportProjectParamDs.md +25 -0
- tccli/examples/wedata/v20210820/ImportTableData.md +83 -0
- tccli/examples/wedata/v20210820/ImportWorkflowXml.md +23 -0
- tccli/examples/wedata/v20210820/ImportWorkflowZip.md +22 -0
- tccli/examples/wedata/v20210820/JudgeResourceFile.md +22 -0
- tccli/examples/wedata/v20210820/JudgeTaskListenEvent.md +24 -0
- tccli/examples/wedata/v20210820/KillTasksTestRun.md +29 -0
- tccli/examples/wedata/v20210820/ListBatchDetail.md +48 -0
- tccli/examples/wedata/v20210820/ListBatchJob.md +45 -0
- tccli/examples/wedata/v20210820/ModifyTaskFolder.md +25 -0
- tccli/examples/wedata/v20210820/ModifyTaskInfoDs.md +69 -0
- tccli/examples/wedata/v20210820/ModifyTaskLinksDs.md +56 -0
- tccli/examples/wedata/v20210820/ModifyTaskScriptDs.md +49 -0
- tccli/examples/wedata/v20210820/MoveFile.md +23 -0
- tccli/examples/wedata/v20210820/MoveTasksToFolder.md +24 -0
- tccli/examples/wedata/v20210820/PreviewDataTableCsv.md +981 -0
- tccli/examples/wedata/v20210820/QueryWorkflowVersion.md +33 -0
- tccli/examples/wedata/v20210820/RegisterDsEvent.md +68 -0
- tccli/examples/wedata/v20210820/RegisterDsEventListener.md +49 -0
- tccli/examples/wedata/v20210820/RegisterDsEventPublisher.md +37 -0
- tccli/examples/wedata/v20210820/ReleaseLock.md +44 -0
- tccli/examples/wedata/v20210820/RemoveWorkflowDs.md +25 -0
- tccli/examples/wedata/v20210820/RenameFile.md +25 -0
- tccli/examples/wedata/v20210820/RenameResource.md +24 -0
- tccli/examples/wedata/v20210820/RenameResourceFile.md +29 -0
- tccli/examples/wedata/v20210820/RenameResourcePath.md +23 -0
- tccli/examples/wedata/v20210820/RenameTaskDs.md +25 -0
- tccli/examples/wedata/v20210820/RenewWorkflowDs.md +25 -0
- tccli/examples/wedata/v20210820/RenewWorkflowFolderDs.md +23 -0
- tccli/examples/wedata/v20210820/RenewWorkflowOwnerDs.md +28 -0
- tccli/examples/wedata/v20210820/RenewWorkflowSchedulerInfoDs.md +33 -0
- tccli/examples/wedata/v20210820/ReplaceProjectParamVersionDs.md +23 -0
- tccli/examples/wedata/v20210820/RestoreRecycleTask.md +28 -0
- tccli/examples/wedata/v20210820/RollbackCustomFunctionVersion.md +24 -0
- tccli/examples/wedata/v20210820/SaveCustomFunction.md +17 -17
- tccli/examples/wedata/v20210820/SavePositionsDs.md +601 -0
- tccli/examples/wedata/v20210820/ScriptUsedByOtherTaskDs.md +21 -0
- tccli/examples/wedata/v20210820/StopAdhocTask.md +66 -0
- tccli/examples/wedata/v20210820/StopTestRun.md +21 -0
- tccli/examples/wedata/v20210820/SubmitBatchTestRun.md +28 -0
- tccli/examples/wedata/v20210820/SubmitCustomFunction.md +7 -7
- tccli/examples/wedata/v20210820/SubmitIntegrationTask.md +43 -0
- tccli/examples/wedata/v20210820/SubmitPySparkTask.md +45 -0
- tccli/examples/wedata/v20210820/SubmitPythonTask.md +85 -0
- tccli/examples/wedata/v20210820/SubmitShellTask.md +85 -0
- tccli/examples/wedata/v20210820/SubmitTestRun.md +24 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskAdvancedSettings.md +113 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskDatasource.md +104 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskInCharge.md +25 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskParameter.md +58 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskParams.md +79 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskResourceGroup.md +25 -0
- tccli/examples/wedata/v20210820/UpdateBatchTaskSchedule.md +154 -0
- tccli/examples/wedata/v20210820/UpdateDsEvent.md +25 -0
- tccli/examples/wedata/v20210820/UpdateEventListener.md +27 -0
- tccli/examples/wedata/v20210820/UpdateTaskDs.md +705 -0
- tccli/examples/wedata/v20210820/UpdateWorkflowInfo.md +34 -0
- tccli/examples/wedata/v20210820/UploadAdvanceRunParams.md +24 -0
- tccli/examples/wedata/v20210820/UploadFilesDs.md +51 -0
- tccli/examples/wedata/v20210820/UploadResource.md +53 -0
- tccli/services/__init__.py +3 -0
- tccli/services/apigateway/v20180808/api.json +1 -1
- tccli/services/ccc/v20200210/api.json +15 -12
- tccli/services/ccc/v20200210/examples.json +5 -5
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +54 -2
- tccli/services/cdb/v20170320/examples.json +9 -1
- tccli/services/cdwdoris/v20211228/api.json +30 -0
- tccli/services/cfw/v20190904/api.json +277 -21
- tccli/services/cfw/v20190904/examples.json +2 -2
- tccli/services/ckafka/v20190819/api.json +2 -1
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +288 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dasb/v20191018/api.json +25 -4
- tccli/services/emr/v20190103/api.json +91 -61
- tccli/services/es/v20180416/api.json +9 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +109 -21
- tccli/services/ess/v20201111/examples.json +37 -11
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +117 -29
- tccli/services/essbasic/v20210526/examples.json +48 -16
- tccli/services/ioa/v20220601/api.json +6 -6
- tccli/services/iotvideo/v20211125/api.json +19 -0
- tccli/services/iotvideo/v20211125/examples.json +1 -1
- tccli/services/iss/v20230517/api.json +10 -10
- tccli/services/iss/v20230517/examples.json +2 -2
- tccli/services/kms/v20190118/api.json +3 -3
- tccli/services/mna/v20210119/api.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -0
- tccli/services/mongodb/v20190725/examples.json +13 -1
- tccli/services/monitor/v20180724/api.json +31 -11
- tccli/services/mps/v20190612/api.json +55 -20
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +320 -3
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/postgres/v20170312/api.json +7 -7
- tccli/services/postgres/v20170312/examples.json +2 -2
- tccli/services/redis/v20180412/api.json +42 -12
- tccli/services/rum/v20210622/api.json +2 -2
- tccli/services/scf/v20180416/api.json +9 -0
- tccli/services/ssl/v20191205/api.json +24 -4
- tccli/services/ssl/v20191205/examples.json +6 -0
- tccli/services/svp/__init__.py +4 -0
- tccli/services/svp/svp_client.py +195 -0
- tccli/services/svp/v20240125/api.json +129 -0
- tccli/services/svp/v20240125/examples.json +13 -0
- tccli/services/tag/v20180813/api.json +20 -2
- tccli/services/tag/v20180813/examples.json +1 -1
- tccli/services/teo/teo_client.py +878 -295
- tccli/services/teo/v20220901/api.json +1267 -152
- tccli/services/teo/v20220901/examples.json +94 -0
- tccli/services/tione/v20211111/api.json +130 -126
- tccli/services/tione/v20211111/examples.json +15 -15
- tccli/services/tmt/v20180321/api.json +5 -3
- tccli/services/trtc/v20190722/api.json +25 -16
- tccli/services/trtc/v20190722/examples.json +4 -4
- tccli/services/tse/v20201207/api.json +1 -1
- tccli/services/vod/v20180717/api.json +39 -1
- tccli/services/vpc/v20170312/api.json +11 -1
- tccli/services/waf/v20180125/api.json +564 -248
- tccli/services/waf/v20180125/examples.json +20 -20
- tccli/services/waf/waf_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +165 -93
- tccli/services/wedata/v20210820/examples.json +34 -16
- {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/RECORD +339 -117
- {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1051.1.dist-info → tccli-3.0.1053.1.dist-info}/entry_points.txt +0 -0
- {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
|
+
|
tccli/services/__init__.py
CHANGED
@@ -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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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\"
|
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\":
|
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 \"
|
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\"
|
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
|
}
|
tccli/services/cdb/cdb_client.py
CHANGED
@@ -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的配置,通过
|
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/
|
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\": \"
|
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"
|