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
@@ -25,8 +25,8 @@
|
|
25
25
|
"AddAttackWhiteRule": [
|
26
26
|
{
|
27
27
|
"document": "",
|
28
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddAttackWhiteRule\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Rules\": [\n {\n \"MatchField\": \"
|
29
|
-
"output": "{\n \"Response\": {\n \"RuleId\":
|
28
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddAttackWhiteRule\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Rules\": [\n {\n \"MatchField\": \"URL\",\n \"MatchContent\": \"/url\",\n \"MatchMethod\": \"eq\"\n }\n ],\n \"Domain\": \"www.testwaf.com\",\n \"SignatureIds\": [\n \"90501998\",\n \"90501999\"\n ],\n \"RuleId\": 1\n}",
|
29
|
+
"output": "{\n \"Response\": {\n \"RuleId\": 109102367,\n \"RequestId\": \"76a16020-6e13-4028-823b-b20fb33ecf44\"\n }\n}",
|
30
30
|
"title": "查询示例"
|
31
31
|
}
|
32
32
|
],
|
@@ -179,9 +179,9 @@
|
|
179
179
|
"DeleteHost": [
|
180
180
|
{
|
181
181
|
"document": "",
|
182
|
-
"input": "
|
182
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHost\n<公共请求参数>\n\n{\n \"HostsDel\": [\n {\n \"Domain\": \"test.clb.qcloud.com\",\n \"DomainId\": \"waf-n7GFuVNJ\",\n \"InstanceID\": \"waf_2kuil2fm02vqm7z3\"\n }\n ]\n}",
|
183
183
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
184
|
-
"title": "
|
184
|
+
"title": "删除负载均衡型WAF防护域名"
|
185
185
|
}
|
186
186
|
],
|
187
187
|
"DeleteIpAccessControl": [
|
@@ -200,14 +200,6 @@
|
|
200
200
|
"title": "Waf 会话定义 Delete接口"
|
201
201
|
}
|
202
202
|
],
|
203
|
-
"DeleteSpartaProtection": [
|
204
|
-
{
|
205
|
-
"document": "",
|
206
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DeleteSpartaProtection\n&Edition=sparta-waf\n&Domains.0=www.test.com\n&<公共请求参数>",
|
207
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"afa27f36-13f0-4c2c-b36b-bc70e79b4896\"\n }\n}",
|
208
|
-
"title": "Saas型WAF删除防护域名"
|
209
|
-
}
|
210
|
-
],
|
211
203
|
"DescribeAccessExports": [
|
212
204
|
{
|
213
205
|
"document": "",
|
@@ -357,8 +349,8 @@
|
|
357
349
|
"DescribeCertificateVerifyResult": [
|
358
350
|
{
|
359
351
|
"document": "",
|
360
|
-
"input": "https://waf.tencentcloudapi.com/?Action=DescribeCertificateVerifyResult\n&Domain=test1.
|
361
|
-
"output": "{\n \"Response\": {\n \"
|
352
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeCertificateVerifyResult\n&Domain=test1.testwaf.com\n&CertType=1\n&CertID=D3a93\n&<公共请求参数>",
|
353
|
+
"output": "{\n \"Response\": {\n \"Changed\": 0,\n \"Detail\": [\n \"x509: certificate is valid for *.testwaf.com, testwaf.com, not test.qcloudwaf.com\"\n ],\n \"NotAfter\": \"2024-04-05 23:59:59\",\n \"RequestId\": \"a4824af0-ae9c-470e-b6c3-8d2a3bf89a18\",\n \"Status\": 310\n }\n}",
|
362
354
|
"title": "获取证书校验结果"
|
363
355
|
}
|
364
356
|
],
|
@@ -640,7 +632,7 @@
|
|
640
632
|
{
|
641
633
|
"document": "",
|
642
634
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserDomainInfo\n<公共请求参数>\n\n{}",
|
643
|
-
"output": "{\r\n \"Response\":{\r\n \"RequestId\":\"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\r\n \"UsersInfo\":[\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"2333.douban.com\",\r\n \"DomainId\":\"45bdad0d-bb98-4cb3-8e5a-ab6e2992\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"engine_test_dev2.qcloudwaf.com\",\r\n \"DomainId\":\"205eeb7e-1a5c-4f54-aec9-00c97d49\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"qqq.douban.com\",\r\n \"DomainId\":\"b1c1b45b-560e-497e-8c48-f37f7a4f\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"aaa.douban.com\",\r\n \"DomainId\":\"4d8a565e-c982-4172-b10c-6ed1cc5e\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"bbb.douban.com\",\r\n \"DomainId\":\"d0fae8cc-76b6-4db1-af62-9dd9816d\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"ccc.douban.com\",\r\n \"DomainId\":\"409b0b1b-e076-403e-ad63-a7378d32\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"ddd.douban.com\",\r\n \"DomainId\":\"b3be79b3-8c96-4797-8658-7d9286de\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"eee.douban.com\",\r\n \"DomainId\":\"302363db-b7d6-4a0f-95e4-66fbc9c7\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"ccc1.douban.com\",\r\n \"DomainId\":\"305a396b-2089-4bac-a22e-9e160d4a\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"fff.douban.com\",\r\n \"DomainId\":\"cd50958d-3644-49bc-9336-196292a2\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"engine_test_dev2.qcloudwaf.com\",\r\n \"DomainId\":\"dff0ab09-ca25-4b32-951a-fb94b563\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"enginedev2.qcloudwaf.com\",\r\n \"DomainId\":\"1856c74a-7237-44e9-9bec-ca3210d4\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"edge.testwaf.com\",\r\n \"DomainId\":\"566f72c5-f6c4-4510-b680-57fa3e71\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"gu.testwaf.com\",\r\n \"DomainId\":\"cfce976e-312b-4bce-817d-b5d9d3b0\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"v4.testwaf.com\",\r\n \"DomainId\":\"157a0692-cb34-46ba-b094-ee2d38fe\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"yuming.testwaf.com\",\r\n \"DomainId\":\"d6c9ae97-6cfd-45f9-a977-eb6dffcd\",\r\n \"InstanceId\":\"Swaf_0000001g0\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"34ttt.qcloudwaf.com\",\r\n \"DomainId\":\"a7be4d31-a9eb-4305-9cd4-598c9282\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"hz-test.qcloudwaf.com\",\r\n \"DomainId\":\"0e37c944-f2d8-4fa1-922b-1e9373fe\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"linan.douban.com\",\r\n \"DomainId\":\"ec0d6c46-804c-4d30-8a45-fc876dc7\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"linan.baidu.com\",\r\n \"DomainId\":\"4cbb2110-2dca-4077-8a4d-317c2c71\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"zzy.baidu.com\",\r\n \"DomainId\":\"3b6795b8-a3b2-45f5-a1a8-4d96bb7a\",\r\n \"InstanceId\":\"\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"moya.douban.com\",\r\n \"DomainId\":\"c5f5020c-1cc1-4ed1-aa6b-9d01c2f4\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"testzy8.qcloudwaf.com\",\r\n \"DomainId\":\"2d5913d5-27e0-48cf-beee-df9cf8ea\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"cc324.qcloudwaf.com\",\r\n \"DomainId\":\"0f010d94-1896-40b7-a564-99bf53ea\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"www.baidu.com\",\r\n \"DomainId\":\"dc925172-3254-4abd-8df5-b2c8601a\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"tbbbb.qcloudwaf.com\",\r\n \"DomainId\":\"100993c0-cce8-4e50-a80d-b793aae2\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"ccfh325.qcloudwaf.com\",\r\n \"DomainId\":\"565595f3-17eb-4211-95ac-a4caf780\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"ccfh325001.qcloudwaf.com\",\r\n \"DomainId\":\"060387d5-c949-41f2-bdad-d79987b3\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"tba.qcloudwaf.com\",\r\n \"DomainId\":\"44eabe86-6dbc-424e-9453-02c4e283\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"thank001.qcloudwaf.com\",\r\n \"DomainId\":\"4c038bce-88ba-4780-b76f-1964fc26\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"thank002.qcloudwaf.com\",\r\n \"DomainId\":\"9323bed4-996f-4b3c-b180-328d2353\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"testzy9.qcloudwaf.com\",\r\n \"DomainId\":\"d7d8fa3a-554a-449d-b7a2-378a12ac\",\r\n \"InstanceId\":\"waf_2kuf324o004y16zv\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"testzy10.qcloudwaf.com\",\r\n \"DomainId\":\"37df8cd6-9be6-4ddd-8431-92e644a9\",\r\n \"InstanceId\":\"waf_2kuf324o004y16zv\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"testnum.qcloudwaf.com\",\r\n \"DomainId\":\"55a5b674-0faa-462d-b329-f9167c58\",\r\n \"InstanceId\":\"waf_2kuf324o004y16zv\",\r\n \"InstanceName\":\"\",\r\n \"Edition\":\"\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"qbtestqq.qcloudwaf.com\",\r\n \"DomainId\":\"453e3ba3-03a1-4d27-af72-5d9e3047\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"qbtestya.qcloudwaf.com\",\r\n \"DomainId\":\"761214a4-e5f1-49ea-bbc5-d2e4ac9d\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"412001.qcloudwaf.com\",\r\n \"DomainId\":\"cc48116a897853859bdf5bab5c9e885a\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n },\r\n {\r\n \"Appid\":251197211,\r\n \"Domain\":\"413001.qcloudwaf.com\",\r\n \"DomainId\":\"c6458fdaa4bf5045bf069c2b549b5f08\",\r\n \"InstanceId\":\"yuyuyuyuyu\",\r\n \"InstanceName\":\"ModifyName\",\r\n \"Edition\":\"sparta-waf\",\r\n \"Level\":1,\r\n \"WriteConfig\":{\r\n \"EnableHeaders\":1,\r\n \"EnableBody\":1\r\n }\r\n }\r\n ]\r\n }\r\n}",
|
635
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\",\n \"UsersInfo\": [\n {\n \"Appid\": 251197211,\n \"Domain\": \"2333.douban.com\",\n \"DomainId\": \"45bdad0d-bb98-4cb3-8e5a-ab6e2992\",\n \"InstanceId\": \"Swaf_0000001g0\",\n \"InstanceName\": \"\",\n \"Edition\": \"\",\n \"Level\": \"1\",\n \"WriteConfig\": \"{\\\"EnableHeaders\\\": 1,\\\"EnableBody\\\": 1}\",\n \"Cls\": 0,\n \"CloudType\": \"\"\n },\n {\n \"Appid\": 251197211,\n \"Domain\": \"engine_test_dev2.qcloudwaf.com\",\n \"DomainId\": \"205eeb7e-1a5c-4f54-aec9-00c97d49\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"\",\n \"Edition\": \"\",\n \"Level\": \"4\",\n \"WriteConfig\": \"{\\\"EnableBody\\\": 0}\",\n \"Cls\": 1,\n \"CloudType\": \"\"\n },\n {\n \"Appid\": 251197211,\n \"Domain\": \"413001.qcloudwaf.com\",\n \"DomainId\": \"c6458fdaa4bf5045bf069c2b549b5f08\",\n \"InstanceId\": \"yuyuyuyuyu\",\n \"InstanceName\": \"ModifyName\",\n \"Edition\": \"sparta-waf\",\n \"Level\": \"1\",\n \"WriteConfig\": \"{\\\"EnableHeaders\\\": 1,\\\"EnableBody\\\": 1}\",\n \"Cls\": 0,\n \"CloudType\": \"\"\n }\n ]\n }\n}",
|
644
636
|
"title": "查询saas和clb域名信息"
|
645
637
|
}
|
646
638
|
],
|
@@ -827,8 +819,8 @@
|
|
827
819
|
"ModifyAttackWhiteRule": [
|
828
820
|
{
|
829
821
|
"document": "",
|
830
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttackWhiteRule\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Rules\": [\n {\n \"MatchField\": \"
|
831
|
-
"output": "{\n \"Response\": {\n \"RuleId\": 1,\n \"RequestId\": \"
|
822
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttackWhiteRule\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Rules\": [\n {\n \"MatchField\": \"URL\",\n \"MatchContent\": \"/url\",\n \"MatchMethod\": \"\"\n }\n ],\n \"Domain\": \"www.testwaf.com\",\n \"SignatureIds\": [\n \"90501998\",\n \"90501999\"\n ],\n \"RuleId\": 1\n}",
|
823
|
+
"output": "{\n \"Response\": {\n \"RuleId\": 1,\n \"RequestId\": \"76a16020-6e13-4028-823b-b20fb33ecf44\"\n }\n}",
|
832
824
|
"title": "修改示例"
|
833
825
|
}
|
834
826
|
],
|
@@ -892,6 +884,14 @@
|
|
892
884
|
"title": "切换域名ipv6开关"
|
893
885
|
}
|
894
886
|
],
|
887
|
+
"ModifyDomainPostAction": [
|
888
|
+
{
|
889
|
+
"document": "",
|
890
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDomainPostAction\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\",\n \"PostCLSAction\": 1,\n \"PostCKafkaAction\": 1\n}",
|
891
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a20702ee-7206-4eeb-ba74-d13ecbc29c02\"\n }\n}",
|
892
|
+
"title": "修改域名投递状态"
|
893
|
+
}
|
894
|
+
],
|
895
895
|
"ModifyDomainWhiteRule": [
|
896
896
|
{
|
897
897
|
"document": "关闭白名单规则",
|
@@ -921,7 +921,7 @@
|
|
921
921
|
"document": "",
|
922
922
|
"input": "https://waf.tencentcloudapi.com/?Action=ModifyHost\n&InstanceID=aabbcc\n&Host.Status=1\n&Host.Engine=1\n&Host.Domain=1\n&Host.DomainId=1\n&Host.LoadBalancerSet.0.Protocol=1\n&Host.LoadBalancerSet.0.Zone=1\n&Host.LoadBalancerSet.0.Region=gz\n&Host.LoadBalancerSet.0.LoadBalancerId=1\n&Host.LoadBalancerSet.0.ListenerId=1\n&Host.LoadBalancerSet.0.Vip=1\n&Host.LoadBalancerSet.0.ListenerName=1\n&Host.LoadBalancerSet.0.LoadBalancerName=1\n&Host.LoadBalancerSet.0.Vport=1\n&Host.Level=1\n&Host.MainDomain=snv.vom\n&Host.Region=cd\n&Host.FlowMode=1\n&Host.State=1\n&Host.ClsStatus=1\n&Host.IsCdn=1\n&Host.Mode=1\n&Host.Edition=clb-waf\n&<公共请求参数>",
|
923
923
|
"output": "{\n \"Response\": {\n \"RequestId\": \"97720395-7456-4a21-bcd9-1f32a7deaa90\",\n \"Error\": {\n \"Code\": \"ResourceInUse\",\n \"Message\": \"DomainExisted\"\n }\n }\n}",
|
924
|
-
"title": "
|
924
|
+
"title": "编辑负载均衡型WAF域名"
|
925
925
|
}
|
926
926
|
],
|
927
927
|
"ModifyHostFlowMode": [
|
@@ -929,7 +929,7 @@
|
|
929
929
|
"document": "",
|
930
930
|
"input": "https://waf.tencentcloudapi.com/?Action=ModifyHostFlowMode\n&Domain=\"www.qcloudwaf.com\"\n&DomainId=\"waf-gi944uHt\"\n&FlowMode=1\n&InstanceID=\"waf_000q6ntyb\"\n&<公共请求参数>",
|
931
931
|
"output": "{\n \"Response\": {\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n },\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
932
|
-
"title": "
|
932
|
+
"title": "设置负载均衡型WAF防护域名的流量模式"
|
933
933
|
}
|
934
934
|
],
|
935
935
|
"ModifyHostMode": [
|
@@ -991,7 +991,7 @@
|
|
991
991
|
"ModifyObject": [
|
992
992
|
{
|
993
993
|
"document": "",
|
994
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyObject\n<公共请求参数>\n\n{\n \"Status\": 0,\n \"InstanceId\": \"
|
994
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyObject\n<公共请求参数>\n\n{\n \"ObjectId\": \"abc\",\n \"Status\": 0,\n \"InstanceId\": \"abc\",\n \"OpType\": \"abc\",\n \"Proxy\": 1,\n \"IpHeaders\": [\n \"abc\"\n ]\n}",
|
995
995
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
996
996
|
"title": "修改实例ID"
|
997
997
|
}
|
tccli/services/waf/waf_client.py
CHANGED
@@ -6153,6 +6153,58 @@ def doModifyHostMode(args, parsed_globals):
|
|
6153
6153
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6154
6154
|
|
6155
6155
|
|
6156
|
+
def doModifyDomainPostAction(args, parsed_globals):
|
6157
|
+
g_param = parse_global_arg(parsed_globals)
|
6158
|
+
|
6159
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6160
|
+
cred = credential.CVMRoleCredential()
|
6161
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6162
|
+
cred = credential.STSAssumeRoleCredential(
|
6163
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6164
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6165
|
+
)
|
6166
|
+
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):
|
6167
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6168
|
+
else:
|
6169
|
+
cred = credential.Credential(
|
6170
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6171
|
+
)
|
6172
|
+
http_profile = HttpProfile(
|
6173
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6174
|
+
reqMethod="POST",
|
6175
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6176
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6177
|
+
)
|
6178
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6179
|
+
if g_param[OptionsDefine.Language]:
|
6180
|
+
profile.language = g_param[OptionsDefine.Language]
|
6181
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6182
|
+
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
6183
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6184
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6185
|
+
model = models.ModifyDomainPostActionRequest()
|
6186
|
+
model.from_json_string(json.dumps(args))
|
6187
|
+
start_time = time.time()
|
6188
|
+
while True:
|
6189
|
+
rsp = client.ModifyDomainPostAction(model)
|
6190
|
+
result = rsp.to_json_string()
|
6191
|
+
try:
|
6192
|
+
json_obj = json.loads(result)
|
6193
|
+
except TypeError as e:
|
6194
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6195
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6196
|
+
break
|
6197
|
+
cur_time = time.time()
|
6198
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6199
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6200
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6201
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6202
|
+
else:
|
6203
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6204
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6205
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6206
|
+
|
6207
|
+
|
6156
6208
|
def doModifySpartaProtectionMode(args, parsed_globals):
|
6157
6209
|
g_param = parse_global_arg(parsed_globals)
|
6158
6210
|
|
@@ -7010,6 +7062,7 @@ ACTION_MAP = {
|
|
7010
7062
|
"ModifyCustomWhiteRuleStatus": doModifyCustomWhiteRuleStatus,
|
7011
7063
|
"DescribePorts": doDescribePorts,
|
7012
7064
|
"ModifyHostMode": doModifyHostMode,
|
7065
|
+
"ModifyDomainPostAction": doModifyDomainPostAction,
|
7013
7066
|
"ModifySpartaProtectionMode": doModifySpartaProtectionMode,
|
7014
7067
|
"UpsertCCRule": doUpsertCCRule,
|
7015
7068
|
"ModifyObject": doModifyObject,
|